From bbf794fc13a5be6445aff7dcc9430ef7152f9148 Mon Sep 17 00:00:00 2001 From: Terry Chen Date: Wed, 22 Jun 2022 18:33:10 +0800 Subject: [PATCH] mb/google/brya/var/crota: Modify some GPIO programming Base on bernadino 14 adl-p 20220531.pdf, configure GPIOs according to schematics. GPP_B2 => BYPASS_DET GPP_F19 => FP_USER_PRES_FP_L BUG=b:234384954 TEST= USE="project_crota" emerge-brya coreboot Signed-off-by: Terry Chen Change-Id: Ic2e7ecc34912f07463e0025787fdf59c7602e40b Reviewed-on: https://review.coreboot.org/c/coreboot/+/65309 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- src/mainboard/google/brya/variants/crota/gpio.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mainboard/google/brya/variants/crota/gpio.c b/src/mainboard/google/brya/variants/crota/gpio.c index 618c6accc9..ca5b5cd1b0 100644 --- a/src/mainboard/google/brya/variants/crota/gpio.c +++ b/src/mainboard/google/brya/variants/crota/gpio.c @@ -20,8 +20,8 @@ static const struct pad_config override_gpio_table[] = { /* A23 : ESPI_CS1# ==> AUD_HP_INT_L */ PAD_CFG_GPI_APIC(GPP_A23, NONE, PLTRST, LEVEL, INVERT), - /* B2 : VRALERT# ==> NC */ - PAD_NC(GPP_B2, NONE), + /* B2 : VRALERT# ==> BYPASS_DET */ + PAD_CFG_GPI(GPP_B2, NONE, DEEP), /* B3 : PROC_GP2 ==> NC */ PAD_NC(GPP_B3, NONE), /* B15 : PROC_GP3 ==> AUD_RST_L */ @@ -62,8 +62,8 @@ static const struct pad_config override_gpio_table[] = { /* E23 : DDPA_CTRLDATA ==> NC */ PAD_NC(GPP_E23, NONE), - /* F19 : SRCCLKREQ6# ==> NC */ - PAD_NC(GPP_F19, NONE), + /* F19 : SRCCLKREQ6# ==> FP_USER_PRES_FP_L */ + PAD_CFG_GPI(GPP_F19, NONE, DEEP), /* F20 : EXT_PWR_GATE# ==> NC */ PAD_NC(GPP_F20, NONE),