aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/gpio
diff options
context:
space:
mode:
authorGravatar Emil Renner Berthing <emil.renner.berthing@canonical.com> 2023-12-15 15:39:02 +0100
committerGravatar Bartosz Golaszewski <bartosz.golaszewski@linaro.org> 2023-12-18 11:04:36 +0100
commit0e6e3c6f7cb47ea1ae15a8148a6ddb30035c210e (patch)
tree71524aecdbac53291443fa36ad6755622c977350 /Documentation/devicetree/bindings/gpio
parentgpiolib: use a mutex to protect the list of GPIO devices (diff)
downloadlinux-0e6e3c6f7cb47ea1ae15a8148a6ddb30035c210e.tar.gz
linux-0e6e3c6f7cb47ea1ae15a8148a6ddb30035c210e.tar.bz2
linux-0e6e3c6f7cb47ea1ae15a8148a6ddb30035c210e.zip
dt-bindings: gpio: dwapb: allow gpio-ranges
Allow the generic gpio-ranges property so GPIOs can be mapped to their corresponding pin. This way control of GPIO on pins that are already used by other peripherals can be denied and basic pinconf can be done on pin controllers that support it. Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio')
-rw-r--r--Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml b/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml
index eefe7b345286..ab2afc0e4153 100644
--- a/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml
@@ -65,6 +65,8 @@ patternProperties:
minItems: 1
maxItems: 32
+ gpio-ranges: true
+
ngpios:
default: 32
minimum: 1