diff options
author | Dan Murphy <dmurphy@ti.com> | 2013-10-11 12:28:17 -0500 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-10-20 23:42:41 +0200 |
commit | 834e91af432479e3808e9cbd1d38199f724fc5aa (patch) | |
tree | 1ee55275e290c7b2bc4ec4523d8ad1ed1eba8d5b /drivers/usb/host/xhci-omap.c | |
parent | ba55453ccf6d82c46b9f3eef5b958aac58adb6fb (diff) | |
download | u-boot-imx-834e91af432479e3808e9cbd1d38199f724fc5aa.zip u-boot-imx-834e91af432479e3808e9cbd1d38199f724fc5aa.tar.gz u-boot-imx-834e91af432479e3808e9cbd1d38199f724fc5aa.tar.bz2 |
usb: dra7xx: Add support for dra7xx xhci USB host
Add the support for the dra7xx xhci usb host.
dra7xx does not contain an EHCI controller so the headers
can be removed from the board file.
The xHCI host on dra7xx is connected to a usb2 phy so need to
add support to enable those clocks.
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Diffstat (limited to 'drivers/usb/host/xhci-omap.c')
-rw-r--r-- | drivers/usb/host/xhci-omap.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/usb/host/xhci-omap.c b/drivers/usb/host/xhci-omap.c index 7292ed8..f6099ac 100644 --- a/drivers/usb/host/xhci-omap.c +++ b/drivers/usb/host/xhci-omap.c @@ -98,9 +98,7 @@ static int omap_xhci_core_init(struct omap_xhci *omap) { int ret = 0; - omap_enable_phy_clocks(omap); - - omap_usb3_phy_init(omap->usb3_phy); + omap_enable_phy(omap); ret = dwc3_core_init(omap->dwc3_reg); if (ret) { @@ -116,7 +114,7 @@ static int omap_xhci_core_init(struct omap_xhci *omap) static void omap_xhci_core_exit(struct omap_xhci *omap) { - usb3_phy_power(0); + usb_phy_power(0); } int xhci_hcd_init(int index, struct xhci_hccr **hccr, struct xhci_hcor **hcor) |