coreboot/src/soc/mediatek/mt8183
Vince Liu b3bdffa475 soc/mediatek/common: Move I2C functions to common code
To promote code reuse and maintainability, move i2c functions to common
folder. The function prototype "mtk_i2c_bus_init(uint8_t bus)" used by
some legacy platforms are changed to "mtk_i2c_bus_init(uint8_t bus,
uint32_t speed)" for better API integration.

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

Signed-off-by: Vince Liu <vince-wl.liu@mediatek.corp-partner.google.com>
Change-Id: I6ac7009f5af4e6379d3f73aec61d0f4abd28471c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87352
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Yidi Lin <yidilin@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-04-24 06:44:59 +00:00
..
include/soc soc/mediatek/common: Move I2C functions to common code 2025-04-24 06:44:59 +00:00
bootblock.c
ddp.c
decompressor.c
dramc_init_setting.c
dramc_param.c
dramc_pi_basic_api.c soc/mediatek: Remove blank lines before '}' and after '{' 2024-03-28 09:18:26 +00:00
dramc_pi_calibration_api.c tree: Remove unused <assert.h> 2024-11-19 00:40:04 +00:00
emi.c soc/mediatek: Remove blank lines before '}' and after '{' 2024-03-28 09:18:26 +00:00
gpio.c
i2c.c soc/mediatek/common: Move I2C functions to common code 2025-04-24 06:44:59 +00:00
Kconfig soc: Add SPDX license headers to Kconfig files 2024-02-18 02:03:37 +00:00
Makefile.mk util/mtkheader: Rename to util/mediatek 2025-04-11 08:17:55 +00:00
md_ctrl.c
memlayout.ld soc/mediatek: Move memmory macros into MediaTek common directory 2024-07-22 14:07:34 +00:00
memory.c lib: Move IP checksum to commonlib 2024-02-02 22:48:27 +00:00
mmu_operations.c
mt6358.c
mt8183.c
mtcmos.c
pll.c
pmic_wrap.c
rtc.c soc/mediatek: Change rtc_bbpu_power_on to static function 2025-03-21 08:01:05 +00:00
soc.c
spi.c soc/mediatek: Remove redundant struct pad_func and PAD_* definitions 2024-09-12 16:57:11 +00:00
spm.c