History

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.

Linus Walleij committed 14 years ago

Commit a6131631 parent 91b87a410 files · +131 −136Browse files

Showing the changes to include/linux/platform_data (1 of 10 files). Show all

Unified · Split

include/linux/platform_data/clk-integrator.h+1−0
@@ -0,0 +1 @@
1+void integrator_clk_init(bool is_cp);