From d5b0000856f22c79f23333e3589b3566a5aa1447 Mon Sep 17 00:00:00 2001 From: Ryan Chuang Date: Wed, 23 Jun 2021 09:44:57 +0800 Subject: mb/google/cherry: Add mt6360 driver for PMIC access Add initialization of mt6360 drvier used by DRAM calibration test. Signed-off-by: Ryan Chuang Change-Id: Id74835d8395afac9e7e2c987a0a033f1b524fbfb Reviewed-on: https://review.coreboot.org/c/coreboot/+/55750 Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu --- src/mainboard/google/cherry/romstage.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/cherry/romstage.c b/src/mainboard/google/cherry/romstage.c index 5505d8ac48..aabb7f5378 100644 --- a/src/mainboard/google/cherry/romstage.c +++ b/src/mainboard/google/cherry/romstage.c @@ -3,17 +3,23 @@ #include #include #include +#include #include #include +#include #include #include #include +#define I2C_BUS 7 + void platform_romstage_main(void) { mtk_pmif_init(); mt6359p_init(); mt6315_init(); + mtk_i2c_bus_init(I2C_BUS); + mt6360_init(I2C_BUS); clk_buf_init(); rtc_boot(); mtk_dram_init(); -- cgit v1.2.3