mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
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:
parent
3fde49c5dd
commit
52816298bd
|
|
@ -41,6 +41,13 @@ properties:
|
|||
"#interrupt-cells":
|
||||
const: 2
|
||||
|
||||
patternProperties:
|
||||
"^.+-hog(-[0-9]+)?$":
|
||||
type: object
|
||||
|
||||
required:
|
||||
- gpio-hog
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user