dt-bindings: gpio: rockchip: add a pattern for gpio hogs

Allow validating gpio-hogs defined inside the gpio controller node.

Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
Heiko Stuebner 2023-12-01 15:08:40 +01:00 committed by Bartosz Golaszewski
parent 3fde49c5dd
commit 52816298bd

View File

@ -41,6 +41,13 @@ properties:
"#interrupt-cells":
const: 2
patternProperties:
"^.+-hog(-[0-9]+)?$":
type: object
required:
- gpio-hog
required:
- compatible
- reg