From d00f5c2d8cc41168aa3479b27e18b604cd3bc303 Mon Sep 17 00:00:00 2001 From: Liu Liu Date: Thu, 5 Jun 2025 17:36:55 +0800 Subject: [PATCH] mb/google/skywalker: Reset xsphy0 in mainboard_init USB port 0 (P0) is force_suspended during the BootROM stage, and this state won't be cleared in subsequent stages, causing P0 to become unusable. Adding the P0 controller in coreboot ensures that the force_suspended state is cleared, restoring P0 functionality. BUG=b:417079837 BRANCH=None TEST=Build passes and insert a USB device into USB port 0 can enumerate the USB device. Signed-off-by: Liu Liu Change-Id: Ibe8649297d3236a8896d1045cdf23cb4b1313e43 Reviewed-on: https://review.coreboot.org/c/coreboot/+/87978 Tested-by: build bot (Jenkins) Reviewed-by: Yidi Lin Reviewed-by: Yu-Ping Wu --- src/mainboard/google/skywalker/mainboard.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mainboard/google/skywalker/mainboard.c b/src/mainboard/google/skywalker/mainboard.c index 61aa2794e9..3327c038d1 100644 --- a/src/mainboard/google/skywalker/mainboard.c +++ b/src/mainboard/google/skywalker/mainboard.c @@ -91,6 +91,7 @@ static void mainboard_init(struct device *dev) dpm_init(); setup_usb_host(); + setup_usb_secondary_host(); spm_init(); power_on_fpmcu(); configure_audio();