summaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy
diff options
context:
space:
mode:
authorRamneek Mehresh <ramneek.mehresh@freescale.com>2015-05-29 14:47:17 +0530
committerMarek Vasut <marex@denx.de>2015-07-22 08:55:44 +0200
commit2770448c8cd440a29619e9daa99484a0e5a6fad7 (patch)
tree252486d0d56077acd3d012c0407053b58ec7a583 /drivers/usb/phy
parent552d60cc222f649b762b3adb9b5f1d681ccd062a (diff)
downloadtalos-obmc-uboot-2770448c8cd440a29619e9daa99484a0e5a6fad7.tar.gz
talos-obmc-uboot-2770448c8cd440a29619e9daa99484a0e5a6fad7.zip
usb: xhci: omap: Remove common dwc3 drv functions calls
Remove all redundant dwc3 driver function calls that are defined by dwc3 driver Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Diffstat (limited to 'drivers/usb/phy')
-rw-r--r--drivers/usb/phy/omap_usb_phy.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/usb/phy/omap_usb_phy.c b/drivers/usb/phy/omap_usb_phy.c
index 63d9301681..f9069c7f9c 100644
--- a/drivers/usb/phy/omap_usb_phy.c
+++ b/drivers/usb/phy/omap_usb_phy.c
@@ -223,24 +223,6 @@ void usb_phy_power(int on)
}
#endif /* CONFIG_AM437X_USB2PHY2_HOST */
-void omap_reset_usb_phy(struct dwc3 *dwc3_reg)
-{
- /* Assert USB3 PHY reset */
- setbits_le32(&dwc3_reg->g_usb3pipectl[0], DWC3_GUSB3PIPECTL_PHYSOFTRST);
-
- /* Assert USB2 PHY reset */
- setbits_le32(&dwc3_reg->g_usb2phycfg, DWC3_GUSB2PHYCFG_PHYSOFTRST);
-
- mdelay(100);
-
- /* Clear USB3 PHY reset */
- clrbits_le32(&dwc3_reg->g_usb3pipectl[0], DWC3_GUSB3PIPECTL_PHYSOFTRST);
-
- /* Clear USB2 PHY reset */
- clrbits_le32(&dwc3_reg->g_usb2phycfg, DWC3_GUSB2PHYCFG_PHYSOFTRST);
-
-}
-
void omap_enable_phy(struct omap_xhci *omap)
{
#ifdef CONFIG_OMAP_USB2PHY2_HOST
OpenPOWER on IntegriCloud