summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorAtul Khare <atulkhare@rivosinc.com>2022-08-03 18:55:40 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2022-08-12 19:00:01 +0300
commit5cef38dd03f33ef206eb792df0fb3b200d762546 (patch)
treeaae8b238fb460da68dd1e5a15c33f4ca7af65f0f /Documentation
parent9019b4f6d9bd88524ecd95420cf9cd4aaed7a125 (diff)
downloadlinux-5cef38dd03f33ef206eb792df0fb3b200d762546.tar.xz
dt-bindings: gpio: sifive: add gpio-line-names
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/gpio/sifive,gpio.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/sifive,gpio.yaml b/Documentation/devicetree/bindings/gpio/sifive,gpio.yaml
index 939e31c48081..fc095646adea 100644
--- a/Documentation/devicetree/bindings/gpio/sifive,gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/sifive,gpio.yaml
@@ -46,6 +46,10 @@ properties:
maximum: 32
default: 16
+ gpio-line-names:
+ minItems: 1
+ maxItems: 32
+
gpio-controller: true
required: