summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/platform_data.h
diff options
context:
space:
mode:
authorNikhil Badola <nikhil.badola@freescale.com>2015-09-04 10:15:58 +0530
committerFelipe Balbi <balbi@ti.com>2015-09-27 10:54:31 -0500
commitdb2be4e9e30c6e43e48c5749d3fc74cee0a6bbb3 (patch)
tree432c121be730e9333f10efcd857afaf2a986c7f0 /drivers/usb/dwc3/platform_data.h
parent3737c54418c35034127bf2837e9b27a3c3c67940 (diff)
usb: dwc3: Add frame length adjustment quirk
Add adjust_frame_length_quirk for writing to fladj register which adjusts (micro)frame length to value provided by "snps,quirk-frame-length-adjustment" property thus avoiding USB 2.0 devices to time-out over a longer run Signed-off-by: Nikhil Badola <nikhil.badola@freescale.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 d3614ecbb9ca..400b197d9985 100644
--- a/drivers/usb/dwc3/platform_data.h
+++ b/drivers/usb/dwc3/platform_data.h
@@ -46,5 +46,7 @@ struct dwc3_platform_data {
unsigned tx_de_emphasis_quirk:1;
unsigned tx_de_emphasis:2;
+ u32 fladj_value;
+
const char *hsphy_interface;
};