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

Teresa Remmet
2024-08-06T08:25:08Z

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";
>
>  };
>
>

--
PHYTEC Messtechnik GmbH | Barcelona-Allee 1 | 55129 Mainz, Germany

Geschäftsführer: Dipl.-Ing. Michael Mitezki, Dipl.-Ing. Bodo Huber,
Dipl.-Ing. (FH) Markus Lickes | Handelsregister Mainz HRB 4656 |
Finanzamt Mainz | St.Nr. 266500608, DE 149059855