summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIcenowy Zheng <zhengxingda@iscas.ac.cn>2026-05-07 11:17:05 +0300
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-05-11 13:53:53 +0300
commitf76c8be440e53465a306c95a7d50ca8675252f82 (patch)
tree7c145c18b40aabc55056b0727f8489066c0c7792
parent5d6f7ce387c09fbd30360f268168606803ee9ebf (diff)
downloadlinux-f76c8be440e53465a306c95a7d50ca8675252f82.tar.xz
dt-bindings: gpio: dwapb: allow GPIO hogs
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@os.amperecomputing.com> Cc: Linus Walleij <linusw@kernel.org> Cc: Bartosz Golaszewski <brgl@kernel.org> Cc: Serge Semin <fancer.lancer@gmail.com> Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://patch.msgid.link/20260507081710.4090814-8-zhengxingda@iscas.ac.cn Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
-rw-r--r--Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml b/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml
index bba6f5b6606f..55069533f6d9 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