summaryrefslogtreecommitdiff
path: root/include/system.h
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2018-06-07 16:01:51 +0200
committerchrome-bot <chrome-bot@chromium.org>2018-06-15 10:56:48 -0700
commit13a0b3437eb59a168c4f9c4d1ebc3d217ced3ba5 (patch)
tree54ed4c967c27ec40009086a54779ad73bb2a2ab1 /include/system.h
parent727c5dad9bad954c4b62144dc1a536dccd281666 (diff)
downloadchrome-ec-13a0b3437eb59a168c4f9c4d1ebc3d217ced3ba5.tar.gz
stm32: low power idle for STM32H7
Enter STOP mode when possible. Use LPTIM1 clocked on the 32-Khz LSI as a time keeper / wake-up event during STOP mode. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=poppy BUG=b:75105319 TEST=On ZerbleBarn, use on-board INAs to measure idle power consumption, w/o CONFIG_LOW_POWER_IDLE pp3300_h7_ma:14.0 with CONFIG_LOW_POWER_IDLE pp3300_h7_ma:1.84 Change-Id: I1b72a8f6964c7bc6174c07458f307dda57fe71f3 Reviewed-on: https://chromium-review.googlesource.com/1096767 Commit-Ready: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'include/system.h')
-rw-r--r--include/system.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/system.h b/include/system.h
index 9b58203c5c..c40abc7993 100644
--- a/include/system.h
+++ b/include/system.h
@@ -426,6 +426,7 @@ enum {
SLEEP_MASK_PWM = (1 << 10), /* PWM output is enabled */
SLEEP_MASK_PHYSICAL_PRESENCE = (1 << 11), /* Physical presence
* detection ongoing */
+ SLEEP_MASK_PLL = (1 << 12), /* High-speed PLL in-use */
SLEEP_MASK_FORCE_NO_DSLEEP = (1 << 15), /* Force disable. */