|
@@ -515,6 +515,9 @@ static int dwc3_phy_setup(struct dwc3 *dwc)
|
|
if (dwc->dis_u2_susphy_quirk)
|
|
if (dwc->dis_u2_susphy_quirk)
|
|
reg &= ~DWC3_GUSB2PHYCFG_SUSPHY;
|
|
reg &= ~DWC3_GUSB2PHYCFG_SUSPHY;
|
|
|
|
|
|
|
|
+ if (dwc->dis_enblslpm_quirk)
|
|
|
|
+ reg &= ~DWC3_GUSB2PHYCFG_ENBLSLPM;
|
|
|
|
+
|
|
dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
|
|
dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
|
|
|
|
|
|
return 0;
|
|
return 0;
|
|
@@ -912,6 +915,8 @@ static int dwc3_probe(struct platform_device *pdev)
|
|
"snps,dis_u3_susphy_quirk");
|
|
"snps,dis_u3_susphy_quirk");
|
|
dwc->dis_u2_susphy_quirk = device_property_read_bool(dev,
|
|
dwc->dis_u2_susphy_quirk = device_property_read_bool(dev,
|
|
"snps,dis_u2_susphy_quirk");
|
|
"snps,dis_u2_susphy_quirk");
|
|
|
|
+ dwc->dis_enblslpm_quirk = device_property_read_bool(dev,
|
|
|
|
+ "snps,dis_enblslpm_quirk");
|
|
|
|
|
|
dwc->tx_de_emphasis_quirk = device_property_read_bool(dev,
|
|
dwc->tx_de_emphasis_quirk = device_property_read_bool(dev,
|
|
"snps,tx_de_emphasis_quirk");
|
|
"snps,tx_de_emphasis_quirk");
|
|
@@ -945,6 +950,7 @@ static int dwc3_probe(struct platform_device *pdev)
|
|
dwc->rx_detect_poll_quirk = pdata->rx_detect_poll_quirk;
|
|
dwc->rx_detect_poll_quirk = pdata->rx_detect_poll_quirk;
|
|
dwc->dis_u3_susphy_quirk = pdata->dis_u3_susphy_quirk;
|
|
dwc->dis_u3_susphy_quirk = pdata->dis_u3_susphy_quirk;
|
|
dwc->dis_u2_susphy_quirk = pdata->dis_u2_susphy_quirk;
|
|
dwc->dis_u2_susphy_quirk = pdata->dis_u2_susphy_quirk;
|
|
|
|
+ dwc->dis_enblslpm_quirk = pdata->dis_enblslpm_quirk;
|
|
|
|
|
|
dwc->tx_de_emphasis_quirk = pdata->tx_de_emphasis_quirk;
|
|
dwc->tx_de_emphasis_quirk = pdata->tx_de_emphasis_quirk;
|
|
if (pdata->tx_de_emphasis)
|
|
if (pdata->tx_de_emphasis)
|