Re: [PATCH v2 2/2] dt-bindings: gpio: vf610: add ngpios and gpio-reserved-ranges
From: Stefan Wahren
Date: Mon May 19 2025 - 10:36:09 EST
Hi Haibo,
Am 19.05.25 um 08:03 schrieb Haibo Chen:
Add optional ngpios and gpio-reserved-ranges property
Signed-off-by: Haibo Chen <haibo.chen@xxxxxxx>
could you please move the binding changes before the DTS changes, to
avoid temporary DT build warnings.
Thanks
---
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