From 69288eb2551527fd06a12d02f8d0c4c03f1ae60e Mon Sep 17 00:00:00 2001 From: xj Date: Tue, 10 Sep 2024 23:01:44 -0700 Subject: [PATCH] Add DWC3 codes --- .../services/drivers/usb/components/port/dwc3/dwc3.h | 5 +++++ 1 file changed, 5 insertions(+) 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;