]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: imx6qdl: add spdif support for sabreauto
authorNicolin Chen <Guangyu.Chen@freescale.com>
Mon, 16 Dec 2013 10:37:48 +0000 (18:37 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 9 Feb 2014 13:29:20 +0000 (21:29 +0800)
This patch adds spdif support for imx6qdl-sabreauto by inserting the cpu dai
node with pinctrl group and its ASoC dai link node.

Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi

index 260f987646799ce8263dcbac80b763b187285ce6..5fb41afad28708ac68ae82ee4bbad122155d63c5 100644 (file)
        memory {
                reg = <0x10000000 0x80000000>;
        };
+
+       sound-spdif {
+               compatible = "fsl,imx-audio-spdif",
+                          "fsl,imx-sabreauto-spdif";
+               model = "imx-spdif";
+               spdif-controller = <&spdif>;
+               spdif-in;
+       };
 };
 
 &ecspi1 {
                        >;
                };
 
+               pinctrl_spdif: spdifgrp {
+                       fsl,pins = <
+                               MX6QDL_PAD_KEY_COL3__SPDIF_IN 0x1b0b0
+                       >;
+               };
+
                pinctrl_uart4: uart4grp {
                        fsl,pins = <
                                MX6QDL_PAD_KEY_COL0__UART4_TX_DATA      0x1b0b1
        };
 };
 
+&spdif {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_spdif>;
+       status = "okay";
+};
+
 &uart4 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_uart4>;