[PATCH v2 2/2] dt-bindings: pinctrl: amlogic,meson-pinctrl-common: allow gpio hogs
Neil Armstrong
neil.armstrong at linaro.org
Fri Jul 7 01:20:45 PDT 2023
Allow gpio hog subnodes to the gpio subnode.
Fixes: 94df03a45276 ("dt-bindings: pinctrl: Convert Amlogic Meson pinctrl binding")
Reviewed-by: Rob Herring <robh at kernel.org>
Signed-off-by: Neil Armstrong <neil.armstrong at linaro.org>
---
.../devicetree/bindings/pinctrl/amlogic,meson-pinctrl-common.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-common.yaml b/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-common.yaml
index a7b29ef0bab6..e707c222a07f 100644
--- a/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-common.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-common.yaml
@@ -41,6 +41,13 @@ $defs:
gpio-ranges:
maxItems: 1
+ patternProperties:
+ "^.+-hog(-[0-9]+)?$":
+ type: object
+
+ required:
+ - gpio-hog
+
required:
- reg
- reg-names
--
2.34.1
More information about the linux-arm-kernel
mailing list