coreboot/src/soc/mediatek/mt8186
Vince Liu 80149f55f7 soc/mediatek/common: Convert spmi_dev_cnt to a function
In some SoCs, such as MT8189G/H, different numbers of PMICs are
required. To ensure code reusability and compatibility, it is
necessary to dynamically set this variable. Therefore, spmi_dev_cnt
is changed to a function.

BUG=b:379008996
BRANCH=none
TEST=build passed

Signed-off-by: Vince Liu <vince-wl.liu@mediatek.corp-partner.google.com>
Change-Id: Ib8d6306a81c276dceb021ddadec40803fd85019b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87853
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yidi Lin <yidilin@google.com>
2025-05-28 08:37:12 +00:00
..
include/soc soc/mediatek/common: Move I2C functions to common code 2025-04-24 06:44:59 +00:00
adsp.c
bootblock.c
ddp.c
devapc.c
gic.c
gpio.c
i2c.c soc/mediatek/common: Move I2C functions to common code 2025-04-24 06:44:59 +00:00
Kconfig
Makefile.mk soc/mediatek/common: Move I2C functions to common code 2025-04-24 06:44:59 +00:00
msdc.c
mt6315.c
mt6366.c
mtcmos.c
pll.c
pmic_wrap.c
pmif.c
pmif_clk.c soc/mediatek: Rename FREQ_*MHZ to PMIF_TARGET_FREQ_MHZ 2024-11-21 16:13:48 +00:00
pmif_spmi.c soc/mediatek/common: Convert spmi_dev_cnt to a function 2025-05-28 08:37:12 +00:00
rtc.c soc/mediatek/common: Change return type to void for all rtc_{read, write} APIs 2025-03-21 08:01:30 +00:00
soc.c
spi.c
spm.c
usb.c
wdt.c