[PATCH 07/12] dt-bindings: gpio: dwapb: allow GPIO hogs
Icenowy Zheng
zhengxingda at iscas.ac.cn
Thu May 7 01:17:05 PDT 2026
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 at os.amperecomputing.com>
Cc: Linus Walleij <linusw at kernel.org>
Cc: Bartosz Golaszewski <brgl at kernel.org>
Cc: Serge Semin <fancer.lancer at gmail.com>
Signed-off-by: Icenowy Zheng <zhengxingda at iscas.ac.cn>
---
.../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
More information about the linux-phy
mailing list