All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] FOR TESTING ONLY
@ 2010-12-02 11:48 Felipe Balbi
  2010-12-02 22:27 ` Tony Lindgren
  0 siblings, 1 reply; 5+ messages in thread
From: Felipe Balbi @ 2010-12-02 11:48 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: Linux OMAP Mailing List

Hi Tony,

I have a gigantic amount of patches on musb starting to move it to a
place where we can build am35x.c, omap2430.c and tusb6010.c together and
have a working binary.

There are a few changes still needed (as per comments Mike's comments on
linux-usb) but it's working fine on my pandaboard. Mike's comments are
mostly cosmetic (appending _musb suffix to function names and adding
const to a struct, for example).

If you could merge them into linux-omap so we can put the hwmod and
pm_runtime patches on top, I'd be glad.

Keep in mind that branch still might get rebased, so get ready to merge
-s ours :-p

Below is the pull request:

The following changes since commit e8a7e48bb248a1196484d3f8afa53bded2b24e71:

   Linux 2.6.37-rc4 (2010-11-29 20:42:04 -0800)

are available in the git repository at:
   git://gitorious.org/usb/usb.git musb-hw

Felipe Balbi (29):
       usb: musb: introduce struct musb_platform_ops
       usb: musb: make all glue layer export struct musb_platform_ops
       arm: omap4: panda: initialize musb
       usb: musb: hold context on musb structure
       usb: musb: add Kconfig options for each glue layer
       usb: musb: trivial search and replace patch
       usb: musb: split omap2430 to its own platform_driver
       usb: musb: split am35x to its own platform_driver
       usb: musb: split tusb6010 to its own platform_driver
       usb: musb: split davinci to its own platform_driver
       usb: musb: split da8xx to its own platform_driver
       usb: musb: split blackfin to its own platform_driver
       usb: musb: omap2430: give it a context structure
       usb: musb: am35x: give it a context structure
       usb: musb: tusb6010: give it a context structure
       usb: musb: davinci: give it a context structure
       usb: musb: da8xx: give it a context structure
       usb: musb: blackfin: give it a context structure
       usb: musb: pass platform_ops via platform_data
       usb: musb: mark ->set_clock deprecated
       usb: musb: move clock handling to glue layer
       usb: musb: drop the set_clock magic
       usb: musb: drop musb_platform_save/restore_context
       usb: musb: mark musb_save/restore_context static
       usb: musb: omap2430: drop the nops
       usb: musb: omap2430: use dev_pm_ops structure
       usb: musb: am35x: usb dev_pm_ops structure
       usb: musb: blackfin: usb dev_pm_ops structure
       usb: musb: drop musb_platform_suspend/resume

  arch/arm/mach-davinci/usb.c                  |    5 +-
  arch/arm/mach-omap2/board-n8x0.c             |    6 +-
  arch/arm/mach-omap2/board-omap4panda.c       |    1 +
  arch/arm/mach-omap2/clock2420_data.c         |    2 +-
  arch/arm/mach-omap2/clock2430_data.c         |    2 +-
  arch/arm/mach-omap2/clock3xxx_data.c         |    8 +-
  arch/arm/mach-omap2/clock44xx_data.c         |    2 +-
  arch/arm/mach-omap2/usb-musb.c               |    5 +-
  arch/arm/mach-omap2/usb-tusb6010.c           |    2 +-
  arch/blackfin/mach-bf527/boards/ad7160eval.c |    2 +-
  arch/blackfin/mach-bf527/boards/cm_bf527.c   |    2 +-
  arch/blackfin/mach-bf527/boards/ezbrd.c      |    2 +-
  arch/blackfin/mach-bf527/boards/ezkit.c      |    2 +-
  arch/blackfin/mach-bf527/boards/tll6527m.c   |    2 +-
  arch/blackfin/mach-bf548/boards/cm_bf548.c   |    2 +-
  arch/blackfin/mach-bf548/boards/ezkit.c      |    2 +-
  drivers/usb/gadget/gadget_chips.h            |    2 +-
  drivers/usb/musb/Kconfig                     |   71 +++-----
  drivers/usb/musb/Makefile                    |   20 +--
  drivers/usb/musb/am35x.c                     |  267 +++++++++++++++++++++----
  drivers/usb/musb/blackfin.c                  |  177 +++++++++++++++--
  drivers/usb/musb/da8xx.c                     |  165 +++++++++++++++--
  drivers/usb/musb/davinci.c                   |  160 ++++++++++++++-
  drivers/usb/musb/musb_core.c                 |  168 ++++++----------
  drivers/usb/musb/musb_core.h                 |  184 +++++++++++-------
  drivers/usb/musb/musb_io.h                   |    4 +-
  drivers/usb/musb/musb_regs.h                 |    4 +-
  drivers/usb/musb/musb_virthub.c              |    2 +-
  drivers/usb/musb/omap2430.c                  |  271 ++++++++++++++++++++------
  drivers/usb/musb/tusb6010.c                  |  163 +++++++++++++--
  include/linux/usb/musb.h                     |    8 +-
  31 files changed, 1282 insertions(+), 431 deletions(-)

-- 
balbi

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] FOR TESTING ONLY
  2010-12-02 11:48 [GIT PULL] FOR TESTING ONLY Felipe Balbi
@ 2010-12-02 22:27 ` Tony Lindgren
  2010-12-03 12:44   ` Felipe Balbi
  0 siblings, 1 reply; 5+ messages in thread
From: Tony Lindgren @ 2010-12-02 22:27 UTC (permalink / raw)
  To: Felipe Balbi; +Cc: Linux OMAP Mailing List

Hi,

* Felipe Balbi <balbi@ti.com> [101202 03:38]:
> Hi Tony,
> 
> I have a gigantic amount of patches on musb starting to move it to a
> place where we can build am35x.c, omap2430.c and tusb6010.c together and
> have a working binary.
> 
> There are a few changes still needed (as per comments Mike's comments on
> linux-usb) but it's working fine on my pandaboard. Mike's comments are
> mostly cosmetic (appending _musb suffix to function names and adding
> const to a struct, for example).
> 
> If you could merge them into linux-omap so we can put the hwmod and
> pm_runtime patches on top, I'd be glad.
> 
> Keep in mind that branch still might get rebased, so get ready to merge
> -s ours :-p

Great, yeah I'll merge them into linux-omap master branch for testing
probably later on today.

Tony

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] FOR TESTING ONLY
  2010-12-02 22:27 ` Tony Lindgren
@ 2010-12-03 12:44   ` Felipe Balbi
  2010-12-06 19:49     ` Tony Lindgren
  0 siblings, 1 reply; 5+ messages in thread
From: Felipe Balbi @ 2010-12-03 12:44 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: Felipe Balbi, Linux OMAP Mailing List

On Thu, Dec 02, 2010 at 02:27:36PM -0800, Tony Lindgren wrote:
>Hi,
>
>* Felipe Balbi <balbi@ti.com> [101202 03:38]:
>> Hi Tony,
>>
>> I have a gigantic amount of patches on musb starting to move it to a
>> place where we can build am35x.c, omap2430.c and tusb6010.c together and
>> have a working binary.
>>
>> There are a few changes still needed (as per comments Mike's comments on
>> linux-usb) but it's working fine on my pandaboard. Mike's comments are
>> mostly cosmetic (appending _musb suffix to function names and adding
>> const to a struct, for example).
>>
>> If you could merge them into linux-omap so we can put the hwmod and
>> pm_runtime patches on top, I'd be glad.
>>
>> Keep in mind that branch still might get rebased, so get ready to merge
>> -s ours :-p
>
>Great, yeah I'll merge them into linux-omap master branch for testing
>probably later on today.

Cool, I just made the updates Mike asked and it's now all good again
:-p

I'm hoping Greg will still accept these patches on monday for merge
window, cross your fingers :-p

for 2.6.39 I'll get them all to build together. Not quite there yet.
TUSB6010 messed up the whole code with ifdefs, I need to check how to do
that one properly.

-- 
balbi

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] FOR TESTING ONLY
  2010-12-03 12:44   ` Felipe Balbi
@ 2010-12-06 19:49     ` Tony Lindgren
  2010-12-07  5:55       ` Felipe Balbi
  0 siblings, 1 reply; 5+ messages in thread
From: Tony Lindgren @ 2010-12-06 19:49 UTC (permalink / raw)
  To: Felipe Balbi; +Cc: Linux OMAP Mailing List

* Felipe Balbi <balbi@ti.com> [101203 04:35]:
> On Thu, Dec 02, 2010 at 02:27:36PM -0800, Tony Lindgren wrote:
> >
> >Great, yeah I'll merge them into linux-omap master branch for testing
> >probably later on today.
> 
> Cool, I just made the updates Mike asked and it's now all good again
> :-p

It will get repulled the next time I rebuild l-o master branch.
 
> I'm hoping Greg will still accept these patches on monday for merge
> window, cross your fingers :-p
> 
> for 2.6.39 I'll get them all to build together. Not quite there yet.
> TUSB6010 messed up the whole code with ifdefs, I need to check how to do
> that one properly.

It seems the right long term solution is to get drivers/dma dmaengine
to work for us for both system DMA and CPPI DMA. Well there are probably
other problems you're dealing with too..

Tony

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] FOR TESTING ONLY
  2010-12-06 19:49     ` Tony Lindgren
@ 2010-12-07  5:55       ` Felipe Balbi
  0 siblings, 0 replies; 5+ messages in thread
From: Felipe Balbi @ 2010-12-07  5:55 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: Felipe Balbi, Linux OMAP Mailing List

On Mon, Dec 06, 2010 at 11:49:18AM -0800, Tony Lindgren wrote:
>* Felipe Balbi <balbi@ti.com> [101203 04:35]:
>> On Thu, Dec 02, 2010 at 02:27:36PM -0800, Tony Lindgren wrote:
>> >
>> >Great, yeah I'll merge them into linux-omap master branch for testing
>> >probably later on today.
>>
>> Cool, I just made the updates Mike asked and it's now all good again
>> :-p
>
>It will get repulled the next time I rebuild l-o master branch.
>
>> I'm hoping Greg will still accept these patches on monday for merge
>> window, cross your fingers :-p
>>
>> for 2.6.39 I'll get them all to build together. Not quite there yet.
>> TUSB6010 messed up the whole code with ifdefs, I need to check how to do
>> that one properly.
>
>It seems the right long term solution is to get drivers/dma dmaengine
>to work for us for both system DMA and CPPI DMA. Well there are probably
>other problems you're dealing with too..

true, then musb would only use that API. I'll check how that can be
done, but that's something for 2.6.40, it'll be a mess to get all those
dma layers to drivers/dma in the near future :-p

-- 
balbi

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-07  5:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-02 11:48 [GIT PULL] FOR TESTING ONLY Felipe Balbi
2010-12-02 22:27 ` Tony Lindgren
2010-12-03 12:44   ` Felipe Balbi
2010-12-06 19:49     ` Tony Lindgren
2010-12-07  5:55       ` Felipe Balbi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.