Re: [PATCH 0/2] gpio: dwapb: add native hardware both-edge support
From: Bartosz Golaszewski
Date: Wed Oct 28 2026 - 05:40:15 EST
On Fri, 23 Oct 2026 17:42:18 +0800, Guohao Zhang wrote:
> Some DW APB GPIO IP instances are synthesized with the GPIO_INT_BOTH_EDGE
> feature, which adds the GPIO_INT_BOTHEDGE register to latch both signal
> edges of a line in hardware.
>
> This series adds support for it to the driver:
>
> patch 1 adds the device tree property "snps,native-both-edge" that marks
> a controller whose IP instance provides the register.
> patch 2 makes the driver use the hardware register for IRQ_TYPE_EDGE_BOTH
> when the property is present, and keeps the existing software
> polarity toggle otherwise.
>
> [...]
Applied, thanks!
[1/2] dt-bindings: gpio: dwapb: add snps,native-both-edge
https://git.kernel.org/brgl/c/29f8eefb7a41e5012ea8c7f82ebab7b101a242c8
[2/2] gpio: dwapb: support native hardware both-edge detection
https://git.kernel.org/brgl/c/b41cfa014391694a60f9fd52f758943d52b550da
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>