dt-bindings: i2c: imx-lpi2c: Fix i.MX 8QM compatible matching
authorAbel Vesa <abel.vesa@nxp.com>
Wed, 10 Nov 2021 17:46:44 +0000 (19:46 +0200)
committerWolfram Sang <wsa@kernel.org>
Tue, 23 Nov 2021 08:54:00 +0000 (09:54 +0100)
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: i2c@5a800000:
    compatible: ['fsl,imx8qm-lpi2c', 'fsl,imx7ulp-lpi2c'] is too long

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml

index 29b9447..fe0c89e 100644 (file)
@@ -17,9 +17,10 @@ properties:
     oneOf:
       - enum:
           - fsl,imx7ulp-lpi2c
-          - fsl,imx8qm-lpi2c
       - items:
-          - const: fsl,imx8qxp-lpi2c
+          - enum:
+              - fsl,imx8qxp-lpi2c
+              - fsl,imx8qm-lpi2c
           - const: fsl,imx7ulp-lpi2c
 
   reg: