2018-11-08 06:32:44 +00:00
# SPDX-License-Identifier: GPL-2.0
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"
2016-02-03 11:55:34 +01:00
depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
2014-07-31 09:34:04 +09:00
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
2014-07-09 00:42:19 +02:00
config RCAR_DMAC
tristate "Renesas R-Car Gen2 DMA Controller"
2016-02-03 11:55:34 +01:00
depends on ARCH_RENESAS || COMPILE_TEST
2014-07-09 00:42:19 +02:00
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"
2016-02-03 11:55:34 +01:00
depends on ARCH_RENESAS || COMPILE_TEST
2015-04-01 15:22:45 +09:00
select RENESAS_DMA
select DMA_VIRTUAL_CHANNELS
help
This driver supports the USB-DMA controller found in the Renesas
SoCs.
2015-08-24 13:43:14 +05:30
config SUDMAC
tristate "Renesas SUDMAC support"
depends on SH_DMAE_BASE
help
Enable support for the Renesas SUDMAC controllers.