|
@@ -412,6 +412,9 @@ static int dwc3_phy_setup(struct dwc3 *dwc)
|
|
|
if (dwc->u2ss_inp3_quirk)
|
|
|
reg |= DWC3_GUSB3PIPECTL_U2SSINP3OK;
|
|
|
|
|
|
+ if (dwc->dis_rxdet_inp3_quirk)
|
|
|
+ reg |= DWC3_GUSB3PIPECTL_DISRXDETINP3;
|
|
|
+
|
|
|
if (dwc->req_p1p2p3_quirk)
|
|
|
reg |= DWC3_GUSB3PIPECTL_REQP1P2P3;
|
|
|
|
|
@@ -882,6 +885,8 @@ static int dwc3_probe(struct platform_device *pdev)
|
|
|
"snps,dis_u2_susphy_quirk");
|
|
|
dwc->dis_enblslpm_quirk = device_property_read_bool(dev,
|
|
|
"snps,dis_enblslpm_quirk");
|
|
|
+ dwc->dis_rxdet_inp3_quirk = device_property_read_bool(dev,
|
|
|
+ "snps,dis_rxdet_inp3_quirk");
|
|
|
|
|
|
dwc->tx_de_emphasis_quirk = device_property_read_bool(dev,
|
|
|
"snps,tx_de_emphasis_quirk");
|
|
@@ -915,6 +920,7 @@ static int dwc3_probe(struct platform_device *pdev)
|
|
|
dwc->dis_u3_susphy_quirk = pdata->dis_u3_susphy_quirk;
|
|
|
dwc->dis_u2_susphy_quirk = pdata->dis_u2_susphy_quirk;
|
|
|
dwc->dis_enblslpm_quirk = pdata->dis_enblslpm_quirk;
|
|
|
+ dwc->dis_rxdet_inp3_quirk = pdata->dis_rxdet_inp3_quirk;
|
|
|
|
|
|
dwc->tx_de_emphasis_quirk = pdata->tx_de_emphasis_quirk;
|
|
|
if (pdata->tx_de_emphasis)
|