.. | .. |
---|
1099 | 1099 | if (dwc->parkmode_disable_ss_quirk) |
---|
1100 | 1100 | reg |= DWC3_GUCTL1_PARKMODE_DISABLE_SS; |
---|
1101 | 1101 | |
---|
| 1102 | +#ifdef CONFIG_NO_GKI |
---|
| 1103 | + if (dwc->parkmode_disable_hs_quirk) |
---|
| 1104 | + reg |= DWC3_GUCTL1_PARKMODE_DISABLE_HS; |
---|
| 1105 | +#endif |
---|
| 1106 | + |
---|
1102 | 1107 | if (dwc->maximum_speed == USB_SPEED_HIGH || |
---|
1103 | 1108 | dwc->maximum_speed == USB_SPEED_FULL) |
---|
1104 | 1109 | reg |= DWC3_GUCTL1_DEV_FORCE_20_CLK_FOR_30_CLK; |
---|
.. | .. |
---|
1418 | 1423 | "snps,dis-tx-ipgap-linecheck-quirk"); |
---|
1419 | 1424 | dwc->parkmode_disable_ss_quirk = device_property_read_bool(dev, |
---|
1420 | 1425 | "snps,parkmode-disable-ss-quirk"); |
---|
| 1426 | +#ifdef CONFIG_NO_GKI |
---|
| 1427 | + dwc->parkmode_disable_hs_quirk = device_property_read_bool(dev, |
---|
| 1428 | + "snps,parkmode-disable-hs-quirk"); |
---|
| 1429 | +#endif |
---|
1421 | 1430 | |
---|
1422 | 1431 | dwc->tx_de_emphasis_quirk = device_property_read_bool(dev, |
---|
1423 | 1432 | "snps,tx_de_emphasis_quirk"); |
---|