Skip to content

Commit a478fe1

Browse files
tinghan-shenCommit Bot
authored andcommitted
chip/mt_scp: mt8195 uses 32k clock when AP suspend
Use 32k clock instead of ULPOSC can significantly reduce the power consumption of SCP under S3 stage, and still able to kick SCP WDT. BRANCH=none BUG=b:197937562 TEST=low scp power in S3 stage Change-Id: If2f68a5b11e93c7e6badf2e4893f649700b5af2e Signed-off-by: Tinghan Shen <[email protected]> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3131409 Reviewed-by: Tzung-Bi Shih <[email protected]> Commit-Queue: Tzung-Bi Shih <[email protected]>
1 parent c2b7a7d commit a478fe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chip/mt_scp/mt8195/clock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ power_chipset_handle_host_sleep_event(enum host_sleep_event state,
377377
{
378378
if (state == HOST_SLEEP_EVENT_S3_SUSPEND) {
379379
CPRINTS("AP suspend");
380-
clock_select_clock(SCP_CLK_ULPOSC2_LOW_SPEED);
380+
clock_select_clock(SCP_CLK_32K);
381381
} else if (state == HOST_SLEEP_EVENT_S3_RESUME) {
382382
CPRINTS("AP resume");
383383
clock_select_clock(SCP_CLK_ULPOSC2_HIGH_SPEED);

0 commit comments

Comments
 (0)