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

From: Lubomir Rintel
Date: Thu Jan 21 2021 - 00:50:34 EST


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@xxxxx>
---
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

--
2.29.2