rockchip/rk3399: enable PMU_PERILP_PD_EN bit when suspend
authorLin Huang <hl@rock-chips.com>
Tue, 16 May 2017 08:40:46 +0000 (16:40 +0800)
committerCaesar Wang <wxt@rock-chips.com>
Thu, 8 Jun 2017 01:59:53 +0000 (09:59 +0800)
commit4e836d3578a6817756a320022f0595ec2ee50f3f
treef91249e32626780de0a01f09e4e0bafd74813fed
parentaf27fb89a9b755eb7adb65f52027f78d5c7a461a
rockchip/rk3399: enable PMU_PERILP_PD_EN bit when suspend

with PMU_PERILP_PD_EN bit enable, the soc will shutdown
cm0, crypto, dcf, imem(normal SRAM), dmac, bootrom, efuse_con,
spi, i2c, uart, saradc, tsadc when suspend, we have M0 code
need to run when suspend in normal SRAM, so we need to take
care of that.

Change-Id: I8c066637e5b81d4b1d53197450b9d592cbe00793
Signed-off-by: Lin Huang <hl@rock-chips.com>
Signed-off-by: Derek Basehore <dbasehore@chromium.org>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
plat/rockchip/common/include/plat_private.h
plat/rockchip/common/pmusram/pmu_sram_cpus_on.S
plat/rockchip/rk3368/drivers/pmu/pmu.c
plat/rockchip/rk3399/drivers/pmu/pmu.c
plat/rockchip/rk3399/include/plat.ld.S
plat/rockchip/rk3399/include/shared/addressmap_shared.h