aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Stein <[email protected]>2023-07-24 08:35:20 +0200
committerLee Jones <[email protected]>2023-08-17 12:49:19 +0100
commit4aa8f7e24f07669d27945149a72903bc032fa6e9 (patch)
treee9b93ee7d35ac1ba59fe9779678343876a5b43f4
parent730094577e0c37e1bc40be37cbd41f71b0a8a2a4 (diff)
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 <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
-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