RFC OMAP: DMA: HWMOD and convert into platform driver
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest10 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | OMAP2420: DMA: HWMOD: Add hwmod data structuresarch/ | +93 | 0 replies | |
| 2/10 | OMAP2430: DMA: HWMOD: Add hwmod data structuresarch/ | +92 | 0 replies | |
| 3/10 | OMAP3: DMA: HWMOD: Add hwmod data structuresarch/ | +90 | 0 replies | |
| 4/10 | OMAP4: DMA: HWMOD: update OMAP4 data basearch/ | +16 | 0 replies | |
| 5/10 | OMAP1: DMA: Introduce DMA driver as platform driverarch/ arch/ arch/ | +469 | 0 replies | |
| 6/10 | OMAP2/3/4: DMA: HWMOD: Device registrationarch/ arch/ | +276 | 0 replies | |
| 7/10 | OMAP2/3/4: DMA: Move chain API's to mach-omap2arch/ arch/ | +690 | 0 replies | |
| 8/10 | OMAP: DMA: Move IRQ handlers to mach-omaparch/ arch/ | +182 | 0 replies | |
| 9/10 | OMAP: DMA: API's Clean uparch/ arch/ | +548 | 0 replies | |
| 10/10 | OMAP: DMA: Cleanup DMA library and enable DMA platform driverarch/ arch/ arch/ +1 more | +465 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 00/10] OMAP: DMA: HWMOD and convert into platform driver
This patch series is to convert existing OMAP DMA library into platform driver for all the OMAP1 and OMAP2 plus processors as per alignment with Benoit, Paul and Kevin.
The platform device model for OMAP2 plus will makes use of hwmod data base and it is based on the reference branch:
git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git
Branch: pm-wip/hwmods-omap4
commit f1c79ab452ed9cf7b5ff6488335c1ddf15d5c92a
Author: Benoit Cousson <[email protected]>
OMAP4: hwmod: Enable omap_hwmod build for OMAP4
The proposal is to:
1. Convert DMA library into platform driver in hwmod way
2. Clean up API's to remove cpu_is_xxxx checks.
3. Make use of DMA engine(See Documentation/crypto/async-tx-api.txt)
This series is going to cover 1 & 2 and 3 will be taken up once these changes becomes stable and thoroughly tested on all omap boards.
The API's are cleaned up to remove cpu_is_xxxx checks and code is moved to corresponding respective mach-omap folders.
Basic tests are performed with this patch series on OMAP3630(Zoom3) board. All other major defconfigs are build tested. OMAP4 boot seems to be broken on above branch for both MMC and ethernet.
List of TODO's:
1. To perform more tests on OMAP4 once the branch is bootable.
2. OMAP2 boot and basic dma tests
It will be helpful is some one tests and provides feedback on OMAP1 and OMAP2 boards since I don't have OMAP1 board.
Manjunatha GK (10):
OMAP2420: DMA: HWMOD: Add hwmod data structures
OMAP2430: DMA: HWMOD: Add hwmod data structures
OMAP3: DMA: HWMOD: Add hwmod data structures
OMAP4: DMA: HWMOD: update OMAP4 data base
OMAP1: DMA: Introduce DMA driver as platform driver OMAP2/3/4: DMA: HWMOD: Device registration OMAP2/3/4: DMA: Move chain API's to mach-omap2
OMAP: DMA: Move IRQ handlers to mach-omap
OMAP: DMA: API's Clean up
OMAP: DMA: Cleanup DMA library and enable DMA platform driver
arch/arm/mach-omap1/Makefile | 2 +- arch/arm/mach-omap1/dma.c | 595 +++++++++ arch/arm/mach-omap1/include/mach/dma.h | 80 ++ arch/arm/mach-omap2/Makefile | 2 +- arch/arm/mach-omap2/dma.c | 1268 ++++++++++++++++++ arch/arm/mach-omap2/include/mach/dma.h | 103 ++ arch/arm/mach-omap2/omap_hwmod_2420_data.c | 95 ++- arch/arm/mach-omap2/omap_hwmod_2430_data.c | 93 ++- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 90 ++ arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 21 +- arch/arm/plat-omap/dma.c | 1968 ++++++---------------------- arch/arm/plat-omap/include/plat/dma.h | 438 +++---- 12 files changed, 2920 insertions(+), 1835 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