mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
usb: dwc3: Add DWC3 controller driver support
Add support for DWC3 XHCI controller driver Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
This commit is contained in:
parent
b217c89e85
commit
dc9cdf859e
3 changed files with 98 additions and 0 deletions
|
@ -191,4 +191,10 @@ struct dwc3 { /* offset: 0xC100 */
|
|||
#define DWC3_DCTL_CSFTRST (1 << 30)
|
||||
#define DWC3_DCTL_LSFTRST (1 << 29)
|
||||
|
||||
#ifdef CONFIG_USB_XHCI_DWC3
|
||||
void dwc3_set_mode(struct dwc3 *dwc3_reg, u32 mode);
|
||||
void dwc3_core_soft_reset(struct dwc3 *dwc3_reg);
|
||||
int dwc3_core_init(struct dwc3 *dwc3_reg);
|
||||
void usb_phy_reset(struct dwc3 *dwc3_reg);
|
||||
#endif
|
||||
#endif /* __DWC3_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue