All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] arm64: dts: imx8qm: Add fsl,imx7ulp-lpuart compatible to lpuart
@ 2021-11-08 11:54 ` Alexander Stein
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Stein @ 2021-11-08 11:54 UTC (permalink / raw)
  To: Rob Herring, Shawn Guo, Sascha Hauer, Peng Fan
  Cc: Alexander Stein, devicetree, linux-arm-kernel

After commit b4b844930f27 ("tty: serial: fsl_lpuart: drop earlycon entry
for i.MX8QXP") earlycon support was essentially removed from
imx8qm/imx8qxp due to missing compatible.
The commit message says "i.MX8QXP lpuart is compatible with i.MX7ULP" so
adding a fallback compatible should be fine.
With this change early is supported again on imx8qm/imx8qxp.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
I get the following lines in my 5.10 kernel (backported this change):
[    0.000000] earlycon: lpuart32 at MMIO32 0x000000005a060000 (options '')                                                                                                                                                                                                    
[    0.000000] printk: bootconsole [lpuart32] enabled

 arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
index bbe5f5ecfb92..3486b99ab6eb 100644
--- a/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
@@ -19,19 +19,19 @@ uart4_lpcg: clock-controller@5a4a0000 {
 };
 
 &lpuart0 {
-	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
+	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart";
 };
 
 &lpuart1 {
-	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
+	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart";
 };
 
 &lpuart2 {
-	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
+	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart";
 };
 
 &lpuart3 {
-	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
+	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart";
 };
 
 &i2c0 {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 1/1] arm64: dts: imx8qm: Add fsl, imx7ulp-lpuart compatible to lpuart
@ 2021-11-08 11:54 ` Alexander Stein
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Stein @ 2021-11-08 11:54 UTC (permalink / raw)
  To: Rob Herring, Shawn Guo, Sascha Hauer, Peng Fan
  Cc: Alexander Stein, devicetree, linux-arm-kernel

After commit b4b844930f27 ("tty: serial: fsl_lpuart: drop earlycon entry
for i.MX8QXP") earlycon support was essentially removed from
imx8qm/imx8qxp due to missing compatible.
The commit message says "i.MX8QXP lpuart is compatible with i.MX7ULP" so
adding a fallback compatible should be fine.
With this change early is supported again on imx8qm/imx8qxp.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
I get the following lines in my 5.10 kernel (backported this change):
[    0.000000] earlycon: lpuart32 at MMIO32 0x000000005a060000 (options '')                                                                                                                                                                                                    
[    0.000000] printk: bootconsole [lpuart32] enabled

 arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
index bbe5f5ecfb92..3486b99ab6eb 100644
--- a/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
@@ -19,19 +19,19 @@ uart4_lpcg: clock-controller@5a4a0000 {
 };
 
 &lpuart0 {
-	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
+	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart";
 };
 
 &lpuart1 {
-	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
+	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart";
 };
 
 &lpuart2 {
-	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
+	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart";
 };
 
 &lpuart3 {
-	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
+	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart";
 };
 
 &i2c0 {
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* RE: [PATCH 1/1] arm64: dts: imx8qm: Add fsl,imx7ulp-lpuart compatible to lpuart
  2021-11-08 11:54 ` [PATCH 1/1] arm64: dts: imx8qm: Add fsl, imx7ulp-lpuart " Alexander Stein
@ 2021-11-09  9:13   ` Peng Fan
  -1 siblings, 0 replies; 4+ messages in thread
From: Peng Fan @ 2021-11-09  9:13 UTC (permalink / raw)
  To: Alexander Stein, Rob Herring, Shawn Guo, Sascha Hauer
  Cc: devicetree, linux-arm-kernel

> Subject: [PATCH 1/1] arm64: dts: imx8qm: Add fsl,imx7ulp-lpuart compatible
> to lpuart
> 
> After commit b4b844930f27 ("tty: serial: fsl_lpuart: drop earlycon entry for
> i.MX8QXP") earlycon support was essentially removed from imx8qm/imx8qxp
> due to missing compatible.
> The commit message says "i.MX8QXP lpuart is compatible with i.MX7ULP" so
> adding a fallback compatible should be fine.
> With this change early is supported again on imx8qm/imx8qxp.
> 
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>

Reviewed-by: Peng Fan <peng.fan@nxp.com>

> ---
> I get the following lines in my 5.10 kernel (backported this change):
> [    0.000000] earlycon: lpuart32 at MMIO32 0x000000005a060000
> (options '')
> [    0.000000] printk: bootconsole [lpuart32] enabled
> 
>  arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
> b/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
> index bbe5f5ecfb92..3486b99ab6eb 100644
> --- a/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
> @@ -19,19 +19,19 @@ uart4_lpcg: clock-controller@5a4a0000 {  };
> 
>  &lpuart0 {
> -	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
> +	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart",
> +"fsl,imx7ulp-lpuart";
>  };
> 
>  &lpuart1 {
> -	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
> +	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart",
> +"fsl,imx7ulp-lpuart";
>  };
> 
>  &lpuart2 {
> -	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
> +	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart",
> +"fsl,imx7ulp-lpuart";
>  };
> 
>  &lpuart3 {
> -	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
> +	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart",
> +"fsl,imx7ulp-lpuart";
>  };
> 
>  &i2c0 {
> --
> 2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH 1/1] arm64: dts: imx8qm: Add fsl, imx7ulp-lpuart compatible to lpuart
@ 2021-11-09  9:13   ` Peng Fan
  0 siblings, 0 replies; 4+ messages in thread
From: Peng Fan @ 2021-11-09  9:13 UTC (permalink / raw)
  To: Alexander Stein, Rob Herring, Shawn Guo, Sascha Hauer
  Cc: devicetree, linux-arm-kernel

> Subject: [PATCH 1/1] arm64: dts: imx8qm: Add fsl,imx7ulp-lpuart compatible
> to lpuart
> 
> After commit b4b844930f27 ("tty: serial: fsl_lpuart: drop earlycon entry for
> i.MX8QXP") earlycon support was essentially removed from imx8qm/imx8qxp
> due to missing compatible.
> The commit message says "i.MX8QXP lpuart is compatible with i.MX7ULP" so
> adding a fallback compatible should be fine.
> With this change early is supported again on imx8qm/imx8qxp.
> 
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>

Reviewed-by: Peng Fan <peng.fan@nxp.com>

> ---
> I get the following lines in my 5.10 kernel (backported this change):
> [    0.000000] earlycon: lpuart32 at MMIO32 0x000000005a060000
> (options '')
> [    0.000000] printk: bootconsole [lpuart32] enabled
> 
>  arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
> b/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
> index bbe5f5ecfb92..3486b99ab6eb 100644
> --- a/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
> @@ -19,19 +19,19 @@ uart4_lpcg: clock-controller@5a4a0000 {  };
> 
>  &lpuart0 {
> -	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
> +	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart",
> +"fsl,imx7ulp-lpuart";
>  };
> 
>  &lpuart1 {
> -	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
> +	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart",
> +"fsl,imx7ulp-lpuart";
>  };
> 
>  &lpuart2 {
> -	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
> +	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart",
> +"fsl,imx7ulp-lpuart";
>  };
> 
>  &lpuart3 {
> -	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
> +	compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart",
> +"fsl,imx7ulp-lpuart";
>  };
> 
>  &i2c0 {
> --
> 2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-09  9:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-08 11:54 [PATCH 1/1] arm64: dts: imx8qm: Add fsl,imx7ulp-lpuart compatible to lpuart Alexander Stein
2021-11-08 11:54 ` [PATCH 1/1] arm64: dts: imx8qm: Add fsl, imx7ulp-lpuart " Alexander Stein
2021-11-09  9:13 ` [PATCH 1/1] arm64: dts: imx8qm: Add fsl,imx7ulp-lpuart " Peng Fan
2021-11-09  9:13   ` [PATCH 1/1] arm64: dts: imx8qm: Add fsl, imx7ulp-lpuart " Peng Fan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.