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/boten/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/boten/board.h')
-rw-r--r-- | board/boten/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/boten/board.h b/board/boten/board.h index 5972b3ff52..ecd5908c5a 100644 --- a/board/boten/board.h +++ b/board/boten/board.h @@ -27,6 +27,8 @@ #define CONFIG_CHARGER_SENSE_RESISTOR_AC 10 #define CONFIG_CHARGER_SENSE_RESISTOR 10 #define CONFIG_OCPC_DEF_RBATT_MOHMS 22 /* R_DS(on) 11.6mOhm + 10mOhm sns rstr */ +#undef CONFIG_USB_PD_TCPC_LPM_EXIT_DEBOUNCE +#define CONFIG_USB_PD_TCPC_LPM_EXIT_DEBOUNCE (100 * MSEC) /* DAC for PSYS */ #define CONFIG_DAC |