summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/gpio
diff options
context:
space:
mode:
authorTrevor Woerner <twoerner@gmail.com>2023-02-10 05:51:31 +0300
committerLinus Walleij <linus.walleij@linaro.org>2023-03-06 15:52:34 +0300
commitdc3c7404ed76870bec52e2f0760bc150b173e57e (patch)
tree8089cb9acd93b6ff5d1abd7da006f5f822d323b6 /Documentation/devicetree/bindings/gpio
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff)
downloadlinux-dc3c7404ed76870bec52e2f0760bc150b173e57e.tar.xz
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>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio')
-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':