Debian Codegraph @

plat/mediatek/drivers/usb/mt8188/mt_usb.c

raw
1 /*
2 * Copyright (c) 2023, MediaTek Inc. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7 #include <arch_helpers.h>
8 #include <common/debug.h>
9 #include <lib/mtk_init/mtk_init.h>
10 #include <lpm/mt_lp_api.h>
11 #include <platform_def.h>
12
13 int mt_usb_init(void)
14 {
15 INFO("[%s] mt_usb initialization\n", __func__);
16
17 /* Keep infra and peri on to support wake-up from USB */
18 mtk_usb_update(LPM_USB_ENTER);
19
20 return 0;
21 }
22 MTK_PLAT_SETUP_0_INIT(mt_usb_init);