Skip to content

Commit

Permalink
usb: typec: Add driver for Thunderbolt 3 Alternate Mode
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heikki Krogerus authored and Greg Kroah-Hartman committed Dec 24, 2024
1 parent 8541bf0 commit 100e257
Show file tree
Hide file tree
Showing 4 changed files with 400 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/usb/typec/altmodes/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,13 @@ config TYPEC_NVIDIA_ALTMODE
To compile this driver as a module, choose M here: the
module will be called typec_nvidia.

config TYPEC_TBT_ALTMODE
tristate "Thunderbolt3 Alternate Mode driver"
help
Select this option if you have Thunderbolt3 hardware on your
system.

To compile this driver as a module, choose M here: the
module will be called typec_thunderbolt.

endmenu
2 changes: 2 additions & 0 deletions drivers/usb/typec/altmodes/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ obj-$(CONFIG_TYPEC_DP_ALTMODE) += typec_displayport.o
typec_displayport-y := displayport.o
obj-$(CONFIG_TYPEC_NVIDIA_ALTMODE) += typec_nvidia.o
typec_nvidia-y := nvidia.o
obj-$(CONFIG_TYPEC_TBT_ALTMODE) += typec_thunderbolt.o
typec_thunderbolt-y := thunderbolt.o
Loading

0 comments on commit 100e257

Please sign in to comment.