summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2015-05-13 14:26:44 +0200
committerFelipe Balbi <balbi@ti.com>2015-05-13 19:05:41 +0200
commitf699b94789a64bec66e45c2dc39f06ae1208d852 (patch)
treeaa8d68d478be0f8e15a958a3b597c2ff82c907d4
parentusb: dwc3: USB2 PHY register access bits (diff)
downloadlinux-f699b94789a64bec66e45c2dc39f06ae1208d852.tar.xz
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>
-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)