diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-06-24 13:59:22 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-06-26 09:08:22 -0700 |
commit | 67c275f849939dfa9993175f1704cb80b11a40b3 (patch) | |
tree | 14b62b4d9f4331d4233afafcec2a75359c7704fb /common/lp5562_battery_led.c | |
parent | b0c8ce69480d913b09590fe12f256a64894c6aaf (diff) | |
download | chrome-ec-67c275f849939dfa9993175f1704cb80b11a40b3.tar.gz |
pit: Drop EC clock speed to 1 MHz MSI when AP is in S3/S5
Automatically drop the clock speed to 1 MHz MSI, then disable HSI and
move to lower-power flash mode. This cuts power from 2400uA to 150uA.
Note that at 1 MHz, we drop received characters on the UART if you
type too fast (or copy/paste, or use arrow keys). Clock speed can be
manually overridden back to 16 MHz via 'clock hsi'.
BUG=chrome-os-partner:20414
BRANCH=none
TEST=with AP on, 'clock' reports 16 MHz.
with AP off, 'clock' reports 1 MHz.
Change-Id: I070c80db0aa5f3a98a7bad6050890bcc2fe008d6
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/59832
Diffstat (limited to 'common/lp5562_battery_led.c')
0 files changed, 0 insertions, 0 deletions