diff mbox series

[v4,02/12] dt-bindings: serial: fsl-lpuart: Fix i.MX 8QM compatible matching

Message ID 1636566415-22750-3-git-send-email-abel.vesa@nxp.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: Add i.MX8DXL initial support | expand

Commit Message

Abel Vesa Nov. 10, 2021, 5:46 p.m. UTC
The i.MX 8QM DTS files use two compatibles, so update the binding to fix
dtbs_check warnings like:

  arch/arm64/boot/dts/freescale/imx8qm-mek.dt.yaml: serial@5a060000:
    compatible: ['fsl,imx8qm-lpuart', 'fsl,imx8qxp-lpuart'] is too long
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
---
 Documentation/devicetree/bindings/serial/fsl-lpuart.yaml | 3 +++
 1 file changed, 3 insertions(+)

Comments

Rob Herring Nov. 19, 2021, 1:02 a.m. UTC | #1
On Wed, 10 Nov 2021 19:46:45 +0200, Abel Vesa wrote:
> The i.MX 8QM DTS files use two compatibles, so update the binding to fix
> dtbs_check warnings like:
> 
>   arch/arm64/boot/dts/freescale/imx8qm-mek.dt.yaml: serial@5a060000:
>     compatible: ['fsl,imx8qm-lpuart', 'fsl,imx8qxp-lpuart'] is too long
> Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
> ---
>  Documentation/devicetree/bindings/serial/fsl-lpuart.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 

Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml b/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml
index a90c971b4f1f..dc1f0e07cbd4 100644
--- a/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml
+++ b/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml
@@ -24,6 +24,9 @@  properties:
       - items:
           - const: fsl,imx8qxp-lpuart
           - const: fsl,imx7ulp-lpuart
+      - items:
+          - const: fsl,imx8qm-lpuart
+          - const: fsl,imx8qxp-lpuart
 
   reg:
     maxItems: 1