diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2017-07-14 13:04:19 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-07-28 15:04:24 -0700 |
commit | 2f09d4adea3aa4588da24521252c7efe067068f8 (patch) | |
tree | c53312b5df08528e8349db4a7f5d63bae973ecda /include | |
parent | 5f9153638677d84b96fb924aca1b4349d8495419 (diff) | |
download | chrome-ec-2f09d4adea3aa4588da24521252c7efe067068f8.tar.gz |
power: Allow host to request higher-power wakeable S3
Allow host to request a higher-power S3 variant, "wakeable S3", in which
more wakeup sources will be enabled by the EC. The actual implementation
and list of wake sources is left up to the chipset power driver and/or
board code.
BUG=b:63037490
BRANCH=gru
TEST=With subsequent commit, compile on scarlet w/ power sequencing
version = 2.
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Change-Id: I469f0cd969052f173cb176196bb6d05f6f76fdb5
Reviewed-on: https://chromium-review.googlesource.com/572210
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Philip Chen <philipchen@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/ec_commands.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h index 811627776f..30427dfafa 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -3538,7 +3538,9 @@ enum host_sleep_event { HOST_SLEEP_EVENT_S3_SUSPEND = 1, HOST_SLEEP_EVENT_S3_RESUME = 2, HOST_SLEEP_EVENT_S0IX_SUSPEND = 3, - HOST_SLEEP_EVENT_S0IX_RESUME = 4 + HOST_SLEEP_EVENT_S0IX_RESUME = 4, + /* S3 suspend with additional enabled wake sources */ + HOST_SLEEP_EVENT_S3_WAKEABLE_SUSPEND = 5, }; struct __ec_align1 ec_params_host_sleep_event { |