clk: mxs: replace imx23 clk_register_clkdev with clock DT lookup
commit53f9443da63db38212e784b0aa205881168757aa
authorShawn Guo <shawn.guo@linaro.org>
Wed, 22 Aug 2012 13:36:30 +0000 (22 21:36 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 11 Sep 2012 06:45:46 +0000 (11 14:45 +0800)
tree36e142fcd0d290d8a1e1efeffe736ddb476c42dc
parentb598b9f311a604ca533033baa5afcf45beb037d9
clk: mxs: replace imx23 clk_register_clkdev with clock DT lookup

It really becomes a 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 imx23 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/imx23-clock.txt [new file with mode: 0644]
arch/arm/boot/dts/imx23.dtsi
drivers/clk/mxs/clk-imx23.c