summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/platform_data.h
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2015-05-13 15:26:49 +0300
committerFelipe Balbi <balbi@ti.com>2015-05-13 12:06:42 -0500
commit3e10a2ce98d1a57992a44ed40325af60ab7b0f5d (patch)
tree82be6b662bf2ef2e3b9393248a64a08cb92f06da /drivers/usb/dwc3/platform_data.h
parent45bb7de213d86d491840e9c3ae139475ab3fa493 (diff)
usb: dwc3: add hsphy_interface property
Platforms that have configured DWC_USB3_HSPHY_INTERFACE with value 3, i.e. UTMI+ and ULPI, need to inform the driver of the actual HSPHY interface type with the property. "utmi" if the interface is UTMI+ or "ulpi" if the interface is ULPI. 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/platform_data.h')
-rw-r--r--drivers/usb/dwc3/platform_data.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/platform_data.h b/drivers/usb/dwc3/platform_data.h
index a2bd464be828..d3614ecbb9ca 100644
--- a/drivers/usb/dwc3/platform_data.h
+++ b/drivers/usb/dwc3/platform_data.h
@@ -45,4 +45,6 @@ struct dwc3_platform_data {
unsigned tx_de_emphasis_quirk:1;
unsigned tx_de_emphasis:2;
+
+ const char *hsphy_interface;
};