summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/variants/boten/gpio.c
diff options
context:
space:
mode:
authoralec.wang <alec.wang@lcfc.corp-partner.google.com>2020-09-29 11:10:28 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-10-20 11:50:39 +0000
commit3704b6d4abda30756d765211ea534c3c4a7d4323 (patch)
tree44f4561586ece851a280deb362031f8f4fe6328d /src/mainboard/google/dedede/variants/boten/gpio.c
parentdbe8415245ebf31336b11c31cf8dcbb247e33384 (diff)
mb/google/dedede: add PEN for Boten
Update devicetree of boten that enable stylus BUG=b:160752604 BRANCH=NONE TEST=build bios and verify function for boten Signed-off-by: alec.wang <alec.wang@lcfc.corp-partner.google.com> Change-Id: Ifbcac18fcf758f3d870a6af0d1b03e34369414c0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/45807 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marco Chen <marcochen@google.com> Reviewed-by: Jamie Chen <jamie.chen@intel.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/mainboard/google/dedede/variants/boten/gpio.c')
-rw-r--r--src/mainboard/google/dedede/variants/boten/gpio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/boten/gpio.c b/src/mainboard/google/dedede/variants/boten/gpio.c
index 05a567f65c..f889c7fd69 100644
--- a/src/mainboard/google/dedede/variants/boten/gpio.c
+++ b/src/mainboard/google/dedede/variants/boten/gpio.c
@@ -7,6 +7,8 @@
/* Pad configuration in ramstage*/
static const struct pad_config gpio_table[] = {
+ /* C12 : AP_PEN_DET_ODL */
+ PAD_CFG_GPI_SCI(GPP_C12, NONE, DEEP, EDGE_SINGLE, NONE),
/* C18 : AP_I2C_EMR_SDA */
PAD_NC(GPP_C18, NONE),
/* C19 : AP_I2C_EMR_SCL */