2013-04-23 20:00:06 +09:00
#
# DMA engine configuration for sh
#
2014-07-09 00:42:19 +02:00
config RENESAS_DMA
bool
select DMA_ENGINE
2014-07-31 09:34:04 +09:00
#
# DMA Engine Helpers
#
2013-04-23 20:00:06 +09:00
config SH_DMAE_BASE
bool "Renesas SuperH DMA Engine support"
2014-07-31 09:34:04 +09:00
depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
depends on !SUPERH || SH_DMA
2013-04-23 20:00:06 +09:00
depends on !SH_DMA_API
default y
2014-07-09 00:42:19 +02:00
select RENESAS_DMA
2013-04-23 20:00:06 +09:00
help
Enable support for the Renesas SuperH DMA controllers.
2014-07-31 09:34:04 +09:00
#
# DMA Controllers
#
2013-04-23 20:00:06 +09:00
config SH_DMAE
tristate "Renesas SuperH DMAC support"
depends on SH_DMAE_BASE
help
Enable support for the Renesas SuperH DMA controllers.
2013-04-23 20:00:12 +09:00
2014-07-31 09:34:04 +09:00
if SH_DMAE
config SH_DMAE_R8A73A4
def_bool y
depends on ARCH_R8A73A4
depends on OF
endif
2013-04-23 20:00:12 +09:00
config SUDMAC
tristate "Renesas SUDMAC support"
depends on SH_DMAE_BASE
help
Enable support for the Renesas SUDMAC controllers.
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>
2013-08-25 00:33:24 +04:00
config RCAR_HPB_DMAE
tristate "Renesas R-Car HPB DMAC support"
depends on SH_DMAE_BASE
help
Enable support for the Renesas R-Car series DMA controllers.
2013-09-02 17:42:35 +05:30
2014-07-09 00:42:19 +02:00
config RCAR_DMAC
tristate "Renesas R-Car Gen2 DMA Controller"
depends on ARCH_SHMOBILE || COMPILE_TEST
select RENESAS_DMA
help
This driver supports the general purpose DMA controller found in the
Renesas R-Car second generation SoCs.
2015-04-01 15:22:45 +09:00
config RENESAS_USB_DMAC
tristate "Renesas USB-DMA Controller"
depends on ARCH_SHMOBILE || COMPILE_TEST
select RENESAS_DMA
select DMA_VIRTUAL_CHANNELS
help
This driver supports the USB-DMA controller found in the Renesas
SoCs.