usb: dwc3: Add dwc3 glue driver support for STi
authorPatrice Chotard <patrice.chotard@st.com>
Tue, 5 Sep 2017 09:04:24 +0000 (11:04 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 22 Sep 2017 11:39:59 +0000 (07:39 -0400)
commit40d1a31e6329da8feecc555f2bdfb8da463bdd40
treea27c1b3d915fc829624fe05e4ddc46a5d8fbe345
parent8b35f4346f8c95fee38d7c14eab70cd8b7532112
usb: dwc3: Add dwc3 glue driver support for STi

This patch adds the ST glue logic to manage the DWC3 HC
on STiH407 SoC family. It configures the internal glue
logic and syscfg registers.

Part of this code been extracted from kernel.org driver
(drivers/usb/dwc3/dwc3-st.c)

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-stih410/sys_proto.h [new file with mode: 0644]
doc/device-tree-bindings/usb/dwc3-st.txt [new file with mode: 0644]
drivers/usb/host/Kconfig
drivers/usb/host/Makefile
drivers/usb/host/dwc3-sti-glue.c [new file with mode: 0644]
include/dwc3-sti-glue.h [new file with mode: 0644]