|
@@ -377,6 +377,9 @@ static void dwc3_phy_setup(struct dwc3 *dwc)
|
|
if (dwc->u2ss_inp3_quirk)
|
|
if (dwc->u2ss_inp3_quirk)
|
|
reg |= DWC3_GUSB3PIPECTL_U2SSINP3OK;
|
|
reg |= DWC3_GUSB3PIPECTL_U2SSINP3OK;
|
|
|
|
|
|
|
|
+ if (dwc->req_p1p2p3_quirk)
|
|
|
|
+ reg |= DWC3_GUSB3PIPECTL_REQP1P2P3;
|
|
|
|
+
|
|
dwc3_writel(dwc->regs, DWC3_GUSB3PIPECTL(0), reg);
|
|
dwc3_writel(dwc->regs, DWC3_GUSB3PIPECTL(0), reg);
|
|
|
|
|
|
mdelay(100);
|
|
mdelay(100);
|
|
@@ -756,6 +759,8 @@ static int dwc3_probe(struct platform_device *pdev)
|
|
"snps,u2exit_lfps_quirk");
|
|
"snps,u2exit_lfps_quirk");
|
|
dwc->u2ss_inp3_quirk = of_property_read_bool(node,
|
|
dwc->u2ss_inp3_quirk = of_property_read_bool(node,
|
|
"snps,u2ss_inp3_quirk");
|
|
"snps,u2ss_inp3_quirk");
|
|
|
|
+ dwc->req_p1p2p3_quirk = of_property_read_bool(node,
|
|
|
|
+ "snps,req_p1p2p3_quirk");
|
|
} else if (pdata) {
|
|
} else if (pdata) {
|
|
dwc->maximum_speed = pdata->maximum_speed;
|
|
dwc->maximum_speed = pdata->maximum_speed;
|
|
dwc->has_lpm_erratum = pdata->has_lpm_erratum;
|
|
dwc->has_lpm_erratum = pdata->has_lpm_erratum;
|
|
@@ -768,6 +773,7 @@ static int dwc3_probe(struct platform_device *pdev)
|
|
dwc->disable_scramble_quirk = pdata->disable_scramble_quirk;
|
|
dwc->disable_scramble_quirk = pdata->disable_scramble_quirk;
|
|
dwc->u2exit_lfps_quirk = pdata->u2exit_lfps_quirk;
|
|
dwc->u2exit_lfps_quirk = pdata->u2exit_lfps_quirk;
|
|
dwc->u2ss_inp3_quirk = pdata->u2ss_inp3_quirk;
|
|
dwc->u2ss_inp3_quirk = pdata->u2ss_inp3_quirk;
|
|
|
|
+ dwc->req_p1p2p3_quirk = pdata->req_p1p2p3_quirk;
|
|
}
|
|
}
|
|
|
|
|
|
/* default to superspeed if no maximum_speed passed */
|
|
/* default to superspeed if no maximum_speed passed */
|