]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
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 eca2143cd72d0a51ea425ae234aeb0801f8cbac4..238a9469125ac30582703b90e9facba2ac676e92 100644 (file)
@@ -46,7 +46,8 @@ sound {
                dais = <&i2s_port2
                        &i2s_port3
                        &i2s_port4
-                       &spdif_port0>;
+                       &spdif_port0
+                       &comp_spdif_port0>;
        };
 
        spdif-out {
@@ -59,6 +60,17 @@ spdif_tx: endpoint {
                        };
                };
        };
+
+       comp-spdif-out {
+               compatible = "linux,spdif-dit";
+               #sound-dai-cells = <0>;
+
+               port@0 {
+                       comp_spdif_tx: endpoint {
+                               remote-endpoint = <&comp_spdif_hiecout1>;
+                       };
+               };
+       };
 };
 
 &serial0 {
@@ -78,6 +90,10 @@ &spdif_hiecout1 {
        remote-endpoint = <&spdif_tx>;
 };
 
+&comp_spdif_hiecout1 {
+       remote-endpoint = <&comp_spdif_tx>;
+};
+
 &i2c0 {
        status = "okay";
 
index 8c64307294bcecc95dfe42ce188e3307810e2244..6e498e1a2413265e64090dad7e58d8ffc3e7aa4c 100644 (file)
@@ -46,7 +46,8 @@ sound {
                dais = <&i2s_port2
                        &i2s_port3
                        &i2s_port4
-                       &spdif_port0>;
+                       &spdif_port0
+                       &comp_spdif_port0>;
        };
 
        spdif-out {
@@ -59,6 +60,17 @@ spdif_tx: endpoint {
                        };
                };
        };
+
+       comp-spdif-out {
+               compatible = "linux,spdif-dit";
+               #sound-dai-cells = <0>;
+
+               port@0 {
+                       comp_spdif_tx: endpoint {
+                               remote-endpoint = <&comp_spdif_hiecout1>;
+                       };
+               };
+       };
 };
 
 &serial0 {
@@ -78,6 +90,10 @@ &spdif_hiecout1 {
        remote-endpoint = <&spdif_tx>;
 };
 
+&comp_spdif_hiecout1 {
+       remote-endpoint = <&comp_spdif_tx>;
+};
+
 &i2c0 {
        status = "okay";