summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/rex
diff options
context:
space:
mode:
authorTyler Wang <tyler.wang@quanta.corp-partner.google.com>2024-01-18 19:05:01 +0800
committerSubrata Banik <subratabanik@google.com>2024-01-30 14:41:33 +0000
commitcd309ba1015926901163b47b9e8c4ae3f3b11080 (patch)
treefea32aeece51934f8b7867b5fab48db311d2b4a5 /src/mainboard/google/rex
parent06798cd53f832d5551748d892921df3132b8e659 (diff)
downloadcoreboot-cd309ba1015926901163b47b9e8c4ae3f3b11080.tar.gz
coreboot-cd309ba1015926901163b47b9e8c4ae3f3b11080.tar.bz2
coreboot-cd309ba1015926901163b47b9e8c4ae3f3b11080.zip
mb/google/rex/var/karis: Set SOC_TCHSCR_RST output low in bootblock
Check MTL EDS2, SOC_TCHSCR_RST(GPP_C01) default setting is NF1. Set SOC_TCHSCR_RST to output low in early_gpio_table. BUG=none TEST=Build and test on karis, touchscreen function works Change-Id: Ieebd3cf3c320bc895d036c372f792ec7b5d7ebf9 Signed-off-by: Tyler Wang <tyler.wang@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80000 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kapil Porwal <kapilporwal@google.com> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src/mainboard/google/rex')
-rw-r--r--src/mainboard/google/rex/variants/karis/gpio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/rex/variants/karis/gpio.c b/src/mainboard/google/rex/variants/karis/gpio.c
index 8c0f9293dd5b..6bd23ca67b4e 100644
--- a/src/mainboard/google/rex/variants/karis/gpio.c
+++ b/src/mainboard/google/rex/variants/karis/gpio.c
@@ -403,6 +403,8 @@ static const struct pad_config early_gpio_table[] = {
/* GPP_C00 : [] ==> EN_TCHSCR_PWR */
PAD_CFG_GPO(GPP_C00, 1, DEEP),
+ /* GPP_C01 : [] ==> SOC_TCHSCR_RST_R_L */
+ PAD_CFG_GPO(GPP_C01, 0, DEEP),
};
static const struct pad_config romstage_gpio_table[] = {