Message ID | 20240809154638.394091-2-j-mcarthur@ti.com |
---|---|
State | New |
Headers | show |
Series | dt-bindings: gpio: gpio-davinci: Add the gpio-reserved-ranges property | expand |
On 09/08/2024 17:46, Jared McArthur wrote: > Current definition of the davinci gpio controller doesn't include the > gpio-reserved-ranges property. Add the gpio-reserved-ranges property > so it can be used within device tree files. > > Will prevent users from trying to access gpios that don't exist. > > Signed-off-by: Jared McArthur <j-mcarthur@ti.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/gpio/gpio-davinci.yaml b/Documentation/devicetree/bindings/gpio/gpio-davinci.yaml index 10e56cf306db..1434d08f8b74 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-davinci.yaml +++ b/Documentation/devicetree/bindings/gpio/gpio-davinci.yaml @@ -32,6 +32,8 @@ properties: gpio-ranges: true + gpio-reserved-ranges: true + gpio-line-names: description: strings describing the names of each gpio line. minItems: 1
Current definition of the davinci gpio controller doesn't include the gpio-reserved-ranges property. Add the gpio-reserved-ranges property so it can be used within device tree files. Will prevent users from trying to access gpios that don't exist. Signed-off-by: Jared McArthur <j-mcarthur@ti.com> --- Documentation/devicetree/bindings/gpio/gpio-davinci.yaml | 2 ++ 1 file changed, 2 insertions(+)