summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2019-12-06 16:15:10 -0700
committerCommit Bot <commit-bot@chromium.org>2019-12-09 22:08:07 +0000
commit0f1b8b632422baf788f47f2fc99330fbf438468c (patch)
tree3bb0c052f7fa10cdf6fc26b173f3f809431f8f30
parent2affbe3cede4946af052f0901af1a37b103660e1 (diff)
downloadchrome-ec-0f1b8b632422baf788f47f2fc99330fbf438468c.tar.gz
volteer: Delay assertion of SYS_PWROK
Delay the assertion of the PCH_SYS_PWROK signal by 50ms after assertion of PG_EC_ALL_SYS_PWRGD is detected. BUG=b:144478941, b:144867384 BRANCH=none TEST=make buildall TEST=instrument Ice Lake power module, confirm 50ms delay from PG_EC_ALL_SYS_PWRGD to PCH_SYS_PWROK Change-Id: Ib6a04cc5e1b27f3c53b5d8b00da7f0653225b0e4 Signed-off-by: Keith Short <keithshort@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1956148 Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
-rw-r--r--baseboard/volteer/baseboard.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/baseboard/volteer/baseboard.c b/baseboard/volteer/baseboard.c
index ee0765f65a..a34c0e446f 100644
--- a/baseboard/volteer/baseboard.c
+++ b/baseboard/volteer/baseboard.c
@@ -535,3 +535,14 @@ void board_overcurrent_event(int port, int is_overcurrented)
{
/* TODO: b/140561826 - check correct operation for Volteer */
}
+
+/*
+ * Delay assertion of PCH_SYS_PWROK from assertion of the PG_EC_ALL_SYS_PWRGD
+ * input. This ensures PCH_SYS_PWROK is asserted only after all rails have
+ * stabilized. See b/144478941 for full discussion.
+ */
+__override void board_icl_tgl_all_sys_pwrgood(void)
+{
+ msleep(50);
+}
+