diff options
author | Keith Short <keithshort@chromium.org> | 2020-12-16 20:45:41 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-09 00:44:44 +0000 |
commit | 88d46d61c3081b7fc32225f3aed7426a1d62e36e (patch) | |
tree | 82368a4b5a93e6eba6eb7d2c121a50fcdf7515c6 /test/usb_pe.h | |
parent | 6be1ff9b14b3593cfc6b657a41334cc8a7f5811d (diff) | |
download | chrome-ec-88d46d61c3081b7fc32225f3aed7426a1d62e36e.tar.gz |
tcpmv2: always issue SOP' soft reset
After entering a PD contract, always issue an SOP' soft reset before
sending any discovery VDMs to the cable.
BUG=b:172364575
BRANCH=volteer
TEST=connect monitor with emarked cable, verify SOP' soft reset is sent
when EC starts as SNK/DFP.
TEST=Connect monitor with non-emark cable. Verify SOP' soft reset is
sent once regardless of starting role.
TEST=Connect USB4 dock, verify USB4 entry.
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: Id5026a2c8c9877b860e1356dd33763bad3e51841
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2596838
Reviewed-by: Diana Z <dzigterman@chromium.org>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'test/usb_pe.h')
-rw-r--r-- | test/usb_pe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/usb_pe.h b/test/usb_pe.h index 373bf9f5b2..a4967d02e5 100644 --- a/test/usb_pe.h +++ b/test/usb_pe.h @@ -120,6 +120,7 @@ enum usb_pe_state { PE_VCS_TURN_ON_VCONN_SWAP, PE_VCS_TURN_OFF_VCONN_SWAP, PE_VCS_SEND_PS_RDY_SWAP, + PE_VCS_CBL_SEND_SOFT_RESET, PE_VDM_IDENTITY_REQUEST_CBL, PE_INIT_PORT_VDM_IDENTITY_REQUEST, PE_INIT_VDM_SVIDS_REQUEST, |