diff options
author | Ayushee <ayushee.shah@intel.com> | 2020-07-01 03:10:53 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-07-17 02:57:07 +0000 |
commit | 51cf32c16205af580dc1475ddf2c5731e199a133 (patch) | |
tree | 99dc3b45f24c4f71298669a44bf19ad9a305b9da /include/usb_pe_sm.h | |
parent | ccdfedd20a8e9d54e9efd44e57aae186a5b953f9 (diff) | |
download | chrome-ec-51cf32c16205af580dc1475ddf2c5731e199a133.tar.gz |
TCPMv2: Add USB4 mode support for passive cable
To support USB4 mode on TCPMV2 this commit:
1. Checks if the port, port partner and cable is USB4 capable and if so
enters into USB4 mode
2. Adds a new state PE_ENTER_USB to the PE state machine which sends the
data message to enter into USB4 mode and on receiving an ACK from the
port partner, sets the mux to USB4.
BUG=b:156749387
BRANCH=None
TEST=Tested on Volteer, able to enter into USB4 mode
Signed-off-by: Ayushee <ayushee.shah@intel.com>
Change-Id: I3dac12a204a724037681037f98eaf797d4e02f20
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2277827
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'include/usb_pe_sm.h')
-rw-r--r-- | include/usb_pe_sm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb_pe_sm.h b/include/usb_pe_sm.h index 78c1f27759..1da649b865 100644 --- a/include/usb_pe_sm.h +++ b/include/usb_pe_sm.h @@ -43,6 +43,7 @@ enum pe_dpm_request { DPM_REQUEST_SOFT_RESET_SEND = BIT(16), DPM_REQUEST_PORT_DISCOVERY = BIT(17), DPM_REQUEST_SEND_ALERT = BIT(18), + DPM_REQUEST_ENTER_USB = BIT(19), }; /** |