Skip to content

Commit c4f6c41

Browse files
Max FilippovVinod Koul
authored andcommitted
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 <[email protected]>. Signed-off-by: Max Filippov <[email protected]> [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 <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
1 parent a576b7f commit c4f6c41

File tree

4 files changed

+765
-0
lines changed

4 files changed

+765
-0
lines changed

drivers/dma/sh/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,9 @@ config SUDMAC
2222
depends on SH_DMAE_BASE
2323
help
2424
Enable support for the Renesas SUDMAC controllers.
25+
26+
config RCAR_HPB_DMAE
27+
tristate "Renesas R-Car HPB DMAC support"
28+
depends on SH_DMAE_BASE
29+
help
30+
Enable support for the Renesas R-Car series DMA controllers.

drivers/dma/sh/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
obj-$(CONFIG_SH_DMAE_BASE) += shdma-base.o shdma-of.o
22
obj-$(CONFIG_SH_DMAE) += shdma.o
33
obj-$(CONFIG_SUDMAC) += sudmac.o
4+
obj-$(CONFIG_RCAR_HPB_DMAE) += rcar-hpbdma.o

0 commit comments

Comments
 (0)