1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 2690ac0d2SMika Westerbergmenuconfig USB4 3690ac0d2SMika Westerberg tristate "Unified support for USB4 and Thunderbolt" 40cb4e2beSArnd Bergmann depends on PCI 55fbc89d3SLukas Wunner select APPLE_PROPERTIES if EFI_STUB && X86 6f34323b6SAndreas Noever select CRC32 7f67cf491SMika Westerberg select CRYPTO 8f67cf491SMika Westerberg select CRYPTO_HASH 9e6b245ccSMika Westerberg select NVMEM 1016603153SAndreas Noever help 11b7c408a5SGeert Uytterhoeven USB4 and Thunderbolt driver. USB4 is the public specification 12b7c408a5SGeert Uytterhoeven based on the Thunderbolt 3 protocol. This driver is required if 13690ac0d2SMika Westerberg you want to hotplug Thunderbolt and USB4 compliant devices on 14690ac0d2SMika Westerberg Apple hardware or on PCs with Intel Falcon Ridge or newer. 1516603153SAndreas Noever 1616603153SAndreas Noever To compile this driver a module, choose M here. The module will be 1716603153SAndreas Noever called thunderbolt. 1854509f50SMika Westerberg 198eabfca5SMika Westerbergif USB4 208eabfca5SMika Westerberg 2154e41810SGil Fineconfig USB4_DEBUGFS_WRITE 2254e41810SGil Fine bool "Enable write by debugfs to configuration spaces (DANGEROUS)" 2354e41810SGil Fine help 2454e41810SGil Fine Enables writing to device configuration registers through 2554e41810SGil Fine debugfs interface. 2654e41810SGil Fine 2754e41810SGil Fine Only enable this if you know what you are doing! Never enable 2854e41810SGil Fine this for production systems or distro kernels. 2954e41810SGil Fine 3054509f50SMika Westerbergconfig USB4_KUNIT_TEST 3154509f50SMika Westerberg bool "KUnit tests" 3254509f50SMika Westerberg depends on KUNIT=y 338eabfca5SMika Westerberg 34*edc0f494SIsaac Hazanconfig USB4_DMA_TEST 35*edc0f494SIsaac Hazan tristate "DMA traffic test driver" 36*edc0f494SIsaac Hazan depends on DEBUG_FS 37*edc0f494SIsaac Hazan help 38*edc0f494SIsaac Hazan This allows sending and receiving DMA traffic through loopback 39*edc0f494SIsaac Hazan connection. Loopback connection can be done by either special 40*edc0f494SIsaac Hazan dongle that has TX/RX lines crossed, or by simply connecting a 41*edc0f494SIsaac Hazan cable back to the host. Only enable this if you know what you 42*edc0f494SIsaac Hazan are doing. Normal users and distro kernels should say N here. 43*edc0f494SIsaac Hazan 44*edc0f494SIsaac Hazan To compile this driver a module, choose M here. The module will be 45*edc0f494SIsaac Hazan called thunderbolt_dma_test. 46*edc0f494SIsaac Hazan 478eabfca5SMika Westerbergendif # USB4 48