.. | .. |
---|
1 | | -menuconfig THUNDERBOLT |
---|
2 | | - tristate "Thunderbolt support" |
---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
---|
| 2 | +menuconfig USB4 |
---|
| 3 | + tristate "Unified support for USB4 and Thunderbolt" |
---|
3 | 4 | depends on PCI |
---|
4 | | - depends on X86 || COMPILE_TEST |
---|
5 | 5 | select APPLE_PROPERTIES if EFI_STUB && X86 |
---|
6 | 6 | select CRC32 |
---|
7 | 7 | select CRYPTO |
---|
8 | 8 | select CRYPTO_HASH |
---|
9 | 9 | select NVMEM |
---|
10 | 10 | help |
---|
11 | | - Thunderbolt Controller driver. This driver is required if you |
---|
12 | | - want to hotplug Thunderbolt devices on Apple hardware or on PCs |
---|
13 | | - with Intel Falcon Ridge or newer. |
---|
| 11 | + USB4 and Thunderbolt driver. USB4 is the public specification |
---|
| 12 | + based on the Thunderbolt 3 protocol. This driver is required if |
---|
| 13 | + you want to hotplug Thunderbolt and USB4 compliant devices on |
---|
| 14 | + Apple hardware or on PCs with Intel Falcon Ridge or newer. |
---|
14 | 15 | |
---|
15 | 16 | To compile this driver a module, choose M here. The module will be |
---|
16 | 17 | called thunderbolt. |
---|
| 18 | + |
---|
| 19 | +if USB4 |
---|
| 20 | + |
---|
| 21 | +config USB4_DEBUGFS_WRITE |
---|
| 22 | + bool "Enable write by debugfs to configuration spaces (DANGEROUS)" |
---|
| 23 | + help |
---|
| 24 | + Enables writing to device configuration registers through |
---|
| 25 | + debugfs interface. |
---|
| 26 | + |
---|
| 27 | + Only enable this if you know what you are doing! Never enable |
---|
| 28 | + this for production systems or distro kernels. |
---|
| 29 | + |
---|
| 30 | +config USB4_KUNIT_TEST |
---|
| 31 | + bool "KUnit tests" |
---|
| 32 | + depends on KUNIT=y |
---|
| 33 | + |
---|
| 34 | +endif # USB4 |
---|