diff options
author | Eric Lai <ericr_lai@compal.corp-partner.google.com> | 2021-09-15 12:16:06 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-09-20 12:09:30 +0000 |
commit | 1897a3abd9f213c32999ee97c0e7e19a3c9c5f12 (patch) | |
tree | 6ee3488e94c11086845251627230f9668667afe6 /src/mainboard/google/brya/variants/felwinter/variant.c | |
parent | 50eff1c083669fbcd78780e4e350ea771473c83c (diff) | |
download | coreboot-1897a3abd9f213c32999ee97c0e7e19a3c9c5f12.tar.gz coreboot-1897a3abd9f213c32999ee97c0e7e19a3c9c5f12.tar.bz2 coreboot-1897a3abd9f213c32999ee97c0e7e19a3c9c5f12.zip |
mb/google/brya/var/felwinter: Configurate AUX pin for USB3 MB
USB3 MB doesn't have re-timer. Thus we have to configurate the AUX pin.
For now, we use USB3 DB to determine the USB3 MB.
BUG=b:197907500
TEST=NA
Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com>
Change-Id: Ide45c77e0a6f736a02d5dc9ad05aa1ef9e754fa5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57656
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/google/brya/variants/felwinter/variant.c')
-rw-r--r-- | src/mainboard/google/brya/variants/felwinter/variant.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/felwinter/variant.c b/src/mainboard/google/brya/variants/felwinter/variant.c new file mode 100644 index 000000000000..9234019952ce --- /dev/null +++ b/src/mainboard/google/brya/variants/felwinter/variant.c @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <chip.h> +#include <fw_config.h> +#include <baseboard/variants.h> + +void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config) +{ + if (fw_config_probe(FW_CONFIG(DB_USB, USB3_PS8815))) { + config->typec_aux_bias_pads[2].pad_auxp_dc = GPP_A19; + config->typec_aux_bias_pads[2].pad_auxn_dc = GPP_A20; + } +} |