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>
This commit is contained in:
Duncan Laurie 2018-10-29 16:49:02 -07:00 committed by Duncan Laurie
parent f95b4a708e
commit db48f7ea48
1 changed files with 3 additions and 0 deletions

View File

@ -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)
{