dt-bindings: gpio: rockchip: add a pattern for gpio hogs
Subsystems (3)
Heiko Stuebner
maintainerPATCH 1/1 dt-bindings: gpio: rockchip: add a pattern for gpio hogs
From: Heiko Stuebner <[email protected]>
Allow validating gpio-hogs defined inside the gpio controller node.
Signed-off-by Heiko Stuebner <[email protected]>
--- .../devicetree/bindings/gpio/rockchip,gpio-bank.yaml | 7 +++++++ 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml +7 -0
@@ -41,6 +41,13 @@ properties: "#interrupt-cells": const: 2 +patternProperties: + "^.+-hog(-[0-9]+)?$": + type: object + + required: + - gpio-hog + required: - compatible - reg
Signature · 1 line
2.39.2
Quoted 6 lines · Heiko Stuebner
From: Heiko Stuebner <[email protected]>
Allow validating gpio-hogs defined inside the gpio controller node.
Signed-off-by Heiko Stuebner <[email protected]>---
Reviewed-by Krzysztof Kozlowski <[email protected]>
Best regards,
Krzysztof
Bartosz Golaszewski
AppliedQuoted 29 lines · Heiko Stuebner
From: Heiko Stuebner <[email protected]>
Allow validating gpio-hogs defined inside the gpio controller node.
Signed-off-by Heiko Stuebner <[email protected]>--- .../devicetree/bindings/gpio/rockchip,gpio-bank.yaml | 7 +++++++ 1 file changed, 7 insertions(+)Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml +7
-1@@ -41,6 +41,13 @@ properties: "#interrupt-cells": const: 2 +patternProperties: + "^.+-hog(-[0-9]+)?$": + type: object + + required: + - gpio-hog + required: - compatible - reg --
Quoted 2 lines
2.39.2
Applied, thanks!
Bart