]> git.baikalelectronics.ru Git - kernel.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)
commit8820957d295fec50c0398a680034eb3c6dddfb3c
treeb64ceb621ac27ec244321c3459046bbdfdae2509
parent81d30e83ebfd27c4d6660b0a7fd2956b59a33e06
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]