Skip to content

Commit

Permalink
dt-bindings: gpio: sifive: add gpio-line-names
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Atul Khare authored and Palmer Dabbelt committed Aug 12, 2022
1 parent 9019b4f commit 5cef38d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/devicetree/bindings/gpio/sifive,gpio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ properties:
maximum: 32
default: 16

gpio-line-names:
minItems: 1
maxItems: 32

gpio-controller: true

required:
Expand Down

0 comments on commit 5cef38d

Please sign in to comment.