aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Trevor Woerner <twoerner@gmail.com> 2023-02-09 21:51:31 -0500
committerGravatar Linus Walleij <linus.walleij@linaro.org> 2023-03-06 13:52:34 +0100
commitdc3c7404ed76870bec52e2f0760bc150b173e57e (patch)
tree8089cb9acd93b6ff5d1abd7da006f5f822d323b6
parentLinux 6.3-rc1 (diff)
downloadlinux-dc3c7404ed76870bec52e2f0760bc150b173e57e.tar.gz
linux-dc3c7404ed76870bec52e2f0760bc150b173e57e.tar.bz2
linux-dc3c7404ed76870bec52e2f0760bc150b173e57e.zip
dt-bindings: gpio: nxp,pcf8575: add gpio-line-names
The devices described in this binding represent 8-bit and 16-bit i2c i/o expanders. Allow the user to specify names for up to 16 gpio lines. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230210025132.36605-1-twoerner@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--Documentation/devicetree/bindings/gpio/nxp,pcf8575.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/nxp,pcf8575.yaml b/Documentation/devicetree/bindings/gpio/nxp,pcf8575.yaml
index f0ff66c4c74e..3718103e966a 100644
--- a/Documentation/devicetree/bindings/gpio/nxp,pcf8575.yaml
+++ b/Documentation/devicetree/bindings/gpio/nxp,pcf8575.yaml
@@ -39,6 +39,10 @@ properties:
reg:
maxItems: 1
+ gpio-line-names:
+ minItems: 1
+ maxItems: 16
+
gpio-controller: true
'#gpio-cells':