diff options
author | Neil Armstrong <neil.armstrong@linaro.org> | 2023-07-07 11:20:45 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-07-17 00:14:30 +0300 |
commit | 7a69e63d0d9bffd259229938171466e74f666579 (patch) | |
tree | 29aeed9dcbbb0f6cc37b38bce9a94dabbfc715a5 /Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-common.yaml | |
parent | ccd687377064b20197afcae14af136823f8819c6 (diff) | |
download | linux-7a69e63d0d9bffd259229938171466e74f666579.tar.xz |
dt-bindings: pinctrl: amlogic,meson-pinctrl-common: allow gpio hogs
Allow gpio hog subnodes to the gpio subnode.
Fixes: 94df03a45276 ("dt-bindings: pinctrl: Convert Amlogic Meson pinctrl binding")
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230707-topic-amlogic-upstream-pinctrl-fix-bindings-v2-2-2160060446d7@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-common.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-common.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
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 |