]> git.karo-electronics.de Git - karo-tx-linux.git/commit
clk: mxs: replace imx28 clk_register_clkdev with clock DT lookup
authorShawn Guo <shawn.guo@linaro.org>
Wed, 22 Aug 2012 13:36:29 +0000 (21:36 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 11 Sep 2012 06:45:46 +0000 (14:45 +0800)
commitb598b9f311a604ca533033baa5afcf45beb037d9
tree14c189edc3600233d360a9a093d4edc44b3a6b3d
parent0a77398b5a68e298f03b1c356c5100fa1decb2e1
clk: mxs: replace imx28 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 imx28 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/imx28-clock.txt [new file with mode: 0644]
arch/arm/boot/dts/imx28.dtsi
drivers/clk/mxs/clk-imx28.c