summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/lemp9/gpio.h
diff options
context:
space:
mode:
authorJeremy Soller <jeremy@system76.com>2020-07-20 15:18:29 -0600
committerMichael Niewöhner <c0d3z3r0@review.coreboot.org>2020-09-06 16:37:03 +0000
commit2d28c4cff4de4ae286918e78204d43340f764ea4 (patch)
tree93d2f67c10b259b2c145b589ad75341ce48df3b5 /src/mainboard/system76/lemp9/gpio.h
parente83d30bb5a240757b2e0a712e012c9fe6ab44f95 (diff)
mb/system76/lemp9: enable I2C HID touchpad
Enable the I2C HID driver, configure I2C bus 0 and add the touchpad device to the devicetree. Tested on lemp9, touchpad confirmed to use i2c-hid driver in Linux instead of PS/2. Signed-off-by: Jeremy Soller <jeremy@system76.com> Change-Id: Ic3a90fda134b1d53f28ab687b3033ec52fee843b Reviewed-on: https://review.coreboot.org/c/coreboot/+/43623 Reviewed-by: Michael Niewöhner Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/system76/lemp9/gpio.h')
-rw-r--r--src/mainboard/system76/lemp9/gpio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/system76/lemp9/gpio.h b/src/mainboard/system76/lemp9/gpio.h
index 9c99f13b64..3373c6c0b1 100644
--- a/src/mainboard/system76/lemp9/gpio.h
+++ b/src/mainboard/system76/lemp9/gpio.h
@@ -138,8 +138,8 @@ static const struct pad_config gpio_table[] = {
PAD_NC(GPP_B2, UP_20K),
// CPU Misc
- // GPP_B3
- _PAD_CFG_STRUCT(GPP_B3, 0x80100100, 0x0000),
+ // GPP_B3 (touchpad interrupt)
+ PAD_CFG_GPI_APIC_EDGE_LOW(GPP_B3, NONE, PLTRST),
// NC
PAD_NC(GPP_B4, UP_20K),