summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/platform_data.h
diff options
context:
space:
mode:
authorRajesh Bhagat2016-03-14 10:10:50 +0100
committerFelipe Balbi2016-04-18 14:23:44 +0200
commite58dd357741b93f5bc5487aabba968c76bb099ef (patch)
treefde45104da90d9160ad617a51af645c009c57203 /drivers/usb/dwc3/platform_data.h
parentDocumentation: dt: dwc3: Add snps,dis_rxdet_inp3_quirk property (diff)
downloadkernel-qcow2-linux-e58dd357741b93f5bc5487aabba968c76bb099ef.tar.gz
kernel-qcow2-linux-e58dd357741b93f5bc5487aabba968c76bb099ef.tar.xz
kernel-qcow2-linux-e58dd357741b93f5bc5487aabba968c76bb099ef.zip
usb: dwc3: add disable receiver detection in P3 quirk
Some freescale QorIQ platforms require to disable receiver detection in P3 for correct detection of USB devices. If GUSB3PIPECTL(DISRXDETINP3) is set, Core will change PHY power state to P2 and then perform receiver detection. After receiver detection, Core will change PHY power state to P3. Same quirk would be added in dts file in future patches. Signed-off-by: Sriram Dash <sriram.dash@nxp.com> Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/platform_data.h')
-rw-r--r--drivers/usb/dwc3/platform_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/platform_data.h b/drivers/usb/dwc3/platform_data.h
index aaa6f00df755..8826cca5fc6f 100644
--- a/drivers/usb/dwc3/platform_data.h
+++ b/drivers/usb/dwc3/platform_data.h
@@ -42,6 +42,7 @@ struct dwc3_platform_data {
unsigned dis_u3_susphy_quirk:1;
unsigned dis_u2_susphy_quirk:1;
unsigned dis_enblslpm_quirk:1;
+ unsigned dis_rxdet_inp3_quirk:1;
unsigned tx_de_emphasis_quirk:1;
unsigned tx_de_emphasis:2;