2013-04-23 18:00:06 +07:00
|
|
|
#
|
|
|
|
# DMA engine configuration for sh
|
|
|
|
#
|
|
|
|
|
2014-07-09 05:42:19 +07:00
|
|
|
config RENESAS_DMA
|
|
|
|
bool
|
|
|
|
select DMA_ENGINE
|
|
|
|
|
2014-07-31 07:34:04 +07:00
|
|
|
#
|
|
|
|
# DMA Engine Helpers
|
|
|
|
#
|
|
|
|
|
2013-04-23 18:00:06 +07:00
|
|
|
config SH_DMAE_BASE
|
|
|
|
bool "Renesas SuperH DMA Engine support"
|
2014-07-31 07:34:04 +07:00
|
|
|
depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
|
|
|
|
depends on !SUPERH || SH_DMA
|
2013-04-23 18:00:06 +07:00
|
|
|
depends on !SH_DMA_API
|
|
|
|
default y
|
2014-07-09 05:42:19 +07:00
|
|
|
select RENESAS_DMA
|
2013-04-23 18:00:06 +07:00
|
|
|
help
|
|
|
|
Enable support for the Renesas SuperH DMA controllers.
|
|
|
|
|
2014-07-31 07:34:04 +07:00
|
|
|
#
|
|
|
|
# DMA Controllers
|
|
|
|
#
|
|
|
|
|
2013-04-23 18:00:06 +07: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 18:00:12 +07:00
|
|
|
|
2014-07-31 07:34:04 +07:00
|
|
|
if SH_DMAE
|
|
|
|
|
|
|
|
config SH_DMAE_R8A73A4
|
|
|
|
def_bool y
|
|
|
|
depends on ARCH_R8A73A4
|
|
|
|
depends on OF
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2013-04-23 18:00:12 +07: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 03:33:24 +07: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 19:12:35 +07:00
|
|
|
|
2014-03-11 08:11:50 +07:00
|
|
|
config RCAR_AUDMAC_PP
|
|
|
|
tristate "Renesas R-Car Audio DMAC Peripheral Peripheral support"
|
|
|
|
depends on SH_DMAE_BASE
|
|
|
|
help
|
|
|
|
Enable support for the Renesas R-Car Audio DMAC Peripheral Peripheral controllers.
|
2014-07-09 05:42:19 +07: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.
|