]> git.baikalelectronics.ru Git - kernel.git/commit
clk: mxs: replace imx23 clk_register_clkdev with clock DT lookup
authorShawn Guo <shawn.guo@linaro.org>
Wed, 22 Aug 2012 13:36:30 +0000 (21:36 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 11 Sep 2012 06:45:46 +0000 (14:45 +0800)
commit0cc94608c1e271257bf3f383d51288e90efabd17
tree36e142fcd0d290d8a1e1efeffe736ddb476c42dc
parenta831d18c5953f53f7c50b621a79c169387a6b3f4
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