Skip to content

Commit

Permalink
arm64: dts: rockchip: use rockchip,hdmi driver for NanoPi R6 and Nano…
Browse files Browse the repository at this point in the history
…PC T6
  • Loading branch information
Joshua-Riek authored and igorpecovnik committed Sep 17, 2023
1 parent d94def8 commit a838455
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 22 deletions.
16 changes: 5 additions & 11 deletions arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts
Original file line number Diff line number Diff line change
Expand Up @@ -109,17 +109,11 @@

hdmi1_sound: hdmi1-sound {
status = "disabled";
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,mclk-fs = <128>;
simple-audio-card,name = "rockchip-hdmi1";

simple-audio-card,cpu {
sound-dai = <&i2s6_8ch>;
};
simple-audio-card,codec {
sound-dai = <&hdmi1>;
};
compatible = "rockchip,hdmi";
rockchip,mclk-fs = <128>;
rockchip,card-name = "rockchip-hdmi1";
rockchip,cpu = <&i2s6_8ch>;
rockchip,codec = <&hdmi1>;
};

hdmiin_sound: hdmiin-sound {
Expand Down
16 changes: 5 additions & 11 deletions arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,11 @@

hdmi0_sound: hdmi0-sound {
status = "disabled";
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,mclk-fs = <128>;
simple-audio-card,name = "rockchip-hdmi0";

simple-audio-card,cpu {
sound-dai = <&i2s5_8ch>;
};
simple-audio-card,codec {
sound-dai = <&hdmi0>;
};
compatible = "rockchip,hdmi";
rockchip,mclk-fs = <128>;
rockchip,card-name = "rockchip-hdmi0";
rockchip,cpu = <&i2s5_8ch>;
rockchip,codec = <&hdmi0>;
};

vcc5v0_sys: vcc5v0-sys {
Expand Down

0 comments on commit a838455

Please sign in to comment.