diff options
author | Ayushee <ayushee.shah@intel.com> | 2020-08-21 11:14:20 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-08-28 23:02:02 +0000 |
commit | 2d87a73bf82b100a7b560b4a4f7a48b4f21ea469 (patch) | |
tree | 2c363d0d0c83fef432e44212718f99654133fff9 /include/motion_sense.h | |
parent | 10cecaa15837579b6e52091507da003287c8e692 (diff) | |
download | chrome-ec-2d87a73bf82b100a7b560b4a4f7a48b4f21ea469.tar.gz |
TCPMv2: Send SOP'/SOP'' VDM only when the port is VCONN src
According to USB PD spec, section 2.5.4, only VCONN source can
communicate with the cable plug. This CL checks if the port is the VCONN
before sending SOP'/SOP'' messages.
If there is a VCONN source failure, port retries swapping the VCONN times
before marking the VDM as failed/naked.
The CL also enables falling back to DP mode in case enter mode thunderbolt
fails.
BUG=b:148528713
BRANCH=None
TEST=Tested on volteer, the port sends SOP'/SOP'' VDMs to the cable
only if it's the VCONN source
Signed-off-by: Ayushee <ayushee.shah@intel.com>
Change-Id: I5880104a7a42b3e7de9e472affd41e937d36f9a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2368066
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'include/motion_sense.h')
0 files changed, 0 insertions, 0 deletions