Skip to content

Commit acc625d

Browse files
Katsuhiro Suzukimasahir0y
authored andcommitted
arm64: dts: uniphier: add compress audio out for LD11/LD20
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>
1 parent 5aad7e2 commit acc625d

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646
dais = <&i2s_port2
4747
&i2s_port3
4848
&i2s_port4
49-
&spdif_port0>;
49+
&spdif_port0
50+
&comp_spdif_port0>;
5051
};
5152

5253
spdif-out {
@@ -59,6 +60,17 @@
5960
};
6061
};
6162
};
63+
64+
comp-spdif-out {
65+
compatible = "linux,spdif-dit";
66+
#sound-dai-cells = <0>;
67+
68+
port@0 {
69+
comp_spdif_tx: endpoint {
70+
remote-endpoint = <&comp_spdif_hiecout1>;
71+
};
72+
};
73+
};
6274
};
6375

6476
&serial0 {
@@ -78,6 +90,10 @@
7890
remote-endpoint = <&spdif_tx>;
7991
};
8092

93+
&comp_spdif_hiecout1 {
94+
remote-endpoint = <&comp_spdif_tx>;
95+
};
96+
8197
&i2c0 {
8298
status = "okay";
8399

arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646
dais = <&i2s_port2
4747
&i2s_port3
4848
&i2s_port4
49-
&spdif_port0>;
49+
&spdif_port0
50+
&comp_spdif_port0>;
5051
};
5152

5253
spdif-out {
@@ -59,6 +60,17 @@
5960
};
6061
};
6162
};
63+
64+
comp-spdif-out {
65+
compatible = "linux,spdif-dit";
66+
#sound-dai-cells = <0>;
67+
68+
port@0 {
69+
comp_spdif_tx: endpoint {
70+
remote-endpoint = <&comp_spdif_hiecout1>;
71+
};
72+
};
73+
};
6274
};
6375

6476
&serial0 {
@@ -78,6 +90,10 @@
7890
remote-endpoint = <&spdif_tx>;
7991
};
8092

93+
&comp_spdif_hiecout1 {
94+
remote-endpoint = <&comp_spdif_tx>;
95+
};
96+
8197
&i2c0 {
8298
status = "okay";
8399

0 commit comments

Comments
 (0)