Skip to content

Commit 283a549

Browse files
JohnWC-Yehamstan
authored andcommitted
fwk: tulip: assert GPU_PWR_LEVEL low only for AC-only mode
Previously, the EC always pulled it low on force_update, causing NV Diag to fail in shell mode. Now GPIO is pulled low only under AC-only condition. 0x3E07 (pull low)-> enter shell mode -> run NV diag (keep low). BRANCH=fwk-tulip-29169 BUG=NVDiag Test Fail_Error Code = 000000000818 TEST= 1. AC only(100w/180w/240) can power on 2. Run the NVDiag Test not show the error code Signed-off-by: johnwc_yeh <JohnWC_Yeh@compal.com>
1 parent ef9624f commit 283a549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zephyr/program/framework/lotus/src/cpu_power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ void update_soc_power_limit(bool force_update, bool force_no_adapter)
475475
set_gpu_gpio(GPIO_FUNC_ACDC, 1);
476476
#endif
477477

478-
if (force_update)
478+
if (force_update && !with_dc)
479479
set_nv_gpu_throttle(THROTTLE_ON, 0);
480480

481481
if (mode_ctl)

0 commit comments

Comments
 (0)