Skip to content

Commit

Permalink
arm64: dts: rockchip: rk3399-sapphire-excavator-edp: modify sound ada…
Browse files Browse the repository at this point in the history
…pter

HDMI sound use i2s2 & dp sound use spdif

Change-Id: Id4ee15d3eb67dad1372f733ecf16182cc6488835
Signed-off-by: Jianhui Wang <wjh@rock-chips.com>
  • Loading branch information
Jianhui Wang authored and rkhuangtao committed Jan 25, 2019
1 parent 8ea4ee1 commit 27f039b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,18 @@
};
};

&dp_sound {
status = "disabled";
};

&hdmi_dp_sound {
status = "disabled";
};

&hdmi_sound {
status = "okay";
};

&isp0 {
status = "okay";
};
Expand Down
7 changes: 7 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@
#sound-dai-cells = <0>;
};

dp_sound: dp-sound {
status = "disabled";
compatible = "rockchip,cdndp-sound";
rockchip,cpu = <&spdif>;
rockchip,codec = <&cdn_dp 1>;
};

hdmi_sound: hdmi-sound {
status = "disabled";
compatible = "simple-audio-card";
Expand Down

0 comments on commit 27f039b

Please sign in to comment.