summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@ew.tq-group.com>2023-06-19 09:39:07 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-06-19 15:48:07 +0300
commit0ea22c4669e323817f8405416a09f6f52cc2ad2c (patch)
tree416352d615b1f5b257a9f6057a0d5570df69bb7e /Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
parent03a5233a8231baf4f717d0349e76d2b1f7d40e2d (diff)
downloadlinux-0ea22c4669e323817f8405416a09f6f52cc2ad2c.tar.xz
dt-bindings: gpio: gpio-vf610: Add parsing of hogs
Allow parsing GPIO controller children nodes with GPIO hogs. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio/gpio-vf610.yaml')
-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