diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-17 22:13:19 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-09-27 21:00:24 +0300 |
commit | 755f6292e3fae4a08ce3d238c9508b84a73ac47d (patch) | |
tree | ce51cd00470a3e9106521bfdb7c1531abcda7dbe /Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml | |
parent | 41c38c272e2cc021c833030c3f5a97945ae2b773 (diff) | |
download | linux-755f6292e3fae4a08ce3d238c9508b84a73ac47d.tar.xz |
dt-bindings: i2c: imx-lpi2c: Fix i.MX 8QXP compatible matching
The i.MX 8QXP DTSes use two compatibles so update the binding to fix
dtbs_check warnings like:
arch/arm64/boot/dts/freescale/imx8qxp-mek.dt.yaml: i2c@5a820000:
compatible: ['fsl,imx8qxp-lpi2c', 'fsl,imx7ulp-lpi2c'] 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>
Diffstat (limited to 'Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml b/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml index bf68489eecd1..29b9447f3b84 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml +++ b/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml @@ -14,10 +14,13 @@ allOf: properties: compatible: - enum: - - fsl,imx7ulp-lpi2c - - fsl,imx8qxp-lpi2c - - fsl,imx8qm-lpi2c + oneOf: + - enum: + - fsl,imx7ulp-lpi2c + - fsl,imx8qm-lpi2c + - items: + - const: fsl,imx8qxp-lpi2c + - const: fsl,imx7ulp-lpi2c reg: maxItems: 1 |