add DWC3 codes
This commit is contained in:
parent
636d643a4b
commit
65fbdd5c1e
|
@ -1,2 +1,22 @@
|
|||
#include "dwc3.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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue