From df6be2837cb74be0d702041abbebb97fd1b3e1e3 Mon Sep 17 00:00:00 2001 From: Philip Chen Date: Wed, 9 Aug 2017 15:15:09 -0700 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/609324 Commit-Ready: Philip Chen Tested-by: Philip Chen Reviewed-by: Aseda Aboagye --- power/rk3399.c | 1 + 1 file changed, 1 insertion(+) diff --git a/power/rk3399.c b/power/rk3399.c index 31860b0700..f7e756b91a 100644 --- a/power/rk3399.c +++ b/power/rk3399.c @@ -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 },