From a1e9cd3669373725e70cf31630e7581578b53aa4 Mon Sep 17 00:00:00 2001 From: Venkateshwar S Date: Mon, 29 Dec 2025 21:57:20 -0800 Subject: [PATCH] mb/google/bluey: Configure QUPV3_2_SE4 for ADSP I2C access Load I2C firmware to QUPV3_2_SE4 Serial Engine and configure it in GSI mode to enable ADSP-controlled access to charger and fuel gauge. Test=Create an image.serial.bin and ensure it boots on X1P42100. Change-Id: I58bfe5c65f3dbd2790512c5e013fa7b91cae2933 Signed-off-by: Venkateshwar S Reviewed-on: https://review.coreboot.org/c/coreboot/+/90647 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- src/mainboard/google/bluey/mainboard.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mainboard/google/bluey/mainboard.c b/src/mainboard/google/bluey/mainboard.c index d8f4c453a5..e18f492764 100644 --- a/src/mainboard/google/bluey/mainboard.c +++ b/src/mainboard/google/bluey/mainboard.c @@ -112,6 +112,10 @@ static void mainboard_init(struct device *dev) qupv3_se_fw_load_and_init(QUPV3_1_SE0, SE_PROTOCOL_I2C, MIXED); /* Touch I2C */ qupv3_se_fw_load_and_init(QUPV3_1_SE6, SE_PROTOCOL_UART, FIFO); /* BT UART */ qupv3_se_fw_load_and_init(QUPV3_0_SE0, SE_PROTOCOL_I2C, MIXED); /* Trackpad I2C */ + + /* ADSP I2C (Charger/Fuel gauge) */ + qupv3_se_fw_load_and_init(QUPV3_2_SE4, SE_PROTOCOL_I2C, GSI); + if (!CONFIG(MAINBOARD_NO_USB_A_PORT)) qupv3_se_fw_load_and_init(QUPV3_0_SE1, SE_PROTOCOL_I2C, MIXED); /* USB-A retimer */ qupv3_se_fw_load_and_init(QUPV3_0_SE5, SE_PROTOCOL_I2C, MIXED); /* eUSB repeater */