]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: rockchip: add HDMI audio to rk3288-miqi
authorAlex Bee <knaerzche@gmail.com>
Thu, 28 Aug 2025 16:35:01 +0000 (16:35 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 30 Aug 2025 12:37:24 +0000 (14:37 +0200)
Add the sound and i2s nodes to enable HDMI audio output on
the MiQi board.

Signed-off-by: Alex Bee <knaerzche@gmail.com>
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20250828163501.3829226-1-christianshewitt@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rockchip/rk3288-miqi.dts

index 96c8827aedd3ecf079cb1dba10dabe6e63551043..a5f5c6d38f80177a7717697c86b6849a256eab33 100644 (file)
                regulator-always-on;
                regulator-boot-on;
        };
+
+       sound {
+               compatible = "simple-audio-card";
+               simple-audio-card,format = "i2s";
+               simple-audio-card,name = "HDMI";
+               simple-audio-card,mclk-fs = <512>;
+
+               simple-audio-card,codec {
+                       sound-dai = <&hdmi>;
+               };
+
+               simple-audio-card,cpu {
+                       sound-dai = <&i2s>;
+               };
+       };
 };
 
 &cpu0 {
        status = "okay";
 };
 
+&i2s {
+       #sound-dai-cells = <0>;
+       status = "okay";
+};
+
 &io_domains {
        status = "okay";