coreboot/src/soc/mediatek/common
Jarried Lin 16ab83b34a soc/mediatek/mt8196: Initialize SSPM
SSPM is "Secure System Power Manager" that provides power control in
secure domain. The initialization flow is to load SSPM firmware to its
SRAM space and then enable it.

It takes 20 ms to load sspm.bin.

coreboot logs:
CBFS: Found 'sspm.bin' @0x62c00 size 0x21ab6 in mcache @0xfffdd314
mtk_init_mcu: Loaded (and reset) sspm.bin in 20 msecs (256212 bytes)

TEST=can see the sspm logs.
BUG=b:372173976

Change-Id: Ic56f0bad2f4cbf11d5711425d57c3b5b6bf283f0
Signed-off-by: Kenji Yu <kenji.yu@mediatek.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85516
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Yidi Lin <yidilin@google.com>
2024-12-12 11:04:16 +00:00
..
dp soc/mediatek: Remove blank lines before '}' and after '{' 2024-03-28 09:18:26 +00:00
include/soc soc/mediatek/mt8196: Initialize SSPM 2024-12-12 11:04:16 +00:00
auxadc.c
bl31.c tree: Drop unused <console/console.h> 2024-04-09 22:22:44 +00:00
bootblock.c soc/mediatek: Add EARLY_MMU_INIT kconfig option 2024-01-17 14:41:00 +00:00
cbmem.c
clkbuf.c
cpu_id.c
ddp.c soc/mediatek: Remove blank lines before '}' and after '{' 2024-03-28 09:18:26 +00:00
devapc.c tree: Drop unused <console/console.h> 2024-04-09 22:22:44 +00:00
dfd.c
display.c tree: Remove unused <string.h> 2024-05-29 10:34:08 +00:00
dpm_4ch.c soc/mediatek: Rename dpm to dpm_v1 2024-11-21 13:46:47 +00:00
dpm_v1.c soc/mediatek: Rename dpm to dpm_v1 2024-11-21 13:46:47 +00:00
dpm_v2.c soc/mediatek/mt8196: Add version two DPM driver 2024-11-21 13:46:24 +00:00
dram_init.c
dramc_param.c
dsi.c tree: Remove unused <assert.h> 2024-11-19 00:40:04 +00:00
early_init.c tree: Drop unused <stdlib.h> 2024-04-11 19:24:44 +00:00
eint_event.c
emi.c
flash_controller.c soc/mediatek: Remove redundant struct pad_func and PAD_* definitions 2024-09-12 16:57:11 +00:00
gpio.c soc/mediatek/common: Print error if GPIO raw_id is not in the range 2024-08-23 14:33:23 +00:00
gpio_eint_v1.c soc/mediatek/common: Refactor EINT driver 2024-08-10 01:10:20 +00:00
gpio_op.c
i2c.c soc/mediatek: Remove blank lines before '}' and after '{' 2024-03-28 09:18:26 +00:00
Kconfig soc/mediatek: Add MEDIATEK_DRAM_ADAPTIVE config to support dram adaptive 2024-02-26 13:00:08 +00:00
l2c_ops.c soc/mediatek: Refactor MMU operation for L2C SRAM and DMA 2024-08-24 12:59:31 +00:00
lastbus_v1.c
lastbus_v2.c
mcu.c
mcupm.c
memory.c soc/mediatek: Obtain LPDDR type from trained memory info 2024-11-13 02:27:13 +00:00
memory_test.c
mmu_cmops.c soc/mediatek: Refactor MMU operation for L2C SRAM and DMA 2024-08-24 12:59:31 +00:00
mmu_operations.c soc/mediatek/common: Increase DEV_MEM memory range to 16GB 2024-11-11 07:01:37 +00:00
msdc.c soc/mediatek/common: Correct eMMC src clk frequency to 400 MHz 2024-09-20 12:31:09 +00:00
mt6315.c
mt6359p.c
mt6363.c soc/mediatek/mt8196: Add PMIC MT6363 driver 2024-12-12 01:16:24 +00:00
mt6363_sdmadc.c soc/mediatek/mt8196: Add PMIC MT6363 ADC driver 2024-12-12 01:16:49 +00:00
mtcmos.c
mtk_mipi_dphy.c
pcie.c soc/mediatek: Add mtk_pcie_deassert_perst for early PCIe reset 2024-09-02 09:16:34 +00:00
pll.c
pmic_wrap.c
pmif.c soc/mediatek/common: Add read16/write16 support for PMIF 2024-12-03 07:17:08 +00:00
pmif_clk.c soc/mediatek: Rename pmif_ulposc_* function arguments 2024-11-21 16:13:42 +00:00
pmif_init.c tree: Remove unused <assert.h> 2024-11-19 00:40:04 +00:00
pmif_spi.c
pmif_spmi.c soc/mediatek: Eliminate redundant calls to get_pmif_controller() 2024-11-28 13:41:40 +00:00
reset.c
rtc.c
rtc_mt6359p.c
rtc_osc_init.c
spi.c
spm.c
sspm.c soc/mediatek/mt8196: Initialize SSPM 2024-12-12 11:04:16 +00:00
timer.c
timer_prepare.c
tps65132s.c soc/mediatek/common: Prefer include <soc/gpio.h> via <gpio.h> 2024-06-04 21:15:54 +00:00
tracker.c soc/mediatek/common: Use write32p and read32p for tracker 2024-11-07 09:38:37 +00:00
tracker_v1.c soc/mediatek/common: Refactor struct tracker 2024-11-07 09:38:31 +00:00
tracker_v2.c soc/mediatek/common: Use write32p and read32p for tracker 2024-11-07 09:38:37 +00:00
uart.c soc/mediatek: Remove blank lines before '}' and after '{' 2024-03-28 09:18:26 +00:00
ufs.c
usb.c mb/google/corsola: Initialize USB port 0 2024-05-03 08:35:11 +00:00
usb_secondary.c mb/google/corsola: Initialize USB port 0 2024-05-03 08:35:11 +00:00
wdt.c
wdt_req.c