Jarried Lin has uploaded this change for review. ( https://review.coreboot.org/c/blobs/+/84028?usp=email )
Change subject: soc/mediatek/mt8196: Add dpm.pm and dpm.dm version 1.0 ......................................................................
soc/mediatek/mt8196: Add dpm.pm and dpm.dm version 1.0
See the README file for details.
Change-Id: I91c34f105992f38aa42521f7e11f42a4ccb81856 Signed-off-by: Jarried Lin jarried.lin@mediatek.corp-partner.google.com --- M soc/mediatek/mt8196/README.md A soc/mediatek/mt8196/dpm.dm A soc/mediatek/mt8196/dpm.dm.md5 A soc/mediatek/mt8196/dpm.pm A soc/mediatek/mt8196/dpm.pm.md5 A soc/mediatek/mt8196/dpm_release_notes.txt 6 files changed, 38 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/blobs refs/changes/28/84028/1
diff --git a/soc/mediatek/mt8196/README.md b/soc/mediatek/mt8196/README.md index 7820dcc..19e17e3 100644 --- a/soc/mediatek/mt8196/README.md +++ b/soc/mediatek/mt8196/README.md @@ -1,5 +1,7 @@ # Firmware list - sspm.bin +- dpm.dm +- dpm.pm
-------------------------------------------------------------------------------- # SSPM introduction @@ -21,4 +23,34 @@
## Version `$ strings sspm.bin | grep "SSPM firmware"` + +-------------------------------------------------------------------------------- +# DPM introduction +DPM is a hardware module for DRAM Power Management, which is used for DRAM low power. +For example: self refresh, disable PLL/DLL when not in use. + +DPM includes two parts of images: data part (`dpm.dm`) and program part (`dpm.pm`). + +## Who uses it +Coreboot loads dpm at ramstage, and copies `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 +No return value. + +## Add version +``` +$ echo -n 'DPMD Firmware version: x.x' >> dpm.dm +$ echo -n 'DPMP Firmware version: x.x' >> dpm.pm +``` + +## Version +``` +$ strings dpm.dm | grep version +$ strings dpm.pm | grep version +``` + -------------------------------------------------------------------------------- diff --git a/soc/mediatek/mt8196/dpm.dm b/soc/mediatek/mt8196/dpm.dm new file mode 100644 index 0000000..aee2d5c --- /dev/null +++ b/soc/mediatek/mt8196/dpm.dm Binary files differ diff --git a/soc/mediatek/mt8196/dpm.dm.md5 b/soc/mediatek/mt8196/dpm.dm.md5 new file mode 100644 index 0000000..b94538c --- /dev/null +++ b/soc/mediatek/mt8196/dpm.dm.md5 @@ -0,0 +1 @@ +a73b200ec97738f332ebedc9c23219b9 dpm.dm diff --git a/soc/mediatek/mt8196/dpm.pm b/soc/mediatek/mt8196/dpm.pm new file mode 100644 index 0000000..247677a --- /dev/null +++ b/soc/mediatek/mt8196/dpm.pm Binary files differ diff --git a/soc/mediatek/mt8196/dpm.pm.md5 b/soc/mediatek/mt8196/dpm.pm.md5 new file mode 100644 index 0000000..9b13682 --- /dev/null +++ b/soc/mediatek/mt8196/dpm.pm.md5 @@ -0,0 +1 @@ +1eb4d05ce9f299201258a880b3fa968f dpm.pm diff --git a/soc/mediatek/mt8196/dpm_release_notes.txt b/soc/mediatek/mt8196/dpm_release_notes.txt new file mode 100644 index 0000000..d9cafa4 --- /dev/null +++ b/soc/mediatek/mt8196/dpm_release_notes.txt @@ -0,0 +1,4 @@ +** Build from MediaTek Internal ** + +# Version 1.0 +1. Add DRAM suspend/DVFS support.