diff options
author | Patryk Duda <pdk@semihalf.com> | 2020-12-15 20:20:54 +0100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-22 09:44:59 +0000 |
commit | c4e22d8bb5da73415ac81df0386ea53cf8c32dd0 (patch) | |
tree | 9f388bb6cbcaaeaae9ef715b61e5b1ac332eb081 /baseboard | |
parent | 6f8c85f7572d02c000cf3bfcc7a767689c275ccf (diff) | |
download | chrome-ec-c4e22d8bb5da73415ac81df0386ea53cf8c32dd0.tar.gz |
baseboard/octopus: Increase delay before hibernate
Some octopus boards needs to change voltage provided form charger to
5 volts. When DUT is charged by ServoV4, voltage change request is
passed to charger connected to ServoV4. When charger changes voltage,
ServoV4 sends capabilities to DUT (see board_manage_dut_port()) and
changes state to SRC_NEGOTIATE. When DUT's EC hibernates before
negotiation is finished, ServoV4 can send hard reset. Hard reset
interrupts providing power to DUT and as a result wakes EC from
hibernation.
Above situation can be fixed by increasing delay before going to
hibernate to make sure that all PD operations have enough time to
finish.
BUG=b:161775827
BRANCH=none
TEST=Flash ToT EC on casta. Hibernate EC and check if there is no
fake wake up.
Signed-off-by: Patryk Duda <pdk@semihalf.com>
Change-Id: I279814eeb3ff312cc823db8a88c7d6c9bb039f36
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2592499
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'baseboard')
-rw-r--r-- | baseboard/octopus/baseboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/baseboard/octopus/baseboard.c b/baseboard/octopus/baseboard.c index a096825c0c..c9a3094e2e 100644 --- a/baseboard/octopus/baseboard.c +++ b/baseboard/octopus/baseboard.c @@ -379,5 +379,5 @@ void board_hibernate(void) * with any PD contract renegotiation, and tcpm to put TCPC into low * power mode if required. */ - msleep(300); + msleep(1500); } |