]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: integrator: convert to common clock
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 11 Jun 2012 15:33:12 +0000 (17:33 +0200)
committerMike Turquette <mturquette@linaro.org>
Thu, 12 Jul 2012 00:58:45 +0000 (17:58 -0700)
commit6b77b7fddfd0e98b135860de47fa9775e3e954f3
tree51841b8f22c1eeb71068e2a71bb92c152e68a543
parent44473f05ebde979fd671fb21b453ea66a5a5e845
ARM: integrator: convert to common clock

This converts the Integrator platform to use common clock
and the ICST driver. Since from this point not all ARM
reference platforms use the clock, we define
CONFIG_PLAT_VERSATILE_CLOCK and select it for all platforms
except the Integrator.

Open issue: I could not use the .init_early() field of the
machine descriptor to initialize the clocks, but had to
move them to .init_irq(), so presumably .init_early() is
so early that common clock is not up, and .init_machine()
is too late since it's needed for the clockevent/clocksource
initialization. Any suggestions on how to solve this is
very welcome.

Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
[mturquette@linaro.org: use 'select' instead of versatile Kconfig]
Signed-off-by: Mike Turquette <mturquette@linaro.org>
arch/arm/Kconfig
arch/arm/mach-integrator/core.c
arch/arm/mach-integrator/include/mach/clkdev.h [deleted file]
arch/arm/mach-integrator/integrator_ap.c
arch/arm/mach-integrator/integrator_cp.c
arch/arm/plat-versatile/Kconfig
arch/arm/plat-versatile/Makefile
drivers/clk/versatile/Makefile
drivers/clk/versatile/clk-integrator.c [new file with mode: 0644]
include/linux/platform_data/clk-integrator.h [new file with mode: 0644]