Add DWC3 codes

This commit is contained in:
xj 2024-09-10 23:01:44 -07:00
parent 0cd2ad6080
commit 69288eb255
1 changed files with 5 additions and 0 deletions

View File

@ -635,7 +635,12 @@ struct dwc3 {
struct usb_gadget gadget;
struct usb_gadget_driver *gadget_driver;
/*
* The regs stores the value of the DWC3 start physical address
* Conversely, the regs_vir stores the mapped value of the regs, which can be used in the xHCI driver.
*/
uintptr_t regs;
uintptr_t regs_vir;
uint32_t regs_size;
enum usb_dr_mode dr_mode;
enum usb_phy_interface hsphy_mode;