Skip to content

Commit fd873ff

Browse files
Sugar Zhangrkhuangtao
authored andcommitted
ARM64: dts: rk3328-evb: add spdif sound
Change-Id: I76adc6286d831f513da3f5547975d7fcd3c392e9 Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
1 parent 03880d5 commit fd873ff

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

arch/arm64/boot/dts/rockchip/rk3328-evb.dts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,22 @@
112112
sound-dai = <&codec>;
113113
};
114114
};
115+
116+
spdif-sound {
117+
compatible = "simple-audio-card";
118+
simple-audio-card,name = "rockchip,spdif";
119+
simple-audio-card,cpu {
120+
sound-dai = <&spdif>;
121+
};
122+
simple-audio-card,codec {
123+
sound-dai = <&spdif_out>;
124+
};
125+
};
126+
127+
spdif_out: spdif-out {
128+
compatible = "linux,spdif-dit";
129+
#sound-dai-cells = <0>;
130+
};
115131
};
116132

117133
&i2s1 {
@@ -124,6 +140,11 @@
124140
status = "okay";
125141
};
126142

143+
&spdif {
144+
#sound-dai-cells = <0>;
145+
status = "okay";
146+
};
147+
127148
&cpu0 {
128149
cpu-supply = <&vdd_arm>;
129150
};

0 commit comments

Comments
 (0)