summaryrefslogtreecommitdiff
path: root/power
diff options
context:
space:
mode:
authorPhilip Chen <philipchen@google.com>2017-08-09 15:15:09 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-08-10 12:26:41 -0700
commitdf6be2837cb74be0d702041abbebb97fd1b3e1e3 (patch)
tree27b5f8da43969a1bb6d42cfacce92922759b9514 /power
parent23b0d417f564619779dfb7c20ec4502d3ca132fe (diff)
downloadchrome-ec-df6be2837cb74be0d702041abbebb97fd1b3e1e3.tar.gz
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>
Diffstat (limited to 'power')
-rw-r--r--power/rk3399.c1
1 files changed, 1 insertions, 0 deletions
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 },