Go to file
Daisuke Nojiri a029c7a27f power: Allow board to take custom action on G3 timer expiration
This patch introduces board_system_is_idle callback function. It's
called when system is in G3. A board can customize its action taken
when system is idle in G3 using battery thresholds, expiration timer,
etc. determined at runtime.

Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>

BUG=none
BRANCH=nami,strago,coral
TEST=Verify Vayne cut off battery on G3 idle expiration while other
Nami's hibernate.

Change-Id: I6118a074ac7d844b99d9c0f3eb638b72d5894008
Reviewed-on: https://chromium-review.googlesource.com/1512623
Commit-Ready: Daisuke Nojiri <dnojiri@chromium.org>
Tested-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
2019-03-28 19:04:16 -07:00
baseboard grunt: Check IRQ and HPD in DPStatus message. 2019-03-26 04:42:45 -07:00
board power: Allow board to take custom action on G3 timer expiration 2019-03-28 19:04:16 -07:00
builtin build: add centroiding C++ support 2019-01-24 00:51:41 -08:00
chip stm32f0: Allow per-channel sampling rate setting 2019-03-28 14:14:06 -07:00
common common/usb_pd_tcpc: Ignore repeat messages 2019-03-28 14:13:58 -07:00
core mt_scp: Support ROM section on internal SRAM. 2019-03-27 05:57:29 -07:00
cts eCTS: Run openocd and lsusb as a root 2017-07-08 20:38:53 -07:00
docs docs: add core runtime design documentation 2019-02-19 22:15:32 -08:00
driver anx7447.c: change VBUS present detection interface 2019-03-28 19:04:06 -07:00
extra servo_updater: make regex more robust 2019-03-28 11:17:20 -07:00
fuzz cr50_fuzz: Add owners files for fuzz target. 2019-01-08 01:59:10 -08:00
include power: Allow board to take custom action on G3 timer expiration 2019-03-28 19:04:16 -07:00
power power: Allow board to take custom action on G3 timer expiration 2019-03-28 19:04:16 -07:00
test common: add flash event log facility 2019-03-26 21:45:38 -07:00
third_party/boringssl aes-gcm: Adapt AES-GCM to build for EC 2018-09-21 00:50:59 -07:00
util ectool: fix help message for sub-command - usbchargemode. 2019-03-28 14:14:05 -07:00
.checkpatch.conf checkpatch: reinstate check for C99 style comments 2019-01-16 12:29:04 -08:00
.clang-format .clang-format: add more style options 2019-03-01 23:41:21 -08:00
.dir-locals.el ec: Add directory local configuration for Emacs 2019-03-01 19:50:22 -08:00
.gitignore Makefile.rules: Add targets to see file size differences 2016-11-15 17:43:21 -08:00
COMMIT-QUEUE.ini COMMIT-QUEUE: add cheza and flapjack to pre-cq 2019-03-01 01:08:38 -08:00
LICENSE Add LICENSE file to project 2012-05-11 09:11:52 -07:00
Makefile Makefile: Clarify/fix PDIR assignement 2019-02-27 04:59:12 -08:00
Makefile.rules Makefile: fix compatibility with Protobuf 3.7.0 2019-03-21 08:07:19 -07:00
Makefile.toolchain Makefile: fix compatibility with Protobuf 3.7.0 2019-03-21 08:07:19 -07:00
OWNERS Add OWNERS files 2014-04-02 19:58:53 +00:00
PRESUBMIT.cfg PRESUBMIT: enable kernel-doc check for include/ec_commands.h 2018-12-12 13:55:56 -08:00
README README: Add link to quick-build instructions 2015-12-07 13:49:35 -08:00
README.fmap Update EC config and FMAP to reserve room for vboot signatures 2012-05-04 14:42:58 -07:00
setup.py servo_updater: include sweetberry into servo_updater logic 2019-01-03 15:04:45 -08:00

README

For an overview of the Embedded Controller firmware, refer to

http://www.chromium.org/chromium-os/2014-firmware-summit

For instructions on building from source, refer to

http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly