diff options
author | Ko_Ko <Ko_Ko@compal.corp-partner.google.com> | 2021-01-20 14:30:04 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-22 03:16:56 +0000 |
commit | 326814921dd1f93991cb5b49eba9cc9240f4770a (patch) | |
tree | 7148c3579b1e899949b8a8218f48a335cd4df6d0 /board/boten | |
parent | 0a5c0b1060f8cd2a77741b064fd8471930c90059 (diff) | |
download | chrome-ec-326814921dd1f93991cb5b49eba9cc9240f4770a.tar.gz |
Madoo: Fix main board charger can't wake from hibernate
In madoo's design, there is a protection IC between USB
connector and TCPC. When EC is hibernate, the CC lines will
be disconnected, which cause the result that TCPC can't
detect AC power and Chromebook won't wake the system.
Enalbing ADC for all modes by setting 0x4C bit 0 to 1 (to be
more precise is that we don't clear bit 0 during hibernation)
can prevent issue mention above.
BUG=b:174971576
BRANCH=dedede
TEST=flash code and make sure ac in can wake system from hibernation
Signed-off-by: Ko_Ko <Ko_Ko@compal.corp-partner.google.com>
Change-Id: I2a83c69e34cbc4bfdff90d760f32817a7924dc26
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2626803
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Reviewed-by: Ko Ko <ko_ko@compal.corp-partner.google.com>
Tested-by: Ko Ko <ko_ko@compal.corp-partner.google.com>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/boten')
-rw-r--r-- | board/boten/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/boten/board.c b/board/boten/board.c index 9a43b1574e..8ff385687e 100644 --- a/board/boten/board.c +++ b/board/boten/board.c @@ -105,7 +105,7 @@ void board_hibernate(void) * Charger IC need to be put into their "low power mode" before * entering the Z-state. */ - raa489000_hibernate(0); + raa489000_hibernate(0, true); } /* Must come after other header files and interrupt handler declarations */ |