From b123ecf67cb1f5becc10b9b829dd5dcf66e5edd5 Mon Sep 17 00:00:00 2001 From: Sue Chen Date: Wed, 20 Jan 2021 10:24:24 +0800 Subject: 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 Signed-off-by: Wai-Hong Tam Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2639001 Reviewed-by: Alexandru M Stan Reviewed-by: John Crossley Reviewed-by: Stephen Boyd --- power/sc7180.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'power') 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. -- cgit v1.2.1