diff options
author | Kyle Tso <kyletso@google.com> | 2021-02-05 11:34:09 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-02-09 11:48:54 +0100 |
commit | 3c5960c0559c44c6628341a82167ee0d3e40ee50 (patch) | |
tree | 5926695eb67f8ab5b3ec5e92b28ce3a0893506e7 /sound/parisc | |
parent | 4b049f55ed95cd889bcdb3034fd75e1f01852b38 (diff) | |
download | lwn-3c5960c0559c44c6628341a82167ee0d3e40ee50.tar.gz lwn-3c5960c0559c44c6628341a82167ee0d3e40ee50.zip |
usb: typec: Manage SVDM version
PD Spec Revision 3.0 Version 2.0 + ECNs 2020-12-10
6.4.4.2.3 Structured VDM Version
"The Structured VDM Version field of the Discover Identity Command
sent and received during VDM discovery Shall be used to determine the
lowest common Structured VDM Version supported by the Port Partners or
Cable Plug and Shall continue to operate using this Specification
Revision until they are Detached."
Add a variable in typec_capability to specify the highest SVDM version
supported by the port and another variable in typec_partner to cache the
negotiated SVDM version between the port and the partner.
Also add setter/getter functions for the negotiated SVDM version.
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Kyle Tso <kyletso@google.com>
Link: https://lore.kernel.org/r/20210205033415.3320439-2-kyletso@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/parisc')
0 files changed, 0 insertions, 0 deletions