Attention is currently required from: Tim Wawrzynczak, Paul Menzel, Curtis Chen, Brandon Breitenstein.

Derek Huang uploaded patch set #24 to this change.

View Change

soc/intel/common/tcss: Optimize USB-C DP flow and code structure

HPD event may not be ready when configuring TCSS mux for DP,
check if any DP device is connected and wait for HPD ready before
TCSS configuration. Remove unnecessary dependency on mainboard
functions, use generic interface which provides USB-C mux
operations.

BUG=b:192947843
TEST=select ENABLE_TCSS_DISPLAY_DETECTION in Kconfig.name for
Brya. Build coreboot and update your Brya. Boot Brya with USB-C
display connected, you should find `HPD ready after %lu ms` and
`Port C%zd is configured to DP mode!` in coreboot log. Display
should show screen in developer mode or recovery mode.

Signed-off-by: Derek Huang <derek.huang@intel.corp-partner.google.com>
Change-Id: Ia7e6dd952d3183ecb76de6d4887ee573ef89bb50
---
M src/soc/intel/common/block/include/intelblocks/tcss.h
M src/soc/intel/common/block/tcss/tcss.c
2 files changed, 44 insertions(+), 40 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/39/57139/24

To view, visit change 57139. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia7e6dd952d3183ecb76de6d4887ee573ef89bb50
Gerrit-Change-Number: 57139
Gerrit-PatchSet: 24
Gerrit-Owner: Derek Huang <derek.huang@intel.corp-partner.google.com>
Gerrit-Reviewer: Brandon Breitenstein <brandon.breitenstein@intel.com>
Gerrit-Reviewer: Curtis Chen <curtis.chen@intel.corp-partner.google.com>
Gerrit-Reviewer: Furquan Shaikh <furquan@google.com>
Gerrit-Reviewer: Patrick Rudolph <siro@das-labor.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak@chromium.org>
Gerrit-Reviewer: Zhuohao Lee <zhuohao@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Curtis Chen <curtis.chen@intel.com>
Gerrit-CC: Paul Menzel <paulepanter@mailbox.org>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak@chromium.org>
Gerrit-Attention: Paul Menzel <paulepanter@mailbox.org>
Gerrit-Attention: Curtis Chen <curtis.chen@intel.com>
Gerrit-Attention: Brandon Breitenstein <brandon.breitenstein@intel.com>
Gerrit-Attention: Curtis Chen <curtis.chen@intel.corp-partner.google.com>
Gerrit-MessageType: newpatchset