diff options
author | Aseda Aboagye <aaboagye@google.com> | 2020-06-03 16:32:40 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-06-09 23:35:15 +0000 |
commit | 8a3de00ee26e0e9761a0812cc7529a4e6547a344 (patch) | |
tree | f47d875eea52162a206b491b5c5ea5b4c8024b4d /power | |
parent | 3e39eec81f5965be127771bb71a6b0c2fb1a253e (diff) | |
download | chrome-ec-8a3de00ee26e0e9761a0812cc7529a4e6547a344.tar.gz |
JSL: Wait 60ms to turn off PP5000_U after PP3300_A
For Jasperlake, we need to wait 60ms after PP3300_A goes down before
turning off PP5000_U. This time is needed to allow VCCIN AUX to
discharge properly.
BUG=b:157784504
BRANCH=None
TEST=Build and flash waddledoo, verify that a 60ms delay is added when
PP3300_A turns off when shutting down.
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Change-Id: I0fc08bfd597c0e0264f4ff52ccec3a1504f9fb8e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2229605
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Auto-Submit: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'power')
-rw-r--r-- | power/icelake.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/power/icelake.c b/power/icelake.c index eb783a0417..7f91e48006 100644 --- a/power/icelake.c +++ b/power/icelake.c @@ -101,6 +101,13 @@ void chipset_force_shutdown(enum chipset_shutdown_reason reason) /* Turn off DSW load switch. */ GPIO_SET_LEVEL(GPIO_EN_PP3300_A, 0); + /* + * For JSL, we need to wait 60ms before turning off PP5000_U to allow + * VCCIN_AUX time to discharge. + */ + if (IS_ENABLED(CONFIG_CHIPSET_JASPERLAKE)) + msleep(60); + /* Turn off PP5000 rail */ if (IS_ENABLED(CONFIG_POWER_PP5000_CONTROL)) power_5v_enable(task_get_current(), 0); |