diff options
author | 2024-12-10 19:07:09 -0800 | |
---|---|---|
committer | 2024-12-24 08:56:04 +0100 | |
commit | 8cda395b79d90709fde3a9963c667d849cc5718f (patch) | |
tree | aa924efa7afce0ef049b150df98999d8f55b7c62 /tools/perf/scripts/python | |
parent | usb: typec: tcpm: Add support for parsing pd-revision DT property (diff) | |
download | wireguard-linux-8cda395b79d90709fde3a9963c667d849cc5718f.tar.xz wireguard-linux-8cda395b79d90709fde3a9963c667d849cc5718f.zip |
usb: typec: tcpm: Add new AMS for Get_Revision response
This commit adds a new AMS for responding to a "Get_Revision" request.
Revision message consists of the following fields:
+----------------------------------------------------+
| Header | RMDO |
| No. of data objects = 1 | |
+----------------------------------------------------+
While RMDO consists of:
* B31..28 Revision Major
* B27..24 Revision Minor
* B23..20 Version Major
* B19..16 Version Minor
* B15..0 Reserved, shall be set to zero.
As per the PD spec ("8.3.3.16.2.1 PR_Give_Revision State"), a request is
only expected when an explicit contract is established and the port is
in ready state. This AMS is only supported for PD >= 3.0.
Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
Reviewed-by: Badhri Jagan Sridharan <badhri@google.com>
Link: https://lore.kernel.org/r/20241210-get_rev_upstream-v2-3-d0094e52d48f@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions