[PATCH v2 2/2] dt-bindings: gpio: vf610: add ngpios and gpio-reserved-ranges

From: Haibo Chen
Date: Mon May 19 2025 - 02:03:23 EST


Add optional ngpios and gpio-reserved-ranges property

Signed-off-by: Haibo Chen <haibo.chen@xxxxxxx>
---
Documentation/devicetree/bindings/gpio/gpio-vf610.yaml | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
index 4fb32e9aec0a341a50088f3e4352ed4d36f649d3..5b98228466c6414be681c49417bbdd82f2c45756 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
+++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
@@ -70,6 +70,12 @@ properties:
minItems: 1
maxItems: 4

+ gpio-reserved-ranges: true
+
+ ngpios:
+ minimum: 1
+ maximum: 32
+
patternProperties:
"^.+-hog(-[0-9]+)?$":
type: object

--
2.34.1