Skip to content

Commit 27f039b

Browse files
Jianhui Wangrkhuangtao
authored andcommitted
arm64: dts: rockchip: rk3399-sapphire-excavator-edp: modify sound adapter
HDMI sound use i2s2 & dp sound use spdif Change-Id: Id4ee15d3eb67dad1372f733ecf16182cc6488835 Signed-off-by: Jianhui Wang <[email protected]>
1 parent 8ea4ee1 commit 27f039b

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp.dts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,18 @@
6969
};
7070
};
7171

72+
&dp_sound {
73+
status = "disabled";
74+
};
75+
76+
&hdmi_dp_sound {
77+
status = "disabled";
78+
};
79+
80+
&hdmi_sound {
81+
status = "okay";
82+
};
83+
7284
&isp0 {
7385
status = "okay";
7486
};

arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,13 @@
100100
#sound-dai-cells = <0>;
101101
};
102102

103+
dp_sound: dp-sound {
104+
status = "disabled";
105+
compatible = "rockchip,cdndp-sound";
106+
rockchip,cpu = <&spdif>;
107+
rockchip,codec = <&cdn_dp 1>;
108+
};
109+
103110
hdmi_sound: hdmi-sound {
104111
status = "disabled";
105112
compatible = "simple-audio-card";

0 commit comments

Comments
 (0)