aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAmit Sunil Dhamne <amitsd@google.com>2024-12-10 19:07:09 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-24 08:56:04 +0100
commit8cda395b79d90709fde3a9963c667d849cc5718f (patch)
treeaa924efa7afce0ef049b150df98999d8f55b7c62 /tools/perf/scripts/python
parentusb: typec: tcpm: Add support for parsing pd-revision DT property (diff)
downloadwireguard-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