usb: dwc2: Disable power down feature on Rockchip SoCs

Power down feature of DWC2 module integrated in Rockchip SoCs doesn't work
properly or needs some additional handling in PHY or SoC glue layer, so
disable it for now. Without disabling power down, DWC2 sporadically cannot
detect USB disconnect.

Change-Id: Ic46fdb7a000b9029727a6a46e4ca5399b98285e8
Signed-off-by: Bin Yang <yangbin@rock-chips.com>
This commit is contained in:
Bin Yang
2019-10-18 11:14:00 +08:00
committed by Tao Huang
parent debf378724
commit cd7a75caa3

View File

@@ -89,6 +89,7 @@ static void dwc2_set_rk_params(struct dwc2_hsotg *hsotg)
p->ahbcfg = GAHBCFG_HBSTLEN_INCR16 <<
GAHBCFG_HBSTLEN_SHIFT;
p->lpm = false;
p->power_down = 0;
}
static void dwc2_set_ltq_params(struct dwc2_hsotg *hsotg)