diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-07-02 12:47:43 +0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2014-07-16 00:09:10 +0400 |
commit | 2337c5b58b6e9fd2fb46ab64e7ccbc44dc0ba40a (patch) | |
tree | 5bd127df70fb561597491ca34d68554633eb585b /arch/arm/mach-omap2/clock.c | |
parent | 512d91cbd990c67df16d0a7b3ff5d35055ac6b39 (diff) | |
download | linux-2337c5b58b6e9fd2fb46ab64e7ccbc44dc0ba40a.tar.xz |
ARM: OMAP2+: clock/dpll: add jitter correction behind clk_features
Currently DPLL code uses runtime cpu_is_343x checks to see if the DPLL
has freqsel fields in its control register or not. Instead, add a new
flag to the clk_features.flags and use this during runtime. Allows
eventual move of the DPLL code under clock driver.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Reviewed-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/clock.c')
-rw-r--r-- | arch/arm/mach-omap2/clock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c index e4384377d9f8..23b5f050c8a9 100644 --- a/arch/arm/mach-omap2/clock.c +++ b/arch/arm/mach-omap2/clock.c @@ -784,4 +784,8 @@ void __init ti_clk_init_features(void) (1 << OMAP4XXX_EN_DPLL_FRBYPASS) | (1 << OMAP4XXX_EN_DPLL_MNBYPASS); } + + /* Jitter correction only available on OMAP343X */ + if (cpu_is_omap343x()) + ti_clk_features.flags |= TI_CLK_DPLL_HAS_FREQSEL; } |