[PATCH v2] PM / Domains: Keep the pd status during system PM phases
Greg KH
gregkh at linuxfoundation.org
Fri Jan 20 00:38:46 PST 2017
On Fri, Jan 20, 2017 at 10:21:33AM +0800, Elaine Zhang wrote:
> If a PM domain is powered off before system suspend,
> we hope do nothing in system runtime suspend noirq phase
> and system runtime resume noirq phase.
>
> This modify is to slove system resume issue for RK3399.
> RK3399 SOC pd_gpu have voltage domain vdd_gpu,
> so we must follow open vdd_gpu and power on pd_gpu,
> power off pd_gpu and disable vdd_gpu.
> Fix up in runtime resume noirq phase power on all PDs.
>
> Signed-off-by: Elaine Zhang <zhangqing at rock-chips.com>
> ---
> drivers/base/power/domain.c | 10 +++++++---
> include/linux/pm_domain.h | 1 +
> 2 files changed, 8 insertions(+), 3 deletions(-)
What changed from v1? You always have to list that below the --- line.
thanks,
greg k-h
More information about the Linux-rockchip
mailing list