Re: [PATCH 1/2] dt-bindings: gpio: dwapb: add snps,native-both-edge

From: Krzysztof Kozlowski

Date: Mon Oct 26 2026 - 05:23:52 EST


On Fri, Oct 23, 2026 at 05:42:19PM +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 in hardware. The capability belongs to the IP instance rather than
> to the SoC, so describe it with a per-controller boolean property instead
> of a build-time option, which could not express a per-controller
> difference in a multiplatform kernel.
>
> The property only describes the presence of the register. Controllers
> that do not set it must not probe 0x68.
>
> Signed-off-by: Guohao Zhang <guohao01.zhang@xxxxxxxxxxxx>
> ---
> .../devicetree/bindings/gpio/snps,dw-apb-gpio.yaml | 10 ++++++++++
> 1 file changed, 10 insertions(+)

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>

Best regards,
Krzysztof