summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2021-03-02 16:43:18 -0700
committerCommit Bot <commit-bot@chromium.org>2021-03-12 04:11:32 +0000
commitfe2847d02ca5bf8a3ad83dd8427bb0a35623ac79 (patch)
treeeec07a3e8b32ebbfa80333863693c6bc84af521f
parent1d8a80f9b05e9f104e079912f4e9aff7212dee52 (diff)
downloadchrome-ec-fe2847d02ca5bf8a3ad83dd8427bb0a35623ac79.tar.gz
USB PD: Lower SinkWaitCap timer
Currently, our SinkWaitCap timer is about 20 ms below the maximum. Lower an additional 25 ms to ensure we're hard resetting consistently in time during testing. This should still offer relatively generous time for the partner to begin sending source capabilities. BRANCH=None BUG=b:173027500 TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I308ad2c5590aeeed8179ed482cf03a784a852840 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2728946 Reviewed-by: Scott Collyer <scollyer@chromium.org> Commit-Queue: Scott Collyer <scollyer@chromium.org>
-rw-r--r--include/usb_pd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb_pd.h b/include/usb_pd.h
index b944900ced..8c5da1c865 100644
--- a/include/usb_pd.h
+++ b/include/usb_pd.h
@@ -191,7 +191,7 @@ enum pd_rx_errors {
#define PD_T_HARD_RESET_COMPLETE (5*MSEC) /* between 4ms and 5ms*/
#define PD_T_HARD_RESET_RETRY (1*MSEC) /* 1ms */
#define PD_T_SEND_SOURCE_CAP (100*MSEC) /* between 100ms and 200ms */
-#define PD_T_SINK_WAIT_CAP (600*MSEC) /* between 310ms and 620ms */
+#define PD_T_SINK_WAIT_CAP (575*MSEC) /* between 310ms and 620ms */
#define PD_T_SINK_TRANSITION (35*MSEC) /* between 20ms and 35ms */
#define PD_T_SOURCE_ACTIVITY (45*MSEC) /* between 40ms and 50ms */
/*