mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 14:19:16 +00:00
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>
This commit is contained in:
parent
eab1de67d2
commit
1c36e50f05
1 changed files with 5 additions and 3 deletions
|
@ -19,9 +19,11 @@ description: |
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
enum:
|
oneOf:
|
||||||
- fsl,vf610-gpio
|
- const: fsl,vf610-gpio
|
||||||
- fsl,imx7ulp-gpio
|
- items:
|
||||||
|
- const: fsl,imx7ulp-gpio
|
||||||
|
- const: fsl,vf610-gpio
|
||||||
|
|
||||||
reg:
|
reg:
|
||||||
description: The first reg tuple represents the PORT module, the second tuple
|
description: The first reg tuple represents the PORT module, the second tuple
|
||||||
|
|
Loading…
Reference in a new issue