ARM: OMAP2+: clock/dpll: add jitter correction behind clk_features
authorTero Kristo <t-kristo@ti.com>
Wed, 2 Jul 2014 08:47:43 +0000 (11:47 +0300)
committerPaul Walmsley <paul@pwsan.com>
Tue, 15 Jul 2014 20:09:10 +0000 (14:09 -0600)
commit2337c5b58b6e9fd2fb46ab64e7ccbc44dc0ba40a
tree5bd127df70fb561597491ca34d68554633eb585b
parent512d91cbd990c67df16d0a7b3ff5d35055ac6b39
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>
arch/arm/mach-omap2/clock.c
arch/arm/mach-omap2/clock.h
arch/arm/mach-omap2/dpll3xxx.c