Skip to contentSkip to conversation

ARM: dts: imx28-tx28: Pass #sound-dai-cells

PATCH Applied Fabio Estevam 3 participants 4 messages Dec 5, 2023 – Dec 6, 2023

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: dts: imx28-tx28: Pass #sound-dai-cells

From: Fabio Estevam <[email protected]>

Per sgtl5000.yaml, '#sound-dai-cells' is a required property.

Pass it to fix the following dt-schema warning:

imx28-tx28.dtb: sgtl5000@a: '#sound-dai-cells' is a required property
from schema $id: http://devicetree.org/schemas/sound/sgtl5000.yaml#

---
 arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts +1 -0
index 153e4017951d..5485fe118dc4 100644
@@ -260,6 +260,7 @@ &i2c0 {
 	sgtl5000: sgtl5000@a {
 		compatible = "fsl,sgtl5000";
 		reg = <0x0a>;
+		#sound-dai-cells = <0>;
 		VDDA-supply = <&reg_2p5v>;
 		VDDIO-supply = <&reg_3p3v>;
 		clocks = <&mclk>;
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Reviewed-by on v1 1/1
#1 lore raw

Hi Fabio,

Am 05.12.23 um 15:53 schrieb Fabio Estevam:

Quoted 19 lines

From: Fabio Estevam <[email protected]>

Per sgtl5000.yaml, '#sound-dai-cells' is a required property.

Pass it to fix the following dt-schema warning:

imx28-tx28.dtb: sgtl5000@a: '#sound-dai-cells' is a required property
from schema $id: http://devicetree.org/schemas/sound/sgtl5000.yaml#

---
  arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts | 1 +
  1 file changed, 1 insertion(+)
arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts +0 -0
index 153e4017951d..5485fe118dc4 100644

arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts &i2c0 { · line 260

Quoted 1 line
arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts +0 -0
@@ -260,6 +260,7 @@ &i2c0 {
  	sgtl5000: sgtl5000@a {

this patch is fine

but this node name looks wrong.

It should be sgtl5000: codec@a

Regards

arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts &i2c0 { · line 266

Quoted 6 lines
arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts +1 -0
  		compatible = "fsl,sgtl5000";
  		reg = <0x0a>;
+		#sound-dai-cells = <0>;
  		VDDA-supply = <&reg_2p5v>;
  		VDDIO-supply = <&reg_3p3v>;
  		clocks = <&mclk>;

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

author reviewer
#2 lore raw

Hi Stefan,

Quoted 3 lines · Stefan Wahren

this patch is fine

Thanks for your review.

Quoted 3 lines

but this node name looks wrong.

It should be sgtl5000: codec@a

Yes, I noticed that too.

I will address this on a separate patch. There are other i.MX DTs that use the sgtl5000@a format and need to be fixed as well.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Applied
#3 lore raw
In reply to Fabio Estevam
Quoted 10 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Per sgtl5000.yaml, '#sound-dai-cells' is a required property.

Pass it to fix the following dt-schema warning:

imx28-tx28.dtb: sgtl5000@a: '#sound-dai-cells' is a required property
from schema $id: http://devicetree.org/schemas/sound/sgtl5000.yaml#

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel