Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Krzysztof Kozlowski and committed by
Wolfram Sang
d0fa235c 37859693

+3
+3
Documentation/devicetree/bindings/i2c/i2c-imx.yaml
··· 22 22 - const: fsl,imx35-i2c 23 23 - const: fsl,imx1-i2c 24 24 - items: 25 + - const: fsl,imx7d-i2c 26 + - const: fsl,imx21-i2c 27 + - items: 25 28 - enum: 26 29 - fsl,imx25-i2c 27 30 - fsl,imx27-i2c