[PATCH v9 2/9] dt-bindings: gpio: ast2400-gpio: Add hogs parsing

Ninad Palsule posted 9 patches 10 months, 1 week ago
[PATCH v9 2/9] dt-bindings: gpio: ast2400-gpio: Add hogs parsing
Posted by Ninad Palsule 10 months, 1 week ago
Allow parsing GPIO controller children nodes with GPIO hogs.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
---
 .../devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml       | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml b/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml
index b9afd07a9d24..b16273e69dfe 100644
--- a/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml
@@ -46,6 +46,12 @@ properties:
     minimum: 12
     maximum: 232
 
+patternProperties:
+  "-hog(-[0-9]+)?$":
+    type: object
+    required:
+      - gpio-hog
+
 required:
   - compatible
   - reg
-- 
2.43.0
Re: [PATCH v9 2/9] dt-bindings: gpio: ast2400-gpio: Add hogs parsing
Posted by Andrew Jeffery 10 months, 1 week ago
Hi Linus, Bartosz,

On Tue, 2025-02-04 at 13:41 -0600, Ninad Palsule wrote:
> Allow parsing GPIO controller children nodes with GPIO hogs.
> 
> Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
> Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
> ---
>  .../devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml       | 6
> ++++++
>  1 file changed, 6 insertions(+)

Would you like to take this through the GPIO tree? Otherwise I'm happy
to take it through the BMC tree with your ack.

Andrew