usb: dwc2: Disable clock gating feature on Rockchip SoCs
Subsystems (2)
PATCH 1/1 usb: dwc2: Disable clock gating feature on Rockchip SoCs
The DWC2 IP on the Rockchip SoCs doesn't support clock gating. When a clock gating is enabled, system hangs.
Signed-off-by William Wu <[email protected]>
--- drivers/usb/dwc2/params.c | 1 + 1 file changed, 1 insertion(+)
drivers/usb/dwc2/params.c +1 -0
@@ -130,6 +130,7 @@ static void dwc2_set_rk_params(struct dwc2_hsotg *hsotg) p->lpm_clock_gating = false; p->besl = false; p->hird_threshold_en = false; + p->no_clock_gating = true; }static void dwc2_set_ltq_params (struct dwc2_hsotg *hsotg)
Signature · 1 line
2.0.0
Hi,
Quoted 4 lines · William Wu
The DWC2 IP on the Rockchip SoCs doesn't support clock gating. When a clock gating is enabled, system hangs.
Signed-off-by William Wu <[email protected]>
Quoted 16 lines
--- drivers/usb/dwc2/params.c | 1 + 1 file changed, 1 insertion(+)drivers/usb/dwc2/params.c +1
-0@@ -130,6 +130,7 @@ static void dwc2_set_rk_params(struct dwc2_hsotg *hsotg) p->lpm_clock_gating = false; p->besl = false; p->hird_threshold_en = false; + p->no_clock_gating = true; }static void dwc2_set_ltq_params (struct dwc2_hsotg *hsotg)