Re: [PATCH] pinctrl: qcom: Add irq_get/set_irqchip_state() for msm gpio irqchip
From: Navya Malempati
Date: Thu Jul 16 2026 - 07:10:38 EST
On 4/24/2026 12:01 PM, Sneh Mankad 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>
Reviewed-by: Navya Malempati <navya.malempati@xxxxxxxxxxxxxxxx>
Thanks,
Navya