summaryrefslogtreecommitdiff
path: root/util/iteflash.c
diff options
context:
space:
mode:
authorMulin Chao <mlchao@nuvoton.com>2021-03-22 20:46:06 -0700
committerCommit Bot <commit-bot@chromium.org>2021-03-31 02:59:44 +0000
commit1ca55af90536a83deb22e8ad85da78f5c3c30deb (patch)
tree3437ab9edeedec5eabd75cedd86b68ca5c58d451 /util/iteflash.c
parent98dcf8f4b48d7e3b956914bc9cb25468a56a05eb (diff)
downloadchrome-ec-1ca55af90536a83deb22e8ad85da78f5c3c30deb.tar.gz
zephyr: npcx: add hibernate callback implementation for cros_system.
This CL uses soc-specific functions for supporting hibernating. It includes: 1. npcx_pinctrl_psl_input_configure() - Used to configure PSL input pads from "psl-in-pads" property which detect the wake-up events. After ec received them, PSL_OUT will be set to active level and the related circuit will turn on core power supply (VCC1) from standby power state (ultra-low-power mode) later. 2. npcx_pinctrl_psl_output_set_inactive() - Used to set PSL output pad to inactive level. When PSL_OUT is in inactive level, VCC1 is turned off for entering standby power state (ultra-low-power mode). Use EC_SYSTEM_HIBERNATE_PSL to turn on this feature. BUG=b:173787365 BRANCH=none TEST=zmake testall, Press 'hibernate' on console and each PSL input can wake-up ec from hibernating on volteer. Cq-Depend: chromium:2793324 Signed-off-by: Mulin Chao <mlchao@nuvoton.com> Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com> Change-Id: I0fe3a9eb0c56e679c56bcb8abc1c6353ec46b5c9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2794206 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'util/iteflash.c')
0 files changed, 0 insertions, 0 deletions