diff options
author | Todd Broch <tbroch@chromium.org> | 2013-03-15 11:15:13 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-03-26 18:03:20 -0700 |
commit | 0a2603e8ea234a9263a0a2e6be5daed362c12d72 (patch) | |
tree | 586ecc64da8f2b0b72824ff46d7753579c7c09af /include/clock.h | |
parent | c5127abeee78a4084188e6b51b7ef6129abaaad1 (diff) | |
download | chrome-ec-0a2603e8ea234a9263a0a2e6be5daed362c12d72.tar.gz |
spring: Enable low power mode.
This mode was disabled initially to make sure it didn't side-effect
things during early development. Now that branch is cut lets
re-enable and backport when stability is proven.
Signed-off-by: Todd Broch <tbroch@chromium.org>
BRANCH=spring
BUG=chrome-os-partner:17587
TEST=manual, install & run on Spring ... system functions.
When device is plugged stays awake regardless of battery state.
When device is unplugged sleeps and power is saved.
When device is re-plugged awakes.
Change-Id: I9a85fa7376d1a94c9864beed3d053e8b49480959
Reviewed-on: https://gerrit.chromium.org/gerrit/45594
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Todd Broch <tbroch@chromium.org>
Commit-Queue: Todd Broch <tbroch@chromium.org>
Diffstat (limited to 'include/clock.h')
-rw-r--r-- | include/clock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clock.h b/include/clock.h index b2e3b81ac1..e70df962b1 100644 --- a/include/clock.h +++ b/include/clock.h @@ -46,6 +46,7 @@ enum { SLEEP_MASK_UART = (1 << 1), /* UART communication on-going */ SLEEP_MASK_I2C = (1 << 2), /* I2C master communication on-going */ SLEEP_MASK_CHARGING = (1 << 3), /* Charging loop on-going */ + SLEEP_MASK_USB_PWR = (1 << 4), /* USB power loop on-going */ SLEEP_MASK_FORCE = (1 << 31), /* Force disabling low power modes */ }; |