summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Lin <tim2.lin@ite.corp-partner.google.com>2021-12-03 10:51:33 +0800
committerCommit Bot <commit-bot@chromium.org>2021-12-09 22:15:19 +0000
commit90d9caf160e1f7c6ca91e1ab942b75925df92dfb (patch)
treefe34b37fa718f446c294ba499e42d3760a9ec2c4
parent169c7ea6227f162f3c5c7f7c609e9a6477377cc2 (diff)
downloadchrome-ec-90d9caf160e1f7c6ca91e1ab942b75925df92dfb.tar.gz
zephyr: hayato: adjust hook tick interval
The hook tick interval refers to the setting of it8xxx2 of CROS adjusted to 500ms(default:250ms), which will reduce power consumption. BUG=b:192354255 BRANCH=none TEST=zmake testall TEST=compared with 250ms: S0: power saving ~0.21mA S3: power saving ~0.29mA G3: power saving ~0.34mA Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com> Change-Id: I542e622605662f2d84a1dbc6b1d9e71dcec4a4c7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3315764 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
-rw-r--r--zephyr/boards/riscv/asurada/asurada_defconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/zephyr/boards/riscv/asurada/asurada_defconfig b/zephyr/boards/riscv/asurada/asurada_defconfig
index 60c04020f7..6f4fa07a17 100644
--- a/zephyr/boards/riscv/asurada/asurada_defconfig
+++ b/zephyr/boards/riscv/asurada/asurada_defconfig
@@ -40,6 +40,9 @@ CONFIG_PLATFORM_EC_CONSOLE_CMD_FLASH=y
CONFIG_PLATFORM_EC_FLASH_CROS=y
CONFIG_SOC_FLASH_ITE_IT8XXX2=y
+# Hook tick
+CONFIG_CROS_EC_HOOK_TICK_INTERVAL=500000
+
# I2C
CONFIG_I2C_ITE_IT8XXX2=y
CONFIG_PLATFORM_EC_I2C=y