DAWEI CHIEN uploaded patch set #3 to this change.

View Change

mediatek/mt8183: Init SPM driver

For power saving with suspend to ram of mt8183,
this patch supports SPM suspend and loading SPM firmware.
After linux PM suspend, SPM could turn off last CPU power and
do more power-save for SOC. such like DRAM self-refresh mode,
turn off 26M crystal. And SPM need its' own firmware to do
these power-save in right time with correct condition.

BUG=none
BRANCH=none
TEST=suspend/resume pass for LPDDR4 3200

Change-Id: I3393a772f025b0912a5a25a63a87512454fbc86e
Signed-off-by: Dawei Chien <dawei.chien@mediatek.com>
---
M src/soc/mediatek/mt8183/Makefile.inc
M src/soc/mediatek/mt8183/include/soc/spm.h
A src/soc/mediatek/mt8183/include/soc/spm_init.h
M src/soc/mediatek/mt8183/soc.c
A src/soc/mediatek/mt8183/spm.c
5 files changed, 735 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/45/34545/3

To view, visit change 34545. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3393a772f025b0912a5a25a63a87512454fbc86e
Gerrit-Change-Number: 34545
Gerrit-PatchSet: 3
Gerrit-Owner: DAWEI CHIEN <dawei.chien@mediatek.com>
Gerrit-Reviewer: DAWEI CHIEN <dawei.chien@mediatek.com>
Gerrit-Reviewer: Huayang Duan <huayang.duan@mediatek.corp-partner.google.com>
Gerrit-Reviewer: Hung-Te Lin <hungte@chromium.org>
Gerrit-Reviewer: Julius Werner <jwerner@chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: Tristan Hsieh <tristan.shieh@mediatek.com>
Gerrit-Reviewer: You-Cheng Syu <youcheng@google.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-CC: SJ Huang <sj.huang@mediatek.corp-partner.google.com>
Gerrit-MessageType: newpatchset