Re: [PATCH] pinctrl: qcom: Add irq_get/set_irqchip_state() for msm gpio irqchip

From: Linus Walleij

Date: Fri Jul 24 2026 - 18:05:36 EST


On Fri, Apr 24, 2026 at 8:31 AM Sneh Mankad
<sneh.mankad@xxxxxxxxxxxxxxxx> wrote:

> From: Maulik Shah <maulik.shah@xxxxxxxxxxxxxxxx>
>
> MPM irqchip monitors the interrupts during SoC sleep state and after wakeup
> replays the edge interrupt by making it pending at respective irqchip by
> invoking irq_set_irqchip_state() API. The msm gpio irqchip however do not
> implement this function making it impossible to replay the gpio interrupt
> on any MPM irqchip based SoC.
>
> Add the missing irq_get/set_irqchip_state() APIs. Implement only
> IRQCHIP_STATE_PENDING case which MPM irqchip uses.
>
> Signed-off-by: Maulik Shah <maulik.shah@xxxxxxxxxxxxxxxx>
> Signed-off-by: Sneh Mankad <sneh.mankad@xxxxxxxxxxxxxxxx>

This needs to be queued by Bartosz now that he's maintaining
Qcom pinctrl.

FWIW
Acked-by: Linus Walleij <linusw@xxxxxxxxxx>

Yours,
Linus Walleij