diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-20 22:58:48 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2020-09-29 17:02:01 +0300 |
commit | 1c36e50f05d93d5485202eed05e1743897a766f0 (patch) | |
tree | e48f268855857a9207ac0c37c236fd141c82d3a0 /Documentation/devicetree/bindings/gpio | |
parent | eab1de67d292d0b88c148721a276897238150b89 (diff) | |
download | linux-1c36e50f05d93d5485202eed05e1743897a766f0.tar.xz |
dt-bindings: gpio: gpio-vf610: fix iMX 7ULP compatible matching
The i.MX 7ULP DTSes use two compatibles so update the binding to fix
dtbs_check warnings like:
arch/arm/boot/dts/imx7ulp-com.dt.yaml: gpio@40ae0000:
compatible: ['fsl,imx7ulp-gpio', 'fsl,vf610-gpio'] is too long
arch/arm/boot/dts/imx7ulp-com.dt.yaml: gpio@40ae0000:
compatible: Additional items are not allowed ('fsl,vf610-gpio' was unexpected)
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio')
-rw-r--r-- | Documentation/devicetree/bindings/gpio/gpio-vf610.yaml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml index 6ac5a78ad3da..19738a457a58 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml +++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml @@ -19,9 +19,11 @@ description: | properties: compatible: - enum: - - fsl,vf610-gpio - - fsl,imx7ulp-gpio + oneOf: + - const: fsl,vf610-gpio + - items: + - const: fsl,imx7ulp-gpio + - const: fsl,vf610-gpio reg: description: The first reg tuple represents the PORT module, the second tuple |