Skip to content

Commit

Permalink
dt-bindings: gpio: dwapb: allow gpio-ranges
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Emil Renner Berthing authored and Bartosz Golaszewski committed Dec 18, 2023
1 parent 65a828b commit 0e6e3c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ patternProperties:
minItems: 1
maxItems: 32

gpio-ranges: true

ngpios:
default: 32
minimum: 1
Expand Down

0 comments on commit 0e6e3c6

Please sign in to comment.