From b2a8ce6511dd89054ff6e0d321fb33cda9594178 Mon Sep 17 00:00:00 2001 From: Abe Levkoy Date: Tue, 3 May 2022 15:54:29 -0600 Subject: TCPMv2: Set tVconnReapplied to 10 ms The specified range of this timeout is 10-20 ms. Reduce the amount of time that the PE explicitly waits to 10 ms to allow for variable time taken by the TC to actually discharge VCONN. BUG=b:209624473,b:209625351 TEST=Observe VCONN off for 10-20 ms during Data Reset on scope BRANCH=none Signed-off-by: Abe Levkoy Change-Id: Ie860266ca22001e8b4425318da7fc3b1dff2de0c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3625574 Reviewed-by: Diana Z --- include/usb_pd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/usb_pd.h b/include/usb_pd.h index 8ec4e9eaf3..cc6ee376cf 100644 --- a/include/usb_pd.h +++ b/include/usb_pd.h @@ -249,7 +249,7 @@ enum pd_rx_errors { #define PD_T_PR_SWAP_WAIT (100*MSEC) /* tPRSwapWait 100ms */ #define PD_T_DATA_RESET (225*MSEC) /* between 200ms and 250ms */ #define PD_T_DATA_RESET_FAIL (300*MSEC) /* 300ms */ -#define PD_T_VCONN_REAPPLIED (15*MSEC) /* between 10ms and 20ms */ +#define PD_T_VCONN_REAPPLIED (10*MSEC) /* between 10ms and 20ms */ #define PD_T_VCONN_DISCHARGE (240*MSEC) /* between 160ms and 240ms */ /* -- cgit v1.2.1