summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTingHan.Shen <tinghan.shen@mediatek.com>2020-11-19 15:58:44 +0800
committerYidi Lin <yidi.lin@mediatek.com>2020-12-15 10:53:03 +0800
commite278fe574292b6c61e329bd2f7929d35eb093d76 (patch)
treede35687f6bd39ae9c0fe9a71f63f1854d2099cf3
parent2054c7daf0810cc6760472059adc0cfdcdb86223 (diff)
downloadblobs-e278fe574292b6c61e329bd2f7929d35eb093d76.tar.gz
soc/mediatek/mt8192: Add SSPM firmware
Add sspm.bin to support suspend/resume. BUG=b:173653085 Signed-off-by: TingHan.Shen <tinghan.shen@mediatek.com> Change-Id: Ibd1088b7cdf747bc5b32aae6bf34db09207928bc
-rw-r--r--soc/mediatek/mt8192/README.md23
-rw-r--r--soc/mediatek/mt8192/sspm.binbin0 -> 137228 bytes
-rw-r--r--soc/mediatek/mt8192/sspm.bin.md51
-rw-r--r--soc/mediatek/mt8192/sspm_release_notes.txt4
4 files changed, 28 insertions, 0 deletions
diff --git a/soc/mediatek/mt8192/README.md b/soc/mediatek/mt8192/README.md
index ff4b066..8dbd312 100644
--- a/soc/mediatek/mt8192/README.md
+++ b/soc/mediatek/mt8192/README.md
@@ -3,6 +3,7 @@
- dpm.dm
- dpm.pm
- spm_firmware.bin
+- sspm.bin
--------------------------------------------------------------------------------
# `dram.elf` Introduction
@@ -120,3 +121,25 @@ when system is in suspend. Also, SPM helps support Vcore DVFS feature.
## Version
Search "spmfw (version" will show log like below
- spmfw (version pcm_suspend_v1.43_no_GPU_WAYEN)
+
+--------------------------------------------------------------------------------
+# SSPM Introduction
+
+SSPM is "Secure System Power Manager" that provides power control in secure domain.
+SSPM provides power related features, e.g. CPU DVFS, thermal control, to offload
+application processor for security reason.
+
+SSPM firmware is loaded into SSPM SRAM at system initialization.
+
+## Who uses it
+ - coreboot will load sspm.bin to SSPM SRAM at ramstage.
+
+## How to load `sspm.bin`
+ - Use CBFS to load `sspm.bin`.
+ - No need to pass other parameters to SSPM.
+
+## Return Value
+ - No return value.
+
+## Version
+ - No version yet.
diff --git a/soc/mediatek/mt8192/sspm.bin b/soc/mediatek/mt8192/sspm.bin
new file mode 100644
index 0000000..b5eec51
--- /dev/null
+++ b/soc/mediatek/mt8192/sspm.bin
Binary files differ
diff --git a/soc/mediatek/mt8192/sspm.bin.md5 b/soc/mediatek/mt8192/sspm.bin.md5
new file mode 100644
index 0000000..cf3ed23
--- /dev/null
+++ b/soc/mediatek/mt8192/sspm.bin.md5
@@ -0,0 +1 @@
+ae3f0f3f8d109cc1d4f599b75bbd829c *sspm.bin
diff --git a/soc/mediatek/mt8192/sspm_release_notes.txt b/soc/mediatek/mt8192/sspm_release_notes.txt
new file mode 100644
index 0000000..718a5a4
--- /dev/null
+++ b/soc/mediatek/mt8192/sspm_release_notes.txt
@@ -0,0 +1,4 @@
+** Build from MediaTek Internal **
+
+# 2020.11.19
+1. Add SSPM firmware.