Commit d0fa235c authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Wolfram Sang

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: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent 37859693
...@@ -21,6 +21,9 @@ properties: ...@@ -21,6 +21,9 @@ properties:
- items: - items:
- const: fsl,imx35-i2c - const: fsl,imx35-i2c
- const: fsl,imx1-i2c - const: fsl,imx1-i2c
- items:
- const: fsl,imx7d-i2c
- const: fsl,imx21-i2c
- items: - items:
- enum: - enum:
- fsl,imx25-i2c - fsl,imx25-i2c
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment