summaryrefslogtreecommitdiff
path: root/board/osiris/board.h
diff options
context:
space:
mode:
authorJameson Thies <jthies@google.com>2022-04-26 00:31:30 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-05-04 22:27:27 +0000
commitcb74b8ed9fdc852bc5b4d79424a5b4434a939742 (patch)
treed321af60342f68aa0f8b2cb08b0e22e2e9c0027c /board/osiris/board.h
parent94b53640add6248bd7f6847a1c0096e07db04188 (diff)
downloadchrome-ec-cb74b8ed9fdc852bc5b4d79424a5b4434a939742.tar.gz
TCPMv2: Request partner's revision information in src/snk startup
Adding features from the USB PD 3.1 revision of the specification requires us to know the difference between USB PD Rev 3.0 and USB PD Rev 3.1 devices. But, the message header only has 2 bits for revision and only provides the major revision. To determine a devices minor revision, TCPMv2 will need to send a Get_Revision command and store the Revision response which has major/minor revision/version information. This CL adds support for sending Get_Revision, and receiving Revision. BUG=b:214087135 TEST=Checked that the PE state was correctly holding the Revision response from a USB PD Rev 3.1 partner, and also checked that the stored RMDO value was 0 for a USB PD Rev 3.0 partner. BRANCH=none Signed-off-by: Jameson Thies <jthies@google.com> Change-Id: I99f10c15750c3a1fee1d8bad89b0c4a0b0a6b2ba Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3607054 Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'board/osiris/board.h')
0 files changed, 0 insertions, 0 deletions