]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: imx6: Do not hardcode the CLKO clock
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 27 Apr 2016 01:28:29 +0000 (22:28 -0300)
committerShawn Guo <shawnguo@kernel.org>
Wed, 27 Apr 2016 02:55:50 +0000 (10:55 +0800)
Using "IMX6QDL_CLK_CKO" for the clock is easier to read instead of
the hardcoded clock number.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
15 files changed:
arch/arm/boot/dts/imx6dl-riotboard.dts
arch/arm/boot/dts/imx6q-gw5400-a.dts
arch/arm/boot/dts/imx6q-tbs2910.dts
arch/arm/boot/dts/imx6qdl-apalis.dtsi
arch/arm/boot/dts/imx6qdl-apf6dev.dtsi
arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
arch/arm/boot/dts/imx6qdl-gw53xx.dtsi
arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
arch/arm/boot/dts/imx6qdl-nit6xlite.dtsi
arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi
arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi
arch/arm/boot/dts/imx6qdl-rex.dtsi
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi
arch/arm/boot/dts/imx6qdl-udoo.dtsi
arch/arm/boot/dts/imx6qdl-wandboard.dtsi

index 5111f5170d5343398bab4ec60e548de07f26200b..bfbed52ce1bd9a7722ab55260e21535328f1e172 100644 (file)
        codec: sgtl5000@0a {
                compatible = "fsl,sgtl5000";
                reg = <0x0a>;
-               clocks = <&clks 201>;
+               clocks = <&clks IMX6QDL_CLK_CKO>;
                VDDA-supply = <&reg_2p5v>;
                VDDIO-supply = <&reg_3p3v>;
        };
index a51834e1dd2789ed0bfeed69b2dbddc08aa946fc..0511137d1e235c92c504d30ccdf113ba95b76eca 100644 (file)
        codec: sgtl5000@0a {
                compatible = "fsl,sgtl5000";
                reg = <0x0a>;
-               clocks = <&clks 201>;
+               clocks = <&clks IMX6QDL_CLK_CKO>;
                VDDA-supply = <&sw4_reg>;
                VDDIO-supply = <&reg_3p3v>;
        };
index 2401c6b5436101460bd8e33ceb042eeb7012d358..1926b1348a6275d811877c127e594c717258973e 100644 (file)
        status = "okay";
 
        sgtl5000: sgtl5000@0a {
-               clocks = <&clks 201>;
+               clocks = <&clks IMX6QDL_CLK_CKO>;
                compatible = "fsl,sgtl5000";
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_sgtl5000>;
index b33e5a95a0f0bfaddcf432a59011327cd12f1906..922b1dd06fda8313b7a07e62c18e4eed0edad3c8 100644 (file)
        codec: sgtl5000@0a {
                compatible = "fsl,sgtl5000";
                reg = <0x0a>;
-               clocks = <&clks 201>;
+               clocks = <&clks IMX6QDL_CLK_CKO>;
                VDDA-supply = <&reg_2p5v>;
                VDDIO-supply = <&reg_3p3v>;
        };
index a8f3500ee522b3999a31d3c1dff2946e1481ba5d..865c9a264a4350e32d264cebe3bdcb9dfebc542b 100644 (file)
        codec: sgtl5000@0a {
                compatible = "fsl,sgtl5000";
                reg = <0x0a>;
-               clocks = <&clks 201>;
+               clocks = <&clks IMX6QDL_CLK_CKO>;
                VDDA-supply = <&reg_3p3v>;
                VDDIO-supply = <&reg_3p3v>;
        };
index 8dd74e98ffd69b35f1dd8349e55231db25592148..7191b84770b9e015bedc9ae9e265a82c1529a3f0 100644 (file)
        codec: sgtl5000@0a {
                compatible = "fsl,sgtl5000";
                reg = <0x0a>;
-               clocks = <&clks 201>;
+               clocks = <&clks IMX6QDL_CLK_CKO>;
                VDDA-supply = <&reg_1p8v>;
                VDDIO-supply = <&reg_3p3v>;
        };
index ec3fe7444e154c4d39f28a5a4a6f8afef05eeb1f..40d06b09deba048586bd728853648d5a299e73d1 100644 (file)
        codec: sgtl5000@0a {
                compatible = "fsl,sgtl5000";
                reg = <0x0a>;
-               clocks = <&clks 201>;
+               clocks = <&clks IMX6QDL_CLK_CKO>;
                VDDA-supply = <&reg_1p8v>;
                VDDIO-supply = <&reg_3p3v>;
        };
index 367cc49eea0d69cd63c3d3a86121f260b91f05c2..d6dbe2a88ee6983b69e3e3eca1cd7b36ecc9db91 100644 (file)
        codec: sgtl5000@0a {
                compatible = "fsl,sgtl5000";
                reg = <0x0a>;
-               clocks = <&clks 201>;
+               clocks = <&clks IMX6QDL_CLK_CKO>;
                VDDA-supply = <&sw4_reg>;
                VDDIO-supply = <&reg_3p3v>;
        };
index 24d7d3f184643ad75c7fc27255f38bb73d5ff220..e456b5cc1b03da90f905ffc6c6584167ceb0c6ca 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_sgtl5000>;
                reg = <0x0a>;
-               clocks = <&clks 201>;
+               clocks = <&clks IMX6QDL_CLK_CKO>;
                VDDA-supply = <&reg_2p5v>;
                VDDIO-supply = <&reg_3p3v>;
        };
index dc74aa395ff5473d4cbdb36f28bfef16a1adf916..657da6b6ccd2b42ac8c4cb13d992dc4f47b22e4c 100644 (file)
        codec: sgtl5000@0a {
                compatible = "fsl,sgtl5000";
                reg = <0x0a>;
-               clocks = <&clks 201>;
+               clocks = <&clks IMX6QDL_CLK_CKO>;
                VDDA-supply = <&reg_2p5v>;
                VDDIO-supply = <&reg_3p3v>;
        };
index c6c590d1e94096e2f95e2e539d09acc10b2bce5a..73915db704a08a12b8395f6f6b0e63dbf8a23b73 100644 (file)
        codec: sgtl5000@0a {
                compatible = "fsl,sgtl5000";
                reg = <0x0a>;
-               clocks = <&clks 201>;
+               clocks = <&clks IMX6QDL_CLK_CKO>;
                VDDA-supply = <&reg_2p5v>;
                VDDIO-supply = <&reg_3p3v>;
        };
index a503562438888fe936de6c8b9b255a06a4455d26..cacf5933707d3002f0fae193d61a35cb52ff38f4 100644 (file)
        codec: sgtl5000@0a {
                compatible = "fsl,sgtl5000";
                reg = <0x0a>;
-               clocks = <&clks 201>;
+               clocks = <&clks IMX6QDL_CLK_CKO>;
                VDDA-supply = <&reg_3p3v>;
                VDDIO-supply = <&reg_3p3v>;
        };
index 0f1aca450fe6abf931e6eb207b3f6f490e57cfc4..c47fe6c79b3668db30f156eca4edc721e53a802e 100644 (file)
        codec: sgtl5000@0a {
                compatible = "fsl,sgtl5000";
                reg = <0x0a>;
-               clocks = <&clks 201>;
+               clocks = <&clks IMX6QDL_CLK_CKO>;
                VDDA-supply = <&reg_2p5v>;
                VDDIO-supply = <&reg_3p3v>;
        };
index 0dd5aa1b45e04eb54aa905772ef5a7b64952e11f..3bee2f910067221d022b789128cd8b43f6b47d29 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_usbh>;
        vbus-supply = <&reg_usb_h1_vbus>;
-       clocks = <&clks 201>;
+       clocks = <&clks IMX6QDL_CLK_CKO>;
        status = "okay";
 };
 
index 9e096d811bedac74d09c6ebf584665ff1ac6fead..8e7c40e114ddebf5b18a144d749cc62dfb62887d 100644 (file)
@@ -85,7 +85,7 @@
        codec: sgtl5000@0a {
                compatible = "fsl,sgtl5000";
                reg = <0x0a>;
-               clocks = <&clks 201>;
+               clocks = <&clks IMX6QDL_CLK_CKO>;
                VDDA-supply = <&reg_2p5v>;
                VDDIO-supply = <&reg_3p3v>;
        };