From: Emil Renner Berthing Date: Fri, 15 Dec 2023 14:39:02 +0000 (+0100) Subject: dt-bindings: gpio: dwapb: allow gpio-ranges X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0e6e3c6f7cb47ea1ae15a8148a6ddb30035c210e;p=linux.git 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 Acked-by: Rob Herring Signed-off-by: Bartosz Golaszewski --- diff --git a/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml b/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml index eefe7b345286f..ab2afc0e4153d 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