diff options
| author | Amit Sunil Dhamne <amitsd@google.com> | 2024-12-11 06:07:08 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-24 10:56:04 +0300 |
| commit | 8ecf60c3b3d4599d2e643bc88c303376a404ad13 (patch) | |
| tree | 7079fe84d114e921d078a62a8e1167cb877c5411 /scripts | |
| parent | 1ed739929c914fa1f1a16c8f2e76814e9812e1b0 (diff) | |
| download | linux-8ecf60c3b3d4599d2e643bc88c303376a404ad13.tar.xz | |
usb: typec: tcpm: Add support for parsing pd-revision DT property
Add support for parsing "pd-revision" DT property in TCPM and store PD
revision and version supported by the Type-C connnector.
It should be noted that the PD revision is the maximum possible revision
supported by the port. This is different from the 2 bit revision set in
PD msg headers. The purpose of the 2 bit revision value is to negotiate
between Rev 2.X & 3.X spec rev as part of contract negotiation, while
this is used for Get_Revision AMS after a contract is in place.
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-2-d0094e52d48f@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
