summaryrefslogtreecommitdiff
path: root/board/sasukette/board.h
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2021-03-11 10:15:49 -0800
committerCommit Bot <commit-bot@chromium.org>2021-03-11 23:44:36 +0000
commit4a46e7af81d743ddd696a55fbbdbf9e6e890b97e (patch)
treeb6f3c993a948013616e738b078e8acfda3136fc7 /board/sasukette/board.h
parent0f7e8a8c28606538650e5767eff303d2f66f434d (diff)
downloadchrome-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/sasukette/board.h')
-rw-r--r--board/sasukette/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/sasukette/board.h b/board/sasukette/board.h
index d5b2739f1f..3b1526c46d 100644
--- a/board/sasukette/board.h
+++ b/board/sasukette/board.h
@@ -34,6 +34,8 @@
#define CONFIG_CHARGER_SENSE_RESISTOR 10
#define CONFIG_CHARGER_SINGLE_CHIP
#define CONFIG_CHARGER_PROFILE_OVERRIDE
+#undef CONFIG_USB_PD_TCPC_LPM_EXIT_DEBOUNCE
+#define CONFIG_USB_PD_TCPC_LPM_EXIT_DEBOUNCE (100 * MSEC)
/* LED */
#define CONFIG_LED_COMMON