dt-bindings: gpio: mrvl-gpio: Fix the gpio-ranges property
authorLubomir Rintel <lkundrak@v3.sk>
Thu, 21 Jan 2021 03:41:19 +0000 (04:41 +0100)
committerArnd Bergmann <arnd@arndb.de>
Tue, 2 Feb 2021 17:14:00 +0000 (18:14 +0100)
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>
Link: https://lore.kernel.org/r/20210121034130.1381872-2-lkundrak@v3.sk'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Documentation/devicetree/bindings/gpio/mrvl-gpio.yaml

index 4db3b8a3332c28dd18c11dce9ba0cc7b774feb2f..9cf6137dd52413f956ed8c46e6c024efde5e27be 100644 (file)
@@ -82,8 +82,7 @@ properties:
   '#gpio-cells':
     const: 2
 
-  gpio-ranges:
-    maxItems: 1
+  gpio-ranges: true
 
   interrupts: true