[PATCH v3 00/13] OMAP: DMA: hwmod and DMA as platform device

G, Manjunath Kondaiah manjugk at ti.com
Tue Oct 26 09:25:00 EDT 2010

This patch series converts DMA library into platform device and hwmod 
adaptation is done for omap2+ processors.

It also replaces cpu_*is* checks by moving omap1 and omap2+ processor 
code into repsective mach-omapx directories. The common code in plat-omap
will use device attributes for differentiating omap1 and omap2 code.

Build Report:
omap1:  Success for omap_h2_1610_defconfig
omap2+: Success for omap2plus_defconfig

Test Report:
omap2+:(multiboot defconfig boots on all the omap2+ boards listed below):
OMAP4BLAZE: http://pastebin.com/HVnim30G
OMAP3630ZOOM3: http://pastebin.com/JJwrtP4F
OMAP243SDP: http://pastebin.com/mz7cVQL3

omap1 : Not tested 

Test cases executed:
1. All applicable TI DMA tests which are located at:

2. Use case tests :  TI MMC tests are executed with differenct types of
files systems such as DOS, ext2, ext3 etc on omap4 blaze and omap3630 zoom3. 
More information can be found at:

This patch series has dependency on omap_device patch:

This patch series applies on:
Branch: master
commit a83d12a47c9a8c78a184910150797045d69a1570
Merge: f9f47f5 c1fb8df
Author: Tony Lindgren <tony at atomide.com>
Date:   Fri Oct 22 11:21:08 2010 -0700

    Linux-omap rebuilt: Updated to v2.6.36, add 24xx uart fix

Changelist summary:
Review comments fixed:
 - created and tested on latest linux-omap master branch(2.6.36 kernel)

The review comments which are fixed can be found at:

These changes are based on comments received during internal discussions which has changes(compared to previous version) such as:
 - Code optimization
 - Patches are rearranged in more meaningful way so that git bisect works at any
   intermediate patch in the series.
 - Build tested for all omap's(OMAP1 and OMAP2PLUS)
 - Boot tested for OMAP3 and OMAP4(appreciate if some one tests on OMAP1/2)
 - Applicalbe tests are executed on OMAP3 and OMAP4 boards
 - Rebased and added descriptor autoloading feature(only for omap3630 and omap4)

Benoit Cousson (1):
  OMAP4: DMA: hwmod: add system DMA

G, Manjunath Kondaiah (12):
  OMAP: DMA: Replace read/write macros with functions
  OMAP: DMA: Introduce errata handling feature
  OMAP: DMA: Introduce DMA device attributes
  OMAP2420: DMA: hwmod: add system DMA
  OMAP2430: DMA: hwmod: add system DMA
  OMAP3: DMA: hwmod: add system DMA
  OMAP1: DMA: Introduce DMA driver as platform device
  OMAP2+: DMA: hwmod: Device registration
  OMAP: DMA: Convert DMA library into DMA platform Driver
  OMAP: DMA: Use DMA device attributes
  sDMA: descriptor autoloading feature
  OMAP: PM: DMA: Enable runtime pm

 arch/arm/mach-omap1/Makefile               |    2 +-
 arch/arm/mach-omap1/dma.c                  |  665 ++++++++++
 arch/arm/mach-omap1/include/mach/dma.h     |   51 +
 arch/arm/mach-omap2/Makefile               |    2 +-
 arch/arm/mach-omap2/dma.c                  | 1579 ++++++++++++++++++++++++
 arch/arm/mach-omap2/include/mach/dma.h     |   86 ++
 arch/arm/mach-omap2/omap_hwmod_2420_data.c |   85 ++
 arch/arm/mach-omap2/omap_hwmod_2430_data.c |   85 ++
 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |   93 ++
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c |   99 ++
 arch/arm/plat-omap/dma.c                   | 1850 ++++------------------------
 arch/arm/plat-omap/include/plat/dma.h      |  387 ++++---
 12 files changed, 3207 insertions(+), 1777 deletions(-)
 create mode 100644 arch/arm/mach-omap1/dma.c
 create mode 100644 arch/arm/mach-omap1/include/mach/dma.h
 create mode 100644 arch/arm/mach-omap2/dma.c
 create mode 100644 arch/arm/mach-omap2/include/mach/dma.h

Cc: Benoit Cousson <b-cousson at ti.com>
Cc: Kevin Hilman <khilman at deeprootsystems.com>
Cc: Santosh Shilimkar <santosh.shilimkar at ti.com>

More information about the linux-arm-kernel mailing list