From 5137e1e1995233f65e146e1b88887738cdd29527 Mon Sep 17 00:00:00 2001 From: Kenneth Chan Date: Fri, 16 Aug 2024 10:13:07 +0800 Subject: mb/google/brya/var/nova: Set up soundbar-related GPIOs Set up soundbar-related GPIOs for updating. BUG=b:358435383 TEST=emerge-constitution coreboot chromeos-bootimage Change-Id: I517da8de90487533e49e46649c5acf4ccfcc5160 Signed-off-by: Kenneth Chan Reviewed-on: https://review.coreboot.org/c/coreboot/+/83936 Reviewed-by: Subrata Banik Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/mainboard/google/brya/variants/nova/gpio.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/mainboard/google/brya/variants/nova/gpio.c b/src/mainboard/google/brya/variants/nova/gpio.c index 6ed8823faa..e895244dd5 100644 --- a/src/mainboard/google/brya/variants/nova/gpio.c +++ b/src/mainboard/google/brya/variants/nova/gpio.c @@ -41,11 +41,11 @@ static const struct pad_config override_gpio_table[] = { PAD_CFG_GPO(GPP_C4, 0, DEEP), /* D0 : ISH_GP0 ==> BOOT_SEL_N */ - PAD_NC(GPP_D0, NONE), + PAD_CFG_GPO_LOCK(GPP_D0, 1, LOCK_CONFIG), /* D1 : ISH_GP1 ==> REC_MODE */ PAD_NC(GPP_D1, NONE), /* D2 : ISH_GP2 ==> DEV_MODE_CTRL */ - PAD_NC(GPP_D2, NONE), + PAD_CFG_GPO_LOCK(GPP_D2, 0, LOCK_CONFIG), /* D3 : ISH_GP3 ==> BOOT_IND */ PAD_NC(GPP_D3, NONE), /* D9 : ISH_SPI_CS# ==> NC */ @@ -54,6 +54,8 @@ static const struct pad_config override_gpio_table[] = { PAD_CFG_GPI_LOCK(GPP_D10, NONE, LOCK_CONFIG), /* D13 : ISH_UART0_RXD ==> NC */ PAD_NC_LOCK(GPP_D13, NONE, LOCK_CONFIG), + /* D14 : ISH_UART0_TXD ==> QSPI_MR_N */ + PAD_CFG_GPO_LOCK(GPP_D14, 1, LOCK_CONFIG), /* D15 : ISH_UART0_RTS# ==> USI_RST_L */ PAD_CFG_GPO(GPP_D15, 1, DEEP), /* D16 : ISH_UART0_CTS# ==> USI_INT */ -- cgit v1.2.3