[U-Boot] [PATCH 00/10] driver model bring-up of dwc3 usb peripheral

Simon Glass sjg at chromium.org
Mon Apr 11 16:57:02 CEST 2016


Hi Mugunthan,

On 11 April 2016 at 08:52, Mugunthan V N <mugunthanvnm at ti.com> wrote:
> On Monday 11 April 2016 05:50 PM, Simon Glass wrote:
>> +Mugunthan, who seems to have been dropped from this thread
>>
>> On 8 April 2016 at 13:45, Tom Rini <trini at konsulko.com> wrote:
>>> On Wed, Apr 06, 2016 at 05:16:02PM -0600, Simon Glass wrote:
>>>> Hi,
>>>>
>>>> On 31 March 2016 at 09:24, Marek Vasut <marex at denx.de> wrote:
>>>>> On 03/31/2016 05:11 PM, Tom Rini wrote:
>>>>>> On Thu, Mar 31, 2016 at 04:10:49PM +0200, Michal Simek wrote:
>>>>>>> Hi Tom,
>>>>>>>
>>>>>>> On 15.3.2016 13:14, Mugunthan V N wrote:
>>>>>>>> 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 +++++++++++++++++++++++++++++++++++-
>>>>>>>>  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
>>>>>>>>
>>>>>>>
>>>>>>> Are you going to take this directly or this should go via USB tree?
>>>>>>
>>>>>> Marek, do you want this?  Or want me to?
>>>>>>
>>>>> 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 <mugunthanvnm at ti.com>
>> 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.
>>
>>     Signed-off-by: Mugunthan V N <mugunthanvnm at ti.com>
>>
>>  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?

If you like, yes.

Regards,
Simon


More information about the U-Boot mailing list