summaryrefslogtreecommitdiff
path: root/src/mainboard/google/octopus/variants/fleex/gpio.c
diff options
context:
space:
mode:
authorChris Zhou <chris_zhou@compal.corp-partner.google.com>2019-06-26 16:54:19 +0800
committerFurquan Shaikh <furquan@google.com>2019-07-03 05:34:58 +0000
commit84133b161c8be7cbb41fdbdb0196fd42375e141a (patch)
treef9b5f872c6c05382a42ae514921a9dd386bcab77 /src/mainboard/google/octopus/variants/fleex/gpio.c
parent593d1cf81725506315b5e647342318228fc1889e (diff)
mb/google/octopus/variants/fleex: Enable EMR function for Grob360S
Enable EMR Pen Stylus function for Grob360S BUG=b:135968368 BRANCH=octopus TEST=EMR function working normally with HW reworked Fleex. Change-Id: Ia220dc0d3051b79b110b4df66df108f701776478 Signed-off-by: Chris Zhou <chris_zhou@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33802 Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/octopus/variants/fleex/gpio.c')
-rw-r--r--src/mainboard/google/octopus/variants/fleex/gpio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/octopus/variants/fleex/gpio.c b/src/mainboard/google/octopus/variants/fleex/gpio.c
index 89adfb8cb6..d2d0d641dc 100644
--- a/src/mainboard/google/octopus/variants/fleex/gpio.c
+++ b/src/mainboard/google/octopus/variants/fleex/gpio.c
@@ -30,7 +30,8 @@ static const struct pad_config default_override_table[] = {
PAD_NC(GPIO_138, UP_20K),
PAD_NC(GPIO_139, UP_20K),
- PAD_NC(GPIO_140, UP_20K),
+ /* GPIO_140 -- PEN_RESET */
+ PAD_CFG_GPO_IOSSTATE_IOSTERM(GPIO_140, 0, DEEP, NONE, Tx1RxDCRx0, DISPUPD),
PAD_NC(GPIO_143, UP_20K),
PAD_NC(GPIO_144, UP_20K),
PAD_NC(GPIO_145, UP_20K),