Skip to content

Updates on mcbsp driver (take #4)

Eduardo Valentin linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5PLAT-OMAP: MCBSP: Transform into platform driverarch/arm/plat-omap/devices.c arch/arm/plat-omap/mcbsp.c include/asm-arm/arch-omap/mcbsp.h+358 -4110 replies
2/5MACH-OMAP1: MCBSP: Add support for mcbsp on mach-omap1arch/arm/mach-omap1/Makefile arch/arm/mach-omap1/mcbsp.c+282 -00 replies
3/5ARM: OMAP: Fix 24xx mcbsp clocksarch/arm/mach-omap2/clock24xx.h+20 -100 replies
4/5Fix mcbsp clock definition on clock34xx.harch/arm/mach-omap2/clock34xx.h+20 -100 replies
5/5MACH-OMAP2: MCBSP: Add support for mcbsp on mach-omap2arch/arm/mach-omap2/Makefile arch/arm/mach-omap2/mcbsp.c+210 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Updates on mcbsp driver (take #4)

From: Eduardo Valentin <[email protected]>

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