usb: dwc3: exynos: Add support for Exynos5422 suspend clk
authorAnand Moon <linux.amoon@gmail.com>
Tue, 10 Mar 2020 19:48:53 +0000 (19:48 +0000)
committerFelipe Balbi <balbi@kernel.org>
Sun, 15 Mar 2020 09:08:27 +0000 (11:08 +0200)
commit07f6842341abe978e6375078f84506ec3280ece5
tree09b08395693e295a0e83befafea323c516c6305f
parent238d760216541d345ee930e76c781f5cd1d22fba
usb: dwc3: exynos: Add support for Exynos5422 suspend clk

Exynos5422 DWC3 module support two clk USBD300 and SCLK_USBD300
so add missing code to enable/disable code and suspend clk, for this
add a new compatible samsung,exynos5420-dwusb3 to help configure
dwc3 code and dwc3 suspend clock. Suspend clock controls the PHY power
change from P0 to P1/P2/P3 during U0 to U1/U2/U3 transition.

Signed-off-by: Anand Moon <linux.amoon@gmail.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/dwc3/dwc3-exynos.c