usb: dwc3: add dis_enblslpm_quirk
authorFrank Wang <frank.wang@rock-chips.com>
Tue, 26 May 2020 03:33:46 +0000 (11:33 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 29 May 2020 10:13:19 +0000 (18:13 +0800)
commit7bb62708397d93d92804749b4c4c8d796df418de
treede9686e89e77ed88dd3ea92b5845f4d3bc450331
parent214de08767a7d83df7a6a93d50b263d3cc714acf
usb: dwc3: add dis_enblslpm_quirk

Add a quirk to clear the GUSB2PHYCFG.ENBLSLPM bit, which controls
whether the PHY receives the suspend signal from the controller.

Refer to commit ec791d149bca("usb: dwc3: Add dis_enblslpm_quirk")
in Linux Kernel.

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h
include/dwc3-uboot.h