aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-arc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ehci-arc.c')
-rw-r--r--drivers/usb/host/ehci-arc.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-arc.c b/drivers/usb/host/ehci-arc.c
index c7e78396e6d..9ab9531e0ab 100644
--- a/drivers/usb/host/ehci-arc.c
+++ b/drivers/usb/host/ehci-arc.c
@@ -283,6 +283,14 @@ int usb_hcd_fsl_probe(const struct hc_driver *driver,
fsl_platform_set_ahb_burst(hcd);
ehci_testmode_init(hcd_to_ehci(hcd));
+ /*
+ * Only for HSIC host controller, let HSCI controller
+ * connect with device, call it after EHCI initialization
+ * finishes.
+ */
+ if (pdata->hsic_post_ops)
+ pdata->hsic_post_ops();
+
ehci = hcd_to_ehci(hcd);
pdata->pm_command = ehci->command;
return retval;
@@ -379,6 +387,10 @@ static void fsl_setup_phy(struct ehci_hcd *ehci,
case FSL_USB2_PHY_UTMI:
portsc |= PORT_PTS_UTMI;
break;
+ /* HSIC */
+ case FSL_USB2_PHY_HSIC:
+ portsc |= PORT_PTS_HSIC;
+ break;
case FSL_USB2_PHY_NONE:
break;
}