diff options
author | Thinh Nguyen <thinh.nguyen@synopsys.com> | 2018-11-07 18:10:30 -0800 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-11-26 09:06:31 +0200 |
commit | eafeacf1196447dac0b8c40e77e96a81b74b8f7f (patch) | |
tree | 86f21ecd9dfa387283796f530eb9be523ccffdb9 /drivers/usb/dwc3/core.c | |
parent | d102444cac156425e1f154089eb4400ddb581629 (diff) | |
download | linux-eafeacf1196447dac0b8c40e77e96a81b74b8f7f.tar.gz linux-eafeacf1196447dac0b8c40e77e96a81b74b8f7f.tar.bz2 linux-eafeacf1196447dac0b8c40e77e96a81b74b8f7f.zip |
usb: dwc3: Set GUSB2PHYCFG.ENBLSLPM
GUSB2PHYCFG.ENBLSLPM enables the controller to assert low power signals
to the PHY. Unless disabled via device property, explicitly set
GUSB2PHYCFG.ENBLSLPM as it may not be set by default.
Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/core.c')
-rw-r--r-- | drivers/usb/dwc3/core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index 2f2048aa5fde..077f60baa12d 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c @@ -661,6 +661,8 @@ static int dwc3_phy_setup(struct dwc3 *dwc) if (dwc->dis_enblslpm_quirk) reg &= ~DWC3_GUSB2PHYCFG_ENBLSLPM; + else + reg |= DWC3_GUSB2PHYCFG_ENBLSLPM; if (dwc->dis_u2_freeclk_exists_quirk) reg &= ~DWC3_GUSB2PHYCFG_U2_FREECLK_EXISTS; |