diff mbox series

[1/1] dt-bindings: gpio: gpio-davinci: Add the gpio-reserved-ranges property

Message ID 20240809154638.394091-2-j-mcarthur@ti.com (mailing list archive)
State New, archived
Headers show
Series dt-bindings: gpio: gpio-davinci: Add the gpio-reserved-ranges property | expand

Commit Message

Jared McArthur Aug. 9, 2024, 3:46 p.m. UTC
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(+)

Comments

Krzysztof Kozlowski Aug. 10, 2024, 12:34 p.m. UTC | #1
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 mbox series

Patch

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