[PATCH 01/12] dt-bindings: gpio: mrvl-gpio: Fix the gpio-ranges property

Lubomir Rintel
2021-01-21T03:43:37Z

The property specifies a list of GPIO-capable pins. Don't limit it to a
single element as there's presumably more than one GPIO pin.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
---
Documentation/devicetree/bindings/gpio/mrvl-gpio.yaml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/gpio/mrvl-gpio.yaml b/Documentation/devicetree/bindings/gpio/mrvl-gpio.yaml
index 4db3b8a3332c2..9cf6137dd5241 100644
--- a/Documentation/devicetree/bindings/gpio/mrvl-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/mrvl-gpio.yaml
@@ -82,8 +82,7 @@ properties:
'#gpio-cells':
const: 2

- gpio-ranges:
- maxItems: 1
+ gpio-ranges: true

interrupts: true