summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2021-03-24 14:52:17 -0600
committerCommit Bot <commit-bot@chromium.org>2021-05-04 05:25:47 +0000
commit687a7e55d6e79aa83aeb98fff0ddcebb39a27872 (patch)
tree7e6e72b0479831171b3771c8aab57e4df335433b
parent34b8c2a0aa2d28b35160114080cad049aebe8623 (diff)
downloadchrome-ec-687a7e55d6e79aa83aeb98fff0ddcebb39a27872.tar.gz
Guybrush: Increase LPM exit debounce
With the default exit LPM debounce of 25 ms, the NCT3807 may not correctly register a new connection. Make the debounce longer to ensure our initial connection state is more reliable. BRANCH=None BUG=b:183182447 TEST=on guybrush, confirm system is able to detect chargers in time reliably in order to auto power on Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: Id53d1278425cf6ffea3476f6623eff388f3a9c09 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2785195 Reviewed-by: Edward Hill <ecgh@chromium.org>
-rw-r--r--baseboard/guybrush/baseboard.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/baseboard/guybrush/baseboard.h b/baseboard/guybrush/baseboard.h
index 9bac43d8ef..03052d2705 100644
--- a/baseboard/guybrush/baseboard.h
+++ b/baseboard/guybrush/baseboard.h
@@ -166,6 +166,8 @@
#define CONFIG_USB_PD_DUAL_ROLE_AUTO_TOGGLE
#define CONFIG_USB_PD_LOGGING
#define CONFIG_USB_PD_TCPC_LOW_POWER
+#undef CONFIG_USB_PD_TCPC_LPM_EXIT_DEBOUNCE
+#define CONFIG_USB_PD_TCPC_LPM_EXIT_DEBOUNCE (100 * MSEC)
#define CONFIG_USB_PD_TCPM_MUX
#define CONFIG_USB_PD_TCPM_NCT38XX
#define CONFIG_USB_PD_TCPM_TCPCI