summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorEric Lai <ericr_lai@compal.corp-partner.google.com>2019-10-31 17:22:05 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-11-01 11:54:25 +0000
commit7aed33e95e6c822209c90c255b7ec127d26da832 (patch)
tree7df8fc4f4c80835136609934e5b84c719fb48f8c /src/mainboard
parent55e5cb8d4e116d70c69ca5e91f4afdbffe0d5866 (diff)
downloadcoreboot-7aed33e95e6c822209c90c255b7ec127d26da832.tar.xz
mb/google/drallion: Add second touch pad support
Add second source touch pad with i2c address 0x15. BUG=b:142629138 BRANCH=N/A TEST=check new touch pad can work properly Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com> Change-Id: Icc58dbcf307f11c368a1a5408f32111ed5841d39 Reviewed-on: https://review.coreboot.org/c/coreboot/+/36501 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Ivy Jian <ivy_jian@compal.corp-partner.google.com> Reviewed-by: Mathew King <mathewk@chromium.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/drallion/variants/drallion/devicetree.cb7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/drallion/variants/drallion/devicetree.cb b/src/mainboard/google/drallion/variants/drallion/devicetree.cb
index 1f628d6992..0de2e94e4b 100644
--- a/src/mainboard/google/drallion/variants/drallion/devicetree.cb
+++ b/src/mainboard/google/drallion/variants/drallion/devicetree.cb
@@ -373,6 +373,13 @@ chip soc/intel/cannonlake
register "probed" = "1"
device i2c 2c on end
end
+ chip drivers/i2c/generic
+ register "hid" = ""ELAN0000""
+ register "desc" = ""ELAN Touchpad""
+ register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_B3_IRQ)"
+ register "probed" = "1"
+ device i2c 15 on end
+ end
end # I2C #1
device pci 15.2 off end # I2C #2
device pci 15.3 off end # I2C #3