]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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 29b9447f3b84afc92edf821718ea26a05be8f0e4..fe0c89edf7c10fcec94189ea04673a4096a69011 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: