diff mbox series

[2/3] ARM: dts: imx25-pdk: Pass #sound-dai-cells

Message ID 20231206115826.2244964-2-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/3] ARM: dts: imx25: Pass I2C clock-names property | expand

Commit Message

Fabio Estevam Dec. 6, 2023, 11:58 a.m. UTC
From: Fabio Estevam <festevam@denx.de>

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

Pass it to fix the following dt-schema warning:

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

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/boot/dts/nxp/imx/imx25-pdk.dts | 1 +
 1 file changed, 1 insertion(+)

Comments

Shawn Guo Dec. 13, 2023, 9:10 a.m. UTC | #1
On Wed, Dec 06, 2023 at 08:58:25AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> Per sgtl5000.yaml, '#sound-dai-cells' is a required property.
> 
> Pass it to fix the following dt-schema warning:
> 
> imx25-pdk.dtb: sgtl5000@a: '#sound-dai-cells' is a required property
> 	from schema $id: http://devicetree.org/schemas/sound/sgtl5000.yaml#
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> ---
>  arch/arm/boot/dts/nxp/imx/imx25-pdk.dts | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/nxp/imx/imx25-pdk.dts b/arch/arm/boot/dts/nxp/imx/imx25-pdk.dts
> index 04f4b127a172..14a61dc1e742 100644
> --- a/arch/arm/boot/dts/nxp/imx/imx25-pdk.dts
> +++ b/arch/arm/boot/dts/nxp/imx/imx25-pdk.dts
> @@ -122,6 +122,7 @@ &i2c1 {
>  	codec: sgtl5000@a {
>  		compatible = "fsl,sgtl5000";
>  		reg = <0x0a>;
> +		 #sound-dai-cells = <0>;

There is a white space.

Fixed it up and applied all 3 patches.

Shawn

>  		clocks = <&clks 129>;
>  		VDDA-supply = <&reg_2p5v>;
>  		VDDIO-supply = <&reg_3p3v>;
> -- 
> 2.34.1
>
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/nxp/imx/imx25-pdk.dts b/arch/arm/boot/dts/nxp/imx/imx25-pdk.dts
index 04f4b127a172..14a61dc1e742 100644
--- a/arch/arm/boot/dts/nxp/imx/imx25-pdk.dts
+++ b/arch/arm/boot/dts/nxp/imx/imx25-pdk.dts
@@ -122,6 +122,7 @@  &i2c1 {
 	codec: sgtl5000@a {
 		compatible = "fsl,sgtl5000";
 		reg = <0x0a>;
+		 #sound-dai-cells = <0>;
 		clocks = <&clks 129>;
 		VDDA-supply = <&reg_2p5v>;
 		VDDIO-supply = <&reg_3p3v>;