summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/platform_data.h
diff options
context:
space:
mode:
authorHeikki Krogerus2015-05-13 14:26:49 +0200
committerFelipe Balbi2015-05-13 19:06:42 +0200
commit3e10a2ce98d1a57992a44ed40325af60ab7b0f5d (patch)
tree82be6b662bf2ef2e3b9393248a64a08cb92f06da /drivers/usb/dwc3/platform_data.h
parentusb: dwc3: setup phys earlier (diff)
downloadkernel-qcow2-linux-3e10a2ce98d1a57992a44ed40325af60ab7b0f5d.tar.gz
kernel-qcow2-linux-3e10a2ce98d1a57992a44ed40325af60ab7b0f5d.tar.xz
kernel-qcow2-linux-3e10a2ce98d1a57992a44ed40325af60ab7b0f5d.zip
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;
};