Skip to content

OMAP: DMA: hwmod and DMA as platform device

G, Manjunath Kondaiah linux-arm-kernel linux-omap 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 0 repliesNew
  2. v10 of 9 patches 0 repliesSuperseded

Changes in v2 from the cover letter

1. The OMAP1 irq fixes patchby kevin:
https://patchwork.kernel.org/patch/412021/
is folded into this series and added kevin s.o.b

2. The 2420 and 2430 clock clock entries are corrected as per paul's suggestion at:
http://article.gmane.org/gmane.linux.ports.arm.omap/48441
http://article.gmane.org/gmane.linux.ports.arm.omap/48442

3. Added Tested-by and Acked-by to all the applicable patches (except 3/9 and 4/9 due to paul's comments)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9OMAP: DMA: Replace read/write macros with functionsarch/arm/plat-omap/dma.c arch/arm/plat-omap/include/plat/dma.h+345 -3230 replies
2/9OMAP: DMA: Introduce errata handling featurearch/arm/plat-omap/dma.c arch/arm/plat-omap/include/plat/dma.h+114 -500 replies
3/9OMAP2420: hwmod data: add system DMAarch/arm/mach-omap2/omap_hwmod_2420_data.c arch/arm/plat-omap/include/plat/dma.h+98 -01 reply
3/9OMAP2420: hwmod data: add system DMA+0 -01 reply
3/9OMAP2420: hwmod data: add system DMA+0 -00 replies
4/9OMAP2430: hwmod data: add system DMAarch/arm/mach-omap2/omap_hwmod_2430_data.c arch/arm/plat-omap/include/plat/dma.h+88 -03 replies
4/9OMAP2430: hwmod data: add system DMA+0 -00 replies
5/9OMAP3: hwmod data: add system DMAarch/arm/mach-omap2/omap_hwmod_3xxx_data.c+97 -00 replies
6/9OMAP4: hwmod data: add system DMAarch/arm/mach-omap2/omap_hwmod_44xx_data.c+101 -01 reply
6/9OMAP4: hwmod data: add system DMA+0 -00 replies
7/9OMAP1: DMA: Implement in platform device modelarch/arm/mach-omap1/dma.c+179 -00 replies
8/9OMAP2+: DMA: hwmod: Device registrationarch/arm/mach-omap2/dma.c+74 -00 replies
9/9OMAP: DMA: Convert DMA library into platform driverarch/arm/mach-omap1/Makefile arch/arm/mach-omap1/dma.c arch/arm/mach-omap2/Makefile +3 more+754 -5650 replies

Reviews trailers per patch

7 of 13 patches have a Reviewed-by or Acked-by.

PatchKevin Hilman
1/9T-b A-b
2/9T-b A-b
3/9
3/9
3/9
4/9
4/9
5/9T-b A-b
6/9T-b A-b
6/9T-b A-b
7/9
8/9T-b A-b
9/9T-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/9] OMAP: DMA: hwmod and DMA as platform device

Detailed description and history of this patch series can be found at:
http://thread.gmane.org/gmane.linux.ports.arm.omap/47600

Changes from v1 to v2:
1. The OMAP1 irq fixes patchby kevin:
https://patchwork.kernel.org/patch/412021/
is folded into this series and added kevin s.o.b

2. The 2420 and 2430 clock clock entries are corrected as per paul's suggestion at:
http://article.gmane.org/gmane.linux.ports.arm.omap/48441
http://article.gmane.org/gmane.linux.ports.arm.omap/48442

3. Added Tested-by and Acked-by to all the applicable patches (except 3/9 and 4/9 due to paul's comments)

The diff between v1 and v2 series is posted for reference at:
http://pastebin.com/EG46DeK6

Testing:
Build:
omap1_defconfig : Success
omap2plus_defconfig: Success

Boot:
OMAP4430SDP : Success
OMAP2430SDP : Success
N800(OMAP2420) : Success
Note: Image for N800 is created from n8x0_defconfig derived from the commit:
d31f59f31d602e8c3a34ce1f20d1e8fcfe50dd59
and it is customized to reduce the image size. Thanks to Tony and paul for providing the commit and other info related to N800 boot. boot log at: http://pastebin.com/0y91Vvkf

Unit testing:
All the memory to memory test cases are passing on SDP2430 and complete test log can be accessed at:
http://pastebin.com/1ALGuE8z

Note: The remaining omap2+ boards are not tested with this series since changes done in this series are no way related to other omap2+ boards. The OMAP1(OSK5912) boot and other relevant tests are executed by kevin with the fixes https://patchwork.kernel.org/patch/412021/
The above patch is folded into 7/9 in this patch series which needs review.

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

G, Manjunath Kondaiah (8):
OMAP: DMA: Replace read/write macros with functions
OMAP: DMA: Introduce errata handling feature
OMAP2420: hwmod data: add system DMA
OMAP2430: hwmod data: add system DMA
OMAP3: hwmod data: add system DMA
OMAP1: DMA: Implement in platform device model OMAP2+: DMA: hwmod: Device registration
OMAP: DMA: Convert DMA library into platform driver

 arch/arm/mach-omap1/Makefile               |    2 +-
 arch/arm/mach-omap1/dma.c                  |  390 ++++++++++++++++
 arch/arm/mach-omap2/Makefile               |    2 +-
 arch/arm/mach-omap2/dma.c                  |  297 ++++++++++++
 arch/arm/mach-omap2/omap_hwmod_2420_data.c |   87 ++++
 arch/arm/mach-omap2/omap_hwmod_2430_data.c |   87 ++++
 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |   97 ++++
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c |  101 ++++
 arch/arm/plat-omap/dma.c                   |  697 ++++++++++++----------------
 arch/arm/plat-omap/include/plat/dma.h      |  232 ++++------
 10 files changed, 1452 insertions(+), 540 deletions(-)
 create mode 100644 arch/arm/mach-omap1/dma.c
 create mode 100644 arch/arm/mach-omap2/dma.c