summaryrefslogtreecommitdiff
path: root/power
diff options
context:
space:
mode:
authorSue Chen <sue.chen@quanta.corp-partner.google.com>2021-01-20 10:24:24 +0800
committerCommit Bot <commit-bot@chromium.org>2021-01-20 22:48:02 +0000
commitb123ecf67cb1f5becc10b9b829dd5dcf66e5edd5 (patch)
tree875fc0b1084befc8f4fc3118e389e2de5b362eca /power
parent2e830d3145fe6b6a9faf377c38a4066a930f23ba (diff)
downloadchrome-ec-b123ecf67cb1f5becc10b9b829dd5dcf66e5edd5.tar.gz
Lazor: Modify SWITCHCAP_PG_CHECK_TIMEOUT and _WAIT
It was found that the LN9310 3:1 mode active timing is late. The Switchcap power good checking needs timeout more than 50 msec. BUG=b:177955474 BRANCH=trogdor TEST=Make sure pressing power button + F3 can power on successfully. Change-Id: Ieaabf5cb923b5ac3cc73b31f1dbc8e0504424290 Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com> Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2639001 Reviewed-by: Alexandru M Stan <amstan@chromium.org> Reviewed-by: John Crossley <crossley@lionsemi.corp-partner.google.com> Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Diffstat (limited to 'power')
-rw-r--r--power/sc7180.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/power/sc7180.c b/power/sc7180.c
index 6ceab6dcab..c35d484213 100644
--- a/power/sc7180.c
+++ b/power/sc7180.c
@@ -80,10 +80,10 @@
#define CAN_BOOT_AP_CHECK_WAIT (200 * MSEC)
/* The timeout of the check if the switchcap outputs good voltage */
-#define SWITCHCAP_PG_CHECK_TIMEOUT (50 * MSEC)
+#define SWITCHCAP_PG_CHECK_TIMEOUT (100 * MSEC)
/* Wait for polling if the switchcap outputs good voltage */
-#define SWITCHCAP_PG_CHECK_WAIT (5 * MSEC)
+#define SWITCHCAP_PG_CHECK_WAIT (6 * MSEC)
/*
* Delay between power-on the system and power-on the PMIC.