diff mbox series

[v1] ARM: dts: rockchip: add hdmi-sound node to rk3066a.dtsi

Message ID 5fe7c2fe-4a38-436a-8017-66989959329a@gmail.com (mailing list archive)
State New
Headers show
Series [v1] ARM: dts: rockchip: add hdmi-sound node to rk3066a.dtsi | expand

Commit Message

Johan Jonker June 18, 2024, 12:02 p.m. UTC
Add hdmi-sound node to rk3066a.dtsi, so that it
can be reused by boards with HDMI support.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 arch/arm/boot/dts/rockchip/rk3066a.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

--
2.39.2

Comments

Heiko Stuebner June 19, 2024, 9:46 p.m. UTC | #1
On Tue, 18 Jun 2024 14:02:25 +0200, Johan Jonker wrote:
> Add hdmi-sound node to rk3066a.dtsi, so that it
> can be reused by boards with HDMI support.
> 
> 

Applied, thanks!

[1/1] ARM: dts: rockchip: add hdmi-sound node to rk3066a.dtsi
      commit: 1e297069cc1c588bbece4752e0840b6a15982148

Best regards,
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/rockchip/rk3066a.dtsi b/arch/arm/boot/dts/rockchip/rk3066a.dtsi
index 15cbd94d7ec0..5e0750547ab5 100644
--- a/arch/arm/boot/dts/rockchip/rk3066a.dtsi
+++ b/arch/arm/boot/dts/rockchip/rk3066a.dtsi
@@ -53,6 +53,22 @@  display-subsystem {
 		ports = <&vop0_out>, <&vop1_out>;
 	};

+	hdmi_sound: hdmi-sound {
+		compatible = "simple-audio-card";
+		simple-audio-card,name = "HDMI";
+		simple-audio-card,format = "i2s";
+		simple-audio-card,mclk-fs = <256>;
+		status = "disabled";
+
+		simple-audio-card,codec {
+			sound-dai = <&hdmi>;
+		};
+
+		simple-audio-card,cpu {
+			sound-dai = <&i2s0>;
+		};
+	};
+
 	sram: sram@10080000 {
 		compatible = "mmio-sram";
 		reg = <0x10080000 0x10000>;