brintos

brintos / linux-shallow public Read only

0
0
Text · 2.1 KiB · 0abdb69 Raw
64 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2menuconfig USB43	tristate "Unified support for USB4 and Thunderbolt"4	depends on PCI5	select APPLE_PROPERTIES if EFI_STUB && X866	select CRC327	select CRYPTO8	select CRYPTO_HASH9	select NVMEM10	help11	  USB4 and Thunderbolt driver. USB4 is the public specification12	  based on the Thunderbolt 3 protocol. This driver is required if13	  you want to hotplug Thunderbolt and USB4 compliant devices on14	  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 be17	  called thunderbolt.18 19if USB420 21config USB4_DEBUGFS_WRITE22	bool "Enable write by debugfs to configuration spaces (DANGEROUS)"23	help24	  Enables writing to device configuration registers through25	  debugfs interface. You can use tools such as Thunderbolt/USB426	  debugging tools to access these registers. For more27	  information see:28 29	    https://github.com/intel/tbtools30 31	  Only enable this if you know what you are doing! Never enable32	  this for production systems or distro kernels.33 34config USB4_DEBUGFS_MARGINING35	bool "Expose receiver lane margining operations under USB4 ports and retimers (DANGEROUS)"36	depends on DEBUG_FS37	depends on USB4_DEBUGFS_WRITE38	help39	  Enables hardware and software based receiver lane margining40	  support under each USB4 port and retimer, including retimers41	  on the other side of the cable. Used for electrical quality42	  and robustness validation during manufacturing. Should not be43	  enabled by distro kernels.44 45config USB4_KUNIT_TEST46	bool "KUnit tests" if !KUNIT_ALL_TESTS47	depends on USB4 && KUNIT=y48	default KUNIT_ALL_TESTS49 50config USB4_DMA_TEST51	tristate "DMA traffic test driver"52	depends on DEBUG_FS53	help54	  This allows sending and receiving DMA traffic through loopback55	  connection. Loopback connection can be done by either special56	  dongle that has TX/RX lines crossed, or by simply connecting a57	  cable back to the host. Only enable this if you know what you58	  are doing. Normal users and distro kernels should say N here.59 60	  To compile this driver a module, choose M here. The module will be61	  called thunderbolt_dma_test.62 63endif # USB464