diff options
author | Keith Short <keithshort@chromium.org> | 2020-07-28 21:19:34 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-08-07 00:05:45 +0000 |
commit | 3d414e9ee9df74fb1150708c8e300bd3474ee803 (patch) | |
tree | 937ed1baad5136b63e4f3cbe1e380fdfeb6b67f7 /baseboard/volteer | |
parent | 8d46141f4d45c65712a9ca7509b7b60128fa4d89 (diff) | |
download | chrome-ec-3d414e9ee9df74fb1150708c8e300bd3474ee803.tar.gz |
volteer: increase TCPC low power mode exit delay
Increase the low power mode exit delay on Volteer to 50ms. The ps8815
TCPC in particular needs this extra time to work consistently with
non-PD chargers.
This change also ensures the low power mode exit timer is reset anytime
the TC enters the TC_LOW_POWER_MODE state.
BUG=b:160182500
BRANCH=none
TEST=make buildall
TEST=Insert 15W non-PD charger on Volteer: repeat 10 times
TEST=Insert USB type-A (7.5W advertised) on Volteer: repeat 10 times
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I40fb4990478292e381421ef977f83b871796c130
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2325265
Tested-by: Eric Herrmann <eherrmann@chromium.org>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'baseboard/volteer')
-rw-r--r-- | baseboard/volteer/baseboard.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/baseboard/volteer/baseboard.h b/baseboard/volteer/baseboard.h index 2787d3c69a..046369263d 100644 --- a/baseboard/volteer/baseboard.h +++ b/baseboard/volteer/baseboard.h @@ -168,6 +168,13 @@ #define CONFIG_HOSTCMD_PD_CONTROL /* Needed for TCPC FW update */ #define CONFIG_CMD_USB_PD_PE +/* + * The PS8815 TCPC was found to require a 50ms delay to consistently work + * with non-PD chargers. Override the default low-power mode exit delay. + */ +#undef CONFIG_USB_PD_TCPC_LPM_EXIT_DEBOUNCE +#define CONFIG_USB_PD_TCPC_LPM_EXIT_DEBOUNCE (50*MSEC) + /* Enable USB3.2 DRD */ #define CONFIG_USB_PD_USB32_DRD |