[PATCH 07/12] dt-bindings: gpio: dwapb: allow GPIO hogs
From: Icenowy Zheng
Date: Thu May 07 2026 - 04:32:03 EST
GPIO hogs are described in the gpio.txt binding as automatic default
GPIO configuration items.
Allow them for GPIO ports in DesignWare APB GPIO controller nodes.
Cc: Hoan Tran <hoan@xxxxxxxxxxxxxxxxxxxxxx>
Cc: Linus Walleij <linusw@xxxxxxxxxx>
Cc: Bartosz Golaszewski <brgl@xxxxxxxxxx>
Cc: Serge Semin <fancer.lancer@xxxxxxxxx>
Signed-off-by: Icenowy Zheng <zhengxingda@xxxxxxxxxxx>
---
.../devicetree/bindings/gpio/snps,dw-apb-gpio.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml b/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml
index bba6f5b6606fd..55069533f6d91 100644
--- a/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml
@@ -95,6 +95,12 @@ patternProperties:
'#interrupt-cells':
const: 2
+ patternProperties:
+ "^.+-hog(-[0-9]+)?$":
+ type: object
+ required:
+ - gpio-hog
+
required:
- compatible
- reg
--
2.52.0