mb/google/geralt: Initialize I2C bus for TPS65132 in mainboard
The CB:76219 removed mtk_i2c_bus_init() from tps65132s_setup(), so we should initialize I2C bus for TPS65132 in mainboard now. BUG=None TEST=./util/abuild/abuild -t google/geralt -a Signed-off-by: Ruihai Zhou <zhouruihai@huaqin.corp-partner.google.com> Change-Id: Iacf78221d2416f41467c709402b7e02e03dc5fc7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76358 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
This commit is contained in:
		| @@ -47,6 +47,8 @@ static void power_on_mipi_boe_tv110c9m_ll0(void) | ||||
|  | ||||
| 	/* Enable VM18V */ | ||||
| 	mainboard_enable_regulator(MTK_REGULATOR_VDD18, true); | ||||
| 	mtk_i2c_bus_init(PMIC_TPS65132_I2C, I2C_SPEED_FAST); | ||||
| 	mdelay(10); | ||||
| 	if (tps65132s_setup(&cfg) != CB_SUCCESS) | ||||
| 		printk(BIOS_ERR, "Failed to set up voltage regulator tps65132s\n"); | ||||
| 	gpio_output(GPIO_DISP_RST_1V8_L, 0); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user