[PATCH v2 22/30] gpio: nomadik: support shared GPIO IRQs

Linus Walleij linus.walleij at linaro.org
Thu Feb 29 01:36:07 PST 2024


On Wed, Feb 28, 2024 at 12:28 PM Théo Lebrun <theo.lebrun at bootlin.com> wrote:

> Support a single IRQs used by multiple GPIO banks. Change the IRQ
> handler type from a chained handler (as used by gpiolib
> for ->parent_handler) to a threaded IRQ.
>
> Use the generic_handle_domain_irq_safe() helper. The non-safe version
> must be called in a no-IRQ context.
>
> The Mobileye EyeQ5 platform uses this GPIO controller and share an IRQ
> for its two banks.
>
> Signed-off-by: Théo Lebrun <theo.lebrun at bootlin.com>

Patch applied!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list