diff options
author | 2024-12-13 15:35:43 -0800 | |
---|---|---|
committer | 2024-12-24 08:56:05 +0100 | |
commit | 100e257386595b3f1865ca8a991e2ba74f9701ff (patch) | |
tree | da7e4ab8db2e647c68ea3074ac3341c5342c6137 /include/linux/usb | |
parent | usb: typec: Only use SVID for matching altmodes (diff) | |
download | wireguard-linux-100e257386595b3f1865ca8a991e2ba74f9701ff.tar.xz wireguard-linux-100e257386595b3f1865ca8a991e2ba74f9701ff.zip |
usb: typec: Add driver for Thunderbolt 3 Alternate Mode
Thunderbolt 3 Alternate Mode entry flow is described in
USB Type-C Specification Release 2.0.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Co-developed-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
Link: https://lore.kernel.org/r/20241213153543.v5.2.I3080b036e8de0b9957c57c1c3059db7149c5e549@changeid
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/typec_tbt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/typec_tbt.h b/include/linux/usb/typec_tbt.h index fa97d7e00f5c..55dcea12082c 100644 --- a/include/linux/usb/typec_tbt.h +++ b/include/linux/usb/typec_tbt.h @@ -44,6 +44,7 @@ struct typec_thunderbolt_data { #define TBT_GEN3_NON_ROUNDED 0 #define TBT_GEN3_GEN4_ROUNDED_NON_ROUNDED 1 +#define TBT_CABLE_ROUNDED BIT(19) #define TBT_CABLE_OPTICAL BIT(21) #define TBT_CABLE_RETIMER BIT(22) #define TBT_CABLE_LINK_TRAINING BIT(23) |