blob: c9e7a561d44b32115a35980affa6e657f642c255 [file] [log] [blame]
Shaocheng Wang7aa95b12022-12-15 18:42:51 +08001/*
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
13int 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}
22MTK_PLAT_SETUP_0_INIT(mt_usb_init);