diff options
author | Shelley Chen <shchen@chromium.org> | 2016-05-19 16:02:45 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-05-23 13:14:17 -0700 |
commit | a84aa5ace71e5ed8ab5afc1a7c1450a3922ac5a0 (patch) | |
tree | dec8f142d4e541d4bc5c62a856ea9cb9a87fa5a6 /include | |
parent | b14f89cfdbf403af08f27472ac2d3ba355c85490 (diff) | |
download | chrome-ec-a84aa5ace71e5ed8ab5afc1a7c1450a3922ac5a0.tar.gz |
kevin: rk3399: enabling RTC wakeup
Enabled CONFIG_CMD_RTC_ALARM. EC_HOST_EVENT_RTC
is enabled when the rtc_alarm goes off,
alerting the AP to transition from S3->S0.
BUG=chrome-os-partner:52218
BRANCH=None
TEST=rtc_alarm <num> and see event set in ec console
after <num> seconds. Also, check if new bit set
through hostevent command in ec before/after
rtc_alarm goes off.
Change-Id: I53b1705ce0925000f35b9f80752035d198db3310
Signed-off-by: Shelley Chen <shchen@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/345474
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/ec_commands.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h index faeeb412fb..bc5b342817 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -434,6 +434,9 @@ enum host_event_code { /* Keyboard fastboot combo has been pressed */ EC_HOST_EVENT_KEYBOARD_FASTBOOT = 25, + /* EC RTC event occurred */ + EC_HOST_EVENT_RTC = 26, + /* * The high bit of the event mask is not used as a host event code. If * it reads back as set, then the entire event mask should be |