diff options
author | Keith Short <keithshort@chromium.org> | 2020-11-19 09:35:00 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-11-20 23:30:30 +0000 |
commit | 86cd11143962af1a6e9b695599c0af605df9256b (patch) | |
tree | 7b9c883d5375b4dc232076803cf56e30f6ef6485 /chip/host/flash.c | |
parent | 5ff8db10799fb15dff6ef9d39880faeddc7c234f (diff) | |
download | chrome-ec-86cd11143962af1a6e9b695599c0af605df9256b.tar.gz |
tcpmv2: reduce time to enter alternate modes
The USB Type-C specification defines tAMETimeout (1000 ms) as the time
between sink attach until a USB Billboard device class is exposed. For
some SNK devices, the billboard class can interfere with processing of
PD messages, causing PD discovery and altnernate modes to fail.
Reduce the time to enter alternate modes for PD2.0 devices by only
performing a hold-off delay after the first contract is established.
This change also reduces the minimum hold off delay fro 400ms to 200ms.
BUG=b:169741906
BRANCH=firmware-volteer-13521.B-master
TEST=connect StarTech dongle to Delbin. Observe that altnerate mode
entry occurs between 700 and 950ms. Prior to this change, altnernate
mode entry took 900 to 1200ms.
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: Id65ad061a0019f07bbfba72dcab82c51472c6273
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2550306
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'chip/host/flash.c')
0 files changed, 0 insertions, 0 deletions