aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/clock.h
diff options
context:
space:
mode:
authorCyril Chemparathy <cyril@ti.com>2010-04-14 14:44:49 -0400
committerKevin Hilman <khilman@deeprootsystems.com>2010-05-06 15:02:07 -0700
commitd6961e6889a26de427aa6e0df823c789cf4a848f (patch)
tree121e053a0f993cfbde7f4de26704f138c47bbad1 /arch/arm/mach-davinci/clock.h
parentce100669d2ee202acac94d39f1a585c6b066cecc (diff)
downloadkernel_goldelico_gta04-d6961e6889a26de427aa6e0df823c789cf4a848f.zip
kernel_goldelico_gta04-d6961e6889a26de427aa6e0df823c789cf4a848f.tar.gz
kernel_goldelico_gta04-d6961e6889a26de427aa6e0df823c789cf4a848f.tar.bz2
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/clock.h b/arch/arm/mach-davinci/clock.h
index 53a0f7b..ce26015 100644
--- a/arch/arm/mach-davinci/clock.h
+++ b/arch/arm/mach-davinci/clock.h
@@ -76,6 +76,7 @@ struct pll_data {
u32 num;
u32 flags;
u32 input_rate;
+ u32 div_ratio_mask;
};
#define PLL_HAS_PREDIV 0x01
#define PLL_HAS_POSTDIV 0x02