diff options
author | Eric Herrmann <eherrmann@chromium.org> | 2021-03-02 17:48:39 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-03 22:10:57 +0000 |
commit | 8be85441500e7b44daaeafeb138383e7ac656062 (patch) | |
tree | b007f45be426da31cbc15569148aa3c82f4230df | |
parent | f6b68490f1014321f3c482e91f1773e3f78a9d89 (diff) | |
download | chrome-ec-8be85441500e7b44daaeafeb138383e7ac656062.tar.gz |
TCPMv2: Change PD_T_PS_SOURCE_OFF value
PD_T_PS_SOURCE_OFF is 750 to 920 ms, currently it is set to the maximum
value. But, we need to detect the state and take the exit action within
this maximum time, which leaves no room for overhead if this is set to
the maximum value.
Instead, set to the midpoint value of 835ms.
BUG=b:181055620
TEST=TD.PD.FRSISNK3.E5 on Voxel
BRANCH=None
Signed-off-by: Eric Herrmann <eherrmann@chromium.org>
Change-Id: I4b2b75332774ca0fb8e0913053739da6d58d428a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2730631
Reviewed-by: Diana Z <dzigterman@chromium.org>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
-rw-r--r-- | include/usb_pd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb_pd.h b/include/usb_pd.h index 38f187660c..87ba2406c3 100644 --- a/include/usb_pd.h +++ b/include/usb_pd.h @@ -211,7 +211,7 @@ enum pd_rx_errors { #endif #define PD_T_PS_TRANSITION (500*MSEC) /* between 450ms and 550ms */ #define PD_T_PS_SOURCE_ON (480*MSEC) /* between 390ms and 480ms */ -#define PD_T_PS_SOURCE_OFF (920*MSEC) /* between 750ms and 920ms */ +#define PD_T_PS_SOURCE_OFF (835*MSEC) /* between 750ms and 920ms */ #define PD_T_PS_HARD_RESET (25*MSEC) /* between 25ms and 35ms */ #define PD_T_ERROR_RECOVERY (240*MSEC) /* min 240ms if sourcing VConn */ #define PD_T_CC_DEBOUNCE (100*MSEC) /* between 100ms and 200ms */ |