linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 2/2] dt-bindings: sifive: add gpio-line-names
@ 2022-06-08 23:39 Atul Khare
  2022-06-09 15:12 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Atul Khare @ 2022-06-08 23:39 UTC (permalink / raw)
  To: Palmer Dabbelt, Atul Khare
  Cc: Conor Dooley, linux-i2c, devicetree, linux-kernel, linux-mmc,
	linux-riscv, Rob Herring

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@rivosinc.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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 2/2] dt-bindings: sifive: add gpio-line-names
  2022-06-08 23:39 [PATCH v2 2/2] dt-bindings: sifive: add gpio-line-names Atul Khare
@ 2022-06-09 15:12 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2022-06-09 15:12 UTC (permalink / raw)
  To: Atul Khare
  Cc: Palmer Dabbelt, Conor Dooley, linux-i2c, devicetree, linux-kernel,
	linux-mmc, linux-riscv

On Wed, Jun 08, 2022 at 04:39:39PM -0700, Atul Khare wrote:
> 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@rivosinc.com>
> ---
> Changes since v1 [1]: Rebased on latest version

This one also doesn't apply.

> [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

blank line

> +  gpio-line-names:
> +    minItems: 1
> +    maxItems: 32
> 
>  required:
>    - compatible
> --
> 2.34.1
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-09 15:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-08 23:39 [PATCH v2 2/2] dt-bindings: sifive: add gpio-line-names Atul Khare
2022-06-09 15:12 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).