Skip to content

Commit 90bce19

Browse files
committed
fwk: dogwood: Disable 5vsb suspend on DVT2
On DVT2 we had the hardware problem, we thought we could rework it, but looking back, not a lot of boards did. We do have the BIOS option to bypass the hardware problem, but it seems like many dogfooders forget (especially given how often they need to reset their settings due to fan changes). Realistically everyone on DVT2 should have this option on, anyone with reworked boards should have moved on by now to something newer. Let's force the power supply to stay on even on DVT2! BUG=HW-6519, Many people forgetting to set "force power supply on" TEST=Flash on DVT2, reset BIOS to default, board still suspends, see EC uart for "board is old" confirmation TEST=Try on newer boards, see power supply turn on and off still during suspend. BRANCH=fwk-dogwood-27111
1 parent d92df0f commit 90bce19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zephyr/program/framework/dogwood/src/power_sequence.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ void power_5vsb_enter(void)
414414
CPRINTS("current was low (<%dmA) for a long time, switching to 5vsb",
415415
INA236_MONITOR_5V_LOWER_CURRENT_MA);
416416

417-
if (board_get_version() < BOARD_VERSION_8) {
417+
if (board_get_version() < BOARD_VERSION_9) {
418418
CPRINTS("...this board is too old to turn power supply off");
419419
return;
420420
}
@@ -456,7 +456,7 @@ bool power_5vsb_exit(void)
456456
if (!power_enable_psu(1))
457457
return false;
458458

459-
if (board_get_version() < BOARD_VERSION_8) {
459+
if (board_get_version() < BOARD_VERSION_9) {
460460
CPRINTS("...power supply was already forced on because board is old");
461461
return true;
462462
}

0 commit comments

Comments
 (0)