summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2016-07-12 13:44:52 -0700
committerMartin Roth <martinroth@google.com>2016-07-14 00:04:13 +0200
commitbb6af294705c74ffc5f039a9fe56e44f913dcb14 (patch)
tree94947fea65e573cb668951d916e119ffee430533 /src/mainboard
parentf0416edc63a1a6444413133c922e1d7e1bbaff3d (diff)
downloadcoreboot-bb6af294705c74ffc5f039a9fe56e44f913dcb14.tar.xz
google/reef: Enable touchscreen in ACPI
Add support for ELAN touchscreen on I2C3. Change-Id: Id8b07a3a3fd4beca0d7ce804ba8d6859275c70d9 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/15499 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/reef/devicetree.cb9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mainboard/google/reef/devicetree.cb b/src/mainboard/google/reef/devicetree.cb
index 98e413b7d2..3425c432b3 100644
--- a/src/mainboard/google/reef/devicetree.cb
+++ b/src/mainboard/google/reef/devicetree.cb
@@ -92,7 +92,14 @@ chip soc/intel/apollolake
end
device pci 16.1 on end # - I2C 1
device pci 16.2 on end # - I2C 2
- device pci 16.3 on end # - I2C 3
+ device pci 16.3 on
+ chip drivers/i2c/generic
+ register "hid" = ""ELAN0001""
+ register "desc" = ""ELAN Touchscreen""
+ register "irq" = "IRQ_EDGE_LOW(GPIO_21_IRQ)"
+ device i2c 10 on end
+ end
+ end # - I2C 3
device pci 17.0 on
chip drivers/i2c/generic
register "hid" = ""ELAN0000""