summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2018-04-20 18:41:50 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-04-23 09:11:54 +0000
commit2a466cc283185b9fc3af853df3bd3d2c583ad409 (patch)
treead21db08fad9065c2d29bcd6df9b275f39f2ec60 /src/mainboard
parent57003d48e7629274b1cf1919a2ea3151610353e9 (diff)
mb/google/poppy/atlas: Enable trackpad
This enables the i2c trackpad on atlas. BUG=b:75454415 TEST=able to move pointer using trackpad Change-Id: If4a82aa605ec68fd38e52c13406eaf803f9e86cc Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://review.coreboot.org/25759 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/poppy/variants/atlas/devicetree.cb12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/mainboard/google/poppy/variants/atlas/devicetree.cb b/src/mainboard/google/poppy/variants/atlas/devicetree.cb
index 3d31c40ce3..4444549784 100644
--- a/src/mainboard/google/poppy/variants/atlas/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/atlas/devicetree.cb
@@ -247,7 +247,17 @@ chip soc/intel/skylake
device pci 14.2 on end # Thermal Subsystem
device pci 15.0 on end # I2C #0 - Touchscreen
device pci 15.1 off end # I2C #1
- device pci 15.2 on end # I2C #2 - Trackpad
+ device pci 15.2 on
+ chip drivers/i2c/generic
+ register "hid" = ""ELAN0000""
+ register "desc" = ""ELAN Touchpad""
+ register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_A19_IRQ)"
+ # TODO(caveh): fix wake source
+ #register "wake" = "GPE0_DWx_19" not possible?
+ register "probed" = "1" # may not be present
+ device i2c 0x15 on end
+ end
+ end # I2C #2 - Trackpad
device pci 15.3 on end # I2C #3 - Camera
device pci 16.0 on end # Management Engine Interface 1
device pci 16.1 off end # Management Engine Interface 2