Re: [PATCH v2 2/2] gpiolib: support parsing gpio three-cell interrupts scheme

From: Linus Walleij
Date: Tue Mar 04 2025 - 02:44:58 EST


On Sun, Mar 2, 2025 at 12:16 AM Yixun Lan <dlan@xxxxxxxxxx> wrote:

> gpio irq which using three-cell scheme should always call
> instance_match() function to find the correct irqdomain.
>
> The select() function will be called with !DOMAIN_BUS_ANY,
> so for specific gpio irq driver, it need to set bus token
> explicitly, something like:
> irq_domain_update_bus_token(girq->domain, DOMAIN_BUS_WIRED);
>
> Signed-off-by: Yixun Lan <dlan@xxxxxxxxxx>

I read up on the bus token code and it seems to do the right thing!
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij