]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: rockchip: add hdmi-sound node to rk3066a
authorJohan Jonker <jbx6244@gmail.com>
Tue, 18 Jun 2024 12:02:25 +0000 (14:02 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 23 Jun 2024 20:05:09 +0000 (22:05 +0200)
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>
Link: https://lore.kernel.org/r/5fe7c2fe-4a38-436a-8017-66989959329a@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rockchip/rk3066a.dtsi

index 30139f21de64d0e3a11fc510e54e49e508c69fa9..a4e815cd67076d55d45d1826aab35dcb267e8025 100644 (file)
                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>;