diff --git a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/dwc3/dwc3.h b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/dwc3/dwc3.h index 5702a0f6d..2ebd36609 100644 --- a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/dwc3/dwc3.h +++ b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/dwc3/dwc3.h @@ -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;