power/rk3399: Fix the control of SYS_RST_L

We should assert SYS_RST_L during S5-to-S3 transition
no matter which CHIPSET_POWER_SEQ_VERSION it is.

BUG=b:63408169
BRANCH=none
TEST=build nefario

Change-Id: Ic792f3735db290b8750e4acee0d82d3d75e5d443
Signed-off-by: Philip Chen <philipchen@google.com>
Reviewed-on: https://chromium-review.googlesource.com/609324
Commit-Ready: Philip Chen <philipchen@chromium.org>
Tested-by: Philip Chen <philipchen@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
This commit is contained in:
Philip Chen
2017-08-09 15:15:09 -07:00
committed by chrome-bot
parent 23b0d417f5
commit df6be2837c

View File

@@ -94,6 +94,7 @@ static const struct power_seq_op s5s3_power_seq[] = {
#elif CONFIG_CHIPSET_POWER_SEQ_VERSION == 3
static const struct power_seq_op s5s3_power_seq[] = {
{ GPIO_PP900_S3_EN, 1, 2 },
{ GPIO_SYS_RST_L, 0, 0 },
{ GPIO_PP1800_PMU_EN_L, 0, 2 },
{ GPIO_LPDDR_PWR_EN, 1, 2 },
{ GPIO_PP1800_USB_EN_L, 0, 2 },