aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Stein <[email protected]>2023-06-19 08:39:07 +0200
committerBartosz Golaszewski <[email protected]>2023-06-19 14:48:07 +0200
commit0ea22c4669e323817f8405416a09f6f52cc2ad2c (patch)
tree416352d615b1f5b257a9f6057a0d5570df69bb7e
parent03a5233a8231baf4f717d0349e76d2b1f7d40e2d (diff)
dt-bindings: gpio: gpio-vf610: Add parsing of hogs
Allow parsing GPIO controller children nodes with GPIO hogs. Signed-off-by: Alexander Stein <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/gpio/gpio-vf610.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
index d2c39dba56ad..7c2d152e8617 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
+++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
@@ -61,6 +61,13 @@ properties:
gpio-ranges:
maxItems: 1
+patternProperties:
+ "^.+-hog(-[0-9]+)?$":
+ type: object
+
+ required:
+ - gpio-hog
+
required:
- compatible
- reg