summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@chromium.org>2017-01-12 02:06:47 -0800
committerMartin Roth <martinroth@google.com>2017-01-13 17:45:04 +0100
commit13dae93501877e92f3cd81e450829c0c2e37b18a (patch)
treed6bee826e3f32c6cc1e5c3f614264b50d730fbf2
parente539ffbb70909d58e4bd7c095389d113bb947539 (diff)
downloadcoreboot-13dae93501877e92f3cd81e450829c0c2e37b18a.tar.xz
mainboard/google/poppy: Enable touchscreen in ACPI
BUG=chrome-os-partner:60513 BRANCH=None TEST=Verified that touchscreen works on poppy. Change-Id: I0fd605048b91b126ca5b5f8c1c4d6d3f46f866a3 Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://review.coreboot.org/18113 Reviewed-by: Rizwan Qureshi <rizwan.qureshi@intel.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: Martin Roth <martinroth@google.com>
-rw-r--r--src/mainboard/google/poppy/devicetree.cb10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mainboard/google/poppy/devicetree.cb b/src/mainboard/google/poppy/devicetree.cb
index fe70232951..8699bc1e2c 100644
--- a/src/mainboard/google/poppy/devicetree.cb
+++ b/src/mainboard/google/poppy/devicetree.cb
@@ -194,7 +194,15 @@ chip soc/intel/skylake
device pci 14.0 on end # USB xHCI
device pci 14.1 off end # USB xDCI (OTG)
device pci 14.2 on end # Thermal Subsystem
- device pci 15.0 on end # I2C #0
+ device pci 15.0 on
+ chip drivers/i2c/generic
+ register "hid" = ""ATML0001""
+ register "desc" = ""Atmel Touchscreen""
+ register "irq" = "IRQ_EDGE_LOW(GPP_E7_IRQ)"
+ register "probed" = "1"
+ device i2c 4b on end
+ end
+ end # I2C #0
device pci 15.1 on end # I2C #1
device pci 15.2 on end # I2C #2
device pci 15.3 on end # I2C #3