summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorRamneek Mehresh <ramneek.mehresh@freescale.com>2015-05-29 14:47:15 +0530
committerMarek Vasut <marex@denx.de>2015-07-22 08:55:44 +0200
commitdc9cdf859e11de775e75cc233b09d6b6d257a818 (patch)
tree6aa764dabf751fac8e3e57fc911e0a4821a52751 /include/linux
parentb217c89e8565ade3aaa9f74c33c93236bf151187 (diff)
downloadblackbird-obmc-uboot-dc9cdf859e11de775e75cc233b09d6b6d257a818.tar.gz
blackbird-obmc-uboot-dc9cdf859e11de775e75cc233b09d6b6d257a818.zip
usb: dwc3: Add DWC3 controller driver support
Add support for DWC3 XHCI controller driver Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb/dwc3.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/usb/dwc3.h b/include/linux/usb/dwc3.h
index 7edc760c7b..ba7f31495f 100644
--- a/include/linux/usb/dwc3.h
+++ b/include/linux/usb/dwc3.h
@@ -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_ */
OpenPOWER on IntegriCloud