summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/amenia/ec.h
diff options
context:
space:
mode:
authorShaunak Saha <shaunak.saha@intel.com>2016-07-11 23:21:33 -0700
committerAaron Durbin <adurbin@chromium.org>2016-07-15 21:02:20 +0200
commit9b4be0fce06879ca6a616bedc5992a8e7ea4b086 (patch)
treea202e0a7d5a9d72d0897b23f219ad73ff4cae6f0 /src/mainboard/intel/amenia/ec.h
parent89e7b49a114f60f2fddf5f409dea0025785d4604 (diff)
intel/amenia: Add wake-up from lid open
This patch adds support to wake up from S3 on lidopen. mainboard.asl has the _PRW defined for the wakeup support in S3. BUG = chrome-os-partner:53992 TEST = Platform wakes up from S3 on lidopen. Change-Id: I48b456baf5f7e1c2f28454fa66bb90ad761bb103 Signed-off-by: Shaunak Saha <shaunak.saha@intel.com> Reviewed-on: https://review.coreboot.org/15618 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/intel/amenia/ec.h')
-rw-r--r--src/mainboard/intel/amenia/ec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/intel/amenia/ec.h b/src/mainboard/intel/amenia/ec.h
index ba3962af95..d23ed07ae4 100644
--- a/src/mainboard/intel/amenia/ec.h
+++ b/src/mainboard/intel/amenia/ec.h
@@ -26,6 +26,9 @@
*/
#define EC_SCI_GPI GPE0_DW1_11
+/* GPIO_22 is the EC_SOC_WAKE and is used to wake up from S3 on LID open */
+#define GPE_EC_WAKE GPE0_DW1_22
+
#define MAINBOARD_EC_SCI_EVENTS \
(EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_CLOSED) |\
EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_OPEN) |\