From fa34b2e492e142503f6a6b4c5315e2ff96ed63d7 Mon Sep 17 00:00:00 2001 From: CK Hu Date: Thu, 27 Aug 2020 16:42:28 +0800 Subject: soc/mediatek/mt8192: Add MCUPM firmware 1. mcupm.bin version v1.0.4 2. Add cpufreq opp table into mcupm BUG=b:173653085 Signed-off-by: Andrew-sh.Cheng Change-Id: I57b8b666cd7c6665c945589cc1d7f8a8129d0875 --- soc/mediatek/mt8192/README.md | 20 ++++++++++++++++++++ soc/mediatek/mt8192/mcupm.bin | Bin 0 -> 98964 bytes soc/mediatek/mt8192/mcupm.bin.md5 | 1 + soc/mediatek/mt8192/mcupm_release_notes.txt | 20 ++++++++++++++++++++ 4 files changed, 41 insertions(+) create mode 100644 soc/mediatek/mt8192/mcupm.bin create mode 100644 soc/mediatek/mt8192/mcupm.bin.md5 create mode 100644 soc/mediatek/mt8192/mcupm_release_notes.txt diff --git a/soc/mediatek/mt8192/README.md b/soc/mediatek/mt8192/README.md index 8dbd312..a0d1059 100644 --- a/soc/mediatek/mt8192/README.md +++ b/soc/mediatek/mt8192/README.md @@ -4,6 +4,7 @@ - dpm.pm - spm_firmware.bin - sspm.bin +- mcupm.bin -------------------------------------------------------------------------------- # `dram.elf` Introduction @@ -143,3 +144,22 @@ SSPM firmware is loaded into SSPM SRAM at system initialization. ## Version - No version yet. + +-------------------------------------------------------------------------------- +# MCUPM Introduction + +MCUPM is a hardware module which is used for MCUSYS Power Management, +for example: core/cluster on/off. MCUPM firmware (`mcupm.bin`) is loaded into +MCUPM SRAM at system initialization. + +## Who uses it + - coreboot will load MCUPM at ramstage. It will copy mcupm.bin to MCUPM SRAM. + +## How to load `mcupm.bin` + - Use CBFS to load `mcupm.bin`, then set normal boot flag and release software reset pin of MCUPM. + +## Return Values + - No return value. + +## Version + - Refer to MCUPM release note. diff --git a/soc/mediatek/mt8192/mcupm.bin b/soc/mediatek/mt8192/mcupm.bin new file mode 100644 index 0000000..d93778d Binary files /dev/null and b/soc/mediatek/mt8192/mcupm.bin differ diff --git a/soc/mediatek/mt8192/mcupm.bin.md5 b/soc/mediatek/mt8192/mcupm.bin.md5 new file mode 100644 index 0000000..12b8ba2 --- /dev/null +++ b/soc/mediatek/mt8192/mcupm.bin.md5 @@ -0,0 +1 @@ +fb150f6a75ea78012c9b295400f1752c *mcupm.bin diff --git a/soc/mediatek/mt8192/mcupm_release_notes.txt b/soc/mediatek/mt8192/mcupm_release_notes.txt new file mode 100644 index 0000000..6434684 --- /dev/null +++ b/soc/mediatek/mt8192/mcupm_release_notes.txt @@ -0,0 +1,20 @@ +** Build from MediaTek Internal ** + +# 2020.09.11 +1. Update mcupm.bin to v1.0.4 +2. Add cpufreq opp table into MCUPM + +# 2020.08.27 +1. Update mcupm.bin to v1.0.3 +2. Change private table setting for chrome book + +# 2020.08.19 +1. Update mcupm.bin to v1.0.2 +2. Fix build/release flow bug + +# 2020.08.19 +1. Update mcupm.bin to v1.0.1 +2. Initialize private table in MCUPM + +# 2020.08 +1. Launch MCUPM as mcusys control interface -- cgit v1.2.1