add DWC3 codes

This commit is contained in:
xj 2024-09-09 23:53:03 -07:00
parent 636d643a4b
commit 65fbdd5c1e
2 changed files with 28 additions and 1 deletions

View File

@ -1,2 +1,22 @@
#include "dwc3.h"
#include "usb_config.h"
#include "usb_config.h"
void dwc3_of_parse(struct dwc3 *dwc){
}
int dwc3_host_init(struct dwc3 *dwc){
return 0;
}
enum usb_phy_interface usb_get_phy_mode(uint32_t id){
return USBPHY_INTERFACE_MODE_UTMIW;
}

View File

@ -861,6 +861,13 @@ struct dwc3_gadget_ep_cmd_params {
#define DWC3_HAS_XHCI BIT(1)
#define DWC3_HAS_OTG BIT(3)
void dwc3_of_parse(struct dwc3 *dwc);
int dwc3_host_init(struct dwc3 *dwc);
enum usb_phy_interface usb_get_phy_mode(uint32_t id);
#endif