[coreboot-gerrit] Change in coreboot[master]: ec/google/chromeec: Add _PRW property to CREC device

Furquan Shaikh (Code Review) gerrit at coreboot.org
Wed Jan 24 04:38:37 CET 2018


Furquan Shaikh has uploaded this change for review. ( https://review.coreboot.org/23399


Change subject: ec/google/chromeec: Add _PRW property to CREC device
......................................................................

ec/google/chromeec: Add _PRW property to CREC device

This change adds _PRW property to CREC device that allows Linux kernel
to identify CREC as a wakeup source.

BUG=b:69118395
TEST=Verified following steps:
1. Under sys devices for CREC: "echo enabled > wakeup"
2. Lidclose/Lidopen -- Verified that wakeup_count increases
3. Mode change -- Verified that wakeup_count increases

Change-Id: Ib0a687e171c7e5c81325b39f47c9a2462553fe3e
Signed-off-by: Furquan Shaikh <furquan at chromium.org>
---
M src/ec/google/chromeec/acpi/cros_ec.asl
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/23399/1

diff --git a/src/ec/google/chromeec/acpi/cros_ec.asl b/src/ec/google/chromeec/acpi/cros_ec.asl
index 7f3afea..b246fe3 100644
--- a/src/ec/google/chromeec/acpi/cros_ec.asl
+++ b/src/ec/google/chromeec/acpi/cros_ec.asl
@@ -18,6 +18,9 @@
 	Name (_HID, "GOOG0004")
 	Name (_UID, 1)
 	Name (_DDN, "EC Command Device")
+#ifdef EC_ENABLE_WAKE_PIN
+	Name (_PRW, Package () { EC_ENABLE_WAKE_PIN, 0x5 })
+#endif
 
 #ifdef EC_ENABLE_MKBP_DEVICE
 	Device (CKSC)

-- 
To view, visit https://review.coreboot.org/23399
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib0a687e171c7e5c81325b39f47c9a2462553fe3e
Gerrit-Change-Number: 23399
Gerrit-PatchSet: 1
Gerrit-Owner: Furquan Shaikh <furquan at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180124/a3636342/attachment-0001.html>


More information about the coreboot-gerrit mailing list