diff options
author | Rob Herring <robh@kernel.org> | 2018-03-01 15:25:33 -0500 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-03-08 03:32:28 -0500 |
commit | b08d2fb5a6b15bd26b71b739abc68afd5ecd916b (patch) | |
tree | e076d48c634f6a27a8c4520b9b750d9aa7df745a | |
parent | cbeb1dc711348f49ac87186ae8cec357751d4f71 (diff) |
ARM: dts: imx: Add missing #sound-dai-cells for sgtl5000 codec
dtc now warns about missing #sound-dai-cells:
arch/arm/boot/dts/imx6ul-geam.dtb: Warning (sound_dai_property): /sound/simple-audio-card,codec: Missing property '#sound-dai-cells' in node /soc/aips-bus@2100000/i2c@21a0000/codec@a or bad phandle (referred from sound-dai[0])
arch/arm/boot/dts/imx6ul-isiot-emmc.dtb: Warning (sound_dai_property): /sound/simple-audio-card,codec: Missing property '#sound-dai-cells' in node /soc/aips-bus@2100000/i2c@21a0000/codec@a or bad phandle (referred from sound-dai[0])
arch/arm/boot/dts/imx6ul-isiot-nand.dtb: Warning (sound_dai_property): /sound/simple-audio-card,codec: Missing property '#sound-dai-cells' in node /soc/aips-bus@2100000/i2c@21a0000/codec@a or bad phandle (referred from sound-dai[0])
Lots of i.MX boards use the SGTL5000 codec, but not all get the warning
because only some reference the codec with "sound-dai" property. However,
the codec should always provide #sound-dai-cells regardless, so fix all
the occurrences.
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | arch/arm/boot/dts/imx28-apx4devkit.dts | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx28-evk.dts | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx28-m28evk.dts | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx51-babbage.dts | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx53-m53evk.dts | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx53-ppd.dts | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx53-qsb-common.dtsi | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx53-tx53-x03x.dts | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx53-tx53-x13x.dts | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx53-voipac-bsb.dts | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-gw560x.dtsi | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6ul-geam.dts | 1 |
14 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx28-apx4devkit.dts b/arch/arm/boot/dts/imx28-apx4devkit.dts index 1416a4b4f599..96faa53ba44c 100644 --- a/arch/arm/boot/dts/imx28-apx4devkit.dts +++ b/arch/arm/boot/dts/imx28-apx4devkit.dts | |||
@@ -147,6 +147,7 @@ | |||
147 | sgtl5000: codec@a { | 147 | sgtl5000: codec@a { |
148 | compatible = "fsl,sgtl5000"; | 148 | compatible = "fsl,sgtl5000"; |
149 | reg = <0x0a>; | 149 | reg = <0x0a>; |
150 | #sound-dai-cells = <0>; | ||
150 | VDDA-supply = <®_3p3v>; | 151 | VDDA-supply = <®_3p3v>; |
151 | VDDIO-supply = <®_3p3v>; | 152 | VDDIO-supply = <®_3p3v>; |
152 | clocks = <&saif0>; | 153 | clocks = <&saif0>; |
diff --git a/arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi b/arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi index 49ab40838e69..ff1328ce7d37 100644 --- a/arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi +++ b/arch/arm/boot/dts/imx28-eukrea-mbmx28lc.dtsi | |||
@@ -151,6 +151,7 @@ | |||
151 | sgtl5000: codec@a { | 151 | sgtl5000: codec@a { |
152 | compatible = "fsl,sgtl5000"; | 152 | compatible = "fsl,sgtl5000"; |
153 | reg = <0x0a>; | 153 | reg = <0x0a>; |
154 | #sound-dai-cells = <0>; | ||
154 | VDDA-supply = <®_3p3v>; | 155 | VDDA-supply = <®_3p3v>; |
155 | VDDIO-supply = <®_3p3v>; | 156 | VDDIO-supply = <®_3p3v>; |
156 | clocks = <&saif0>; | 157 | clocks = <&saif0>; |
diff --git a/arch/arm/boot/dts/imx28-evk.dts b/arch/arm/boot/dts/imx28-evk.dts index 8ccbcc153c50..b0d39654aeb3 100644 --- a/arch/arm/boot/dts/imx28-evk.dts +++ b/arch/arm/boot/dts/imx28-evk.dts | |||
@@ -197,6 +197,7 @@ | |||
197 | sgtl5000: codec@a { | 197 | sgtl5000: codec@a { |
198 | compatible = "fsl,sgtl5000"; | 198 | compatible = "fsl,sgtl5000"; |
199 | reg = <0x0a>; | 199 | reg = <0x0a>; |
200 | #sound-dai-cells = <0>; | ||
200 | VDDA-supply = <®_3p3v>; | 201 | VDDA-supply = <®_3p3v>; |
201 | VDDIO-supply = <®_3p3v>; | 202 | VDDIO-supply = <®_3p3v>; |
202 | clocks = <&saif0>; | 203 | clocks = <&saif0>; |
diff --git a/arch/arm/boot/dts/imx28-m28evk.dts b/arch/arm/boot/dts/imx28-m28evk.dts index 22aa025cab1e..7d97a0ce74a3 100644 --- a/arch/arm/boot/dts/imx28-m28evk.dts +++ b/arch/arm/boot/dts/imx28-m28evk.dts | |||
@@ -140,6 +140,7 @@ | |||
140 | sgtl5000: codec@a { | 140 | sgtl5000: codec@a { |
141 | compatible = "fsl,sgtl5000"; | 141 | compatible = "fsl,sgtl5000"; |
142 | reg = <0x0a>; | 142 | reg = <0x0a>; |
143 | #sound-dai-cells = <0>; | ||
143 | VDDA-supply = <®_3p3v>; | 144 | VDDA-supply = <®_3p3v>; |
144 | VDDIO-supply = <®_3p3v>; | 145 | VDDIO-supply = <®_3p3v>; |
145 | clocks = <&saif0>; | 146 | clocks = <&saif0>; |
diff --git a/arch/arm/boot/dts/imx51-babbage.dts b/arch/arm/boot/dts/imx51-babbage.dts index 51b12114b0fe..cf7a1963df25 100644 --- a/arch/arm/boot/dts/imx51-babbage.dts +++ b/arch/arm/boot/dts/imx51-babbage.dts | |||
@@ -369,6 +369,7 @@ | |||
369 | sgtl5000: codec@a { | 369 | sgtl5000: codec@a { |
370 | compatible = "fsl,sgtl5000"; | 370 | compatible = "fsl,sgtl5000"; |
371 | reg = <0x0a>; | 371 | reg = <0x0a>; |
372 | #sound-dai-cells = <0>; | ||
372 | clocks = <&clk_audio>; | 373 | clocks = <&clk_audio>; |
373 | VDDA-supply = <&vdig_reg>; | 374 | VDDA-supply = <&vdig_reg>; |
374 | VDDIO-supply = <&vvideo_reg>; | 375 | VDDIO-supply = <&vvideo_reg>; |
diff --git a/arch/arm/boot/dts/imx53-m53evk.dts b/arch/arm/boot/dts/imx53-m53evk.dts index e48525763b1b..3935fe6490ed 100644 --- a/arch/arm/boot/dts/imx53-m53evk.dts +++ b/arch/arm/boot/dts/imx53-m53evk.dts | |||
@@ -153,6 +153,7 @@ | |||
153 | sgtl5000: codec@a { | 153 | sgtl5000: codec@a { |
154 | compatible = "fsl,sgtl5000"; | 154 | compatible = "fsl,sgtl5000"; |
155 | reg = <0x0a>; | 155 | reg = <0x0a>; |
156 | #sound-dai-cells = <0>; | ||
156 | VDDA-supply = <®_3p2v>; | 157 | VDDA-supply = <®_3p2v>; |
157 | VDDIO-supply = <®_3p2v>; | 158 | VDDIO-supply = <®_3p2v>; |
158 | clocks = <&clks IMX5_CLK_SSI_EXT1_GATE>; | 159 | clocks = <&clks IMX5_CLK_SSI_EXT1_GATE>; |
diff --git a/arch/arm/boot/dts/imx53-ppd.dts b/arch/arm/boot/dts/imx53-ppd.dts index 57730ddfe000..d5628af2e301 100644 --- a/arch/arm/boot/dts/imx53-ppd.dts +++ b/arch/arm/boot/dts/imx53-ppd.dts | |||
@@ -446,6 +446,7 @@ | |||
446 | sgtl5000: codec@a { | 446 | sgtl5000: codec@a { |
447 | compatible = "fsl,sgtl5000"; | 447 | compatible = "fsl,sgtl5000"; |
448 | reg = <0xa>; | 448 | reg = <0xa>; |
449 | #sound-dai-cells = <0>; | ||
449 | VDDA-supply = <®_sgtl5k>; | 450 | VDDA-supply = <®_sgtl5k>; |
450 | VDDIO-supply = <®_sgtl5k>; | 451 | VDDIO-supply = <®_sgtl5k>; |
451 | clocks = <&cko2_11M>; | 452 | clocks = <&cko2_11M>; |
diff --git a/arch/arm/boot/dts/imx53-qsb-common.dtsi b/arch/arm/boot/dts/imx53-qsb-common.dtsi index 08ac46e564c3..485a69d45e1c 100644 --- a/arch/arm/boot/dts/imx53-qsb-common.dtsi +++ b/arch/arm/boot/dts/imx53-qsb-common.dtsi | |||
@@ -317,6 +317,7 @@ | |||
317 | sgtl5000: codec@a { | 317 | sgtl5000: codec@a { |
318 | compatible = "fsl,sgtl5000"; | 318 | compatible = "fsl,sgtl5000"; |
319 | reg = <0x0a>; | 319 | reg = <0x0a>; |
320 | #sound-dai-cells = <0>; | ||
320 | VDDA-supply = <®_3p2v>; | 321 | VDDA-supply = <®_3p2v>; |
321 | VDDIO-supply = <®_3p2v>; | 322 | VDDIO-supply = <®_3p2v>; |
322 | clocks = <&clks IMX5_CLK_SSI_EXT1_GATE>; | 323 | clocks = <&clks IMX5_CLK_SSI_EXT1_GATE>; |
diff --git a/arch/arm/boot/dts/imx53-tx53-x03x.dts b/arch/arm/boot/dts/imx53-tx53-x03x.dts index fe15c9555d6e..af8ec5e4417b 100644 --- a/arch/arm/boot/dts/imx53-tx53-x03x.dts +++ b/arch/arm/boot/dts/imx53-tx53-x03x.dts | |||
@@ -230,6 +230,7 @@ | |||
230 | sgtl5000: codec@a { | 230 | sgtl5000: codec@a { |
231 | compatible = "fsl,sgtl5000"; | 231 | compatible = "fsl,sgtl5000"; |
232 | reg = <0x0a>; | 232 | reg = <0x0a>; |
233 | #sound-dai-cells = <0>; | ||
233 | VDDA-supply = <®_2v5>; | 234 | VDDA-supply = <®_2v5>; |
234 | VDDIO-supply = <®_3v3>; | 235 | VDDIO-supply = <®_3v3>; |
235 | clocks = <&mclk>; | 236 | clocks = <&mclk>; |
diff --git a/arch/arm/boot/dts/imx53-tx53-x13x.dts b/arch/arm/boot/dts/imx53-tx53-x13x.dts index f2b2ad3ce9e5..6cdf2082c742 100644 --- a/arch/arm/boot/dts/imx53-tx53-x13x.dts +++ b/arch/arm/boot/dts/imx53-tx53-x13x.dts | |||
@@ -131,6 +131,7 @@ | |||
131 | sgtl5000: codec@a { | 131 | sgtl5000: codec@a { |
132 | compatible = "fsl,sgtl5000"; | 132 | compatible = "fsl,sgtl5000"; |
133 | reg = <0x0a>; | 133 | reg = <0x0a>; |
134 | #sound-dai-cells = <0>; | ||
134 | VDDA-supply = <®_2v5>; | 135 | VDDA-supply = <®_2v5>; |
135 | VDDIO-supply = <®_3v3>; | 136 | VDDIO-supply = <®_3v3>; |
136 | clocks = <&mclk>; | 137 | clocks = <&mclk>; |
diff --git a/arch/arm/boot/dts/imx53-voipac-bsb.dts b/arch/arm/boot/dts/imx53-voipac-bsb.dts index 25c78f19826c..957053755c3c 100644 --- a/arch/arm/boot/dts/imx53-voipac-bsb.dts +++ b/arch/arm/boot/dts/imx53-voipac-bsb.dts | |||
@@ -133,6 +133,7 @@ | |||
133 | sgtl5000: codec@a { | 133 | sgtl5000: codec@a { |
134 | compatible = "fsl,sgtl5000"; | 134 | compatible = "fsl,sgtl5000"; |
135 | reg = <0x0a>; | 135 | reg = <0x0a>; |
136 | #sound-dai-cells = <0>; | ||
136 | VDDA-supply = <®_3p3v>; | 137 | VDDA-supply = <®_3p3v>; |
137 | VDDIO-supply = <®_3p3v>; | 138 | VDDIO-supply = <®_3p3v>; |
138 | clocks = <&clks 150>; | 139 | clocks = <&clks 150>; |
diff --git a/arch/arm/boot/dts/imx6qdl-gw560x.dtsi b/arch/arm/boot/dts/imx6qdl-gw560x.dtsi index d894dde6e85d..b5986efe1090 100644 --- a/arch/arm/boot/dts/imx6qdl-gw560x.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw560x.dtsi | |||
@@ -288,6 +288,7 @@ | |||
288 | sgtl5000: codec@a { | 288 | sgtl5000: codec@a { |
289 | compatible = "fsl,sgtl5000"; | 289 | compatible = "fsl,sgtl5000"; |
290 | reg = <0x0a>; | 290 | reg = <0x0a>; |
291 | #sound-dai-cells = <0>; | ||
291 | clocks = <&clks IMX6QDL_CLK_CKO>; | 292 | clocks = <&clks IMX6QDL_CLK_CKO>; |
292 | VDDA-supply = <®_1p8v>; | 293 | VDDA-supply = <®_1p8v>; |
293 | VDDIO-supply = <®_3p3v>; | 294 | VDDIO-supply = <®_3p3v>; |
diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi index 988a5be8aa6f..98241acb08a6 100644 --- a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi +++ b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | |||
@@ -196,6 +196,7 @@ | |||
196 | sgtl5000: codec@a { | 196 | sgtl5000: codec@a { |
197 | clocks = <&clks IMX6QDL_CLK_CKO>; | 197 | clocks = <&clks IMX6QDL_CLK_CKO>; |
198 | compatible = "fsl,sgtl5000"; | 198 | compatible = "fsl,sgtl5000"; |
199 | #sound-dai-cells = <0>; | ||
199 | pinctrl-names = "default"; | 200 | pinctrl-names = "default"; |
200 | pinctrl-0 = <&pinctrl_hummingboard2_sgtl5000>; | 201 | pinctrl-0 = <&pinctrl_hummingboard2_sgtl5000>; |
201 | reg = <0x0a>; | 202 | reg = <0x0a>; |
diff --git a/arch/arm/boot/dts/imx6ul-geam.dts b/arch/arm/boot/dts/imx6ul-geam.dts index 0dbbd78c867f..d81d20f8fc8d 100644 --- a/arch/arm/boot/dts/imx6ul-geam.dts +++ b/arch/arm/boot/dts/imx6ul-geam.dts | |||
@@ -181,6 +181,7 @@ | |||
181 | sgtl5000: codec@a { | 181 | sgtl5000: codec@a { |
182 | compatible = "fsl,sgtl5000"; | 182 | compatible = "fsl,sgtl5000"; |
183 | reg = <0x0a>; | 183 | reg = <0x0a>; |
184 | #sound-dai-cells = <0>; | ||
184 | clocks = <&clks IMX6UL_CLK_OSC>; | 185 | clocks = <&clks IMX6UL_CLK_OSC>; |
185 | clock-names = "mclk"; | 186 | clock-names = "mclk"; |
186 | VDDA-supply = <®_3p3v>; | 187 | VDDA-supply = <®_3p3v>; |