Skip to contentSkip to conversation

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

PATCH New Abel Vesa 1 participant 2 messages Feb 10, 2022

Subsystems (2)
lore
Share & tools
lore

Abel Vesa

author
#0 lore raw

PATCH v2 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.

---

Changes since v1:
* rebased to make sure it will apply
* added A-b tag

 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 6e04e3848261..8a65f41ef420 100644
@@ -21,11 +21,10 @@ properties:
           - fsl,ls1028a-lpuart
           - fsl,imx7ulp-lpuart
           - fsl,imx8qm-lpuart
+          - fsl,imx8qxp-lpuart
           - fsl,imxrt1050-lpuart
       - items:
-          - enum:
-              - fsl,imx8qxp-lpuart
-              - fsl,imx8ulp-lpuart
+          - const: fsl,imx8ulp-lpuart
           - const: fsl,imx7ulp-lpuart
       - items:
           - const: fsl,imx8qm-lpuart
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH v2 2/2 dt-bindings: serial: fsl-lpuart: Remove i.MX8QM from enum

i.MX8QM lpuart is backwards compatible with i.MX8QXP, so lets remove the single match from enum. This will force nodes to have both compatible strings, since there is already an 'items' entry for that.

---

Changes since v1:
* fixed type reported by Peng
* added R-b and A-b tags

 Documentation/devicetree/bindings/serial/fsl-lpuart.yaml | 1 -
 1 file changed, 1 deletion(-)
Documentation/devicetree/bindings/serial/fsl-lpuart.yaml +0 -1
index 8a65f41ef420..11727e1cc766 100644
@@ -20,7 +20,6 @@ properties:
           - fsl,ls1021a-lpuart
           - fsl,ls1028a-lpuart
           - fsl,imx7ulp-lpuart
-          - fsl,imx8qm-lpuart
           - fsl,imx8qxp-lpuart
           - fsl,imxrt1050-lpuart
       - items:
Signature · 1 line
2.34.1