xref: /linux-6.15/drivers/thunderbolt/Kconfig (revision 2c6ea4e2)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig USB4
3	tristate "Unified support for USB4 and Thunderbolt"
4	depends on PCI
5	select APPLE_PROPERTIES if EFI_STUB && X86
6	select CRC32
7	select CRYPTO
8	select CRYPTO_HASH
9	select NVMEM
10	help
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.
15
16	  To compile this driver a module, choose M here. The module will be
17	  called thunderbolt.
18
19config USB4_DEBUGFS_WRITE
20	bool "Enable write by debugfs to configuration spaces (DANGEROUS)"
21	depends on USB4
22	help
23	  Enables writing to device configuration registers through
24	  debugfs interface.
25
26	  Only enable this if you know what you are doing! Never enable
27	  this for production systems or distro kernels.
28
29config USB4_KUNIT_TEST
30	bool "KUnit tests"
31	depends on USB4
32	depends on KUNIT=y
33