Re: [PATCH v3 2/2] pinctrl: stm32: Add level interrupt support to gpio irq chip

From: Linus Walleij
Date: Thu Feb 20 2020 - 04:04:34 EST


On Wed, Feb 19, 2020 at 3:32 PM Alexandre Torgue
<alexandre.torgue@xxxxxx> wrote:

> GPIO hardware block is directly linked to EXTI block but EXTI handles
> external interrupts only on edge. To be able to handle GPIO interrupt on
> level a "hack" is done in gpio irq chip: parent interrupt (exti irq chip)
> is retriggered following interrupt type and gpio line value.
>
> Signed-off-by: Alexandre Torgue <alexandre.torgue@xxxxxx>
> Tested-by: Marek Vasut <marex@xxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

If Marc want to merge it with patch 1/2 go ahead!

Alternatively I can merge both patches.

Thanks to you & Marek for hashing this out, excellent work!

Yours,
Linus Walleij