[PATCH v2 2/2] gpiolib: support parsing gpio three-cell interrupts scheme
Linus Walleij
linus.walleij at linaro.org
Mon Mar 3 23:40:01 PST 2025
On Sun, Mar 2, 2025 at 12:16 AM Yixun Lan <dlan at gentoo.org> 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 at gentoo.org>
I read up on the bus token code and it seems to do the right thing!
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the linux-riscv
mailing list