Skip to contentSkip to conversation

dt-bindings: serial: fsl-lpuart: Drop i.MX8QXP backwards compatibility

PATCH Applied Abel Vesa 4 participants 9 messages Jan 18, 2022 – Feb 10, 2022

Subsystems (3)

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore

Abel Vesa

author
#0 lore raw

PATCH 1/2 dt-bindings: serial: fsl-lpuart: Drop i.MX8QXP backwards compatibility

Drop the i.MX8QXP backwards compatibility with i.MX7ULP since they differ from clocks handling point of view.

---
 Documentation/devicetree/bindings/serial/fsl-lpuart.yaml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/serial/fsl-lpuart.yaml +2 -3
index aa83cbf56d59..ff364bd0fbac 100644
@@ -20,11 +20,10 @@ properties:
           - fsl,ls1021a-lpuart
           - fsl,ls1028a-lpuart
           - fsl,imx7ulp-lpuart
+          - fsl,imx8qxp-lpuart
           - fsl,imxrt1050-lpuart
       - items:
-          - enum:
-              - fsl,imx8qxp-lpuart
-              - fsl,imx8ulp-lpuart
+          - const: fsl,imx8ulp-lpuart
           - const: fsl,imx7ulp-lpuart
       - items:
           - enum:
Signature · 1 line
2.31.1
author
#1 lore raw

PATCH 2/2 arm64: dts: imx8qxp-ss-adma: Drop fsl,imx7ulp-lpuart comaptible

The driver differs from clocks point of view, so the i.MX8QXP is not backwards compatible with i.MX7ULP.

---
 arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi +4 -4
index dc1daa8dc72f..7bae516004bf 100644
@@ -5,19 +5,19 @@
  */
 
 &lpuart0 {
-	compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart";
+	compatible = "fsl,imx8qxp-lpuart";
 };
 
 &lpuart1 {
-	compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart";
+	compatible = "fsl,imx8qxp-lpuart";
 };
 
 &lpuart2 {
-	compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart";
+	compatible = "fsl,imx8qxp-lpuart";
 };
 
 &lpuart3 {
-	compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart";
+	compatible = "fsl,imx8qxp-lpuart";
 };
 
 &i2c0 {
Signature · 1 line
2.31.1
Reviewed-by on v1 1/2
#4 lore raw
In reply to Abel Vesa
Quoted 7 lines

Subject: [PATCH 1/2] dt-bindings: serial: fsl-lpuart: Drop i.MX8QXP backwards compatibility

Drop the i.MX8QXP backwards compatibility with i.MX7ULP since they differ from clocks handling point of view.

Quoted 25 lines
---
 Documentation/devicetree/bindings/serial/fsl-lpuart.yaml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/serial/fsl-lpuart.yaml +2 -4
index aa83cbf56d59..ff364bd0fbac 100644
@@ -20,11 +20,10 @@ properties:
           - fsl,ls1021a-lpuart
           - fsl,ls1028a-lpuart
           - fsl,imx7ulp-lpuart
+          - fsl,imx8qxp-lpuart
           - fsl,imxrt1050-lpuart
       - items:
-          - enum:
-              - fsl,imx8qxp-lpuart
-              - fsl,imx8ulp-lpuart
+          - const: fsl,imx8ulp-lpuart
           - const: fsl,imx7ulp-lpuart
       - items:
           - enum:
--

2.31.1

Reviewed-by on v1 2/2
#2 lore raw

RE: [PATCH 2/2] arm64: dts: imx8qxp-ss-adma: Drop fsl,imx7ulp-lpuart comaptible

In reply to Abel Vesa
Quoted 7 lines

Subject: [PATCH 2/2] arm64: dts: imx8qxp-ss-adma: Drop fsl,imx7ulp-lpuart comaptible

The driver differs from clocks point of view, so the i.MX8QXP is not backwards compatible with i.MX7ULP.

Quoted 35 lines
---
 arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi +4 -5
index dc1daa8dc72f..7bae516004bf 100644
@@ -5,19 +5,19 @@
  */
 
 &lpuart0 {
-	compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart";
+	compatible = "fsl,imx8qxp-lpuart";
 };
 
 &lpuart1 {
-	compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart";
+	compatible = "fsl,imx8qxp-lpuart";
 };
 
 &lpuart2 {
-	compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart";
+	compatible = "fsl,imx8qxp-lpuart";
 };
 
 &lpuart3 {
-	compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart";
+	compatible = "fsl,imx8qxp-lpuart";
 };
 
 &i2c0 {
--

2.31.1

Applied
#3 lore raw

Re: [PATCH 2/2] arm64: dts: imx8qxp-ss-adma: Drop fsl,imx7ulp-lpuart comaptible

In reply to Abel Vesa
Quoted 4 lines · Abel Vesa

The driver differs from clocks point of view, so the i.MX8QXP is not backwards compatible with i.MX7ULP.

Applied, thanks!

maintainer Acked-by on v1 1/2
#5 lore raw
In reply to Abel Vesa
Quoted 8 lines · Abel Vesa

Drop the i.MX8QXP backwards compatibility with i.MX7ULP since they differ from clocks handling point of view.

---
 Documentation/devicetree/bindings/serial/fsl-lpuart.yaml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#6 lore raw
In reply to Abel Vesa
Quoted 4 lines · Abel Vesa

Drop the i.MX8QXP backwards compatibility with i.MX7ULP since they differ from clocks handling point of view.

I tried to pick up the patch, but it failed to apply to my imx/bindings branch. Could you rebase?

Shawn

Quoted 25 lines
---
 Documentation/devicetree/bindings/serial/fsl-lpuart.yaml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/serial/fsl-lpuart.yaml +2 -3
index aa83cbf56d59..ff364bd0fbac 100644
@@ -20,11 +20,10 @@ properties:
           - fsl,ls1021a-lpuart
           - fsl,ls1028a-lpuart
           - fsl,imx7ulp-lpuart
+          - fsl,imx8qxp-lpuart
           - fsl,imxrt1050-lpuart
       - items:
-          - enum:
-              - fsl,imx8qxp-lpuart
-              - fsl,imx8ulp-lpuart
+          - const: fsl,imx8ulp-lpuart
           - const: fsl,imx7ulp-lpuart
       - items:
           - enum:
Signature · 1 line
2.31.1
maintainer
#7 lore raw
Quoted 9 lines · Shawn Guo
Quoted 4 lines · Abel Vesa

Drop the i.MX8QXP backwards compatibility with i.MX7ULP since they differ from clocks handling point of view.

I tried to pick up the patch, but it failed to apply to my imx/bindings branch. Could you rebase?

Shouldn't Greg be picking this up?

Rob

author
#8 lore raw
In reply to Abel Vesa
Quoted 4 lines · Abel Vesa

Drop the i.MX8QXP backwards compatibility with i.MX7ULP since they differ from clocks handling point of view.

Please ignore this one and have a look at the V2 here:

https://lore.kernel.org/lkml/[email protected]/raw

Quoted 25 lines
---
 Documentation/devicetree/bindings/serial/fsl-lpuart.yaml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/serial/fsl-lpuart.yaml +2 -3
index aa83cbf56d59..ff364bd0fbac 100644
@@ -20,11 +20,10 @@ properties:
           - fsl,ls1021a-lpuart
           - fsl,ls1028a-lpuart
           - fsl,imx7ulp-lpuart
+          - fsl,imx8qxp-lpuart
           - fsl,imxrt1050-lpuart
       - items:
-          - enum:
-              - fsl,imx8qxp-lpuart
-              - fsl,imx8ulp-lpuart
+          - const: fsl,imx8ulp-lpuart
           - const: fsl,imx7ulp-lpuart
       - items:
           - enum:
Signature · 1 line
2.31.1