public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH 0/2] musb init generalization
@ 2008-04-24 13:46 Felipe Balbi
  2008-04-24 13:46 ` [PATCH 1/2] OMAP: Introduce cpu_class_is_omap3() Felipe Balbi
  0 siblings, 1 reply; 21+ messages in thread
From: Felipe Balbi @ 2008-04-24 13:46 UTC (permalink / raw)
  To: linux-omap, David Brownell; +Cc: Tony Lindgren, khasim, Felipe Balbi

The following two patches allow us to use a common
board file for usb initialization on omap2430 and omap3
boards.

First we introduce cpu_class_is_omap3() and use it to change
resource offsets.

It's should be ok adding cpu_class_is_omap3() now since soon we
already have omap35xx chips and sooner or later we're gonna
have patches for it in linux-omap (??)

Both patches are RFC but they're working on omap3430sdp.

Maybe someone could try on omap2430.

Comments are always welcome.

Felipe Balbi (2):
  OMAP: Introduce cpu_class_is_omap3()
  USB: Generalize usb initialization for omap hw

 arch/arm/mach-omap2/Makefile                       |    4 +-
 arch/arm/mach-omap2/board-2430sdp-usb.c            |   96 --------------------
 arch/arm/mach-omap2/board-2430sdp.c                |    3 +-
 arch/arm/mach-omap2/board-3430sdp.c                |    3 +-
 .../mach-omap2/{board-3430sdp-usb.c => usb-musb.c} |   32 ++++---
 arch/arm/plat-omap/common.c                        |    2 +-
 arch/arm/plat-omap/dma.c                           |   58 ++++++------
 arch/arm/plat-omap/dmtimer.c                       |   10 +-
 arch/arm/plat-omap/gpio.c                          |   14 ++--
 arch/arm/plat-omap/sram.c                          |    4 +-
 arch/arm/plat-omap/usb.c                           |    2 +-
 include/asm-arm/arch-omap/cpu.h                    |    3 +-
 include/asm-arm/arch-omap/usb-musb.h               |   35 +++++++
 13 files changed, 108 insertions(+), 158 deletions(-)
 delete mode 100644 arch/arm/mach-omap2/board-2430sdp-usb.c
 rename arch/arm/mach-omap2/{board-3430sdp-usb.c => usb-musb.c} (91%)
 create mode 100644 include/asm-arm/arch-omap/usb-musb.h


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

end of thread, other threads:[~2008-04-28 11:03 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-24 13:46 [RFC][PATCH 0/2] musb init generalization Felipe Balbi
2008-04-24 13:46 ` [PATCH 1/2] OMAP: Introduce cpu_class_is_omap3() Felipe Balbi
2008-04-24 13:46   ` [PATCH 2/2] USB: Generalize usb initialization for omap hw Felipe Balbi
2008-04-24 14:13     ` Gadiyar, Anand
2008-04-24 14:18       ` Felipe Balbi
2008-04-24 17:16         ` Tony Lindgren
2008-04-24 18:27           ` Felipe Balbi
2008-04-24 18:29           ` David Brownell
2008-04-24 18:32             ` Felipe Balbi
2008-04-24 19:02               ` David Brownell
2008-04-24 18:51             ` usb generalization Felipe Balbi
2008-04-24 18:51               ` [PATCH] USB: Generalize usb initialization for omap hw Felipe Balbi
2008-04-24 19:07                 ` David Brownell
2008-04-24 20:48                   ` Tony Lindgren
2008-04-24 21:08                     ` Felipe Balbi
2008-04-24 21:31                       ` Tony Lindgren
2008-04-28 10:59                 ` Pandita, Vikram
2008-04-28 11:02                   ` Felipe Balbi
2008-04-24 17:12       ` [PATCH 2/2] " Tony Lindgren
2008-04-24 17:10     ` Tony Lindgren
2008-04-24 17:06   ` [PATCH 1/2] OMAP: Introduce cpu_class_is_omap3() Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox