mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 16:41:39 +00:00
bffcd14fac
This includes following Thunderbolt/USB4 changes for the v6.1 merge window: - Support for Intel Meteor Lake integrated Thunderbolt/USB4 controller - Support for ASMedia USB4 controller NVM firmware upgrade - Receiver lane margining support - Few fixes and cleanups. All these have been in linux-next with no reported issues. -----BEGIN PGP SIGNATURE----- iQJUBAABCgA+FiEEVTdhRGBbNzLrSUBaAP2fSd+ZWKAFAmM0G3ogHG1pa2Eud2Vz dGVyYmVyZ0BsaW51eC5pbnRlbC5jb20ACgkQAP2fSd+ZWKAhEg/8CuUZvDwLog7O SbpKAPqGOvDC3EM0VhtJyjJAUVWImVaRuSHAWEHn/XJAICaRTxMJJM7xoJnr+X7O 4VMFzPhF6oF+28VMzy8OLm15kiiNtpXimOKaXNXzoDzJ6aqjgr9KpHSpzhOx3MuF HUzhoMWk2RHwnrkxlpewU9wJg8ZtG6syI5QV534KsqIwxOcO+8pr7nKz8V8HrUt9 EwFIgU4op/eKCsgeLmotw/8CXI33ezIheMeUdSit3Gqa3Ey9u/JtzVaN7siEOhxy c3nBO8MgYhKaX0RCVKFGRm/YktFlrECStfDNhgtUbBS2lfoePcaeZGKwuCRpmhkj WicPxph8m5slKborqGVaoZtgtxqftOt1tWmvnJntqSLcOycPM4bX8gDfWZmoi6JX f+Vritdy9DDTCE00/Hc2gCpQG0rfX+DzpYvLz4Z8tIa5oU9X5CfCNs8qb20VSQAg xgmyRe+6/UzJAMKQ7uPy8wSKt/rpKOxsIQC+bhhdiN9g000YS7A56juiC0Z8IfrH rZae7pvtoD/r7lrJlRcFKtNPup+QrZZ/kdLzWpZbAmKYZ7DkI44KA4iHVBpt24rg 8e23s2/U6ezhNMcR0dLWwIrE+KoiB15BkX9/J1CJxhJLW9lw+fxlSfeZDI0rfjE2 HqcC/Fxx1dMNJykbXAyrO9HYmT551Vs= =67d1 -----END PGP SIGNATURE----- Merge tag 'thunderbolt-for-v6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt into usb-next Mika writes: "thunderbolt: Changes for v6.1 merge window This includes following Thunderbolt/USB4 changes for the v6.1 merge window: - Support for Intel Meteor Lake integrated Thunderbolt/USB4 controller - Support for ASMedia USB4 controller NVM firmware upgrade - Receiver lane margining support - Few fixes and cleanups. All these have been in linux-next with no reported issues." * tag 'thunderbolt-for-v6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt: thunderbolt: Explicitly enable lane adapter hotplug events at startup thunderbolt: Use dev_err_probe() thunderbolt: Convert to use sysfs_emit()/sysfs_emit_at() APIs thunderbolt: Fix spelling mistake "simultaneusly" -> "simultaneously" thunderbolt: debugfs: Fix spelling mistakes in seq_puts text thunderbolt: Add support for ASMedia NVM image format thunderbolt: Move vendor specific NVM handling into nvm.c thunderbolt: Provide tb_retimer_nvm_read() analogous to tb_switch_nvm_read() thunderbolt: Rename and make nvm_read() available for other files thunderbolt: Extend NVM version fields to 32-bits thunderbolt: Allow NVM upgrade of USB4 host routers thunderbolt: Add support for receiver lane margining thunderbolt: Add helper to check if CL states are enabled on port thunderbolt: Pass CL state bitmask to tb_port_clx_supported() thunderbolt: Move port CL state functions into correct place in switch.c thunderbolt: Move tb_xdomain_parent() to tb.h thunderbolt: Add support for Intel Meteor Lake thunderbolt: Add comment where Thunderbolt 4 PCI IDs start thunderbolt: Add DP OUT resource when DP tunnel is discovered
59 lines
1.9 KiB
Plaintext
59 lines
1.9 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
menuconfig USB4
|
|
tristate "Unified support for USB4 and Thunderbolt"
|
|
depends on PCI
|
|
select APPLE_PROPERTIES if EFI_STUB && X86
|
|
select CRC32
|
|
select CRYPTO
|
|
select CRYPTO_HASH
|
|
select NVMEM
|
|
help
|
|
USB4 and Thunderbolt driver. USB4 is the public specification
|
|
based on the Thunderbolt 3 protocol. This driver is required if
|
|
you want to hotplug Thunderbolt and USB4 compliant devices on
|
|
Apple hardware or on PCs with Intel Falcon Ridge or newer.
|
|
|
|
To compile this driver a module, choose M here. The module will be
|
|
called thunderbolt.
|
|
|
|
if USB4
|
|
|
|
config USB4_DEBUGFS_WRITE
|
|
bool "Enable write by debugfs to configuration spaces (DANGEROUS)"
|
|
help
|
|
Enables writing to device configuration registers through
|
|
debugfs interface.
|
|
|
|
Only enable this if you know what you are doing! Never enable
|
|
this for production systems or distro kernels.
|
|
|
|
config USB4_DEBUGFS_MARGINING
|
|
bool "Expose receiver lane margining operations under USB4 ports (DANGEROUS)"
|
|
depends on DEBUG_FS
|
|
depends on USB4_DEBUGFS_WRITE
|
|
help
|
|
Enables hardware and software based receiver lane margining support
|
|
under each USB4 port. Used for electrical quality and robustness
|
|
validation during manufacturing. Should not be enabled by distro
|
|
kernels.
|
|
|
|
config USB4_KUNIT_TEST
|
|
bool "KUnit tests" if !KUNIT_ALL_TESTS
|
|
depends on USB4 && KUNIT=y
|
|
default KUNIT_ALL_TESTS
|
|
|
|
config USB4_DMA_TEST
|
|
tristate "DMA traffic test driver"
|
|
depends on DEBUG_FS
|
|
help
|
|
This allows sending and receiving DMA traffic through loopback
|
|
connection. Loopback connection can be done by either special
|
|
dongle that has TX/RX lines crossed, or by simply connecting a
|
|
cable back to the host. Only enable this if you know what you
|
|
are doing. Normal users and distro kernels should say N here.
|
|
|
|
To compile this driver a module, choose M here. The module will be
|
|
called thunderbolt_dma_test.
|
|
|
|
endif # USB4
|