From 43c211bee325db66e8be0ead2618ef82af7b7fcc Mon Sep 17 00:00:00 2001 From: Daniel Kurtz Date: Wed, 25 Apr 2018 11:19:27 -0600 Subject: mb/google/grunt: Add grunt touchpad wake GPE to devicestree The grunt touchpad interrupt can be used as a wake source. For grunt, the touchpad interrupt uses GPIO5 which corresponds to GEVENT7. BUG=b:77602771 TEST=In OS: # cat /proc/acpi/wakeup => D015 S3 *enabled i2c:i2c-ELAN0000:00 TEST=powerd_dbus_suspend, touching touchpad (> 1 sec) wakes from S3. Change-Id: I510642108a1257f6601f18c77cf3107573427f39 Signed-off-by: Daniel Kurtz Reviewed-on: https://review.coreboot.org/25827 Reviewed-by: Aaron Durbin Reviewed-by: Marshall Dawson Tested-by: build bot (Jenkins) --- src/mainboard/google/kahlee/variants/grunt/devicetree.cb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/google/kahlee') diff --git a/src/mainboard/google/kahlee/variants/grunt/devicetree.cb b/src/mainboard/google/kahlee/variants/grunt/devicetree.cb index f55a4244cd..cfc3198b25 100644 --- a/src/mainboard/google/kahlee/variants/grunt/devicetree.cb +++ b/src/mainboard/google/kahlee/variants/grunt/devicetree.cb @@ -125,7 +125,7 @@ chip soc/amd/stoneyridge register "hid" = ""ELAN0000"" register "desc" = ""ELAN Touchpad"" register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_5)" - # TODO(teravest): Add wake + register "wake" = "7" device i2c 15 on end end end -- cgit v1.2.3