summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKane Chen <kane_chen@pegatron.corp-partner.google.com>2019-11-08 15:52:29 +0800
committerSubrata Banik <subrata.banik@intel.com>2019-11-13 05:02:33 +0000
commit799184397a06966403b9b2f3f5b53dba27eb272a (patch)
tree9a6113226265e8c7317ddd0aa1dd55b6117567c3
parent87c52809b2b6208ba51fea3ec379fdb6bacf250f (diff)
mb/google/hatch/variants/helios: Fix leakage voltage problem on touchscreen
Set GPP_C4 default to low to fix leakage voltage problem on touchscreen during power on. BUG=b:142368161 BRANCH=Master TEST=emerge-hatch coreboot chromeos-ec chromeos-bootimage Flash FW to DUT, and make sure touchscreen works. Signed-off-by: Kane Chen <kane_chen@pegatron.corp-partner.google.com> Change-Id: Ie9197192c9d6dfb30c10559990c6010b1b2d3a45 Reviewed-on: https://review.coreboot.org/c/coreboot/+/36670 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Shelley Chen <shchen@google.com> Reviewed-by: Subrata Banik <subrata.banik@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/hatch/variants/helios/gpio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/hatch/variants/helios/gpio.c b/src/mainboard/google/hatch/variants/helios/gpio.c
index bebcf32662..85eb3fc156 100644
--- a/src/mainboard/google/hatch/variants/helios/gpio.c
+++ b/src/mainboard/google/hatch/variants/helios/gpio.c
@@ -33,6 +33,8 @@ static const struct pad_config gpio_table[] = {
PAD_NC(GPP_B19, NONE),
/* C1 : SMBDATA ==> NC */
PAD_NC(GPP_C1, NONE),
+ /* C4 : TOUCHSCREEN_DIS_L */
+ PAD_CFG_GPO(GPP_C4, 0, DEEP),
/* C6 : GPP_C6 ==> NC */
PAD_NC(GPP_C6, NONE),
/* C7 : GPP_C7 ==> NC */