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>
This commit is contained in:
Dan Murphy 2013-10-11 12:28:16 -05:00 committed by Marek Vasut
parent b216821189
commit ba55453ccf
4 changed files with 206 additions and 169 deletions

View file

@ -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_ */