]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
usb: dwc3: exynos: Add support for Exynos5433 variant with all clocks
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 18 Sep 2018 08:16:52 +0000 (10:16 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 2 Oct 2018 07:33:01 +0000 (10:33 +0300)
commit4c19cc14064d99ef0a20fb5ba0d45c94dbedb13c
tree2ba6918a4e234d18a9388585377a317562559bb4
parent9f2168367a0ab73e57e365f980a9283d478c41ee
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>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Documentation/devicetree/bindings/usb/dwc3.txt
Documentation/devicetree/bindings/usb/exynos-usb.txt
drivers/usb/dwc3/dwc3-exynos.c