soc/intel/tigerlake: Enable TCSS Muxes to disconnect mode during boot

TCSS muxes being left uninitialized during boot is causing some USB3
devices to downgrade to USB2 speed. To properly configure the Type C ports
the muxes should be set to disconnected state during boot so that the port
mapping of USB2/3 devices is properly setup prior to Kernel initializing
devices.

BUG=b:180426950
BRANCH=firmware-volteer-13672.B
TEST= Connected USB3 storage device and rebooted the system multiple
times to verify that devices were no longer downgrading to USB2 speed.

Change-Id: I4352072a4a7d6ccb1364b38377831f3c22ae8fb4
Signed-off-by: Brandon Breitenstein <brandon.breitenstein@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51194
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Brandon Breitenstein
2021-03-03 14:09:22 -08:00
committed by Furquan Shaikh
parent 54d59ef7b7
commit d8774f6899
5 changed files with 123 additions and 58 deletions

View File

@@ -239,9 +239,14 @@ config PRERAM_CBMEM_CONSOLE_SIZE
hex
default 0x2000
config EARLY_TCSS
bool "Enable early TCSS device Init"
help
Sets up USB2/3 port mapping in TCSS MUX and sets MUX to disconnect state
config EARLY_TCSS_DISPLAY
bool "Enable early TCSS display"
depends on RUN_FSP_GOP
bool "Enable early TCSS display" if EARLY_TCSS
depends on EARLY_TCSS && RUN_FSP_GOP
help
Enable displays to be detected over Type-C ports during boot.