[PATCH] dt-bindings: gpio: zynq: Add parsing of hogs

Michal Simek posted 1 patch 1 week, 4 days ago
Documentation/devicetree/bindings/gpio/gpio-zynq.yaml | 6 ++++++
1 file changed, 6 insertions(+)
[PATCH] dt-bindings: gpio: zynq: Add parsing of hogs
Posted by Michal Simek 1 week, 4 days ago
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 <michal.simek@amd.com>
---

 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:
---
base-commit: 704340f1cd0dcef829eb62f5b48ae95a2ce17bdf
branch: xnext/zynq-gpio

-- 
2.43.0
Re: [PATCH] dt-bindings: gpio: zynq: Add parsing of hogs
Posted by Bartosz Golaszewski 1 week, 2 days ago
On Mon, 14 Sep 2026 10:51:54 +0200, Michal Simek wrote:
> 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").
> 
> 

Applied, thanks!

[1/1] dt-bindings: gpio: zynq: Add parsing of hogs
      https://git.kernel.org/brgl/c/4bfe5b08a5912d1720689b1fc7f46c9b8641997d

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Re: [PATCH] dt-bindings: gpio: zynq: Add parsing of hogs
Posted by Krzysztof Kozlowski 1 week, 2 days ago
On Mon, Sep 14, 2026 at 10:51:54AM +0200, Michal Simek wrote:
> 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 <michal.simek@amd.com>
> ---
> 
>  Documentation/devicetree/bindings/gpio/gpio-zynq.yaml | 6 ++++++
>  1 file changed, 6 insertions(+)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof