diff options
author | Tinghan Shen <tinghan.shen@mediatek.com> | 2021-10-27 13:47:42 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-10-29 09:48:52 +0000 |
commit | 0b6b3b7abc4622d46832b1c446a201707ea4537d (patch) | |
tree | 6503a1a0f6535243fbfb3a563e2daedcaf5c464a | |
parent | 09775c3cd86a459104bbe3c8ad3f1839629739a6 (diff) | |
download | chrome-ec-0b6b3b7abc4622d46832b1c446a201707ea4537d.tar.gz |
chip/mt_scp: mt8195: change S3 clock source to 26M
The power consumption criteria of SCP in S3 stage cannot be meet by
low speed ULPOSC clock. Change it to 26M which will be closed by SPM, so
that SCP core will stop running at S3 stage and meet the criteria.
BRANCH=None
BUG=b:199444513
TEST=scp console stops response in S3, and resume when leave S3.
Change-Id: If2adbf85c0096e98a6ad5d8ff9772aad04192bca
Signed-off-by: Tinghan Shen <tinghan.shen@mediatek.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3247735
Reviewed-by: Tzung-Bi Shih <tzungbi@chromium.org>
Reviewed-by: Rong Chang <rongchang@chromium.org>
Commit-Queue: Tzung-Bi Shih <tzungbi@chromium.org>
-rw-r--r-- | chip/mt_scp/mt8195/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/mt_scp/mt8195/clock.c b/chip/mt_scp/mt8195/clock.c index 414ab4016d..1ad1706e6a 100644 --- a/chip/mt_scp/mt8195/clock.c +++ b/chip/mt_scp/mt8195/clock.c @@ -379,7 +379,7 @@ power_chipset_handle_host_sleep_event(enum host_sleep_event state, if (state == HOST_SLEEP_EVENT_S3_SUSPEND) { CPRINTS("AP suspend"); disable_watchdog(); - clock_select_clock(SCP_CLK_32K); + clock_select_clock(SCP_CLK_SYSTEM); } else if (state == HOST_SLEEP_EVENT_S3_RESUME) { clock_select_clock(SCP_CLK_ULPOSC2_HIGH_SPEED); enable_watchdog(); |