diff options
author | Dan Murphy <dmurphy@ti.com> | 2013-10-11 12:28:16 -0500 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-10-20 23:42:41 +0200 |
commit | ba55453ccf6d82c46b9f3eef5b958aac58adb6fb (patch) | |
tree | 679597b35f1e1bf5cf55ff0bbb61f941e78e56dc /include | |
parent | b2168211893013925b2d1975276cc9442bae83cb (diff) | |
download | u-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')
-rw-r--r-- | include/linux/usb/xhci-omap.h | 6 |
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_ */ |