Kconfig

CONFIG_USB4 Unified support for USB4 and Thunderbolt

  • Off
  • Module
  • Built in

USB4 and Thunderbolt driver. USB4 is the public specification based on the Thunderbolt 3 protocol. This driver is required if you want to hotplug Thunderbolt and USB4 compliant devices on Apple hardware or on PCs with Intel Falcon Ridge or newer.

To compile this driver a module, choose M here. The module will be called thunderbolt.

If USB4

CONFIG_USB4_DEBUGFS_WRITE Enable write by debugfs to configuration spaces (DANGEROUS)

On

Enables writing to device configuration registers through debugfs interface. You can use tools such as Thunderbolt/USB4 debugging tools to access these registers. For more information see:

  https://github.com/intel/tbtools

Only enable this if you know what you are doing! Never enable this for production systems or distro kernels.

If USB4_DEBUGFS_WRITE

CONFIG_USB4_DEBUGFS_MARGINING Expose receiver lane margining operations under USB4 ports and retimers (DANGEROUS)

On

Enables hardware and software based receiver lane margining support under each USB4 port and retimer, including retimers on the other side of the cable. Used for electrical quality and robustness validation during manufacturing. Should not be enabled by distro kernels.

CONFIG_USB4_DMA_TEST DMA traffic test driver

  • Off
  • Module
  • Built in

This allows sending and receiving DMA traffic through loopback connection. Loopback connection can be done by either special dongle that has TX/RX lines crossed, or by simply connecting a cable back to the host. Only enable this if you know what you are doing. Normal users and distro kernels should say N here.

To compile this driver a module, choose M here. The module will be called thunderbolt_dma_test.

CONFIG_USB4_STREAM Stream data over Thunderbolt/USB4 cable

  • Off
  • Module
  • Built in

This adds support for USB4STREAM protocol that allows two hosts to stream data directly over Thunderbolt/USB4 cable through /dev/tbstreamX devices.

To compile this driver a module, choose M here. The module will be called thunderbolt_stream.