diff options
author | RD Babiera <rdbabiera@google.com> | 2024-01-08 22:16:15 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-28 04:38:25 +0300 |
commit | 231b7318413cef0f8e5c2ca8db1a95b666c25d70 (patch) | |
tree | 2b0bab45fde86698a4a09bae2b2b39d7315c62fc /include/linux/usb/tcpci.h | |
parent | 7494d4bc8e32a9480fd56b018db8e404b54b24e6 (diff) | |
download | linux-231b7318413cef0f8e5c2ca8db1a95b666c25d70.tar.xz |
usb: typec: altmodes: add svdm version info for typec cables
Add typec_cable_set_svdm_version and typec_get_cable_svdm version symbols.
Cables can operate under a lower PD revision than the port partner, and the
max SVDM version is tied to the PD revision. So, typec_cable maintains its
own svdm_version.
Add typec_altmode_get_cable_svdm_version to return the cable's negotiated
svdm_version for altmode drivers to use.
Signed-off-by: RD Babiera <rdbabiera@google.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240108191620.987785-16-rdbabiera@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/tcpci.h')
0 files changed, 0 insertions, 0 deletions