diff mbox series

ARM: dts: imx28-tx28: Fix the fsl,saif-master usage

Message ID 20240902181036.924188-1-festevam@gmail.com (mailing list archive)
State New
Headers show
Series ARM: dts: imx28-tx28: Fix the fsl,saif-master usage | expand

Commit Message

Fabio Estevam Sept. 2, 2024, 6:10 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

According to fsl,saif.yaml, fsl,saif-master is a phandle to the master
SAIF.

Change it accordingly, to fix the following dt-schema warnings:

saif@80042000: fsl,saif-master: True is not of type 'array'
saif@80042000: Unevaluated properties are not allowed ('fsl,saif-master' was unexpected)

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Lothar Waßmann Sept. 3, 2024, 6:04 a.m. UTC | #1
Hi,

> From: Fabio Estevam <festevam@denx.de>
> 
> According to fsl,saif.yaml, fsl,saif-master is a phandle to the master
> SAIF.
> 
> Change it accordingly, to fix the following dt-schema warnings:
> 
> saif@80042000: fsl,saif-master: True is not of type 'array'
> saif@80042000: Unevaluated properties are not allowed ('fsl,saif-master' was unexpected)
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> ---
>  arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts b/arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts
> index d38183edf0fd..9290635352f1 100644
> --- a/arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts
> +++ b/arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts
> @@ -615,13 +615,13 @@ MX28_PAD_JTAG_RTCK__GPIO_4_20 /* USBH_OC */
>  &saif0 {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&saif0_pins_b>;
> -	fsl,saif-master;
>  	status = "okay";
>  };
>  
>  &saif1 {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&saif1_pins_a>;
> +	fsl,saif-master = <&saif0>;
>  	status = "okay";
>  };
>  

Acked-By: Lothar Waßmann <LW@KARO-electronics.de>


Lothar Waßmann
Shawn Guo Sept. 3, 2024, 6:59 a.m. UTC | #2
On Mon, Sep 02, 2024 at 03:10:36PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> According to fsl,saif.yaml, fsl,saif-master is a phandle to the master
> SAIF.
> 
> Change it accordingly, to fix the following dt-schema warnings:
> 
> saif@80042000: fsl,saif-master: True is not of type 'array'
> saif@80042000: Unevaluated properties are not allowed ('fsl,saif-master' was unexpected)
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts b/arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts
index d38183edf0fd..9290635352f1 100644
--- a/arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts
+++ b/arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts
@@ -615,13 +615,13 @@  MX28_PAD_JTAG_RTCK__GPIO_4_20 /* USBH_OC */
 &saif0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&saif0_pins_b>;
-	fsl,saif-master;
 	status = "okay";
 };
 
 &saif1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&saif1_pins_a>;
+	fsl,saif-master = <&saif0>;
 	status = "okay";
 };