Attention is currently required from: Martin Roth, Angel Pons.

Angel Pons uploaded patch set #12 to this change.

View Change

Add support to switch LSPCON modes

LSPCON is a level shifter and protocol converter chip. It is principally
used to convert DisplayPort into HDMI 2.0, since some Intel iGPUs do not
have native HDMI 2.0 support. The chip defaults to LS mode, in which the
display engine has to generate an HDMI-protocol signal, which the LSPCON
converts from DisplayPort signal levels to HDMI signal levels.

Add code to detect LSPCON chips and put them in protocol-converter mode.
This way, the LSPCON behaves like a regular DisplayPort sink. This needs
to be done before any DPCD accesses, because the LSPCON does not respond
to DPCD accesses in level-shifter mode.

Tested on Purism Librem Mini v1 (WHL-U), HDMI port can now light up.

Change-Id: Idfa9bdff47a6591000cd5092d64a4cd4f8dbdc8d
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
---
M common/Makefile.inc
A common/hw-gfx-dp_dual_mode.adb
A common/hw-gfx-dp_dual_mode.ads
M common/hw-gfx-gma-connector_info.adb
A common/hw-gfx-gma-dp_dual_mode.ads
5 files changed, 265 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/libgfxinit refs/changes/33/51133/12

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

Gerrit-Project: libgfxinit
Gerrit-Branch: master
Gerrit-Change-Id: Idfa9bdff47a6591000cd5092d64a4cd4f8dbdc8d
Gerrit-Change-Number: 51133
Gerrit-PatchSet: 12
Gerrit-Owner: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier@gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-CC: Paul Menzel <paulepanter@mailbox.org>
Gerrit-Attention: Martin Roth <martinroth@google.com>
Gerrit-Attention: Angel Pons <th3fanbus@gmail.com>
Gerrit-MessageType: newpatchset