]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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 939e31c4808116b4017e9c1016e14457611a256e..fc095646adeae0ef37ef92a19f88af651b44abd3 100644 (file)
@@ -46,6 +46,10 @@ properties:
     maximum: 32
     default: 16
 
+  gpio-line-names:
+    minItems: 1
+    maxItems: 32
+
   gpio-controller: true
 
 required: