|
@@ -400,6 +400,9 @@ static void dwc3_phy_setup(struct dwc3 *dwc)
|
|
|
if (dwc->dis_u2_susphy_quirk)
|
|
|
reg &= ~DWC3_GUSB2PHYCFG_SUSPHY;
|
|
|
|
|
|
+ if (dwc->dis_enblslpm_quirk)
|
|
|
+ reg &= ~DWC3_GUSB2PHYCFG_ENBLSLPM;
|
|
|
+
|
|
|
dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg);
|
|
|
|
|
|
mdelay(100);
|
|
@@ -721,6 +724,7 @@ int dwc3_uboot_init(struct dwc3_device *dwc3_dev)
|
|
|
dwc->dis_u3_susphy_quirk = dwc3_dev->dis_u3_susphy_quirk;
|
|
|
dwc->dis_u2_susphy_quirk = dwc3_dev->dis_u2_susphy_quirk;
|
|
|
dwc->dis_del_phy_power_chg_quirk = dwc3_dev->dis_del_phy_power_chg_quirk;
|
|
|
+ dwc->dis_enblslpm_quirk = dwc3_dev->dis_enblslpm_quirk;
|
|
|
|
|
|
dwc->tx_de_emphasis_quirk = dwc3_dev->tx_de_emphasis_quirk;
|
|
|
if (dwc3_dev->tx_de_emphasis)
|
|
@@ -928,6 +932,8 @@ void dwc3_of_parse(struct dwc3 *dwc)
|
|
|
"snps,dis_u2_susphy_quirk");
|
|
|
dwc->dis_del_phy_power_chg_quirk = dev_read_bool(dev,
|
|
|
"snps,dis-del-phy-power-chg-quirk");
|
|
|
+ dwc->dis_enblslpm_quirk = dev_read_bool(dev,
|
|
|
+ "snps,dis_enblslpm_quirk");
|
|
|
dwc->tx_de_emphasis_quirk = dev_read_bool(dev,
|
|
|
"snps,tx_de_emphasis_quirk");
|
|
|
tmp = dev_read_u8_array_ptr(dev, "snps,tx_de_emphasis", 1);
|