arm64: dts: uniphier: add compress audio out for LD11/LD20
authorKatsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
Tue, 13 Feb 2018 13:01:56 +0000 (22:01 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 15 Mar 2018 14:17:55 +0000 (23:17 +0900)
This patch adds compress audio node for S/PDIF on UniPhier LD11/20
global boards. And adds settings of AIO for it.

Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts
arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts

index eca2143..238a946 100644 (file)
@@ -46,7 +46,8 @@
                dais = <&i2s_port2
                        &i2s_port3
                        &i2s_port4
-                       &spdif_port0>;
+                       &spdif_port0
+                       &comp_spdif_port0>;
        };
 
        spdif-out {
                        };
                };
        };
+
+       comp-spdif-out {
+               compatible = "linux,spdif-dit";
+               #sound-dai-cells = <0>;
+
+               port@0 {
+                       comp_spdif_tx: endpoint {
+                               remote-endpoint = <&comp_spdif_hiecout1>;
+                       };
+               };
+       };
 };
 
 &serial0 {
        remote-endpoint = <&spdif_tx>;
 };
 
+&comp_spdif_hiecout1 {
+       remote-endpoint = <&comp_spdif_tx>;
+};
+
 &i2c0 {
        status = "okay";
 
index 8c64307..6e498e1 100644 (file)
@@ -46,7 +46,8 @@
                dais = <&i2s_port2
                        &i2s_port3
                        &i2s_port4
-                       &spdif_port0>;
+                       &spdif_port0
+                       &comp_spdif_port0>;
        };
 
        spdif-out {
                        };
                };
        };
+
+       comp-spdif-out {
+               compatible = "linux,spdif-dit";
+               #sound-dai-cells = <0>;
+
+               port@0 {
+                       comp_spdif_tx: endpoint {
+                               remote-endpoint = <&comp_spdif_hiecout1>;
+                       };
+               };
+       };
 };
 
 &serial0 {
        remote-endpoint = <&spdif_tx>;
 };
 
+&comp_spdif_hiecout1 {
+       remote-endpoint = <&comp_spdif_tx>;
+};
+
 &i2c0 {
        status = "okay";