aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/gpio
diff options
context:
space:
mode:
authorGravatar Alexander Stein <alexander.stein@ew.tq-group.com> 2023-06-19 08:39:07 +0200
committerGravatar Bartosz Golaszewski <bartosz.golaszewski@linaro.org> 2023-06-19 14:48:07 +0200
commit0ea22c4669e323817f8405416a09f6f52cc2ad2c (patch)
tree416352d615b1f5b257a9f6057a0d5570df69bb7e /Documentation/devicetree/bindings/gpio
parentgpio: lpc18xx: Remove unused of_gpio.h inclusion (diff)
downloadlinux-0ea22c4669e323817f8405416a09f6f52cc2ad2c.tar.gz
linux-0ea22c4669e323817f8405416a09f6f52cc2ad2c.tar.bz2
linux-0ea22c4669e323817f8405416a09f6f52cc2ad2c.zip
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')
-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