From: Icenowy Zheng Date: Thu, 7 May 2026 08:17:05 +0000 (+0800) Subject: dt-bindings: gpio: dwapb: allow GPIO hogs X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=f76c8be440e53465a306c95a7d50ca8675252f82;p=thirdparty%2Fkernel%2Flinux.git 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 Cc: Linus Walleij Cc: Bartosz Golaszewski Cc: Serge Semin Signed-off-by: Icenowy Zheng Acked-by: Conor Dooley Link: https://patch.msgid.link/20260507081710.4090814-8-zhengxingda@iscas.ac.cn Signed-off-by: Bartosz Golaszewski --- 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