summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/core.h
diff options
context:
space:
mode:
authorHuang Rui2014-10-31 04:11:14 +0100
committerFelipe Balbi2014-11-03 17:03:39 +0100
commit0effe0a3e741c0e2318f541ce207c9bd6cfe985c (patch)
tree12e9459e375e2b9ea3891dc267e9771371571a73 /drivers/usb/dwc3/core.h
parentusb: dwc3: add disable usb3 suspend phy quirk (diff)
downloadkernel-qcow2-linux-0effe0a3e741c0e2318f541ce207c9bd6cfe985c.tar.gz
kernel-qcow2-linux-0effe0a3e741c0e2318f541ce207c9bd6cfe985c.tar.xz
kernel-qcow2-linux-0effe0a3e741c0e2318f541ce207c9bd6cfe985c.zip
usb: dwc3: add disable usb2 suspend phy quirk
This patch adds disable usb2 suspend phy quirk, and some special platforms can configure that if it is needed. Signed-off-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/core.h')
-rw-r--r--drivers/usb/dwc3/core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index fa778b0a5ab7..cf86d3022b52 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -698,6 +698,7 @@ struct dwc3_scratchpad_array {
* @lfps_filter_quirk: set if we enable LFPS filter quirk
* @rx_detect_poll_quirk: set if we enable rx_detect to polling lfps quirk
* @dis_u3_susphy_quirk: set if we disable usb3 suspend phy
+ * @dis_u2_susphy_quirk: set if we disable usb2 suspend phy
* @tx_de_emphasis_quirk: set if we enable Tx de-emphasis quirk
* @tx_de_emphasis: Tx de-emphasis value
* 0 - -6dB de-emphasis
@@ -820,6 +821,7 @@ struct dwc3 {
unsigned lfps_filter_quirk:1;
unsigned rx_detect_poll_quirk:1;
unsigned dis_u3_susphy_quirk:1;
+ unsigned dis_u2_susphy_quirk:1;
unsigned tx_de_emphasis_quirk:1;
unsigned tx_de_emphasis:2;