Re: [PATCH 1/2] gpio: davinci: use controller-specific MMIO for BINTEN

From: Linus Walleij

Date: Tue Nov 17 2026 - 16:20:51 EST


On Mon, Nov 9, 2026 at 8:48 PM Sahaj Chaudhari <sahaj123.sc@xxxxxxxxx> wrote:

> The file-global gpio_base can be overwritten when probes for multiple
> DaVinci GPIO controllers overlap. The later IRQ setup can then write the
> BINTEN register of a different controller.
>
> Derive the BINTEN address from the current controller's mapped bank
> instead of shared global state.
>
> Fixes: 118150f22d6b ("gpio: davinci: move to platform device")
> Signed-off-by: Sahaj Chaudhari <sahaj123.sc@xxxxxxxxx>

Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>

Look into following up on Sashikos comment separately if you
have the time and energy!

Yours,
Linus Walleij