]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ARM: dts: stih410: change syntax of multiple DAI
authorChristophe Priouzeau <christophe.priouzeau@st.com>
Mon, 3 Sep 2018 15:49:25 +0000 (17:49 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Tue, 25 Sep 2018 15:41:51 +0000 (17:41 +0200)
With change of syntax for 'simple-audio-card,dai-link' containers,
devicetrees of stih410 must be updated.

This fixes the following error:

[    3.839466] asoc-simple-card sound: asoc_simple_card_dai_link_of:
Can't find simple-audio-card,cpu DT node
[    3.849150] asoc-simple-card sound: parse error -22

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/boot/dts/stih410-b2260.dts
arch/arm/boot/dts/stihxxx-b2120.dtsi

index 155caa8c002ad95702494ecd686bf9b0be36079f..4ee6d51d8d1ecbe2b4173e66cca524e19860a364 100644 (file)
                compatible = "simple-audio-card";
                simple-audio-card,name = "STI-B2260";
                status = "okay";
+               #address-cells = <1>;
+               #size-cells = <0>;
 
-               simple-audio-card,dai-link0 {
+               simple-audio-card,dai-link@0 {
+                       reg = <0>;
                        /* DAC */
                        format = "i2s";
                        mclk-fs = <128>;
index 4dedfcb0fcb304c4968b82f815df31892e63f23a..97e05f55fb6e107f4dcca4c561daf7d5c4acb134 100644 (file)
                compatible = "simple-audio-card";
                simple-audio-card,name = "STI-B2120";
                status = "okay";
+               #address-cells = <1>;
+               #size-cells = <0>;
 
-               simple-audio-card,dai-link0 {
+               simple-audio-card,dai-link@0 {
+                       reg = <0>;
                        /* HDMI */
                        format = "i2s";
                        mclk-fs = <128>;
@@ -41,7 +44,8 @@
                        };
                };
 
-               simple-audio-card,dai-link1 {
+               simple-audio-card,dai-link@1 {
+                       reg = <1>;
                        /* DAC */
                        format = "i2s";
                        mclk-fs = <256>;
@@ -55,7 +59,8 @@
                        };
                };
 
-               simple-audio-card,dai-link2 {
+               simple-audio-card,dai-link@2 {
+                       reg = <2>;
                        /* SPDIF */
                        format = "left_j";
                        mclk-fs = <128>;