public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Updates on mcbsp driver (take #3)
@ 2008-05-29 15:31 Eduardo Valentin
  2008-05-29 15:31 ` [PATCH 2/5] MACH-OMAP1: MCBSP: Add support for mcbsp on mach-omap1 Eduardo Valentin
  2008-05-29 15:36 ` [PATCH 1/5] PLAT-OMAP: MCBSP: Transform into platform driver Eduardo Valentin
  0 siblings, 2 replies; 10+ messages in thread
From: Eduardo Valentin @ 2008-05-29 15:31 UTC (permalink / raw)
  To: linux-omap; +Cc: Eduardo Valentin

From: Eduardo Valentin <eduardo.valentin@indt.org.br>

Hi Tony,

Here is the updated version of my previous patches.
As on take #2, DMA and IRQ definitions were left as they are.
Chandra is going to send his work on top of this series.

This series adds Tony's comments about clock usage on plat-omap/mcbsp.c.
Now it is done only with usual clk_* functions calls. But a
fake clock is created under mach-omap[1,2] to enable / disable
correct clocks when necessary. I also included Tony's patch to fix
clock definitions for 24xx.

This patch series updates mcbsp driver by transforming it into
a platform driver. This is a very initial implementation.
Basically it moves machine specific code to their correct place
and creates the platform driver necessary structures.

It must be working for previous boards. For omap34xx it should
work for mcbsp 1 and 2.

In order to do not break other places, I tryied to do not change
previous API. But future improvements are needed.

Clock definitions for  mcbsp 1 and 2 were also modified to add
correct support for omap34xx.

Comments are wellcome.

Cheers,

Eduardo Valentin (4):
  PLAT-OMAP: MCBSP: Tranform into platform driver
  MACH-OMAP1: MCBSP: Add support for mcbsp on mach-omap1
  Fix mcbsp clock definition on clock34xx.h
  MACH-OMAP2: MCBSP: Add support for mcbsp on mach-omap2

Tony Lindgren (1):
  ARM: OMAP: Fix 24xx mcbsp clocks

 arch/arm/mach-omap1/Makefile      |    2 +
 arch/arm/mach-omap1/mcbsp.c       |  249 ++++++++++++++
 arch/arm/mach-omap2/Makefile      |    2 +
 arch/arm/mach-omap2/clock24xx.h   |   30 ++-
 arch/arm/mach-omap2/clock34xx.h   |   30 ++-
 arch/arm/mach-omap2/mcbsp.c       |  190 +++++++++++
 arch/arm/plat-omap/devices.c      |   45 +++
 arch/arm/plat-omap/mcbsp.c        |  662 ++++++++++++++-----------------------
 include/asm-arm/arch-omap/mcbsp.h |   62 ++++-
 9 files changed, 841 insertions(+), 431 deletions(-)
 create mode 100644 arch/arm/mach-omap1/mcbsp.c
 create mode 100644 arch/arm/mach-omap2/mcbsp.c


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/5] Updates on mcbsp driver (take #4)
@ 2008-05-29 16:50 Eduardo Valentin
  2008-05-29 16:50 ` [PATCH 1/5] PLAT-OMAP: MCBSP: Transform into platform driver Eduardo Valentin
  0 siblings, 1 reply; 10+ messages in thread
From: Eduardo Valentin @ 2008-05-29 16:50 UTC (permalink / raw)
  To: linux-omap; +Cc: Eduardo Valentin

From: Eduardo Valentin <eduardo.valentin@indt.org.br>

Hi Tony,

Here is the updated version of my previous patches.
Now with modifications recommended by Anand and Andrew.

As on take #2, DMA and IRQ definitions were left as they are.
Chandra is going to send his work on top of this series.

This series adds Tony's comments about clock usage on plat-omap/mcbsp.c.
Now it is done only with usual clk_* functions calls. But a
fake clock is created under mach-omap[1,2] to enable / disable
correct clocks when necessary. I also included Tony's patch to fix
clock definitions for 24xx.

This patch series updates mcbsp driver by transforming it into
a platform driver. This is a very initial implementation.
Basically it moves machine specific code to their correct place
and creates the platform driver necessary structures.

It must be working for previous boards. For omap34xx it should
work for mcbsp 1 and 2.

In order to do not break other places, I tryied to do not change
previous API. But future improvements are needed.

Clock definitions for  mcbsp 1 and 2 were also modified to add
correct support for omap34xx.

Thanks for last comments. More comments are wellcome. :)

Cheers,

Eduardo Valentin (4):
  PLAT-OMAP: MCBSP: Tranform into platform driver
  MACH-OMAP1: MCBSP: Add support for mcbsp on mach-omap1
  Fix mcbsp clock definition on clock34xx.h
  MACH-OMAP2: MCBSP: Add support for mcbsp on mach-omap2

Tony Lindgren (1):
  ARM: OMAP: Fix 24xx mcbsp clocks

 arch/arm/mach-omap1/Makefile      |    2 +
 arch/arm/mach-omap1/mcbsp.c       |  280 ++++++++++++++++
 arch/arm/mach-omap2/Makefile      |    2 +
 arch/arm/mach-omap2/clock24xx.h   |   30 ++-
 arch/arm/mach-omap2/clock34xx.h   |   30 ++-
 arch/arm/mach-omap2/mcbsp.c       |  208 ++++++++++++
 arch/arm/plat-omap/devices.c      |   45 +++
 arch/arm/plat-omap/mcbsp.c        |  662 ++++++++++++++-----------------------
 include/asm-arm/arch-omap/mcbsp.h |   62 ++++-
 9 files changed, 890 insertions(+), 431 deletions(-)
 create mode 100644 arch/arm/mach-omap1/mcbsp.c
 create mode 100644 arch/arm/mach-omap2/mcbsp.c


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/5] Updates on mcbsp driver
@ 2008-04-24 15:54 Eduardo Valentin
  2008-04-24 15:54 ` [PATCH 1/5] PLAT-OMAP: MCBSP: Tranform into platform driver Eduardo Valentin
  0 siblings, 1 reply; 10+ messages in thread
From: Eduardo Valentin @ 2008-04-24 15:54 UTC (permalink / raw)
  To: linux-omap; +Cc: Eduardo Valentin

From: Eduardo Valentin <eduardo.valentin@indt.org.br>

This patch series updates mcbsp driver by transforming it into
a platform driver. This is a very initial implementation.
Basically it moves machine specific code to their correct place
and creates the platform driver necessary structures.

It must be working for previous boards. For omap34xx it should
work for mcbsp 1 and 2.

In order to do not break other places, I tryied to do not change
previous API. But future improvements are needed.

Clock definitions for  mcbsp 1 and 2 were also modified to add
correct support for omap34xx.

Comments are wellcome.

Cheers,

Eduardo Valentin (5):
  PLAT-OMAP: MCBSP: Tranform into platform driver
  MACH-OMAP1: MCBSP: Add support for mcbsp on mach-omap1
  Fix mcbsp clock definition on clock34xx.h
  OMAP3xx: Add DMA and IRQ definition for McBSP 1 and 2
  MACH-OMAP2: MCBSP: Add support for mcbsp on mach-omap2

 arch/arm/mach-omap1/Makefile      |    2 +
 arch/arm/mach-omap1/mcbsp.c       |  166 +++++++++
 arch/arm/mach-omap2/Makefile      |    2 +
 arch/arm/mach-omap2/clock34xx.h   |   30 ++-
 arch/arm/mach-omap2/mcbsp.c       |  108 ++++++
 arch/arm/plat-omap/devices.c      |   45 +++
 arch/arm/plat-omap/mcbsp.c        |  662 ++++++++++++++-----------------------
 include/asm-arm/arch-omap/dma.h   |    4 +
 include/asm-arm/arch-omap/irqs.h  |    4 +
 include/asm-arm/arch-omap/mcbsp.h |   73 ++++-
 10 files changed, 675 insertions(+), 421 deletions(-)
 create mode 100644 arch/arm/mach-omap1/mcbsp.c
 create mode 100644 arch/arm/mach-omap2/mcbsp.c


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

end of thread, other threads:[~2008-05-29 18:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-29 15:31 [PATCH 0/5] Updates on mcbsp driver (take #3) Eduardo Valentin
2008-05-29 15:31 ` [PATCH 2/5] MACH-OMAP1: MCBSP: Add support for mcbsp on mach-omap1 Eduardo Valentin
2008-05-29 15:31   ` [PATCH 4/5] Fix mcbsp clock definition on clock34xx.h Eduardo Valentin
2008-05-29 15:31     ` [PATCH 5/5] MACH-OMAP2: MCBSP: Add support for mcbsp on mach-omap2 Eduardo Valentin
2008-05-29 16:08       ` Gadiyar, Anand
2008-05-29 18:01         ` Tony Lindgren
2008-05-29 15:55   ` [PATCH 2/5] MACH-OMAP1: MCBSP: Add support for mcbsp on mach-omap1 andrzej zaborowski
2008-05-29 15:36 ` [PATCH 1/5] PLAT-OMAP: MCBSP: Transform into platform driver Eduardo Valentin
  -- strict thread matches above, loose matches on Subject: below --
2008-05-29 16:50 [PATCH 0/5] Updates on mcbsp driver (take #4) Eduardo Valentin
2008-05-29 16:50 ` [PATCH 1/5] PLAT-OMAP: MCBSP: Transform into platform driver Eduardo Valentin
2008-05-29 16:50   ` [PATCH 2/5] MACH-OMAP1: MCBSP: Add support for mcbsp on mach-omap1 Eduardo Valentin
2008-05-29 16:50     ` [PATCH 3/5] ARM: OMAP: Fix 24xx mcbsp clocks Eduardo Valentin
2008-05-29 16:50       ` [PATCH 4/5] Fix mcbsp clock definition on clock34xx.h Eduardo Valentin
2008-05-29 16:50         ` [PATCH 5/5] MACH-OMAP2: MCBSP: Add support for mcbsp on mach-omap2 Eduardo Valentin
2008-04-24 15:54 [PATCH 0/5] Updates on mcbsp driver Eduardo Valentin
2008-04-24 15:54 ` [PATCH 1/5] PLAT-OMAP: MCBSP: Tranform into platform driver Eduardo Valentin
2008-04-24 15:54   ` [PATCH 2/5] MACH-OMAP1: MCBSP: Add support for mcbsp on mach-omap1 Eduardo Valentin
2008-04-24 15:54     ` [PATCH 3/5] Fix mcbsp clock definition on clock34xx.h Eduardo Valentin
2008-04-24 15:54       ` [PATCH 4/5] OMAP3xx: Add DMA and IRQ definition for McBSP 1 and 2 Eduardo Valentin
2008-04-24 15:54         ` [PATCH 5/5] MACH-OMAP2: MCBSP: Add support for mcbsp on mach-omap2 Eduardo Valentin

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