From 4bfe5b08a5912d1720689b1fc7f46c9b8641997d Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Mon, 14 Sep 2026 10:51:54 +0200 Subject: [PATCH] dt-bindings: gpio: zynq: Add parsing of hogs Allow parsing GPIO controller children nodes with GPIO hogs the same way it is done by commit 545908a9fb9c ("dt-bindings: gpio-mmio: Support hogs") and commit e8f2ca6be61f ("dt-bindings: gpio: ast2400-gpio: Add hogs parsing"). Signed-off-by: Michal Simek Reviewed-by: Krzysztof Kozlowski Link: https://patch.msgid.link/0b17cd7e24ea9a92a3e5268a1f9e5a840960ac6d.1789375913.git.michal.simek@amd.com Signed-off-by: Bartosz Golaszewski --- Documentation/devicetree/bindings/gpio/gpio-zynq.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/gpio-zynq.yaml b/Documentation/devicetree/bindings/gpio/gpio-zynq.yaml index de24bb361e9f..fffeb5ec0645 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-zynq.yaml +++ b/Documentation/devicetree/bindings/gpio/gpio-zynq.yaml @@ -45,6 +45,12 @@ properties: power-domains: maxItems: 1 +patternProperties: + "^.+-hog(-[0-9]+)?$": + type: object + required: + - gpio-hog + allOf: - if: properties: