summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci.h
diff options
context:
space:
mode:
authorSteve Lin <stlin@nvidia.com>2011-05-24 18:44:11 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 01:13:57 -0700
commit4ee195b5197341a1ba59b3e3f18c99367d5f2b21 (patch)
treed96a40061ba7461c8049f8e4b2db04d859d740d5 /drivers/usb/host/ehci.h
parent8ba864d37030013b1c2a35aace0cbee9649ccdb0 (diff)
usb: tegra: fix tegra ehci setup sequence for UTMI/ULPI/HSIC
This is a WAR to fix tegra ehci setup sequence for USB2 UTMI/ULPI/HSIC mode. - Calling ehci_reset according to proper phy type instead of hard coded value. - Adding CONFIG_USB_EHCI_TEGRA in the common ehci-hcd code. Bug 830978, 812716 Original-Change-Id: Ib66acf758792ef4076c5d2ec6a2e5d565389596f Reviewed-on: http://git-master/r/32664 Tested-by: Szming Lin <stlin@nvidia.com> Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Michael Hsu <mhsu@nvidia.com> Tested-by: Michael Hsu <mhsu@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Alex Courbot <acourbot@nvidia.com> Tested-by: Alex Courbot <acourbot@nvidia.com> Rebase-Id: R09d5a39680a5fa4e39cb29fc32113661b1cccf6d
Diffstat (limited to 'drivers/usb/host/ehci.h')
-rw-r--r--drivers/usb/host/ehci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h
index ee2899a5a5fb..a7393a9c4a42 100644
--- a/drivers/usb/host/ehci.h
+++ b/drivers/usb/host/ehci.h
@@ -200,7 +200,9 @@ struct ehci_hcd { /* one per controller */
unsigned has_synopsys_hc_bug:1; /* Synopsys HC */
unsigned frame_index_bug:1; /* MosChip (AKA NetMos) */
unsigned need_oc_pp_cycle:1; /* MPC834X port power */
+#ifdef CONFIG_USB_EHCI_TEGRA
unsigned controller_resets_phy:1;
+#endif
/* required for usb32 quirk */
#define OHCI_CTRL_HCFS (3 << 6)