Skip to content

Commit 131e05e

Browse files
Sugar Zhangrkhuangtao
authored andcommitted
ARM: dts: rk3066-rayeager: add support for hdmi audio
Change-Id: Idc15040a95a97584117f2f229063b7b404ab2268 Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
1 parent c19d52e commit 131e05e

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

arch/arm/boot/dts/rk3066a-rayeager.dts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,19 @@
207207
regulator-always-on;
208208
vin-supply = <&vcc_stdby>;
209209
};
210+
211+
hdmi_sound: hdmi-sound {
212+
compatible = "simple-audio-card";
213+
simple-audio-card,format = "i2s";
214+
simple-audio-card,mclk-fs = <256>;
215+
simple-audio-card,name = "rockchip,hdmi";
216+
simple-audio-card,cpu {
217+
sound-dai = <&i2s0>;
218+
};
219+
simple-audio-card,codec {
220+
sound-dai = <&hdmi>;
221+
};
222+
};
210223
};
211224

212225
&cpu0 {
@@ -245,6 +258,11 @@
245258
status = "okay";
246259
};
247260

261+
&hdmi {
262+
#sound-dai-cells = <0>;
263+
status = "okay";
264+
};
265+
248266
&i2c0 {
249267
clock-frequency = <400000>;
250268
status = "okay";
@@ -385,6 +403,11 @@
385403
status = "okay";
386404
};
387405

406+
&i2s0 {
407+
#sound-dai-cells = <0>;
408+
status = "okay";
409+
};
410+
388411
&mmc0 {
389412
bus-width = <4>;
390413
disable-wp;

0 commit comments

Comments
 (0)