aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAtul Khare <[email protected]>2022-08-03 16:55:40 +0100
committerPalmer Dabbelt <[email protected]>2022-08-12 09:00:01 -0700
commit5cef38dd03f33ef206eb792df0fb3b200d762546 (patch)
treeaae8b238fb460da68dd1e5a15c33f4ca7af65f0f
parent9019b4f6d9bd88524ecd95420cf9cd4aaed7a125 (diff)
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 <[email protected]> Signed-off-by: Atul Khare <[email protected]> Signed-off-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
-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: