diff mbox series

ARM: dts: imx28-xea: Pass the 'model' property

Message ID 20231205132735.2016022-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: imx28-xea: Pass the 'model' property | expand

Commit Message

Fabio Estevam Dec. 5, 2023, 1:27 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

Per root-node.yaml, 'model' is a required property.

Pass it to fix the following dt-schema warning:

imx28-xea.dtb: /: 'model' is a required property
	from schema $id: http://devicetree.org/schemas/root-node.yaml#

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

Comments

Stefan Wahren Dec. 5, 2023, 7:03 p.m. UTC | #1
Hi Fabio,

Am 05.12.23 um 14:27 schrieb Fabio Estevam:
> From: Fabio Estevam <festevam@denx.de>
>
> Per root-node.yaml, 'model' is a required property.
>
> Pass it to fix the following dt-schema warning:
>
> imx28-xea.dtb: /: 'model' is a required property
> 	from schema $id: http://devicetree.org/schemas/root-node.yaml#
>
> Signed-off-by: Fabio Estevam <festevam@denx.de>
i would consider this as a fix because every board file should have a
model, which is helpful for debugging.

Fixes: 445ae16ac1c5 ("ARM: dts: imx28: Add DTS description of imx28
based XEA board")
> ---
>   arch/arm/boot/dts/nxp/mxs/imx28-xea.dts | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts b/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts
> index a400c108f66a..cc54a0390f8c 100644
> --- a/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts
> +++ b/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts
> @@ -8,6 +8,7 @@
>   #include "imx28-lwe.dtsi"
>
>   / {
> +	model = "Liebherr Xea board";
s/Xea/XEA

Thanks
>   	compatible = "lwn,imx28-xea", "fsl,imx28";
>   };
>
Shawn Guo Dec. 6, 2023, 3:20 a.m. UTC | #2
On Tue, Dec 05, 2023 at 10:27:35AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> Per root-node.yaml, 'model' is a required property.
> 
> Pass it to fix the following dt-schema warning:
> 
> imx28-xea.dtb: /: 'model' is a required property
> 	from schema $id: http://devicetree.org/schemas/root-node.yaml#
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!
Stefan Wahren Dec. 6, 2023, 7 a.m. UTC | #3
Hi,

sorry i replied just to the list last time :-(

Am 05.12.23 um 14:27 schrieb Fabio Estevam:
> From: Fabio Estevam <festevam@denx.de>
>
> Per root-node.yaml, 'model' is a required property.
>
> Pass it to fix the following dt-schema warning:
>
> imx28-xea.dtb: /: 'model' is a required property
> 	from schema $id: http://devicetree.org/schemas/root-node.yaml#
>
> Signed-off-by: Fabio Estevam <festevam@denx.de>
i would consider this as a fix because every board file should have a
model, which is helpful for debugging.

Fixes: 445ae16ac1c5 ("ARM: dts: imx28: Add DTS description of imx28
based XEA board")
> ---
>   arch/arm/boot/dts/nxp/mxs/imx28-xea.dts | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts b/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts
> index a400c108f66a..cc54a0390f8c 100644
> --- a/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts
> +++ b/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts
> @@ -8,6 +8,7 @@
>   #include "imx28-lwe.dtsi"
>
>   / {
> +	model = "Liebherr Xea board";
s/Xea/XEA

Thanks
>   	compatible = "lwn,imx28-xea", "fsl,imx28";
>   };
>
Shawn Guo Dec. 6, 2023, 9:26 a.m. UTC | #4
On Wed, Dec 06, 2023 at 08:00:26AM +0100, Stefan Wahren wrote:
> Hi,
> 
> sorry i replied just to the list last time :-(
> 
> Am 05.12.23 um 14:27 schrieb Fabio Estevam:
> > From: Fabio Estevam <festevam@denx.de>
> > 
> > Per root-node.yaml, 'model' is a required property.
> > 
> > Pass it to fix the following dt-schema warning:
> > 
> > imx28-xea.dtb: /: 'model' is a required property
> > 	from schema $id: http://devicetree.org/schemas/root-node.yaml#
> > 
> > Signed-off-by: Fabio Estevam <festevam@denx.de>
> i would consider this as a fix because every board file should have a
> model, which is helpful for debugging.
> 
> Fixes: 445ae16ac1c5 ("ARM: dts: imx28: Add DTS description of imx28
> based XEA board")

Ok, I added it.

> > ---
> >   arch/arm/boot/dts/nxp/mxs/imx28-xea.dts | 1 +
> >   1 file changed, 1 insertion(+)
> > 
> > diff --git a/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts b/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts
> > index a400c108f66a..cc54a0390f8c 100644
> > --- a/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts
> > +++ b/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts
> > @@ -8,6 +8,7 @@
> >   #include "imx28-lwe.dtsi"
> > 
> >   / {
> > +	model = "Liebherr Xea board";
> s/Xea/XEA

Fixed it up.

Shawn
Lukasz Majewski Dec. 6, 2023, 9:33 a.m. UTC | #5
On Tue,  5 Dec 2023 10:27:35 -0300
Fabio Estevam <festevam@gmail.com> wrote:

> From: Fabio Estevam <festevam@denx.de>
> 
> Per root-node.yaml, 'model' is a required property.
> 
> Pass it to fix the following dt-schema warning:
> 
> imx28-xea.dtb: /: 'model' is a required property
> 	from schema $id: http://devicetree.org/schemas/root-node.yaml#
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> ---
>  arch/arm/boot/dts/nxp/mxs/imx28-xea.dts | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts
> b/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts index
> a400c108f66a..cc54a0390f8c 100644 ---
> a/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts +++
> b/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts @@ -8,6 +8,7 @@
>  #include "imx28-lwe.dtsi"
>  
>  / {
> +	model = "Liebherr Xea board";
>  	compatible = "lwn,imx28-xea", "fsl,imx28";
>  };
>  

Reviewed-by: Lukasz Majewski <lukma@denx.de>


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts b/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts
index a400c108f66a..cc54a0390f8c 100644
--- a/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts
+++ b/arch/arm/boot/dts/nxp/mxs/imx28-xea.dts
@@ -8,6 +8,7 @@ 
 #include "imx28-lwe.dtsi"
 
 / {
+	model = "Liebherr Xea board";
 	compatible = "lwn,imx28-xea", "fsl,imx28";
 };