aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/devicetree/bindings/leds
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@ew.tq-group.com>2023-07-24 08:35:20 +0200
committerLee Jones <lee@kernel.org>2023-08-17 12:49:19 +0100
commit4aa8f7e24f07669d27945149a72903bc032fa6e9 (patch)
treee9b93ee7d35ac1ba59fe9779678343876a5b43f4 /Documentation/devicetree/bindings/leds
parentleds: trigger: tty: Do not use LED_ON/OFF constants, use led_blink_set_oneshot instead (diff)
downloadwireguard-linux-4aa8f7e24f07669d27945149a72903bc032fa6e9.tar.xz
wireguard-linux-4aa8f7e24f07669d27945149a72903bc032fa6e9.zip
dt-bindings: leds: Add gpio-line-names to PCA9532 GPIO
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>
Diffstat (limited to 'Documentation/devicetree/bindings/leds')
-rw-r--r--Documentation/devicetree/bindings/leds/nxp,pca953x.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/leds/nxp,pca953x.yaml b/Documentation/devicetree/bindings/leds/nxp,pca953x.yaml
index edf6f55df685..9610bca57dd5 100644
--- a/Documentation/devicetree/bindings/leds/nxp,pca953x.yaml
+++ b/Documentation/devicetree/bindings/leds/nxp,pca953x.yaml
@@ -29,6 +29,10 @@ properties:
gpio-controller: true
+ gpio-line-names:
+ minItems: 1
+ maxItems: 16
+
'#gpio-cells':
const: 2