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

Linus Walleij <[email protected]>
Newsgroups org.kernel.vger.linux-gpio,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel
Message-ID <CAD++jLnQ1ZmRDZMA0DfAhuVSi2zhqKSrn-xRCNdrAcV4eT1jUg@mail.gmail.com>
On Fri, Apr 24, 2026 at 8:31 AM Sneh Mankad
<[email protected]> wrote:

> From: Maulik Shah <[email protected]>
>
> 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 <[email protected]>
> Signed-off-by: Sneh Mankad <[email protected]>

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

FWIW
Acked-by: Linus Walleij <[email protected]>

Yours,
Linus Walleij
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.