coreboot/src/soc/mediatek/common
Liju-Clr Chen 84bb5f4e19 mb/google/geralt: Init MT6359P only once in ramstage
The regulator MT6359P is needed by both firmware display and SD card.
To avoid duplicate initialization in ramstage, publicize init_pmif_arb()
as mt6359p_init_pmif_arb() and call it from mainboard_init(). This would
save 13 ms for boot time on Geralt.

BUG=b:244208960
TEST=test firmware display pass for BOE_TV110C9M_LL0 on Geralt.

Change-Id: I29498d186ba5665ae20e84985174fc10f8d4accd
Signed-off-by: Liju-Clr Chen <liju-clr.chen@mediatek.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72839
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Yidi Lin <yidilin@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
2023-02-09 09:19:00 +00:00
..
dp soc/mediatek: Add error handling for dptx_get_edid() 2022-11-23 16:31:29 +00:00
include/soc mb/google/geralt: Init MT6359P only once in ramstage 2023-02-09 09:19:00 +00:00
auxadc.c
bl31.c soc/mediatek: a common implementation to register BL31 reset 2022-09-07 09:20:25 +00:00
cbmem.c cbmem_top_chipset: Change the return value to uintptr_t 2022-11-18 16:00:45 +00:00
clkbuf.c soc/mediatek: Use "if (!ptr)" in preference to "if (ptr == NULL)" 2022-09-14 12:49:44 +00:00
cpu_id.c soc/mediatek/mt8186: Add support for reading CPU ID 2022-10-21 14:52:17 +00:00
ddp.c
devapc.c soc/mediatek: Add DEVAPC_DEBUG option 2022-12-23 12:55:22 +00:00
dfd.c
dpm.c
dpm_4ch.c
dram_init.c
dramc_param.c
dsi.c
early_init.c
eint_event.c
emi.c mem_chip_info: Update to new format 2022-12-09 00:48:57 +00:00
flash_controller.c
gpio.c
gpio_op.c
i2c.c
Kconfig soc/mediatek: Add DEVAPC_DEBUG option 2022-12-23 12:55:22 +00:00
lastbus.c soc/mediatek/mt8186: Enable lastbus debug hardware 2022-09-09 10:45:08 +00:00
mcu.c soc/mediatek/common/mcu.c: Use 'enum cb_err' instead of 'int' 2023-01-12 10:33:56 +00:00
mcupm.c soc/mediatek/common: Use write32p() 2022-12-13 14:26:41 +00:00
memory.c mem_chip_info: Update to new format 2022-12-09 00:48:57 +00:00
memory_test.c
mmu_cmops.c
mmu_operations.c
msdc.c commonlib/storage: Add common eMMC functions 2023-01-16 00:33:11 +00:00
mt6315.c
mt6359p.c mb/google/geralt: Init MT6359P only once in ramstage 2023-02-09 09:19:00 +00:00
mtcmos.c soc/mediatek/mt8188: Update mtcmos settings for display and audio 2022-10-25 08:30:15 +00:00
mtk_mipi_dphy.c
pcie.c treewide: Remove duplicated include <device/pci.h> 2023-02-01 03:03:34 +00:00
pll.c soc/mediatek: Unify PLL function names 2022-10-21 14:57:09 +00:00
pmic_wrap.c soc/mediatek: Use "if (!ptr)" in preference to "if (ptr == NULL)" 2022-09-14 12:49:44 +00:00
pmif.c soc/mediatek/mt8186: Add PWRAP_WITH_PMIF_SPMI Kconfig option 2022-10-21 14:52:42 +00:00
pmif_clk.c soc/mediatek/mt8188: Use MHz as unit for current_clk 2022-08-31 16:47:22 +00:00
pmif_spi.c
pmif_spmi.c soc/mediatek: Move SPMI interface configuration to SoC folder 2022-10-21 14:53:53 +00:00
reset.c
rtc.c
rtc_mt6359p.c soc/mediatek: Use "if (!ptr)" in preference to "if (ptr == NULL)" 2022-09-14 12:49:44 +00:00
rtc_osc_init.c
spi.c
spm.c timer: Change timer util functions to 64-bit 2022-09-14 11:55:39 +00:00
sspm.c
timer.c
timer_prepare.c
tracker.c
tracker_v1.c
tracker_v2.c
uart.c lib/coreboot_table: Simplify API to set up lb_serial 2022-11-04 19:17:13 +00:00
ufs.c
usb.c
wdt.c soc/mediatek/common: Reset the watchdog timer before triggering reset 2023-01-10 09:39:51 +00:00
wdt_req.c