Yu-Ping Wu has submitted this change. ( 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, 37 insertions(+), 0 deletions(-)
Approvals: Yidi Lin: Looks good to me, but someone else must approve Yu-Ping Wu: Verified; Looks good to me, approved
diff --git a/soc/mediatek/mt8196/README.md b/soc/mediatek/mt8196/README.md index 3f60df8..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 @@ -23,3 +25,32 @@ `$ 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..2e13794 --- /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..b9d1915 --- /dev/null +++ b/soc/mediatek/mt8196/dpm.dm.md5 @@ -0,0 +1 @@ +2e1adbc9fc7065227e2bdcbd44a54fcb *dpm.dm diff --git a/soc/mediatek/mt8196/dpm.pm b/soc/mediatek/mt8196/dpm.pm new file mode 100644 index 0000000..7b055ab --- /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..c9b4576 --- /dev/null +++ b/soc/mediatek/mt8196/dpm.pm.md5 @@ -0,0 +1 @@ +988dbb1ebe80721d5831ef2e26cf4c60 *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.