summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@google.com>2017-02-23 14:43:02 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-03-01 09:31:27 -0800
commit1de54970e674b3b9fbf617b0c204db881c43091e (patch)
tree24ebed95111b2b8ed783f0f5acefb034a6204ad9
parent3cdc5f55a445229612c4c751abb1cb3f3ae4d36d (diff)
downloadchrome-ec-1de54970e674b3b9fbf617b0c204db881c43091e.tar.gz
hammer: Enable LOW_POWER_IDLE
Lower hammer's power usage when USB is not in use. One thing that is missing is some way to put the trackpad into low power mode as well (should be some I2C command). BRANCH=none BUG=chrome-os-partner:62325 TEST=build and flash hammer, connect USB, check power consumption averaged over 10s is around ~57 mW (~32 mW for base EC, ~25 mW for trackpad). TEST=Suspend host, power consumption drops to ~3 mW (~0.04 mW average for base EC, ~3 mW for trackpad). TEST=Pressing keyboard key or touch the trackpad wakes the system. Change-Id: I45f5e300d9d9e2bf49a327949649b0e44b544640 Reviewed-on: https://chromium-review.googlesource.com/446220 Commit-Ready: Nicolas Boichat <drinkcat@chromium.org> Tested-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r--board/hammer/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/hammer/board.h b/board/hammer/board.h
index 610c3727bd..1302291089 100644
--- a/board/hammer/board.h
+++ b/board/hammer/board.h
@@ -22,6 +22,7 @@
#define CONFIG_UART_CONSOLE 1
/* Optional features */
+#define CONFIG_LOW_POWER_IDLE
#define CONFIG_STM_HWTIMER32
#define CONFIG_HW_CRC