[U-Boot] [PATCH v9 07/10] usb: dwc3: Add dwc3 glue driver support for STi
Simon Glass
sjg at chromium.org
Fri Jul 28 04:19:50 UTC 2017
On 18 July 2017 at 06:31, <patrice.chotard at st.com> wrote:
> From: Patrice Chotard <patrice.chotard at st.com>
>
> 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 at st.com>
> ---
>
> v9: _ move inclusion of linux/usb/otg.h from include/dwc3-sti-glue.h to
> drivers/usb/host/dwc3-sti-glue.c requested by Marek Vasut
> v8: _ update failpath label names in sti_dwc3_glue_probe()
> v7: _ none
> v6: _ add reviewed-by Simon Glass
> _ put #define <common.h> first
> v5: _ none
> v4: _ none
> v3: _ rename dwc3-sti.c to dwc3-sti-glue.c
> respect device tree hierarchy, this driver is now responsible
> : for xhci-sti binding (done in sti_dwc3_glue_bind())
> v2: _ use setbits_le32() instead of read, modify, write sequence
> add missing parenthesis
>
> arch/arm/include/asm/arch-stih410/sys_proto.h | 11 ++
> doc/device-tree-bindings/usb/dwc3-st.txt | 60 ++++++
> drivers/usb/host/Kconfig | 9 +
> drivers/usb/host/Makefile | 1 +
> drivers/usb/host/dwc3-sti-glue.c | 257 ++++++++++++++++++++++++++
> include/dwc3-sti-glue.h | 41 ++++
> 6 files changed, 379 insertions(+)
> create mode 100644 arch/arm/include/asm/arch-stih410/sys_proto.h
> create mode 100644 doc/device-tree-bindings/usb/dwc3-st.txt
> create mode 100644 drivers/usb/host/dwc3-sti-glue.c
> create mode 100644 include/dwc3-sti-glue.h
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list