summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHu, Hebo <hebo.hu@intel.com>2019-03-25 15:36:54 +0800
committerchrome-bot <chrome-bot@chromium.org>2019-04-08 02:51:31 -0700
commite097feb8b2db20cd2435a483517356defa222db1 (patch)
tree528c078b04f774ef1891da0871cc1a0e83dc1b76
parentb6354559eac579681232adc63449a5aed2d25950 (diff)
downloadchrome-ec-e097feb8b2db20cd2435a483517356defa222db1.tar.gz
ish/ish5: enable AON low power mode on arcada_ish board
enabled D0i-3 low power mode and reset_prep and D3 features BUG=b:122364080 BRANCH=none TEST=tested on arcada Change-Id: I6c3949a7ac229a3f33cd75bd103e343f8e9a26f9 Signed-off-by: Hu, Hebo <hebo.hu@intel.com> Reviewed-on: https://chromium-review.googlesource.com/1536487 Commit-Ready: Rushikesh S Kadam <rushikesh.s.kadam@intel.com> Commit-Ready: Hebo Hu <hebo.hu@intel.corp-partner.google.com> Tested-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Hebo Hu <hebo.hu@intel.corp-partner.google.com>
-rw-r--r--board/arcada_ish/board.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/board/arcada_ish/board.h b/board/arcada_ish/board.h
index 0d638dcdb9..36c1fc707e 100644
--- a/board/arcada_ish/board.h
+++ b/board/arcada_ish/board.h
@@ -80,6 +80,18 @@
#undef CONFIG_ADC
#undef CONFIG_SHA256
+/* power management definitions */
+#define CONFIG_LOW_POWER_IDLE
+
+#define CONFIG_ISH_PM_D0I1
+#define CONFIG_ISH_PM_D0I2
+#define CONFIG_ISH_PM_D0I3
+#define CONFIG_ISH_PM_D3
+#define CONFIG_ISH_PM_RESET_PREP
+
+#define CONFIG_ISH_D0I2_MIN_USEC (1*SECOND) /* need final tune */
+#define CONFIG_ISH_D0I3_MIN_USEC (2*SECOND) /* need final tune */
+
#ifndef __ASSEMBLER__
#include "gpio_signal.h"