summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/core.h
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2015-05-13 15:26:44 +0300
committerFelipe Balbi <balbi@ti.com>2015-05-13 12:05:41 -0500
commitf699b94789a64bec66e45c2dc39f06ae1208d852 (patch)
treeaa8d68d478be0f8e15a958a3b597c2ff82c907d4 /drivers/usb/dwc3/core.h
parentb5699eeee68f7667f200b05f57bcf8124ddba9fc (diff)
downloadtalos-obmc-linux-f699b94789a64bec66e45c2dc39f06ae1208d852.tar.gz
talos-obmc-linux-f699b94789a64bec66e45c2dc39f06ae1208d852.zip
usb: dwc3: ULPI or UTMI+ select
Make selection between ULPI and UTMI+ interfaces possible by providing definition for the bit in Global USB2 PHY Configuration Register that controls it. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Acked-by: David Cohen <david.a.cohen@linux.intel.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/core.h')
-rw-r--r--drivers/usb/dwc3/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index 747805d9c5c3..c6eafaab8b27 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -173,6 +173,7 @@
/* Global USB2 PHY Configuration Register */
#define DWC3_GUSB2PHYCFG_PHYSOFTRST (1 << 31)
#define DWC3_GUSB2PHYCFG_SUSPHY (1 << 6)
+#define DWC3_GUSB2PHYCFG_ULPI_UTMI (1 << 4)
/* Global USB2 PHY Vendor Control Register */
#define DWC3_GUSB2PHYACC_NEWREGREQ (1 << 25)
OpenPOWER on IntegriCloud