Updates on mcbsp driver (take #4)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | PLAT-OMAP: MCBSP: Transform into platform driverarch/ arch/ include/ | +358 | 0 replies | |
| 2/5 | MACH-OMAP1: MCBSP: Add support for mcbsp on mach-omap1arch/ arch/ | +282 | 0 replies | |
| 3/5 | ARM: OMAP: Fix 24xx mcbsp clocksarch/ | +20 | 0 replies | |
| 4/5 | Fix mcbsp clock definition on clock34xx.harch/ | +20 | 0 replies | |
| 5/5 | MACH-OMAP2: MCBSP: Add support for mcbsp on mach-omap2arch/ arch/ | +210 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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