chrome-ec/power
Jett Rink 502364851c power: add chipset_in_or_transitioning_to_state
We need a method that we can call from the chipset notify hooks that can
clearly distinguish which state you are about to be in. This is made
evident by the child CL for putting a MUX into low power mode in S5.
Without this method, we have to put chipset state into the PD task
variable and use that instead (since chipset_in_state won't work because
we are in the S3S5 state)

BRANCH=none
BUG=b:112136208,b:111196155,chromium:736508
TEST=On Phaser the 3300_pd_a drops from 92mW to 32 mW when the charger
is plugged into C1 and the SoC is in S5. The rail also says at 32mW
after
removing and plugging the power back in while the SoC is in S5. Also
ensured that power is low upon first insertion and AP does not come on
automatically.

Change-Id: I93cce2aa319c9689efce222919e5389471001a00
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1211368
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1230981
Reviewed-by: Martin Roth <martinroth@chromium.org>
Commit-Queue: Martin Roth <martinroth@chromium.org>
Tested-by: Martin Roth <martinroth@chromium.org>
2018-09-18 15:38:08 +00:00
..
apollolake.c reset: Log the reason for AP resets. 2018-07-26 04:07:41 -07:00
apollolake.h power: Group Intel x86 power sequencing common code 2017-01-20 22:40:32 -08:00
braswell.c reset: Log the reason for AP resets. 2018-07-26 04:07:41 -07:00
build.mk icelake: Add power sequencing support for icelake 2018-07-27 19:11:09 -07:00
cannonlake.c reset: Log the reason for AP resets. 2018-07-26 04:07:41 -07:00
cannonlake.h Meowth: Added initial board file. 2017-11-15 20:21:12 -08:00
common.c power: add chipset_in_or_transitioning_to_state 2018-09-18 15:38:08 +00:00
ec_driven.c ryu: add a dummy power module for controlling sensors. 2014-11-18 05:19:47 +00:00
icelake.c ICL: Fix the timeout value for SUS_SLP_L in G3S5 state 2018-08-22 04:07:42 -07:00
icelake.h icelake: Add power sequencing support for icelake 2018-07-27 19:11:09 -07:00
intel_x86.c intel_x86: fix the build error when removing CONFIG_POWER_S0IX 2018-08-09 22:04:25 -07:00
intel_x86.h Fizz: add CONFIG_BOARD_HAS_RTC_RESET 2018-06-07 16:52:26 -07:00
mt817x.c reset: Log the reason for AP resets. 2018-07-26 04:07:41 -07:00
mt8183.c power/mt8183: Keep PMIC_WATCHDOG_L low in S5/S3 2018-08-31 11:20:03 -07:00
rk3288.c reset: Log the reason for AP resets. 2018-07-26 04:07:41 -07:00
rk3399.c reset: Log the reason for AP resets. 2018-07-26 04:07:41 -07:00
sdm845.c cheza: Disable interrupts which are floating when switchcap off 2018-08-31 05:22:51 -07:00
skylake.c reset: Log the reason for AP resets. 2018-07-26 04:07:41 -07:00
skylake.h skylake: Add workaround for boards that cannot save reset flags 2017-05-25 12:25:20 -07:00
stoney.c reset: Log the reason for AP resets. 2018-07-26 04:07:41 -07:00