2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2019-12-17 12:33:41 +00:00
|
|
|
menuconfig USB4
|
|
|
|
tristate "Unified support for USB4 and Thunderbolt"
|
2014-06-20 13:52:09 +00:00
|
|
|
depends on PCI
|
2016-11-18 08:22:59 +00:00
|
|
|
select APPLE_PROPERTIES if EFI_STUB && X86
|
2014-06-21 10:15:44 +00:00
|
|
|
select CRC32
|
2017-06-06 12:25:16 +00:00
|
|
|
select CRYPTO
|
|
|
|
select CRYPTO_HASH
|
2017-06-06 12:25:17 +00:00
|
|
|
select NVMEM
|
2014-06-03 20:03:58 +00:00
|
|
|
help
|
2020-06-02 12:28:15 +00:00
|
|
|
USB4 and Thunderbolt driver. USB4 is the public specification
|
|
|
|
based on the Thunderbolt 3 protocol. This driver is required if
|
2019-12-17 12:33:41 +00:00
|
|
|
you want to hotplug Thunderbolt and USB4 compliant devices on
|
|
|
|
Apple hardware or on PCs with Intel Falcon Ridge or newer.
|
2014-06-03 20:03:58 +00:00
|
|
|
|
|
|
|
To compile this driver a module, choose M here. The module will be
|
|
|
|
called thunderbolt.
|
2020-04-29 13:38:39 +00:00
|
|
|
|
2020-08-24 10:55:52 +00:00
|
|
|
if USB4
|
|
|
|
|
2020-06-29 17:30:52 +00:00
|
|
|
config USB4_DEBUGFS_WRITE
|
|
|
|
bool "Enable write by debugfs to configuration spaces (DANGEROUS)"
|
|
|
|
help
|
|
|
|
Enables writing to device configuration registers through
|
|
|
|
debugfs interface.
|
|
|
|
|
|
|
|
Only enable this if you know what you are doing! Never enable
|
|
|
|
this for production systems or distro kernels.
|
|
|
|
|
2020-04-29 13:38:39 +00:00
|
|
|
config USB4_KUNIT_TEST
|
|
|
|
bool "KUnit tests"
|
|
|
|
depends on KUNIT=y
|
2020-08-24 10:55:52 +00:00
|
|
|
|
|
|
|
endif # USB4
|