Re: [PATCH v3] mfd: sprd: Add wakeup capability for PMIC irq
From: Lee Jones
Date: Fri Aug 28 2020 - 06:58:00 EST
On Tue, 18 Aug 2020, Chunyan Zhang wrote:
> From: Baolin Wang <baolin.wang7@xxxxxxxxx>
>
> When changing to use suspend-to-idle to save power, the PMIC irq can not
> wakeup the system due to lack of wakeup capability, which will cause
> the sub-irqs (such as power key) of the PMIC can not wake up the system.
> Thus we can add the wakeup capability for PMIC irq to solve this issue,
> as well as removing the IRQF_NO_SUSPEND flag to allow PMIC irq to be
> a wakeup source.
>
> Reported-by: Chunyan Zhang <zhang.lyra@xxxxxxxxx>
> Signed-off-by: Baolin Wang <baolin.wang7@xxxxxxxxx>
> Tested-by: Chunyan Zhang <chunyan.zhang@xxxxxxxxxx>
> ---
> Changes from v2:
> * rebased on v5.9-rc1;
>
> Changes from v1:
> * addressed comments from Lee;
> * added tested-by from Chunyan.
> ---
> drivers/mfd/sprd-sc27xx-spi.c | 28 +++++++++++++++++++++++++++-
> 1 file changed, 27 insertions(+), 1 deletion(-)
Applied, thanks.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog