dt-bindings: leds: Add gpio-line-names to PCA9532 GPIO
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Mon, 24 Jul 2023 06:35:20 +0000 (08:35 +0200)
committerLee Jones <lee@kernel.org>
Thu, 17 Aug 2023 11:49:19 +0000 (12:49 +0100)
This is a gpio-controller, so gpio-line-names should be allowed as well.

pca9532 supports up to 16 GPIOs.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230724063520.182888-2-alexander.stein@ew.tq-group.com
Signed-off-by: Lee Jones <lee@kernel.org>
Documentation/devicetree/bindings/leds/nxp,pca953x.yaml

index edf6f55df6851ea2fe894f8c3ce661b67dc4138d..9610bca57dd51c5c696b1fb1aca081cf4badd169 100644 (file)
@@ -29,6 +29,10 @@ properties:
 
   gpio-controller: true
 
+  gpio-line-names:
+    minItems: 1
+    maxItems: 16
+
   '#gpio-cells':
     const: 2