aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNinad Palsule <[email protected]>2025-02-04 19:41:05 +0000
committerBartosz Golaszewski <[email protected]>2025-02-05 08:39:57 +0000
commite8f2ca6be61f1cae2ff12932fa03224581b6b231 (patch)
tree5630bdf740963bafc81ee630dcf577dcece3b434
parentgpio: Use str_enable_disable-like helpers (diff)
downloadkernel-e8f2ca6be61f1cae2ff12932fa03224581b6b231.tar.gz
kernel-e8f2ca6be61f1cae2ff12932fa03224581b6b231.zip
dt-bindings: gpio: ast2400-gpio: Add hogs parsing
Allow parsing GPIO controller children nodes with GPIO hogs. Reviewed-by: Rob Herring (Arm) <[email protected]> Signed-off-by: Ninad Palsule <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml6
1 files changed, 6 insertions, 0 deletions
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