aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/gpio
diff options
context:
space:
mode:
authorAtul Khare <atulkhare@rivosinc.com>2022-08-03 16:55:40 +0100
committerPalmer Dabbelt <palmer@rivosinc.com>2022-08-12 09:00:01 -0700
commit5cef38dd03f33ef206eb792df0fb3b200d762546 (patch)
treeaae8b238fb460da68dd1e5a15c33f4ca7af65f0f /Documentation/devicetree/bindings/gpio
parentwireguard: selftests: set CONFIG_NONPORTABLE on riscv32 (diff)
downloadlinux-dev-5cef38dd03f33ef206eb792df0fb3b200d762546.tar.xz
linux-dev-5cef38dd03f33ef206eb792df0fb3b200d762546.zip
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/devicetree/bindings/gpio')
-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: