Commit 14d61d9
fwk: disable the hibernation timer if pressing the power button
If the system is in G3 state and the extpower is not present, EC will
enter the hibernation mode. There is a worst case that the system
de-asserts the SLP_S4 signal too late (about 4 seconds), which may cause
the user can't power on the system.
Even if we increase the hibernation timer
(4c9a9f5), user may meet this issue.
Therefore, we should disable the hibernation timer when pressing the
power button to avoid EC triggering the hibernation and powering on
the system to fails.
BRANCH=fwk-sunflower-26784
BUG=EC enters hibernation mode, causing the system to fail to power
on the system
TEST=Open the chassis and shutdown the system. Wait for the chipset
state jumps to G3 and then wait for 4 seconds to press the power
button. Check that the system can be powered on.
Signed-off-by: Josh Tsai <Josh_Tsai@compal.com>1 parent fa46a90 commit 14d61d9
File tree
3 files changed
+10
-0
lines changed- zephyr/program/framework
- include
- src
3 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
29 | 34 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
192 | 196 | | |
193 | 197 | | |
194 | 198 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| 337 | + | |
337 | 338 | | |
338 | 339 | | |
339 | 340 | | |
| |||
0 commit comments