Debian Codegraph @

src/soc/mediatek/mt8189/usb.c

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 /*
4 * This file is created based on MT8189 Functional Specification
5 * Chapter number: 9.5
6 */
7
8 #include <device/mmio.h>
9 #include <gpio.h>
10 #include <soc/pll_common.h>
11 #include <soc/usb.h>
12
13 void mtk_usb_prepare(void)
14 {
15 /* enable P3 VBUS */
16 gpio_output(GPIO(USB3_DRV_VBUS), 1);
17 }