ARM: imx6q: replace clk_register_clkdev with clock DT lookup
authorShawn Guo <shawn.guo@linaro.org>
Wed, 22 Aug 2012 13:36:28 +0000 (21:36 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 11 Sep 2012 11:16:14 +0000 (19:16 +0800)
commit0e87e0436c0cc3954eb62181a96d7217ca955a4f
treed6a376db545f31070ccb6ab8e8c8964052235f5f
parentfea7a08acb13524b47711625eebea40a0ede69a0
ARM: imx6q: replace clk_register_clkdev with clock DT lookup

It really becomes an maintenance issue that every time a device needs
to look up (clk_get) a clock we have to patch kernel clock file to call
clk_register_clkdev for that clock.

Since clock DT support which is meant to resolve clock lookup in device
tree is in place, the patch moves imx6q client devices' clock lookup
over to device tree, so that any new lookup to be added at later time
can just get done in DT instead of kernel.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Documentation/devicetree/bindings/clock/imx6q-clock.txt [new file with mode: 0644]
arch/arm/boot/dts/imx6q-sabrelite.dts
arch/arm/boot/dts/imx6q.dtsi
arch/arm/mach-imx/clk-imx6q.c
arch/arm/mach-imx/mach-imx6q.c