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 5f586f0..4709677 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 03ab2cb..305f9ae 100644 (file)
                sai2a_port: port {
                        sai2a_endpoint: endpoint {
                                remote-endpoint = <&adv7513_i2s0>;
-                               format = "i2s";
+                               dai-format = "i2s";
                                mclk-fs = <256>;
                        };
                };
index 6afff98..7798a2e 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>;