summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6q-sabrelite.dts
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-08-22 13:36:28 (GMT)
committerShawn Guo <shawn.guo@linaro.org>2012-09-11 11:16:14 (GMT)
commit0e87e0436c0cc3954eb62181a96d7217ca955a4f (patch)
treed6a376db545f31070ccb6ab8e8c8964052235f5f /arch/arm/boot/dts/imx6q-sabrelite.dts
parentfea7a08acb13524b47711625eebea40a0ede69a0 (diff)
downloadlinux-0e87e0436c0cc3954eb62181a96d7217ca955a4f.tar.xz
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>
Diffstat (limited to 'arch/arm/boot/dts/imx6q-sabrelite.dts')
-rw-r--r--arch/arm/boot/dts/imx6q-sabrelite.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6q-sabrelite.dts b/arch/arm/boot/dts/imx6q-sabrelite.dts
index 72f30f3..cfdbe53 100644
--- a/arch/arm/boot/dts/imx6q-sabrelite.dts
+++ b/arch/arm/boot/dts/imx6q-sabrelite.dts
@@ -111,6 +111,7 @@
codec: sgtl5000@0a {
compatible = "fsl,sgtl5000";
reg = <0x0a>;
+ clocks = <&clks 169>;
VDDA-supply = <&reg_2p5v>;
VDDIO-supply = <&reg_3p3v>;
};