ARM: dts: stm32: Replace SAI format with dai-format DT property

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>
This commit is contained in:
Marek Vasut 2022-09-27 02:20:23 +02:00 committed by Alexandre Torgue
parent 5447215589
commit 0a5ebb1f33
3 changed files with 5 additions and 5 deletions

View File

@ -242,7 +242,7 @@ sai2a: audio-controller@4400b004 {
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>;
@ -260,7 +260,7 @@ sai2b: audio-controller@4400b024 {
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>;

View File

@ -358,7 +358,7 @@ sai2a: audio-controller@4400b004 {
sai2a_port: port {
sai2a_endpoint: endpoint {
remote-endpoint = <&adv7513_i2s0>;
format = "i2s";
dai-format = "i2s";
mclk-fs = <256>;
};
};

View File

@ -508,7 +508,7 @@ sai2a: audio-controller@4400b004 {
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>;
@ -526,7 +526,7 @@ sai2b: audio-controller@4400b024 {
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>;