mb/google/rex: Set AUX orientation at SoC to follow cable for kb8010

This configures the SoC to flip the orientation of the AUX pins to
follow the orientation of the cable when using the kb8010 retimer. This
is necessary when there is no external retimer/mux or the retimer/mux
does not implement the flip. The kb8010 retimer does not support this
feature, so let the SoC do the flip.

BUG=b:267589112
TEST=verified DP-ALT mode works in both cable orientations on rex with
	reworked kb8010 DB by flykt@

Change-Id: Iad093e27617b80f8301008deb00b57fb9b3a48ba
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76137
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
This commit is contained in:
Caveh Jalali 2023-06-22 17:00:09 -07:00 committed by Felix Held
parent ccfef8454e
commit 37f4f64fcd
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,8 @@ void variant_update_soc_chip_config(struct soc_intel_meteorlake_config *config)
config->cnvi_bt_audio_offload = fw_config_probe(FW_CONFIG(AUDIO,
MAX98360_ALC5682I_I2S));
if (fw_config_probe(FW_CONFIG(DB_USB, USB4_ANX7452)) ||
if (fw_config_probe(FW_CONFIG(DB_USB, USB4_KB8010)) ||
fw_config_probe(FW_CONFIG(DB_USB, USB4_ANX7452)) ||
fw_config_probe(FW_CONFIG(DB_USB, USB4_ANX7452_V2))) {
/*
* Configure TCP2 for