diff mbox series

[v2,5/6] arm64: dts: imx8mp-venice-gw74xx-imx219: remove compatible in overlay file

Message ID 20240807-fsl_dts_warning-v2-5-89e08c38831a@nxp.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: freescale: 2nrd clean up dtb warning under freescale | expand

Commit Message

Frank Li Aug. 7, 2024, 2:52 p.m. UTC
Remove compatible string in overlay file to fix below warning:
gw,imx8mp-gw74xx' is not one of ['fsl,ls1043a-rdb', 'fsl,ls1043a-qds']

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Change from v1 to v2
- remove compatible string totally
---
 arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx-imx219.dtso | 2 --
 1 file changed, 2 deletions(-)

Comments

Peng Fan Aug. 8, 2024, 2:39 a.m. UTC | #1
> Subject: [PATCH v2 5/6] arm64: dts: imx8mp-venice-gw74xx-imx219:
> remove compatible in overlay file
> 
> Remove compatible string in overlay file to fix below warning:
> gw,imx8mp-gw74xx' is not one of ['fsl,ls1043a-rdb', 'fsl,ls1043a-qds']
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> Change from v1 to v2
> - remove compatible string totally
> ---
>  arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx-imx219.dtso |
> 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx-
> imx219.dtso b/arch/arm64/boot/dts/freescale/imx8mp-venice-
> gw74xx-imx219.dtso
> index edf22ff549a47..eb673a947484a 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx-
> imx219.dtso
> +++ b/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx-
> imx219.dtso
> @@ -11,8 +11,6 @@
>  /plugin/;
> 
>  &{/} {
> -	compatible = "gw,imx8mp-gw74xx", "fsl,imx8mp";


This machine string should be added to device tree, but not just delete.

Regards,
Peng.

> -
>  	reg_cam: regulator-cam {
>  		pinctrl-names = "default";
>  		pinctrl-0 = <&pinctrl_reg_cam>;
> 
> --
> 2.34.1
>
Frank Li Aug. 8, 2024, 1:57 p.m. UTC | #2
On Thu, Aug 08, 2024 at 02:39:19AM +0000, Peng Fan wrote:
> > Subject: [PATCH v2 5/6] arm64: dts: imx8mp-venice-gw74xx-imx219:
> > remove compatible in overlay file
> >
> > Remove compatible string in overlay file to fix below warning:
> > gw,imx8mp-gw74xx' is not one of ['fsl,ls1043a-rdb', 'fsl,ls1043a-qds']
> >
> > Signed-off-by: Frank Li <Frank.Li@nxp.com>
> > ---
> > Change from v1 to v2
> > - remove compatible string totally
> > ---
> >  arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx-imx219.dtso |
> > 2 --
> >  1 file changed, 2 deletions(-)
> >
> > diff --git a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx-
> > imx219.dtso b/arch/arm64/boot/dts/freescale/imx8mp-venice-
> > gw74xx-imx219.dtso
> > index edf22ff549a47..eb673a947484a 100644
> > --- a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx-
> > imx219.dtso
> > +++ b/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx-
> > imx219.dtso
> > @@ -11,8 +11,6 @@
> >  /plugin/;
> >
> >  &{/} {
> > -	compatible = "gw,imx8mp-gw74xx", "fsl,imx8mp";
>
>
> This machine string should be added to device tree, but not just delete.

This overlay file, this compatible string should already in major dts file.

Frank

>
> Regards,
> Peng.
>
> > -
> >  	reg_cam: regulator-cam {
> >  		pinctrl-names = "default";
> >  		pinctrl-0 = <&pinctrl_reg_cam>;
> >
> > --
> > 2.34.1
> >
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx-imx219.dtso b/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx-imx219.dtso
index edf22ff549a47..eb673a947484a 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx-imx219.dtso
+++ b/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx-imx219.dtso
@@ -11,8 +11,6 @@ 
 /plugin/;
 
 &{/} {
-	compatible = "gw,imx8mp-gw74xx", "fsl,imx8mp";
-
 	reg_cam: regulator-cam {
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_reg_cam>;