1## SPDX-License-Identifier: GPL-2.0-only 2 3config SOC_INTEL_COMMON_BLOCK_TCSS 4 def_bool n 5 select FSPS_USE_MULTI_PHASE_INIT 6 help 7 Sets up USB2/3 port mapping in TCSS MUX 8 9config SOC_INTEL_TCSS_USE_PDC_PMC_USBC_MUX_CONFIGURATION 10 def_bool n 11 help 12 TCSS uses PDC<->PMC communication to perform mux configuration. When this config is 13 enabled, communication happens directly between PDC and PMC. Avoid sending PMC 14 commands from AP/EC. 15 16config TCSS_HAS_USBC_OPS 17 bool "Enable USB-C MUX operations via the EC" 18 default y if EC_GOOGLE_CHROMEEC 19 depends on SOC_INTEL_COMMON_BLOCK_TCSS && \ 20 !SOC_INTEL_TCSS_USE_PDC_PMC_USBC_MUX_CONFIGURATION 21 help 22 Enable USB-C operations via the EC. Requires `usbc_get_ops` to control features 23 such as HPD and DP Mode entry. Currently, only the ChromeEC implements this, see 24 (ec/google/chromeec/usbc_mux.c). 25 26 This results in the MUX being set to a disabled state. 27 28config ENABLE_TCSS_DISPLAY_DETECTION 29 bool "Enable detection of displays over USB Type-C ports with TCSS" 30 depends on TCSS_HAS_USBC_OPS && RUN_FSP_GOP 31 help 32 Enable displays to be detected over Type-C ports during boot. 33 34config ENABLE_TCSS_USB_DETECTION 35 bool "Enable detection of USB boot devices attached to USB Type-C ports with TCSS" 36 depends on TCSS_HAS_USBC_OPS 37 help 38 Enable USB-C attached storage devices to be detected at boot. 39 This option is required for some payloads (eg, edk2), without which devices attached 40 to USB-C ports will not be detected and available to boot from. 41