rockchip: fixes typo and some bugs for suspend/resume tests
authorCaesar Wang <wxt@rock-chips.com>
Thu, 21 Jul 2016 02:36:22 +0000 (10:36 +0800)
committerCaesar Wang <wxt@rock-chips.com>
Thu, 28 Jul 2016 01:44:34 +0000 (09:44 +0800)
commite6517abdeee66b671ab86cff299aee46d7f0fd5e
treecb298ba27375cee97495bb094e5f78616bcd1c6d
parent422a40d9c6be03ed3508f0dd17a04227abcb70ce
rockchip: fixes typo and some bugs for suspend/resume tests

1. Remove the AP_PWROFF in ATF, should configure it in kernel.
2. Save and restore the PWMs pin/regs for suspend/resume.
3. The pmusgrf reset-hold bits needs to be released. since the
   pmusgrf reset-hold bits needs to be held.
4. Configure the PMU power up/down cycles about delay 3ms.
5. With the MMIO register block as one big mapping.
6. Fix the build error with psci_entrypoint since PSCI lib updated.

Fixes the commit
9ec78bd ("rockchip: support the suspend/resume for rk3399").

Change-Id: I112806700bf433c87763aac23d22fa7e6a7f5264
plat/rockchip/common/pmusram/pmu_sram_cpus_on.S
plat/rockchip/rk3399/drivers/pmu/pmu.c
plat/rockchip/rk3399/drivers/pmu/pmu.h
plat/rockchip/rk3399/drivers/soc/soc.c
plat/rockchip/rk3399/rk3399_def.h