Renesas R-Car sound (= rsnd) needs 2 DMAC which are called as Audio DMAC (= 1st DMAC) and Audio DMAC peri peri (2nd DMAC). And rsnd had assumed that 1st / 2nd DMACs are implemented as DMAEngine. But, in result of DMA ML discussion, 2nd DMAC was concluded that it is not a general purpose DMAC (2nd DMAC is for Device to Device inside sound system). Additionally, current DMAEngine can't support Device to Device, and we don't have correct DT bindings for it at this point. So the easiest solution for it is that move it from DMAEngine to rsnd driver. Audio DMAC peri peri on DMAEngine is no longer needed. remove it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Arnd Bergmann <arnd@arndb.de>
61 lines
1.1 KiB
Plaintext
61 lines
1.1 KiB
Plaintext
#
|
|
# DMA engine configuration for sh
|
|
#
|
|
|
|
config RENESAS_DMA
|
|
bool
|
|
select DMA_ENGINE
|
|
|
|
#
|
|
# DMA Engine Helpers
|
|
#
|
|
|
|
config SH_DMAE_BASE
|
|
bool "Renesas SuperH DMA Engine support"
|
|
depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
|
|
depends on !SUPERH || SH_DMA
|
|
depends on !SH_DMA_API
|
|
default y
|
|
select RENESAS_DMA
|
|
help
|
|
Enable support for the Renesas SuperH DMA controllers.
|
|
|
|
#
|
|
# DMA Controllers
|
|
#
|
|
|
|
config SH_DMAE
|
|
tristate "Renesas SuperH DMAC support"
|
|
depends on SH_DMAE_BASE
|
|
help
|
|
Enable support for the Renesas SuperH DMA controllers.
|
|
|
|
if SH_DMAE
|
|
|
|
config SH_DMAE_R8A73A4
|
|
def_bool y
|
|
depends on ARCH_R8A73A4
|
|
depends on OF
|
|
|
|
endif
|
|
|
|
config SUDMAC
|
|
tristate "Renesas SUDMAC support"
|
|
depends on SH_DMAE_BASE
|
|
help
|
|
Enable support for the Renesas SUDMAC controllers.
|
|
|
|
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.
|
|
|
|
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.
|