This patch series is an RFC for converting OMAP to the common struct clk. These patches are based on v4 of the common struct clk series: https://lkml.org/lkml/2011/12/13/451
OMAP's old struct clk has been renamed to struct clk_hw_omap, but left essentially the same. This series only targets OMAP4 and was only tested on a 4430 Panda.
The next step is to figure out: * what are the various clk types we want to support in separate structures * where does the "clk driver" code live (still in mach-omap2?) * kill off plat-omap/clock.* completely? I vote yes.
These patches can also be found at, http://git.linaro.org/gitweb?p=people/mturquette/linux.git%3Ba=shortlog%3Bh=...
The same series merged with Kevin's PM branch (to get CPUfreq working) can be found at, http://git.linaro.org/gitweb?p=people/mturquette/linux.git%3Ba=shortlog%3Bh=...
This series will be followed up shortly with another set of patches for "testing" the clk rate change notifiers, parent propagation of rate changes and debugfs re-parenting.
Mike Turquette (7): OMAP: Kconfig: select GENERIC_CLK HACK: omap4: clk: convert to common struct clk HACK: omap: convert 44xx data to common struct clk omap: hwmod: convert to use common struct clk omap: panda: use clk_prepare in ehci init omap: dss: use clk_prepare in dss reset HACK: comment WARN_ON in _clkdm_clk_hwmod_disable
arch/arm/mach-omap2/Kconfig | 1 + arch/arm/mach-omap2/board-omap4panda.c | 1 + arch/arm/mach-omap2/clkt_clksel.c | 195 +- arch/arm/mach-omap2/clkt_dpll.c | 54 +- arch/arm/mach-omap2/clock.c | 363 +-- arch/arm/mach-omap2/clock.h | 59 +- arch/arm/mach-omap2/clock44xx_data.c | 4615 ++++++++++++++++++------------- arch/arm/mach-omap2/clockdomain.c | 2 +- arch/arm/mach-omap2/display.c | 4 +- arch/arm/mach-omap2/dpll3xxx.c | 228 +- arch/arm/mach-omap2/dpll44xx.c | 62 +- arch/arm/mach-omap2/omap_hwmod.c | 54 +- arch/arm/plat-omap/clock.c | 315 +-- arch/arm/plat-omap/include/plat/clock.h | 96 +- 14 files changed, 3415 insertions(+), 2634 deletions(-)