]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: typec: More API for cable handling
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Mon, 30 Dec 2019 14:25:59 +0000 (17:25 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2020 09:48:19 +0000 (10:48 +0100)
commitb66b40ee7d0d376a725fde2b6d951a37cb3062c6
tree33e13602ba11d2c05987f1b20c827ca9ba8d8fa4
parent8face9aa57c8335b2d698a70bcfaaaa46dd36b93
usb: typec: More API for cable handling

Thunderbolt 3, and probable USB4 too, will need to be able
to get details about the cables. Adding typec_cable_get()
function that the alternate mode drivers can use to gain
access to gain access to the cable.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20191230142611.24921-4-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/class.c
include/linux/usb/typec.h