]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: ti: omap: am335x-wega: Fix audio clock provider
authorDominik Haller <d.haller@phytec.de>
Tue, 30 Jul 2024 09:23:53 +0000 (11:23 +0200)
committerKevin Hilman <khilman@baylibre.com>
Tue, 30 Jul 2024 22:19:13 +0000 (15:19 -0700)
Bit clock and frame clock are provided by the mcasp. Change the
simple card settings regarding the clock provider and the mclk-fs for
usage with typical 44.1 kHz and 48 kHz sample rates.

Signed-off-by: Dominik Haller <d.haller@phytec.de>
Link: https://lore.kernel.org/r/20240730092353.10209-2-d.haller@phytec.de
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/boot/dts/ti/omap/am335x-wega.dtsi

index cb27ff464dbeb4090c049e3566f03d61b094d022..d0c290d7d0626259695e12aa21acd5b3fce71279 100644 (file)
@@ -14,7 +14,7 @@
                simple-audio-card,format = "i2s";
                simple-audio-card,bitclock-master = <&sound_iface_main>;
                simple-audio-card,frame-master = <&sound_iface_main>;
-               simple-audio-card,mclk-fs = <32>;
+               simple-audio-card,mclk-fs = <512>;
                simple-audio-card,widgets =
                                        "Line", "Line In",
                                        "Line", "Line Out",
                                        "LINE1L", "Line In",
                                        "LINE1R", "Line In";
 
-               simple-audio-card,cpu {
+               sound_iface_main: simple-audio-card,cpu {
                        sound-dai = <&mcasp0>;
                };
 
-               sound_iface_main: simple-audio-card,codec {
+               simple-audio-card,codec {
                        sound-dai = <&tlv320aic3007>;
-                       clocks = <&mcasp0_fck>;
                };
 
        };