diff options
author | Ben Lok <ben.lok@mediatek.com> | 2015-08-04 21:41:53 +0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-08-05 13:33:00 +0000 |
commit | 38eb374fceed84ea499c5e27c8b2ded869c5d75f (patch) | |
tree | 4561ef3eceaa9727c21ece6b4aa2b7f36074da1c /power | |
parent | f0b33ea803acda8239526a14b090ab208a9c3ab7 (diff) | |
download | chrome-ec-38eb374fceed84ea499c5e27c8b2ded869c5d75f.tar.gz |
oak: increase the PMIC power key press time to 5 seconds.
There are 3 methods to power on the system:
1) Pulling PWRKEY low (User presses PWRKEY)
2) Setting BBWAKEUP high
3) Valid charger plug-in
We should ensure that BBWAKEUP should be high when release PWRKEY.
Due to the RTC driver of coreboot will move to ramstage, and the
setup timing of BBWAKEUP will be postpone. In order to ensure PMIC
keeping the power until coreboot pull BBWAKEUP up, it needs to
increase the PMIC power key press time to avoid PMIC turn the
power off. This change is related to:
https://chromium-review.googlesource.com/#/c/257389/
BRANCH=none
BUG=none
TEST=manual
Update coreboot with above patch, press power key and system
should power on normally.
Change-Id: I7fabc49e0b3956885cb83a0b40c31c60080d0cbc
Signed-off-by: Ben Lok <ben.lok@mediatek.com>
Reviewed-on: https://chromium-review.googlesource.com/290538
Reviewed-by: Rong Chang <rongchang@chromium.org>
Diffstat (limited to 'power')
-rw-r--r-- | power/mediatek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/power/mediatek.c b/power/mediatek.c index f9bfb08d50..47a2ce83c2 100644 --- a/power/mediatek.c +++ b/power/mediatek.c @@ -65,7 +65,7 @@ /* * The time to bootup the PMIC from power-off to power-on. */ -#define PMIC_PWRON_PRESS_TIME (3000 * MSEC) +#define PMIC_PWRON_PRESS_TIME (5000 * MSEC) /* * The minimum time to assert the PMIC THERM pin is 32us. However, |