diff options
author | Diana Z <dzigterman@chromium.org> | 2020-08-18 11:14:05 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-09-03 00:20:23 +0000 |
commit | 147803fd0f6785692c215e49d31b948ac871acb5 (patch) | |
tree | 3d53fead81e92c801adffe697ad4c8603e6e3572 /test/crc32.tasklist | |
parent | 9ca75e89ce2d4af265d8f34f20d5892680bfa38d (diff) | |
download | chrome-ec-147803fd0f6785692c215e49d31b948ac871acb5.tar.gz |
TCPMv2: Add EC_CMD_TYPEC_DISCOVERY
This host command will return all discovery information for the given
port and transmit type (SOP, SOP'). Each piece of information includes
a count of the number of valid fields filled in to the arrays. To keep
the command consolidated and easy to parse, this means there will be
some number of bytes in each response which do not contain useful
information.
With this method, we may fit 7 SVID entries with mode information, which
is less than the 16 which the EC can store, but more than most port
partners present.
BRANCH=None
BUG=b:165264379
TEST=on waddledoo, confirm ectool shows:
-no discovery information with nothing plugged in
-no discovery information with a charger which doesn't reply to VDMs
-SOP identity but no SVIDs with Moshi, which NAKs DiscoverSVIDs
-SOP identity and all SVIDs with Apple 3-in-1
-SOP and SOP' identity and all SVIDs with TBT dock
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Idf21b23ebe4cda62781762188601b2cc35ede65d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2363417
Reviewed-by: Jett Rink <jettrink@chromium.org>
Commit-Queue: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'test/crc32.tasklist')
0 files changed, 0 insertions, 0 deletions