diff mbox series

[1/2] dt-bindings: gpio: Add gpio-line-names to STMPE GPIO

Message ID 20230721090618.1211081-1-alexander.stein@ew.tq-group.com
State New
Headers show
Series [1/2] dt-bindings: gpio: Add gpio-line-names to STMPE GPIO | expand

Commit Message

Alexander Stein July 21, 2023, 9:06 a.m. UTC
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(+)

Comments

Krzysztof Kozlowski July 21, 2023, 9:49 a.m. UTC | #1
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
diff mbox series

Patch

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