Skip to content

Commit 7f4985d

Browse files
xuhuicongjayxurockchip
authored andcommitted
arm64: dts: rk3368-r88: add hdmi sound card
Change-Id: I2a81102c7e110a2fe36ec8ba3622ebb63cc91066 Signed-off-by: xuhuicong <xhc@rock-chips.com>
1 parent 5150079 commit 7f4985d

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3368-r88.dts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,20 @@
4949
model = "Rockchip R88";
5050
compatible = "rockchip,r88", "rockchip,rk3368";
5151

52+
hdmi_sound: hdmi-sound {
53+
status = "okay";
54+
compatible = "simple-audio-card";
55+
simple-audio-card,format = "i2s";
56+
simple-audio-card,mclk-fs = <256>;
57+
simple-audio-card,name = "rockchip,hdmi";
58+
simple-audio-card,cpu {
59+
sound-dai = <&i2s_8ch>;
60+
};
61+
simple-audio-card,codec {
62+
sound-dai = <&hdmi>;
63+
};
64+
};
65+
5266
keys: gpio-keys {
5367
compatible = "gpio-keys";
5468
#address-cells = <1>;
@@ -157,6 +171,14 @@
157171
};
158172
};
159173

174+
&i2s_8ch {
175+
status = "okay";
176+
rockchip,i2s-broken-burst-len;
177+
rockchip,playback-channels = <8>;
178+
rockchip,capture-channels = <2>;
179+
#sound-dai-cells = <0>;
180+
};
181+
160182
&emmc {
161183
status = "okay";
162184
bus-width = <8>;
@@ -543,6 +565,7 @@
543565

544566
&hdmi {
545567
status = "okay";
568+
#sound-dai-cells = <0>;
546569
};
547570

548571
&mailbox {

0 commit comments

Comments
 (0)