mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +00:00
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>
This commit is contained in:
committed by
ChromeOS Commit Bot
parent
f0b33ea803
commit
38eb374fce
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user