diff options
author | Liju-Clr Chen <liju-clr.chen@mediatek.com> | 2023-01-31 11:02:11 +0800 |
---|---|---|
committer | Rex-BC Chen <rex-bc.chen@mediatek.com> | 2023-02-02 02:34:39 +0000 |
commit | 2ff381d0d6fce6c2c8bcedb30fe6a908e3a5311b (patch) | |
tree | 11b177d5512e6bd0a8f03c1fec479d45d892ffc5 /src/soc/mediatek/mt8188/usb.c | |
parent | b9b4bb4bdd27d015b9dfd7665762ff83c404e21d (diff) |
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 <liju-clr.chen@mediatek.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72641
Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Reviewed-by: Yidi Lin <yidilin@google.com>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8188/usb.c')
-rw-r--r-- | src/soc/mediatek/mt8188/usb.c | 3 |
1 files changed, 0 insertions, 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); } |