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

2016-12-20 Thread Michal Simek
Hi Mugunthan,

2016-04-12 12:34 GMT+02:00 Mugunthan V N :

> Hi Simon
>
> On Monday 11 April 2016 08:27 PM, Simon Glass wrote:
> > Hi Mugunthan,
> >
> > On 11 April 2016 at 08:52, Mugunthan V N  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  wrote:
>  On Wed, Apr 06, 2016 at 05:16:02PM -0600, Simon Glass wrote:
> > Hi,
> >
> > On 31 March 2016 at 09:24, Marek Vasut  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 
> >>> 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 
> >>>
> >>>  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.
> >
>
> I have posted the patch [1], can you apply it before applying this
> series to meet 

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

2016-04-12 Thread Mugunthan V N
Hi Simon

On Monday 11 April 2016 08:27 PM, Simon Glass wrote:
> Hi Mugunthan,
> 
> On 11 April 2016 at 08:52, Mugunthan V N  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  wrote:
 On Wed, Apr 06, 2016 at 05:16:02PM -0600, Simon Glass wrote:
> Hi,
>
> On 31 March 2016 at 09:24, Marek Vasut  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 
>>> 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 
>>>
>>>  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.
> 

I have posted the patch [1], can you apply it before applying this
series to meet the dependency.

[1]: http://patchwork.ozlabs.org/patch/609333/

Regards
Mugunthan V N

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2016-04-11 Thread Simon Glass
Hi Mugunthan,

On 11 April 2016 at 08:52, Mugunthan V N  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  wrote:
>>> On Wed, Apr 06, 2016 at 05:16:02PM -0600, Simon Glass wrote:
 Hi,

 On 31 March 2016 at 09:24, Marek Vasut  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 
>> 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 
>>
>>  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
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2016-04-11 Thread Mugunthan V N
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  wrote:
>> On Wed, Apr 06, 2016 at 05:16:02PM -0600, Simon Glass wrote:
>>> Hi,
>>>
>>> On 31 March 2016 at 09:24, Marek Vasut  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 
> 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 
> 
>  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

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2016-04-11 Thread Simon Glass
+Mugunthan, who seems to have been dropped from this thread

On 8 April 2016 at 13:45, Tom Rini  wrote:
> On Wed, Apr 06, 2016 at 05:16:02PM -0600, Simon Glass wrote:
>> Hi,
>>
>> On 31 March 2016 at 09:24, Marek Vasut  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 
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 

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

Regards,
Simon
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2016-04-08 Thread Tom Rini
On Wed, Apr 06, 2016 at 05:16:02PM -0600, Simon Glass wrote:
> Hi,
> 
> On 31 March 2016 at 09:24, Marek Vasut  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.

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2016-04-06 Thread Simon Glass
Hi,

On 31 March 2016 at 09:24, Marek Vasut  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.

Regards,
Simon
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2016-03-31 Thread Marek Vasut
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.

-- 
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2016-03-31 Thread Tom Rini
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?

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2016-03-31 Thread Michal Simek
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?

Thanks,
Michal


-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform




signature.asc
Description: OpenPGP digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot