From a637fa931056d734eb67ddbd9a1d8d2f9407302b Mon Sep 17 00:00:00 2001 From: Anil Kumar Date: Mon, 10 Jul 2023 21:31:29 -0700 Subject: mb/google/rex/var/rex0: Add HDMI GPIOs to early GPIO list Add HDMI GPIO configuration to early GPIO list to support VGA text o/p in Pre-RAM stage on HDMI. BUG=b:279173035 TEST=If CONFIG_UGOP_EARLY_GRAPHICS is set to y, check SOL text on HDMI during Pre-RAM boot stage. Change-Id: I13691850d09a442d5d5493a2b1dcf1145cf9797a Signed-off-by: Anil Kumar Reviewed-on: https://review.coreboot.org/c/coreboot/+/77521 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- src/mainboard/google/rex/variants/rex0/gpio.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/mainboard') diff --git a/src/mainboard/google/rex/variants/rex0/gpio.c b/src/mainboard/google/rex/variants/rex0/gpio.c index f3c7324c9d..6cd24b7803 100644 --- a/src/mainboard/google/rex/variants/rex0/gpio.c +++ b/src/mainboard/google/rex/variants/rex0/gpio.c @@ -376,6 +376,8 @@ static const struct pad_config gpio_table[] = { /* Early pad configuration in bootblock */ static const struct pad_config early_gpio_table[] = { + /* GPP_B16 : [] ==> SOC_HDMI_HPD_L */ + PAD_CFG_NF(GPP_B16, NONE, DEEP, NF2), /* GPP_B17 : [] ==> EN_WWAN_PWR */ PAD_CFG_GPO(GPP_B17, 1, DEEP), /* GPP_B18 : [] ==> SOC_I2C_TPM_SDA */ @@ -391,11 +393,17 @@ static const struct pad_config early_gpio_table[] = { /* GPP_E07 : [] ==> WWAN_FCPO_L (updated in romstage) */ PAD_CFG_GPO(GPP_E07, 0, DEEP), + /* GPP_E14 : [] ==> SOC_EDP_HPD_L */ + PAD_CFG_NF(GPP_E14, NONE, DEEP, NF1), /* GPP_H08 : [] ==> UART_DBG_TX_SOC_RX_R */ PAD_CFG_NF(GPP_H08, NONE, DEEP, NF1), /* GPP_H09 : [] ==> UART_SOC_TX_DBG_RX_R */ PAD_CFG_NF(GPP_H09, NONE, DEEP, NF1), + /* GPP_H16 : [] ==> DDIB_HDMI_CTRLCLK*/ + PAD_CFG_NF(GPP_H16, NONE, DEEP, NF1), + /* GPP_H17 : [] ==> DDIB_HDMI_CTRLDATA */ + PAD_CFG_NF(GPP_H17, NONE, DEEP, NF1), /* GPP_D03 : [] ==> EN_PP3300_SD */ PAD_CFG_GPO(GPP_D03, 1, DEEP), -- cgit v1.2.3