diff options
author | Cyril Chemparathy <cyril@ti.com> | 2010-04-14 14:44:49 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-05-06 18:02:07 -0400 |
commit | d6961e6889a26de427aa6e0df823c789cf4a848f (patch) | |
tree | 121e053a0f993cfbde7f4de26704f138c47bbad1 /arch/arm/mach-davinci/clock.h | |
parent | ce100669d2ee202acac94d39f1a585c6b066cecc (diff) |
Davinci: configurable pll divider mask
This patch allows socs to override the divider ratio mask by setting an
optional field (div_ratio_mask) in the pll_data structure.
Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Tested-by: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/clock.h')
-rw-r--r-- | arch/arm/mach-davinci/clock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/clock.h b/arch/arm/mach-davinci/clock.h index 53a0f7b90119..ce260153a717 100644 --- a/arch/arm/mach-davinci/clock.h +++ b/arch/arm/mach-davinci/clock.h | |||
@@ -76,6 +76,7 @@ struct pll_data { | |||
76 | u32 num; | 76 | u32 num; |
77 | u32 flags; | 77 | u32 flags; |
78 | u32 input_rate; | 78 | u32 input_rate; |
79 | u32 div_ratio_mask; | ||
79 | }; | 80 | }; |
80 | #define PLL_HAS_PREDIV 0x01 | 81 | #define PLL_HAS_PREDIV 0x01 |
81 | #define PLL_HAS_POSTDIV 0x02 | 82 | #define PLL_HAS_POSTDIV 0x02 |