diff options
author | Aseda Aboagye <aaboagye@google.com> | 2021-03-11 10:15:49 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-11 23:44:36 +0000 |
commit | 4a46e7af81d743ddd696a55fbbdbf9e6e890b97e (patch) | |
tree | b6f3c993a948013616e738b078e8acfda3136fc7 /board/metaknight | |
parent | 0f7e8a8c28606538650e5767eff303d2f66f434d (diff) | |
download | chrome-ec-4a46e7af81d743ddd696a55fbbdbf9e6e890b97e.tar.gz |
dedede/raa489000: Set LPM exit debounce to 100ms
For some reason, when the RAA489000 TCPC exits low power mode, CC
status doesn't appear changed when using a servo v4. This causes us
to think no connection is present and immediately but the IC back into
low power mode. If we wait 100ms before querying the CC status reg,
it seems that then the right values are reported.
This commit adds a workaround by setting the LPM exit debounce time to
100ms.
BUG=b:182429150,b:181308089
BRANCH=dedede
TEST=Build and flash a board, verify that servo v4 with an external
charger is detected.
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Change-Id: Ic0c2406fa20d0dad82adee865cd87c46d7126b9f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2752250
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Auto-Submit: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'board/metaknight')
-rw-r--r-- | board/metaknight/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/metaknight/board.h b/board/metaknight/board.h index 2c60781734..559bc5d97e 100644 --- a/board/metaknight/board.h +++ b/board/metaknight/board.h @@ -20,6 +20,8 @@ #define CONFIG_CHARGER_SENSE_RESISTOR_AC 10 #define CONFIG_CHARGER_SENSE_RESISTOR 10 #undef CONFIG_CHARGER_SINGLE_CHIP +#undef CONFIG_USB_PD_TCPC_LPM_EXIT_DEBOUNCE +#define CONFIG_USB_PD_TCPC_LPM_EXIT_DEBOUNCE (100 * MSEC) /* * GPIO for C1 interrupts, for baseboard use |