]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: renesas: rzg3s-smarc: Add sound card
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Tue, 10 Dec 2024 17:09:53 +0000 (19:09 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 13 Dec 2024 10:21:52 +0000 (11:21 +0100)
Add sound card with SSI3 as CPU DAI and DA7212 as codec DAI.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://lore.kernel.org/20241210170953.2936724-25-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/rzg3s-smarc.dtsi

index f87f0c18a083a95a339ef96e80cf00b8ed515a6a..81b4ffd1417d7f56f532cb1718646ec972162080 100644 (file)
                };
        };
 
+       snd_rzg3s: sound {
+               compatible = "simple-audio-card";
+               simple-audio-card,format = "i2s";
+               simple-audio-card,bitclock-master = <&cpu_dai>;
+               simple-audio-card,frame-master = <&cpu_dai>;
+               simple-audio-card,mclk-fs = <256>;
+
+               cpu_dai: simple-audio-card,cpu {
+                       sound-dai = <&ssi3>;
+               };
+
+               codec_dai: simple-audio-card,codec {
+                       sound-dai = <&da7212>;
+                       clocks = <&versa3 1>;
+               };
+       };
+
        vcc_sdhi1: regulator-vcc-sdhi1 {
                compatible = "regulator-fixed";
                regulator-name = "SDHI1 Vcc";