summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuayang Duan <huayang.duan@mediatek.com>2020-08-05 20:58:10 +0800
committerYidi Lin <yidi.lin@mediatek.com>2020-12-04 12:07:19 +0800
commit486b2a44293aeea4b26e3a8e89b4fe5de30300f6 (patch)
tree403de6ab2d93c4f9f8a917bab06363149e9ed6f3
parentfaceb5cfc871c1418f0fae851583fcda357b8f9c (diff)
downloadblobs-486b2a44293aeea4b26e3a8e89b4fe5de30300f6.tar.gz
soc/mediatek/mt8192: Add dpm binary
dpm release 2020-08 - Support DRAM suspend and DDR DVFS switch BUG=b:173653085 BRANCH=None TEST=Boots correctly on Asurada Signed-off-by: Huayang Duan <huayang.duan@mediatek.com> Change-Id: I7bb33d46a8a1447ed53af50de66e43f2b9313931
-rw-r--r--soc/mediatek/mt8192/README.md26
-rw-r--r--soc/mediatek/mt8192/dpm.dmbin0 -> 36 bytes
-rw-r--r--soc/mediatek/mt8192/dpm.md52
-rw-r--r--soc/mediatek/mt8192/dpm.pmbin0 -> 13848 bytes
-rw-r--r--soc/mediatek/mt8192/dpm_release_notes.txt4
5 files changed, 32 insertions, 0 deletions
diff --git a/soc/mediatek/mt8192/README.md b/soc/mediatek/mt8192/README.md
index 8357521..b53814d 100644
--- a/soc/mediatek/mt8192/README.md
+++ b/soc/mediatek/mt8192/README.md
@@ -1,5 +1,7 @@
# Firmware list
- drame.elf
+- dpm.dm
+- dpm.pm
--------------------------------------------------------------------------------
# `dram.elf` Introduction
@@ -72,3 +74,27 @@ for faster bootup after the frist bootup.
## Return Values
- 0 : means successful.
- < 0 : means failed.
+
+--------------------------------------------------------------------------------
+# DPM Introduction
+
+DPM is hardware module which is used for DRAM Power Management, which
+is used for DRAM low power.
+For example: self refresh, disable PLL/DLL when not in used.
+
+DPM includes two parts of images: data part (`dpm.dm`) and program part (`dpm.pm`).
+They are loaded into DPM SRAM when system inits.
+
+## Who uses it
+ - coreboot will load dpm at ramstage. It will copy `dpm.dm` & `dpm.pm` to DPM SRAM.
+
+## How to load DPM
+ - Use CBFS to load `dpm.dm` and `dpm.pm`.
+ - No need to pass other parameters to DPM.
+
+## Return Values
+ - 0 : means successful;
+ - -1 : means failed;
+
+## Version
+ - No version yet.
diff --git a/soc/mediatek/mt8192/dpm.dm b/soc/mediatek/mt8192/dpm.dm
new file mode 100644
index 0000000..8ace902
--- /dev/null
+++ b/soc/mediatek/mt8192/dpm.dm
Binary files differ
diff --git a/soc/mediatek/mt8192/dpm.md5 b/soc/mediatek/mt8192/dpm.md5
new file mode 100644
index 0000000..4f617c0
--- /dev/null
+++ b/soc/mediatek/mt8192/dpm.md5
@@ -0,0 +1,2 @@
+a6cdb522196fc4fb359a3eec71f24575 *dpm.dm
+8b561bdc783f79f500d9e310fab6ccaf *dpm.pm
diff --git a/soc/mediatek/mt8192/dpm.pm b/soc/mediatek/mt8192/dpm.pm
new file mode 100644
index 0000000..306953c
--- /dev/null
+++ b/soc/mediatek/mt8192/dpm.pm
Binary files differ
diff --git a/soc/mediatek/mt8192/dpm_release_notes.txt b/soc/mediatek/mt8192/dpm_release_notes.txt
new file mode 100644
index 0000000..ea239fe
--- /dev/null
+++ b/soc/mediatek/mt8192/dpm_release_notes.txt
@@ -0,0 +1,4 @@
+** Build from MediaTek Internal **
+
+# 2020.08.01
+1. Add DRAM suspend/DVFS support.