Skip to content

driver model bring-up of dwc3 usb peripheral

Mugunthan V N u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 10 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 10 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 00/10] driver model bring-up of dwc3 usb peripheral
Quoted 88 lines · Simon Glass

+Mugunthan, who seems to have been dropped from this thread

Quoted 63 lines · Tom Rini
Quoted 62 lines · Simon Glass

Hi,

Quoted 59 lines · Marek Vasut
Quoted 58 lines · Tom Rini
Quoted 53 lines · Michal Simek

Hi Tom,

Quoted 40 lines · Mugunthan V N

This patch series enables dwc3 usb driver to adopt driver model. This has been tested on AM437x evm sk (logs [1]) by loading kernel through usb ether

Also pushed a branch for testing [2]

[1] - http://pastebin.ubuntu.com/15391169/
[2] - git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git dm-dwc3

Kishon Vijay Abraham I (1):
configs: am43xx: Add am43xx_evm_usbspl_defconfig

Mugunthan V N (8):
drivers: usb: dwc3: remove devm_zalloc from linux_compact
drivers: usb: dwc3-omap: move usb_gadget_handle_interrupts from board
files to drivers
am437x: board: do not register usb devices when CONFIG_DM_USB is
defined
dra7xx: board: do not register usb devices when CONFIG_DM_USB is
defined
drivers: usb: dwc3: add ti dwc3 misc driver for wrapper
drivers: usb: common: add support to get maximum speed from dt
drivers: usb: dwc3: add ti dwc3 peripheral driver with driver model
support
defconfig: am437x_sk_evm: enable usb driver model

Tom Rini (1):
am43xx: Add USB device boot support to SPL

 board/ti/am43xx/MAINTAINERS         |   1 +
 board/ti/am43xx/board.c             |  52 +++++---
 board/ti/am57xx/board.c             |  11 --
 board/ti/dra7xx/evm.c               |  13 +-
 configs/am437x_sk_evm_defconfig     |   4 +
 configs/am43xx_evm_usbspl_defconfig |   9 ++
 drivers/Makefile                    |   2 +
 drivers/usb/common/common.c         |  29 +++++
 drivers/usb/dwc3/core.c             |  64 +++++++++-
 drivers/usb/dwc3/core.h             |   6 +
 drivers/usb/dwc3/dwc3-omap.c        | 230 +++++++++++++++++++++++++++++++++++-
Quoted 9 lines
 drivers/usb/dwc3/gadget.c           |   2 +-
 drivers/usb/dwc3/linux-compat.h     |   5 -
 drivers/usb/dwc3/ti_usb_phy.c       |   1 +
 drivers/usb/gadget/gadget_chips.h   |   2 +
 include/configs/am43xx_evm.h        |  13 ++
 include/linux/usb/otg.h             |   9 ++
 17 files changed, 406 insertions(+), 47 deletions(-)
 create mode 100644 configs/am43xx_evm_usbspl_defconfig
Quoted 1 line

Are you going to take this directly or this should go via USB tree?

Marek, do you want this? Or want me to?

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

That is Lukasz.

This series has ended up in my patchwork queue, but there seem to be quite a few unapplied, dependent patches. Tom please let me know what you'd like me to do here.

... I didn't think it depended on stuff but I do need to do another go-round from the queue and apply stuff.

Specifically it seems to be missing the patch below, from:

git://git.ti.com/~dmurphy/ti-u-boot/mugunth-ti-u-boot.git

commit 67802cd52d1c45a789ac377106267cee9d6ac2d9

Author: Mugunthan V N <[email protected]>
Date:   Tue Mar 1 16:59:22 2016 +0530

drivers: usb: common: add common code for usb drivers to use

Add common usb code which usb drivers makes use of it.

Quoted 8 lines
 Makefile                    |  1 +
 drivers/usb/common/Makefile |  8 ++++++++
 drivers/usb/common/common.c | 40 ++++++++++++++++++++++++++++++++++++++++
 include/linux/usb/otg.h     |  9 +++++++++
 4 files changed, 58 insertions(+)

This was part of my musb v2 patch series, due to other priorities I didn't submitted this yet.

Simon, are you applying the series, can I send the above patch separately?

Regards
Mugunthan V N