]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dma: add driver for R-Car HPB-DMAC
authorMax Filippov <max.filippov@cogentembedded.com>
Sat, 24 Aug 2013 20:33:24 +0000 (00:33 +0400)
committerVinod Koul <vinod.koul@intel.com>
Mon, 2 Sep 2013 12:05:55 +0000 (17:35 +0530)
commitc4f6c41ba790bbbfcebb4c47a709ac8ff1fe1af9
treeb64ceb621ac27ec244321c3459046bbdfdae2509
parenta576b7fe5e6027d02fe9c1320422c7e2b892f4d5
dma: add driver for R-Car HPB-DMAC

Add support for HPB-DMAC found in Renesas R-Car SoCs, using 'shdma-base' DMA
driver framework.

Based on the original patch by Phil Edworthy <phil.edworthy@renesas.com>.

Signed-off-by: Max Filippov <max.filippov@cogentembedded.com>
[Sergei: removed useless #include, sorted #include's, fixed HPB_DMA_TCR_MAX,
fixed formats and removed line breaks in the dev_dbg() calls, rephrased and
added IRQ # to the shdma_request_irq() failure message, added MODULE_AUTHOR(),
removed '__init'/'__exit' annotations from the probe()/remove() methods, removed
'__initdata' annotation from 'hpb_dmae_driver', fixed guard macro name in the
header file, fixed #define ASYNCRSTR_ASRST20, added #define ASYNCRSTR_ASRST24,
added the necessary runtime PM calls to the probe() and remove() methods,
handled errors returned by dma_async_device_register(), beautified comments
and #define's.]
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sh/Kconfig
drivers/dma/sh/Makefile
drivers/dma/sh/rcar-hpbdma.c [new file with mode: 0644]
include/linux/platform_data/dma-rcar-hpbdma.h [new file with mode: 0644]