ARM: edma: Add DT and runtime PM support to the private EDMA API
authorMatt Porter <mporter@ti.com>
Thu, 20 Jun 2013 21:06:38 +0000 (16:06 -0500)
committerSekhar Nori <nsekhar@ti.com>
Mon, 24 Jun 2013 08:38:26 +0000 (14:08 +0530)
commit6cba4355066bda19f14d4da66b8abbca0ffdfd59
tree0c9fea0669bf397c8b22dcbcff1b567817bf9050
parentbf3156dde3b6718e843152e826a493f80b973655
ARM: edma: Add DT and runtime PM support to the private EDMA API

Adds support for parsing the TI EDMA DT data into the required EDMA
private API platform data. Enables runtime PM support to initialize
the EDMA hwmod. Enables build on OMAP.

Changes by Joel:
* Setup default one-to-one mapping for queue_priority and queue_tc
mapping as discussed in [1].
* Split out xbar stuff to separate patch. [1]
* Dropped unused DT helper to convert to array
* Fixed dangling pointer issue with Sekhar's changes

[1] https://patchwork.kernel.org/patch/2226761/

Signed-off-by: Matt Porter <mporter@ti.com>
[nsekhar@ti.com: fix checkpatch errors, build breakages. Introduce
edma_setup_info_from_dt() as part of that effort]
Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/common/edma.c
arch/arm/mach-davinci/devices-da8xx.c
arch/arm/mach-davinci/devices-tnetv107x.c
arch/arm/mach-davinci/dm355.c
arch/arm/mach-davinci/dm365.c
arch/arm/mach-davinci/dm644x.c
arch/arm/mach-davinci/dm646x.c
include/linux/platform_data/edma.h