xref: /openbmc/linux/drivers/thunderbolt/Kconfig (revision 54e41810)
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
1954e41810SGil Fineconfig USB4_DEBUGFS_WRITE
2054e41810SGil Fine	bool "Enable write by debugfs to configuration spaces (DANGEROUS)"
2154e41810SGil Fine	depends on USB4
2254e41810SGil Fine	help
2354e41810SGil Fine	  Enables writing to device configuration registers through
2454e41810SGil Fine	  debugfs interface.
2554e41810SGil Fine
2654e41810SGil Fine	  Only enable this if you know what you are doing! Never enable
2754e41810SGil Fine	  this for production systems or distro kernels.
2854e41810SGil Fine
2954509f50SMika Westerbergconfig USB4_KUNIT_TEST
3054509f50SMika Westerberg	bool "KUnit tests"
3154509f50SMika Westerberg	depends on KUNIT=y
3254509f50SMika Westerberg	depends on USB4=y
33