diff mbox series

[8/9] arm64: dts: imx8mm: Add fallback compatible string fsl,imx8mm

Message ID 20240805-fsl_dts_warning-v1-8-055653dd5c96@nxp.com (mailing list archive)
State In Next, archived
Headers show
Series arm64: dts: freescale: 2nrd clean up dtb warning under freescale | expand

Commit Message

Frank Li Aug. 5, 2024, 3:49 p.m. UTC
Add fallback compatible string imx8mm-phygate to fix below warning:
'phytec,imx8mm-phygate-tauri-l' is not one of ['armadeus,imx1-apf9328', 'fsl,imx1ads']

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs232.dtso  | 3 ++-
 arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs485.dtso  | 3 ++-
 .../arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rts-cts.dtso | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

Comments

Teresa Remmet Aug. 6, 2024, 8:25 a.m. UTC | #1
Hello Frank,

Am Montag, dem 05.08.2024 um 11:49 -0400 schrieb Frank Li:
> Add fallback compatible string imx8mm-phygate to fix below warning:
> 'phytec,imx8mm-phygate-tauri-l' is not one of ['armadeus,imx1-
> apf9328', 'fsl,imx1ads']
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
>  arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-
> rs232.dtso  | 3 ++-
>  arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-
> rs485.dtso  | 3 ++-
>  .../arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rts-
> cts.dtso | 3 ++-
>  3 files changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-
> rs232-rs232.dtso b/arch/arm64/boot/dts/freescale/imx8mm-phygate-
> tauri-l-rs232-rs232.dtso
> index bf3e04651ba00..f246b0ba6af29 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-
> rs232.dtso
> +++ b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-
> rs232.dtso
> @@ -15,7 +15,8 @@
>  /plugin/;
>  
>  &{/} {
> -       compatible = "phytec,imx8mm-phygate-tauri-l";
> +       compatible = "phytec,imx8mm-phygate-tauri-l",
> +                    "phytec,imx8mm-phycore-som", "fsl,imx8mm";

should the compatible not better be removed for overlays?

Regards,
Teresa

>  
>  };
>  
> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-
> rs232-rs485.dtso b/arch/arm64/boot/dts/freescale/imx8mm-phygate-
> tauri-l-rs232-rs485.dtso
> index f4448cde0407c..67508ca14276f 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-
> rs485.dtso
> +++ b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-
> rs485.dtso
> @@ -16,7 +16,8 @@
>  /plugin/;
>  
>  &{/} {
> -       compatible = "phytec,imx8mm-phygate-tauri-l";
> +       compatible = "phytec,imx8mm-phygate-tauri-l",
> +                    "phytec,imx8mm-phycore-som", "fsl,imx8mm";
>  
>  };
>  
> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-
> rs232-rts-cts.dtso b/arch/arm64/boot/dts/freescale/imx8mm-phygate-
> tauri-l-rs232-rts-cts.dtso
> index 107f743fbb1c3..714e22ccb9c64 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rts-
> cts.dtso
> +++ b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rts-
> cts.dtso
> @@ -16,7 +16,8 @@
>  
>  
>  &{/} {
> -       compatible = "phytec,imx8mm-phygate-tauri-l";
> +       compatible = "phytec,imx8mm-phygate-tauri-l",
> +                    "phytec,imx8mm-phycore-som", "fsl,imx8mm";
>  
>  };
>  
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs232.dtso b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs232.dtso
index bf3e04651ba00..f246b0ba6af29 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs232.dtso
+++ b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs232.dtso
@@ -15,7 +15,8 @@ 
 /plugin/;
 
 &{/} {
-	compatible = "phytec,imx8mm-phygate-tauri-l";
+	compatible = "phytec,imx8mm-phygate-tauri-l",
+		     "phytec,imx8mm-phycore-som", "fsl,imx8mm";
 
 };
 
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs485.dtso b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs485.dtso
index f4448cde0407c..67508ca14276f 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs485.dtso
+++ b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rs485.dtso
@@ -16,7 +16,8 @@ 
 /plugin/;
 
 &{/} {
-	compatible = "phytec,imx8mm-phygate-tauri-l";
+	compatible = "phytec,imx8mm-phygate-tauri-l",
+		     "phytec,imx8mm-phycore-som", "fsl,imx8mm";
 
 };
 
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rts-cts.dtso b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rts-cts.dtso
index 107f743fbb1c3..714e22ccb9c64 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rts-cts.dtso
+++ b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rts-cts.dtso
@@ -16,7 +16,8 @@ 
 
 
 &{/} {
-	compatible = "phytec,imx8mm-phygate-tauri-l";
+	compatible = "phytec,imx8mm-phygate-tauri-l",
+		     "phytec,imx8mm-phycore-som", "fsl,imx8mm";
 
 };