Skip to contentSkip to conversation

dt-bindings: serial: fsl-lpuart: Add i.MX8DXL compatible

PATCH RESEND Superseded Abel Vesa 2 participants 3 messages Dec 21, 2021 – Jan 14, 2022

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Abel Vesa

author
#0 lore raw

PATCH RESEND 1/1 dt-bindings: serial: fsl-lpuart: Add i.MX8DXL compatible

Add i.MX8DXL lpuart compatible to the bindings documentation.

---

This is a resend of the following, but as a separate patch.

https://lore.kernel.org/linux-arm-kernel/YcCisM3BqM984k%[email protected]/

 Documentation/devicetree/bindings/serial/fsl-lpuart.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/serial/fsl-lpuart.yaml +4 -0
index 6e04e3848261..1f482e166467 100644
@@ -30,6 +30,10 @@ properties:
       - items:
           - const: fsl,imx8qm-lpuart
           - const: fsl,imx8qxp-lpuart
+      - items:
+          - const: fsl,imx8dxl-lpuart
+          - const: fsl,imx8qxp-lpuart
+          - const: fsl,imx7ulp-lpuart
 
   reg:
     maxItems: 1
Signature · 1 line
2.31.1
maintainer
#1 lore raw
Quoted 18 lines · Abel Vesa

Add i.MX8DXL lpuart compatible to the bindings documentation.

---

This is a resend of the following, but as a separate patch.

https://lore.kernel.org/linux-arm-kernel/YcCisM3BqM984k%[email protected]/

 Documentation/devicetree/bindings/serial/fsl-lpuart.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/serial/fsl-lpuart.yaml +0 -0
index 6e04e3848261..1f482e166467 100644

Documentation/devicetree/bindings/serial/fsl-lpuart.yaml properties: · line 36

Quoted 7 lines
Documentation/devicetree/bindings/serial/fsl-lpuart.yaml +4 -0
@@ -30,6 +30,10 @@ properties:
       - items:
           - const: fsl,imx8qm-lpuart
           - const: fsl,imx8qxp-lpuart
+      - items:
+          - const: fsl,imx8dxl-lpuart
+          - const: fsl,imx8qxp-lpuart
+          - const: fsl,imx7ulp-lpuart

It doesn't really make sense that imx8qm and imx8dxl are backwards compatible with imx8qxp, but only imx8qm is backwards compatible to imx7ulp. Ir only makes sense if some feature/quirk specific to fsl,imx7ulp-lpuart is gone in imx8qm.

Rob

author
#2 lore raw
Quoted 23 lines · Rob Herring
Quoted 22 lines · Abel Vesa

Add i.MX8DXL lpuart compatible to the bindings documentation.

---

This is a resend of the following, but as a separate patch.

https://lore.kernel.org/linux-arm-kernel/YcCisM3BqM984k%[email protected]/

 Documentation/devicetree/bindings/serial/fsl-lpuart.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/serial/fsl-lpuart.yaml +1 -0
index 6e04e3848261..1f482e166467 100644
@@ -30,6 +30,10 @@ properties:
       - items:
           - const: fsl,imx8qm-lpuart
           - const: fsl,imx8qxp-lpuart
+      - items:
Quoted 9 lines

Documentation/devicetree/bindings/serial/fsl-lpuart.yaml properties: · line 36

Quoted 3 lines
Documentation/devicetree/bindings/serial/fsl-lpuart.yaml +3 -0
+          - const: fsl,imx8dxl-lpuart
+          - const: fsl,imx8qxp-lpuart
+          - const: fsl,imx7ulp-lpuart

It doesn't really make sense that imx8qm and imx8dxl are backwards compatible with imx8qxp, but only imx8qm is backwards compatible to imx7ulp. Ir only makes sense if some feature/quirk specific to fsl,imx7ulp-lpuart is gone in imx8qm.

Actually, I'll just drop the imx7ulp from the imx8dxl dts nodes and then from this patch.

The imx7ulp compatible is not needed anymore because the following commit:

b4b844930f27bf7019 ("tty: serial: fsl_lpuart: drop earlycon entry for i.MX8QXP"

got reverted by:

4e9679738a918d8a48 ('Revert "tty: serial: fsl_lpuart: drop earlycon entry for i.MX8QXP"')

Will resend with proper changes.

Quoted 1 line

Rob