mt_usb.c 465 B

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