|
|
@@ -212,7 +212,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
|
|
|
},
|
|
|
--- a/drivers/usb/dwc3/core.c
|
|
|
+++ b/drivers/usb/dwc3/core.c
|
|
|
-@@ -1163,6 +1163,24 @@ static void dwc3_config_threshold(struct
|
|
|
+@@ -1181,6 +1181,24 @@ static void dwc3_config_threshold(struct
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -237,7 +237,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
|
|
|
/**
|
|
|
* dwc3_core_init - Low-level initialization of DWC3 Core
|
|
|
* @dwc: Pointer to our controller context structure
|
|
|
-@@ -1228,6 +1246,8 @@ static int dwc3_core_init(struct dwc3 *d
|
|
|
+@@ -1246,6 +1264,8 @@ static int dwc3_core_init(struct dwc3 *d
|
|
|
|
|
|
dwc3_set_incr_burst_type(dwc);
|
|
|
|
|
|
@@ -246,7 +246,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
|
|
|
ret = dwc3_phy_power_on(dwc);
|
|
|
if (ret)
|
|
|
goto err_exit_phy;
|
|
|
-@@ -1302,6 +1322,24 @@ static int dwc3_core_init(struct dwc3 *d
|
|
|
+@@ -1320,6 +1340,24 @@ static int dwc3_core_init(struct dwc3 *d
|
|
|
|
|
|
dwc3_config_threshold(dwc);
|
|
|
|
|
|
@@ -271,7 +271,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
|
|
|
return 0;
|
|
|
|
|
|
err_power_off_phy:
|
|
|
-@@ -1445,6 +1483,7 @@ static void dwc3_get_properties(struct d
|
|
|
+@@ -1463,6 +1501,7 @@ static void dwc3_get_properties(struct d
|
|
|
u8 tx_thr_num_pkt_prd = 0;
|
|
|
u8 tx_max_burst_prd = 0;
|
|
|
u8 tx_fifo_resize_max_num;
|
|
|
@@ -279,7 +279,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
|
|
|
const char *usb_psy_name;
|
|
|
int ret;
|
|
|
|
|
|
-@@ -1467,6 +1506,9 @@ static void dwc3_get_properties(struct d
|
|
|
+@@ -1485,6 +1524,9 @@ static void dwc3_get_properties(struct d
|
|
|
*/
|
|
|
tx_fifo_resize_max_num = 6;
|
|
|
|
|
|
@@ -289,7 +289,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
|
|
|
dwc->maximum_speed = usb_get_maximum_speed(dev);
|
|
|
dwc->max_ssp_rate = usb_get_maximum_ssp_rate(dev);
|
|
|
dwc->dr_mode = usb_get_dr_mode(dev);
|
|
|
-@@ -1588,6 +1630,9 @@ static void dwc3_get_properties(struct d
|
|
|
+@@ -1606,6 +1648,9 @@ static void dwc3_get_properties(struct d
|
|
|
dwc->dis_split_quirk = device_property_read_bool(dev,
|
|
|
"snps,dis-split-quirk");
|
|
|
|
|
|
@@ -299,7 +299,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
|
|
|
dwc->lpm_nyet_threshold = lpm_nyet_threshold;
|
|
|
dwc->tx_de_emphasis = tx_de_emphasis;
|
|
|
|
|
|
-@@ -1605,6 +1650,8 @@ static void dwc3_get_properties(struct d
|
|
|
+@@ -1623,6 +1668,8 @@ static void dwc3_get_properties(struct d
|
|
|
dwc->tx_thr_num_pkt_prd = tx_thr_num_pkt_prd;
|
|
|
dwc->tx_max_burst_prd = tx_max_burst_prd;
|
|
|
|
|
|
@@ -308,7 +308,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
|
|
|
dwc->imod_interval = 0;
|
|
|
|
|
|
dwc->tx_fifo_resize_max_num = tx_fifo_resize_max_num;
|
|
|
-@@ -1880,6 +1927,12 @@ static int dwc3_probe(struct platform_de
|
|
|
+@@ -1898,6 +1945,12 @@ static int dwc3_probe(struct platform_de
|
|
|
|
|
|
dwc3_get_properties(dwc);
|
|
|
|
|
|
@@ -341,7 +341,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
|
|
|
* @hsphy_interface: "utmi" or "ulpi"
|
|
|
* @connected: true when we're connected to a host, false otherwise
|
|
|
* @softconnect: true when gadget connect is called, false when disconnect runs
|
|
|
-@@ -1293,6 +1297,7 @@ struct dwc3 {
|
|
|
+@@ -1294,6 +1298,7 @@ struct dwc3 {
|
|
|
u8 tx_max_burst_prd;
|
|
|
u8 tx_fifo_resize_max_num;
|
|
|
u8 clear_stall_protocol;
|