diff options
author | Caveh Jalali <caveh@chromium.org> | 2023-06-22 17:00:09 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-07-03 12:46:02 +0000 |
commit | 37f4f64fcd2467c007b08feab23bb1179f30824f (patch) | |
tree | 73bb85db6640548cd025c5273e512eb07fb18b1c /src | |
parent | ccfef8454e6a2b6a02c211b56d9e94661b4c4cc2 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/rex/variants/rex0/variant.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/rex/variants/rex0/variant.c b/src/mainboard/google/rex/variants/rex0/variant.c index 032eef97c6..8cf8ce2420 100644 --- a/src/mainboard/google/rex/variants/rex0/variant.c +++ b/src/mainboard/google/rex/variants/rex0/variant.c @@ -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 |