summaryrefslogtreecommitdiff
path: root/board/yorp/board.h
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2018-07-19 13:32:41 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-07-20 15:10:17 -0700
commita47910926eff706e406257b898fff1f7a34343a5 (patch)
tree1d9def5a26dfa960e2008f26b8aba0c407077e2f /board/yorp/board.h
parent3fe8066ca9d4b50c04ba7d338b3feb4ebba5233b (diff)
downloadchrome-ec-a47910926eff706e406257b898fff1f7a34343a5.tar.gz
yorp: Add PSL support
This CL enables PSL mode for the following wake sources: 1. LID_OPEN 2. AC_PRESENT 3. POWER_BUTTON 4. EC_RST_ODL BUG=b:79220888 BRANCH=None TEST=Tested the wake sources and ensured that the EC woke up for each case after putting the EC into hibernate mode. Also observed the pp3300_ec_mw and pp3300_pd_a_mw INA measurements. Verified that when PSL mode is entered, these both drop to 0 mW as expected. Change-Id: Ib565a40228e5abcdbf8b0ba6174f69bf216282f4 Signed-off-by: Scott Collyer <scollyer@google.com> Reviewed-on: https://chromium-review.googlesource.com/1144260 Commit-Ready: Scott Collyer <scollyer@chromium.org> Tested-by: Scott Collyer <scollyer@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Diffstat (limited to 'board/yorp/board.h')
-rw-r--r--board/yorp/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/yorp/board.h b/board/yorp/board.h
index 9528a9d178..c67cfaa5af 100644
--- a/board/yorp/board.h
+++ b/board/yorp/board.h
@@ -13,6 +13,9 @@
#define VARIANT_OCTOPUS_CHARGER_ISL9238
#include "baseboard.h"
+/* Enable PSL hibernate mode. */
+#define CONFIG_HIBERNATE_PSL
+
/* Optional features */
#define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands while in dev. */