dt-bindings: gpio: gpio-davinci: Add the gpio-reserved-ranges property
authorJared McArthur <j-mcarthur@ti.com>
Fri, 9 Aug 2024 15:46:38 +0000 (10:46 -0500)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Sat, 10 Aug 2024 19:33:30 +0000 (21:33 +0200)
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>
Link: https://lore.kernel.org/r/20240809154638.394091-2-j-mcarthur@ti.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Documentation/devicetree/bindings/gpio/gpio-davinci.yaml

index 10e56cf..1434d08 100644 (file)
@@ -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