linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: gpio: Add gpio-line-names to STMPE GPIO
@ 2023-07-21  9:06 Alexander Stein
  2023-07-21  9:06 ` [PATCH 2/2] dt-bindings: leds: Add gpio-line-names to PCA9532 GPIO Alexander Stein
  2023-07-21  9:48 ` [PATCH 1/2] dt-bindings: gpio: Add gpio-line-names to STMPE GPIO Krzysztof Kozlowski
  0 siblings, 2 replies; 4+ messages in thread
From: Alexander Stein @ 2023-07-21  9:06 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski, Andy Shevchenko, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue, Pavel Machek, Lee Jones
  Cc: Alexander Stein, linux-gpio, devicetree, linux-arm-kernel,
	linux-leds, linux-stm32

This is a gpio-controller, so gpio-line-names should be allowed as well.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 Documentation/devicetree/bindings/gpio/st,stmpe-gpio.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/gpio/st,stmpe-gpio.yaml b/Documentation/devicetree/bindings/gpio/st,stmpe-gpio.yaml
index 22c0cae73425..b226a8892f8a 100644
--- a/Documentation/devicetree/bindings/gpio/st,stmpe-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/st,stmpe-gpio.yaml
@@ -27,6 +27,7 @@ properties:
     const: 2
 
   gpio-controller: true
+  gpio-line-names: true
 
   interrupt-controller: true
 
-- 
2.34.1


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

* [PATCH 2/2] dt-bindings: leds: Add gpio-line-names to PCA9532 GPIO
  2023-07-21  9:06 [PATCH 1/2] dt-bindings: gpio: Add gpio-line-names to STMPE GPIO Alexander Stein
@ 2023-07-21  9:06 ` Alexander Stein
  2023-07-21  9:49   ` Krzysztof Kozlowski
  2023-07-21  9:48 ` [PATCH 1/2] dt-bindings: gpio: Add gpio-line-names to STMPE GPIO Krzysztof Kozlowski
  1 sibling, 1 reply; 4+ messages in thread
From: Alexander Stein @ 2023-07-21  9:06 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski, Andy Shevchenko, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue, Pavel Machek, Lee Jones
  Cc: Alexander Stein, linux-gpio, devicetree, linux-arm-kernel,
	linux-leds, linux-stm32

This is a gpio-controller, so gpio-line-names should be allowed as well.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 Documentation/devicetree/bindings/leds/nxp,pca953x.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/leds/nxp,pca953x.yaml b/Documentation/devicetree/bindings/leds/nxp,pca953x.yaml
index edf6f55df685..973c5fccaf4e 100644
--- a/Documentation/devicetree/bindings/leds/nxp,pca953x.yaml
+++ b/Documentation/devicetree/bindings/leds/nxp,pca953x.yaml
@@ -28,6 +28,7 @@ properties:
     maxItems: 1
 
   gpio-controller: true
+  gpio-line-names: true
 
   '#gpio-cells':
     const: 2
-- 
2.34.1


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

* Re: [PATCH 1/2] dt-bindings: gpio: Add gpio-line-names to STMPE GPIO
  2023-07-21  9:06 [PATCH 1/2] dt-bindings: gpio: Add gpio-line-names to STMPE GPIO Alexander Stein
  2023-07-21  9:06 ` [PATCH 2/2] dt-bindings: leds: Add gpio-line-names to PCA9532 GPIO Alexander Stein
@ 2023-07-21  9:48 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-07-21  9:48 UTC (permalink / raw)
  To: Alexander Stein, Linus Walleij, Bartosz Golaszewski,
	Andy Shevchenko, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Maxime Coquelin, Alexandre Torgue, Pavel Machek, Lee Jones
  Cc: linux-gpio, devicetree, linux-arm-kernel, linux-leds, linux-stm32

On 21/07/2023 11:06, Alexander Stein wrote:
> This is a gpio-controller, so gpio-line-names should be allowed as well.
> 
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> ---
>  Documentation/devicetree/bindings/gpio/st,stmpe-gpio.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/gpio/st,stmpe-gpio.yaml b/Documentation/devicetree/bindings/gpio/st,stmpe-gpio.yaml
> index 22c0cae73425..b226a8892f8a 100644
> --- a/Documentation/devicetree/bindings/gpio/st,stmpe-gpio.yaml
> +++ b/Documentation/devicetree/bindings/gpio/st,stmpe-gpio.yaml
> @@ -27,6 +27,7 @@ properties:
>      const: 2
>  
>    gpio-controller: true
> +  gpio-line-names: true

min/maxItems

Best regards,
Krzysztof


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

* Re: [PATCH 2/2] dt-bindings: leds: Add gpio-line-names to PCA9532 GPIO
  2023-07-21  9:06 ` [PATCH 2/2] dt-bindings: leds: Add gpio-line-names to PCA9532 GPIO Alexander Stein
@ 2023-07-21  9:49   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-07-21  9:49 UTC (permalink / raw)
  To: Alexander Stein, Linus Walleij, Bartosz Golaszewski,
	Andy Shevchenko, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Maxime Coquelin, Alexandre Torgue, Pavel Machek, Lee Jones
  Cc: linux-gpio, devicetree, linux-arm-kernel, linux-leds, linux-stm32

On 21/07/2023 11:06, Alexander Stein wrote:
> This is a gpio-controller, so gpio-line-names should be allowed as well.
> 
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> ---
>  Documentation/devicetree/bindings/leds/nxp,pca953x.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/leds/nxp,pca953x.yaml b/Documentation/devicetree/bindings/leds/nxp,pca953x.yaml
> index edf6f55df685..973c5fccaf4e 100644
> --- a/Documentation/devicetree/bindings/leds/nxp,pca953x.yaml
> +++ b/Documentation/devicetree/bindings/leds/nxp,pca953x.yaml
> @@ -28,6 +28,7 @@ properties:
>      maxItems: 1
>  
>    gpio-controller: true
> +  gpio-line-names: true

Missing constraints. Different chips have different amount of GPIOs.

Best regards,
Krzysztof


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

end of thread, other threads:[~2023-07-21  9:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-21  9:06 [PATCH 1/2] dt-bindings: gpio: Add gpio-line-names to STMPE GPIO Alexander Stein
2023-07-21  9:06 ` [PATCH 2/2] dt-bindings: leds: Add gpio-line-names to PCA9532 GPIO Alexander Stein
2023-07-21  9:49   ` Krzysztof Kozlowski
2023-07-21  9:48 ` [PATCH 1/2] dt-bindings: gpio: Add gpio-line-names to STMPE GPIO Krzysztof Kozlowski

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).