diff options
author | Sam Hurst <shurst@google.com> | 2017-08-05 13:24:40 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-10-24 15:30:15 -0700 |
commit | c91dbb26d87573b9789a6a8b3e05eac3a9c205fa (patch) | |
tree | 145ef633cb7ebaf387da040557399afecc44188f /test/usb_pd_rev30.tasklist | |
parent | 5fd1540e62be47747c4fe234a0b348e58e0cfd3f (diff) | |
download | chrome-ec-c91dbb26d87573b9789a6a8b3e05eac3a9c205fa.tar.gz |
PD: Make current USB PD Stack REV 3 compliant
Implement the following required features in the USB PD Rev. 3.0
specification.
Not_supported control message: Inform a port partner that a
particular message is not supported.
Battery capabilities extended message: Report battery design
capacity and last full charge capacity.
Battery status data message: Report battery state of charge
Collision avoidance: New scheme to avoid collisions caused when both
source and sink want to send messages.
Cable communication: Only the VCONN source can communicate with the
cable plug. This is NOT implemented because although the drivers have
the capability of communicating with a cable plug, the PD stack doesn't
currently need to talk to a cable plug. This is okay since the current
PD design doesn't source or sink more than 3 amps and all Type-C cables
are required to be 3 amp capable.
BUG=b:64411727
BRANCH=None
TEST=`make -j buildall`
Passed relevant PD Rev 2.0 compliance tests
Successful PD negotiation with PD Rev 2.0 and 3.0 chargers
Tested with low power none PD charger.
Modified a Kevin to operate as a PD 3.0 charger and sent
all required messages and verified the return messages.
Also tested collision avoidance by verifying that a sink only
transmits when the source indicates it's okay.
Used Twinkie to verify that PD was operating as v3.0.
Signed-off-by: Sam Hurst <shurst@chromium.org>
Change-Id: Ifd77e92ec4e9106236f9221393d2bfb97263d979
Reviewed-on: https://chromium-review.googlesource.com/603003
Commit-Ready: Sam Hurst <shurst@google.com>
Tested-by: Sam Hurst <shurst@google.com>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'test/usb_pd_rev30.tasklist')
l--------- | test/usb_pd_rev30.tasklist | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/usb_pd_rev30.tasklist b/test/usb_pd_rev30.tasklist new file mode 120000 index 0000000000..45cc6c8aa2 --- /dev/null +++ b/test/usb_pd_rev30.tasklist @@ -0,0 +1 @@ +usb_pd.tasklist
\ No newline at end of file |