summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/tcss/Kconfig
blob: 89bab79235b09e579eb16cf2e137f439606034ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
## SPDX-License-Identifier: GPL-2.0-only

config SOC_INTEL_COMMON_BLOCK_TCSS
	def_bool n
	select FSPS_USE_MULTI_PHASE_INIT
	help
	  Sets up USB2/3 port mapping in TCSS MUX

config SOC_INTEL_TCSS_USE_PDC_PMC_USBC_MUX_CONFIGURATION
	def_bool n
	help
	  TCSS uses PDC<->PMC communication to perform mux configuration. When this config is
	  enabled, communication happens directly between PDC and PMC. Avoid sending PMC
	  commands from AP/EC.

config TCSS_HAS_USBC_OPS
	bool "Enable USB-C MUX operations via the EC"
	default y if EC_GOOGLE_CHROMEEC
	depends on SOC_INTEL_COMMON_BLOCK_TCSS && \
			!SOC_INTEL_TCSS_USE_PDC_PMC_USBC_MUX_CONFIGURATION
	help
	  Enable USB-C operations via the EC. Requires `usbc_get_ops` to control features
	  such as HPD and DP Mode entry. Currently, only the ChromeEC implements this, see
	  (ec/google/chromeec/usbc_mux.c).

	  This results in the MUX being set to a disabled state.

config ENABLE_TCSS_DISPLAY_DETECTION
	bool "Enable detection of displays over USB Type-C ports with TCSS"
	depends on TCSS_HAS_USBC_OPS && RUN_FSP_GOP
	help
	  Enable displays to be detected over Type-C ports during boot.

config ENABLE_TCSS_USB_DETECTION
	bool "Enable detection of USB boot devices attached to USB Type-C ports with TCSS"
	depends on TCSS_HAS_USBC_OPS
	help
	  Enable USB-C attached storage devices to be detected at boot.
	  This option is required for some payloads (eg, edk2), without which devices attached
	  to USB-C ports will not be detected and available to boot from.