diff options
author | Ayushee <ayushee.shah@intel.com> | 2020-01-06 12:02:14 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-01-14 23:22:51 +0000 |
commit | d3cef73e459bfd7757872e06e760cb4195c0663e (patch) | |
tree | cdb83d9c7f0ad90c5ee26312788f8a29bb642d07 /power | |
parent | d9d96d1b01cb66fbfdc50fe705eaa2cc2579b442 (diff) | |
download | chrome-ec-d3cef73e459bfd7757872e06e760cb4195c0663e.tar.gz |
usb_pd: Request Vconn swap to communicating with the cable
Before sending SOP' requests to cable plug, the port checks if
the port is the Vconn source. If the port isn't the Vconn source,
it can't talk to the cable.
From USB PD spec 1.3 sections 2.6.1 and 2.6.2, during an explicit
contract, after the data and power role swaps, if any, source/sink
can initiate or receive a request for exchanging the Vconn source.
Hence, adding support for the port to request Vconn swap, if it
hasn't already been swapped.
BUG=b:147209888
BRANCH=None
TEST=Checked on volteer, able to communicate with the cable plug
Change-Id: I36d896eda6319970b1a0a9bd7cc4efcbc381c8b1
Signed-off-by: Ayushee <ayushee.shah@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1988234
Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'power')
0 files changed, 0 insertions, 0 deletions