diff options
author | Keith Short <keithshort@chromium.org> | 2020-03-04 12:53:25 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-04-09 00:56:31 +0000 |
commit | 3b831bbf6ee24a09ef65064d7374e6ef7960eedf (patch) | |
tree | 1e60e398e159b257a3cba56bc037844d0b289d84 /baseboard/dragonegg | |
parent | 4d39614441258dc5788c2a55000abe56ac43d3fe (diff) | |
download | chrome-ec-3b831bbf6ee24a09ef65064d7374e6ef7960eedf.tar.gz |
icelake: Cleanup power sequencing for IceLake/TigerLake/JasperLake
Configure PWROK generation related signals for Ice Lake, Tiger Lake, and
Jasper Lake SoCs. The array driven sequencing provides better
flexibility for the PWROK signals, some of which may be automatically
handled by the platform and some require EC control.
BUG=b:150726713
BRANCH=none
TEST=make buildall
TEST=Volteer: verify VCCIN enable and SYS_PWROK generation during S0 and
verify signals are deasserted when exiting S0.
TEST=Wadledoo: verified 2ms delay between ALL_SYS_PWRGD and PCH_PWROK,
verified JPL sequences to S0.
Change-Id: Iceae29c65398643839b31f6cd757352282849fda
Signed-off-by: Keith Short <keithshort@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2088285
Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'baseboard/dragonegg')
-rw-r--r-- | baseboard/dragonegg/baseboard.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/baseboard/dragonegg/baseboard.c b/baseboard/dragonegg/baseboard.c index aa2ee875b7..e737530570 100644 --- a/baseboard/dragonegg/baseboard.c +++ b/baseboard/dragonegg/baseboard.c @@ -21,6 +21,7 @@ #include "gpio.h" #include "hooks.h" #include "i2c.h" +#include "icelake.h" #include "keyboard_scan.h" #include "power.h" #include "timer.h" @@ -91,6 +92,18 @@ const struct charger_config_t chg_chips[] = { const unsigned int chg_cnt = ARRAY_SIZE(chg_chips); /******************************************************************************/ +/* PWROK signal configuration */ +/* + * On Dragonegg the ALL_SYS_PWRGD, VCCST_PWRGD, PCH_PWROK, and SYS_PWROK + * signals are handled by the board. No EC control needed. + */ +const struct intel_x86_pwrok_signal pwrok_signal_assert_list[] = {}; +const int pwrok_signal_assert_count = ARRAY_SIZE(pwrok_signal_assert_list); + +const struct intel_x86_pwrok_signal pwrok_signal_deassert_list[] = {}; +const int pwrok_signal_deassert_count = ARRAY_SIZE(pwrok_signal_assert_list); + +/******************************************************************************/ /* Chipset callbacks/hooks */ /* Called on AP S5 -> S3 transition */ |