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/magolor/board.h | |
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/magolor/board.h')
-rw-r--r-- | board/magolor/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/magolor/board.h b/board/magolor/board.h index f4b2641a8e..69880e491d 100644 --- a/board/magolor/board.h +++ b/board/magolor/board.h @@ -40,6 +40,8 @@ #define CONFIG_OCPC #undef CONFIG_CHARGER_SINGLE_CHIP #undef CONFIG_CMD_CHARGER_DUMP +#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 */ #define GPIO_USB_C1_INT_ODL GPIO_SUB_USB_C1_INT_ODL |