xref: /aosp_15_r20/external/coreboot/src/soc/intel/common/block/usb4/Kconfig (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1## SPDX-License-Identifier: GPL-2.0-only
2
3config SOC_INTEL_COMMON_BLOCK_USB4
4	bool
5	default n
6	depends on SOC_INTEL_COMMON_BLOCK_TCSS
7	help
8	  Minimal PCI Driver for enabling SSDT generation for the DMA component
9	  of Intel Thunderbolt/USB4 ports.
10
11config SOC_INTEL_COMMON_BLOCK_USB4_PCIE
12	bool
13	default n
14	help
15	  Chip driver for adding PCI ops and SSDT generation for common Intel
16	  USB4/Thunderbolt root ports.
17
18config SOC_INTEL_COMMON_BLOCK_USB4_XHCI
19	bool
20	default n
21	help
22	  Minimal PCI driver for adding PCI ops and SSDT generation for common
23	  Intel USB4/Thunderbolt North XHCI ports.
24
25config SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
26	bool
27	default n
28	depends on SOC_INTEL_COMMON_BLOCK_USB4
29	select PCIEXP_HOTPLUG
30	help
31	  Enable USB4 PCIe resources for reserving hotplug buses and memory.
32
33config DEFAULT_SOFTWARE_CONNECTION_MANAGER
34	bool
35	help
36	  select to default to using the Software Connection Manager
37
38choice
39	prompt "Connection Manager"
40	depends on SOC_INTEL_COMMON_BLOCK_USB4
41	default SOFTWARE_CONNECTION_MANAGER if DEFAULT_SOFTWARE_CONNECTION_MANAGER
42	default FIRMWARE_CONNECTION_MANAGER
43	help
44	  Software Connection Manager doesn't work with Linux 5.13 or later,
45	  resulting in TBT ports timing out. Firmware Connection Manager works
46	  correctly.
47	  Linux patch:
48	    torvalds/linux@c6da62a
49	    c6da62a219d028de10f2e22e93a34c7ee2b88d03
50
51config FIRMWARE_CONNECTION_MANAGER
52	bool "Firmware Connection Manager"
53	help
54	  Disable SCM so that FCM can be used
55
56config SOFTWARE_CONNECTION_MANAGER
57	bool "Software Connection Manager"
58	help
59	  Enable SCM so it's used instead of FCM.
60endchoice
61