summaryrefslogtreecommitdiff
path: root/src/mainboard/google/kahlee/variants
diff options
context:
space:
mode:
authorJustin TerAvest <teravest@google.com>2018-01-18 15:51:39 -0800
committerAaron Durbin <adurbin@chromium.org>2018-01-25 22:36:04 +0000
commitd861d4e7c38a1db59d5cc9765b91f5d6048f6e17 (patch)
tree08904f266a22f74f3941234fb60655101b23d015 /src/mainboard/google/kahlee/variants
parent9a045cf203bd05cef1b5aa8f2f01edf1eca99063 (diff)
mb/google/kahlee: Add Grunt touchscreen support
This commit adds support for an Elan touchscreen device connected over I2C via devicetree. BUG=b:72121803 TEST=Confirm the device is probed for. Change-Id: Ia9e427dbeab9088f77e3cd751b561f7b9a8cb400 Signed-off-by: Justin TerAvest <teravest@chromium.org> Reviewed-on: https://review.coreboot.org/23408 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard/google/kahlee/variants')
-rw-r--r--src/mainboard/google/kahlee/variants/grunt/devicetree.cb8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/kahlee/variants/grunt/devicetree.cb b/src/mainboard/google/kahlee/variants/grunt/devicetree.cb
index d42d40adaf..977e32d1db 100644
--- a/src/mainboard/google/kahlee/variants/grunt/devicetree.cb
+++ b/src/mainboard/google/kahlee/variants/grunt/devicetree.cb
@@ -81,4 +81,12 @@ chip soc/amd/stoneyridge
device pci 18.4 on end
device pci 18.5 on end
end #domain
+ device mmio 0xfedc5000 on
+ chip drivers/i2c/generic
+ register "hid" = ""ELAN0001""
+ register "desc" = ""ELAN Touchscreen""
+ register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_11)"
+ device i2c 10 on end
+ end
+ end
end #chip soc/amd/stoneyridge