summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2013-10-11 12:28:16 -0500
committerMarek Vasut <marex@denx.de>2013-10-20 23:42:41 +0200
commitba55453ccf6d82c46b9f3eef5b958aac58adb6fb (patch)
tree679597b35f1e1bf5cf55ff0bbb61f941e78e56dc /include/linux
parentb2168211893013925b2d1975276cc9442bae83cb (diff)
downloadu-boot-imx-ba55453ccf6d82c46b9f3eef5b958aac58adb6fb.zip
u-boot-imx-ba55453ccf6d82c46b9f3eef5b958aac58adb6fb.tar.gz
u-boot-imx-ba55453ccf6d82c46b9f3eef5b958aac58adb6fb.tar.bz2
usb: omap: Move the usb phy code to the usb/phy directory
Moving the usb/phy code from xhci-omap to the usb/phy directory and moving the associated phy code over to the new file. Newer TI processors adding xHCI support will have different PHY configurations so therefore abstracting this code away will prevent messing around with the xhci-omap file itself. Signed-off-by: Dan Murphy <dmurphy@ti.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb/xhci-omap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/usb/xhci-omap.h b/include/linux/usb/xhci-omap.h
index b557a43..a73c0f9 100644
--- a/include/linux/usb/xhci-omap.h
+++ b/include/linux/usb/xhci-omap.h
@@ -121,4 +121,10 @@ struct omap_xhci {
struct dwc3 *dwc3_reg;
};
+/* USB PHY functions */
+void omap_enable_phy_clocks(struct omap_xhci *omap);
+void omap_usb3_phy_init(struct omap_usb3_phy *phy_regs);
+void omap_reset_usb_phy(struct dwc3 *dwc3_reg);
+void usb3_phy_power(int on);
+
#endif /* _ASM_ARCH_XHCI_OMAP_H_ */