hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/drivers/usb/dwc3/core.c
....@@ -1099,6 +1099,11 @@
10991099 if (dwc->parkmode_disable_ss_quirk)
11001100 reg |= DWC3_GUCTL1_PARKMODE_DISABLE_SS;
11011101
1102
+#ifdef CONFIG_NO_GKI
1103
+ if (dwc->parkmode_disable_hs_quirk)
1104
+ reg |= DWC3_GUCTL1_PARKMODE_DISABLE_HS;
1105
+#endif
1106
+
11021107 if (dwc->maximum_speed == USB_SPEED_HIGH ||
11031108 dwc->maximum_speed == USB_SPEED_FULL)
11041109 reg |= DWC3_GUCTL1_DEV_FORCE_20_CLK_FOR_30_CLK;
....@@ -1418,6 +1423,10 @@
14181423 "snps,dis-tx-ipgap-linecheck-quirk");
14191424 dwc->parkmode_disable_ss_quirk = device_property_read_bool(dev,
14201425 "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
14211430
14221431 dwc->tx_de_emphasis_quirk = device_property_read_bool(dev,
14231432 "snps,tx_de_emphasis_quirk");