From 2ff381d0d6fce6c2c8bcedb30fe6a908e3a5311b Mon Sep 17 00:00:00 2001 From: Liju-Clr Chen Date: Tue, 31 Jan 2023 11:02:11 +0800 Subject: [PATCH] soc/mediatek/mt8188: Remove the GPIO setting of USB1_DRV_VBUS USB1_DRV_VBUS is used to provide 5V power for USB on MT8188 EVB and it's not used on Geralt. Therefore, remove the GPIO setting of USB1_DRV_VBUS. TEST=read usb data successfully. BUG=b:236331724 Change-Id: Iffea7b288c83c81648d4c7ca30d2f0961f9853ff Signed-off-by: Liju-Clr Chen Reviewed-on: https://review.coreboot.org/c/coreboot/+/72641 Reviewed-by: Rex-BC Chen Reviewed-by: Yidi Lin Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) --- src/soc/mediatek/mt8188/usb.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/soc/mediatek/mt8188/usb.c b/src/soc/mediatek/mt8188/usb.c index 6c575cf44b..2312e2d42a 100644 --- a/src/soc/mediatek/mt8188/usb.c +++ b/src/soc/mediatek/mt8188/usb.c @@ -14,7 +14,4 @@ void mtk_usb_prepare(void) { mt_pll_set_usb_clock(); - - /* usb drvvbus for 5v power */ - gpio_output(GPIO(USB1_DRV_VBUS), 1); }