]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: i2c: imx: Fix i.MX 7 compatible matching
authorKrzysztof Kozlowski <krzk@kernel.org>
Thu, 17 Sep 2020 19:13:21 +0000 (21:13 +0200)
committerWolfram Sang <wsa@kernel.org>
Sun, 27 Sep 2020 18:00:37 +0000 (20:00 +0200)
commit3e0700b987ed819fd120f073df72787a41b167bd
tree7323fdf5663fe873e1f787e834441ec55ff43a89
parentbbdc53c7e95de792dd40c4ca712dc0c11f8e8c29
dt-bindings: i2c: imx: Fix i.MX 7 compatible matching

The i.MX 7 DTSes use two compatibles so update the binding to fix
dtbs_check warnings like:

  arch/arm/boot/dts/imx7d-cl-som-imx7.dt.yaml: i2c@30a20000:
    compatible: ['fsl,imx7d-i2c', 'fsl,imx21-i2c'] is not valid under any of the given schemas (Possible causes of the failure):

  arch/arm/boot/dts/imx7d-cl-som-imx7.dt.yaml: i2c@30a20000:
    compatible: ['fsl,imx7d-i2c', 'fsl,imx21-i2c'] is too long

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Documentation/devicetree/bindings/i2c/i2c-imx.yaml