Skip to content

Commit d0fa235

Browse files
krzkwsakernel
authored andcommitted
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>
1 parent 3785969 commit d0fa235

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎Documentation/devicetree/bindings/i2c/i2c-imx.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ properties:
2121
- items:
2222
- const: fsl,imx35-i2c
2323
- const: fsl,imx1-i2c
24+
- items:
25+
- const: fsl,imx7d-i2c
26+
- const: fsl,imx21-i2c
2427
- items:
2528
- enum:
2629
- fsl,imx25-i2c

0 commit comments

Comments
 (0)