summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2018-10-29 16:49:02 -0700
committerDuncan Laurie <dlaurie@chromium.org>2018-11-02 16:07:01 +0000
commitdb48f7ea48205f69f0c1dd86d71ba0d7fe022d4a (patch)
treed1285be49ea09b468f6d4b530d581532e25974de /src/ec
parentf95b4a708e021f4eb3cb36aa1f3bc6a2076f2f6b (diff)
downloadcoreboot-db48f7ea48205f69f0c1dd86d71ba0d7fe022d4a.tar.xz
ec/google/wilco: Add wake pin configuration
Add a way for the mainboard to provide a wake pin that the EC will use to wake the system. This defines a _PRW object. Change-Id: I94954104bbb8226683c37abc8c0465fe3c62a693 Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://review.coreboot.org/29408 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/google/wilco/acpi/ec_dev.asl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ec/google/wilco/acpi/ec_dev.asl b/src/ec/google/wilco/acpi/ec_dev.asl
index 0519ff0cd9..a3e8c48e1a 100644
--- a/src/ec/google/wilco/acpi/ec_dev.asl
+++ b/src/ec/google/wilco/acpi/ec_dev.asl
@@ -18,6 +18,9 @@ Device (WLCO)
Name (_HID, "GOOG000C")
Name (_UID, 1)
Name (_DDN, "Wilco EC Command Device")
+#ifdef EC_WAKE_PIN
+ Name (_PRW, Package () { EC_WAKE_PIN, 0x5 })
+#endif
Method (_STA)
{