18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_cimenuconfig USB4
38c2ecf20Sopenharmony_ci	tristate "Unified support for USB4 and Thunderbolt"
48c2ecf20Sopenharmony_ci	depends on PCI
58c2ecf20Sopenharmony_ci	select APPLE_PROPERTIES if EFI_STUB && X86
68c2ecf20Sopenharmony_ci	select CRC32
78c2ecf20Sopenharmony_ci	select CRYPTO
88c2ecf20Sopenharmony_ci	select CRYPTO_HASH
98c2ecf20Sopenharmony_ci	select NVMEM
108c2ecf20Sopenharmony_ci	help
118c2ecf20Sopenharmony_ci	  USB4 and Thunderbolt driver. USB4 is the public specification
128c2ecf20Sopenharmony_ci	  based on the Thunderbolt 3 protocol. This driver is required if
138c2ecf20Sopenharmony_ci	  you want to hotplug Thunderbolt and USB4 compliant devices on
148c2ecf20Sopenharmony_ci	  Apple hardware or on PCs with Intel Falcon Ridge or newer.
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci	  To compile this driver a module, choose M here. The module will be
178c2ecf20Sopenharmony_ci	  called thunderbolt.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciif USB4
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ciconfig USB4_DEBUGFS_WRITE
228c2ecf20Sopenharmony_ci	bool "Enable write by debugfs to configuration spaces (DANGEROUS)"
238c2ecf20Sopenharmony_ci	help
248c2ecf20Sopenharmony_ci	  Enables writing to device configuration registers through
258c2ecf20Sopenharmony_ci	  debugfs interface.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci	  Only enable this if you know what you are doing! Never enable
288c2ecf20Sopenharmony_ci	  this for production systems or distro kernels.
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ciconfig USB4_KUNIT_TEST
318c2ecf20Sopenharmony_ci	bool "KUnit tests"
328c2ecf20Sopenharmony_ci	depends on KUNIT=y
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciendif # USB4
35