usb: dwc3: exynos: Add support for Exynos5433 variant with all clocks
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 18 Sep 2018 07:16:21 +0000 (09:16 +0200)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:58:01 +0000 (14:58 +0900)
commita782c005b8351f73ee1c94a8d410f5a24277f6b5
treeeb72993359a8a0957db5f657d7a4957da67d05c7
parentb02b692d5f115c19dee855d340ebbafc5b9deda7
usb: dwc3: exynos: Add support for Exynos5433 variant with all clocks

DWC3 variant found in Exynos5433 SoCs requires keeping all DRD30/UHOST30
clocks enabled all the time the driver does any access to DWC3 registers,
otherwise external abort happens. So far DWC3 hardware module worked with
samsung,exynos5250-dwusb3 compatible only by luck when built into kernel:
all DRD30 clocks were left enabled by bootloader and later kept enabled
by the DRD PHY driver. However, if one tried to use Exnos DWC3 driver as
a module or performed system suspend/resume cycle, external abort
happened. This patch finally fixes this issue.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: If2cff3c68c73ef288b47ec3fe623c8b904a1e067
Documentation/devicetree/bindings/usb/exynos-usb.txt
drivers/usb/dwc3/dwc3-exynos.c