summaryrefslogtreecommitdiff
path: root/board/ryu
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2015-09-10 14:05:48 -0700
committerchrome-bot <chrome-bot@chromium.org>2015-09-14 18:53:32 -0700
commita8d71bdb5b8d1c58c5bea1c6e034fb394a42b2c4 (patch)
tree4537a492b138f40c9e09a1fddc07765c5b481f24 /board/ryu
parent8db5a8185a704baff52947459bffb565aa9f3319 (diff)
downloadchrome-ec-a8d71bdb5b8d1c58c5bea1c6e034fb394a42b2c4.tar.gz
pd: add option to save power in S5
When we are in sink mode and not dual-role toggling, add the option to disable the CC lines polling every 10 ms (thus waking up on the VBUS transition or the 1-minute slow polling). Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=smaug BUG=chrome-os-partner:44229 TEST=on Smaug DVT, measure power consumption in S5 and wake-up time when plugging a power supply. Change-Id: Idee6581af550de01760feffe604d7bd453a625a8 Reviewed-on: https://chromium-review.googlesource.com/299022 Reviewed-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org> Trybot-Ready: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> (cherry picked from commit d14a0045568e61a36695ffee48ed39ddc60ebb3a) Reviewed-on: https://chromium-review.googlesource.com/299023 Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/ryu')
-rw-r--r--board/ryu/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/ryu/board.h b/board/ryu/board.h
index a28f147b92..ceaba64606 100644
--- a/board/ryu/board.h
+++ b/board/ryu/board.h
@@ -40,6 +40,7 @@
#define CONFIG_USB_PD_INTERNAL_COMP
#define CONFIG_USB_PD_LOGGING
#define CONFIG_USB_PD_LOG_SIZE 512
+#define CONFIG_USB_PD_LOW_POWER
#define CONFIG_USB_PD_PORT_COUNT 1
#define CONFIG_USB_PD_TCPC
#define CONFIG_USB_PD_TCPM_STUB