[PATCH v4 00/13] usb: dwc2: Add host and gadget driver

Sascha Hauer s.hauer at pengutronix.de
Fri Aug 14 09:12:44 EDT 2020


On Tue, Aug 11, 2020 at 05:16:24PM +0200, Jules Maselbas wrote:
> This patchset add USB host and gadget support for the DWC2 controller.
> 
> The host driver is ported from the U-Boot driver (v2018.09-rc3), the
> memory map structure from U-Boot has been replaced with read/write
> functions and the hardware parameters structure are taken from Linux.
> 
> The gadget driver is ported from Linux (5.1-rc6) and only support direct
> dma (not descriptor based) and does not support direct buffer although
> this could be nice to have.
> 
> changes since v3:
>  - drop ulpi phy patch
>  - add dev->detect callback, will call usb_host_detect in host mode
>  - use '%pad' when printing dma_addr_t
>  - update commit messages to include version information of original driver
> changes since v2:
>  - rework timeout handling for networking
>  - use usb_register_otg_device
>  - rework gadget fifo allocation
>  - modified makefile/kconfig for host or gadget only

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list