Re: [PATCH 1/2] dt-bindings: gpio: dwapb: add snps,native-both-edge
From: Linus Walleij
Date: Wed Nov 04 2026 - 08:40:07 EST
On Fri, Oct 23, 2026 at 11:43 AM Guohao Zhang
<guohao01.zhang@xxxxxxxxxxxx> 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>
Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>
Yours,
Linus Walleij