dt-bindings: gpio: sifive: add gpio-line-names
authorAtul Khare <atulkhare@rivosinc.com>
Wed, 3 Aug 2022 15:55:40 +0000 (16:55 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Fri, 12 Aug 2022 16:00:01 +0000 (09:00 -0700)
Fix device tree schema validation messages like 'gpio-line-names'
does not match any of the regexes: 'pinctrl-[0-9]+' From schema: ...
sifive,gpio.yaml'.

The bindings were missing the gpio-line-names element, which was
causing the dt-schema checker to trip-up.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Atul Khare <atulkhare@rivosinc.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20220803155539.800766-1-mail@conchuod.ie
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Documentation/devicetree/bindings/gpio/sifive,gpio.yaml

index 939e31c..fc09564 100644 (file)
@@ -46,6 +46,10 @@ properties:
     maximum: 32
     default: 16
 
+  gpio-line-names:
+    minItems: 1
+    maxItems: 32
+
   gpio-controller: true
 
 required: