[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABMhjYp4ChJ3KfP=jQmA5nnv7YB=Kkanjb2KwDEVWSS+Sn5m1g@mail.gmail.com>
Date: Wed, 8 Jun 2022 16:39:39 -0700
From: Atul Khare <atulkhare@...osinc.com>
To: Palmer Dabbelt <palmer@...osinc.com>,
Atul Khare <atulkhare@...osinc.com>
Cc: Conor Dooley <conor.dooley@...rochip.com>,
linux-i2c@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-mmc@...r.kernel.org,
linux-riscv@...ts.infradead.org, Rob Herring <robh@...nel.org>
Subject: [PATCH v2 2/2] dt-bindings: sifive: add gpio-line-names
Fixes 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.
Signed-off-by: Atul Khare <atulkhare@...osinc.com>
---
Changes since v1 [1]: Rebased on latest version
[1]: https://tinyurl.com/yvdvmsjd
---
---
Documentation/devicetree/bindings/gpio/sifive,gpio.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/gpio/sifive,gpio.yaml
b/Documentation/devicetree/bindings/gpio/sifive,gpio.yaml
index 939e31c48081..787ce7300118 100644
--- a/Documentation/devicetree/bindings/gpio/sifive,gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/sifive,gpio.yaml
@@ -47,6 +47,9 @@ properties:
default: 16
gpio-controller: true
+ gpio-line-names:
+ minItems: 1
+ maxItems: 32
required:
- compatible
--
2.34.1
Powered by blists - more mailing lists