ARM: dts: stm32: Replace SAI format with dai-format DT property
authorMarek Vasut <marex@denx.de>
Tue, 27 Sep 2022 00:20:23 +0000 (02:20 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Fri, 21 Oct 2022 09:17:25 +0000 (11:17 +0200)
The dai-format and format are handled equally by sound-core.c , the
later is however the only documented property in audio-graph-port.yaml .
Switch to the later.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Olivier Moysan <olivier.moysan@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi
arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi
arch/arm/boot/dts/stm32mp15xx-dkx.dtsi

index 5f586f024060fb80f4f5cb7ecdc146b7048241d4..4709677151aac92f56cee5e8caa6cb4de6387fff 100644 (file)
                sai2a_port: port {
                        sai2a_endpoint: endpoint {
                                remote-endpoint = <&sgtl5000_tx_endpoint>;
-                               format = "i2s";
+                               dai-format = "i2s";
                                mclk-fs = <512>;
                                dai-tdm-slot-num = <2>;
                                dai-tdm-slot-width = <16>;
                sai2b_port: port {
                        sai2b_endpoint: endpoint {
                                remote-endpoint = <&sgtl5000_rx_endpoint>;
-                               format = "i2s";
+                               dai-format = "i2s";
                                mclk-fs = <512>;
                                dai-tdm-slot-num = <2>;
                                dai-tdm-slot-width = <16>;
index 03ab2cb2b82975daa47acef68ce517c8b6db3602..305f9ae2fcebfd82f7419fe6ede037ad31a59f43 100644 (file)
                sai2a_port: port {
                        sai2a_endpoint: endpoint {
                                remote-endpoint = <&adv7513_i2s0>;
-                               format = "i2s";
+                               dai-format = "i2s";
                                mclk-fs = <256>;
                        };
                };
index 6afff983069b65cbbc542e848bc3bfce662b7acf..7798a2e17c5ca2b038be475c2949ef2791855426 100644 (file)
                sai2a_port: port {
                        sai2a_endpoint: endpoint {
                                remote-endpoint = <&cs42l51_tx_endpoint>;
-                               format = "i2s";
+                               dai-format = "i2s";
                                mclk-fs = <256>;
                                dai-tdm-slot-num = <2>;
                                dai-tdm-slot-width = <32>;
                sai2b_port: port {
                        sai2b_endpoint: endpoint {
                                remote-endpoint = <&cs42l51_rx_endpoint>;
-                               format = "i2s";
+                               dai-format = "i2s";
                                mclk-fs = <256>;
                                dai-tdm-slot-num = <2>;
                                dai-tdm-slot-width = <32>;