xref: /openbmc/linux/drivers/dma/sh/Kconfig (revision c819e2cf)
1#
2# DMA engine configuration for sh
3#
4
5#
6# DMA Engine Helpers
7#
8
9config SH_DMAE_BASE
10	bool "Renesas SuperH DMA Engine support"
11	depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
12	depends on !SUPERH || SH_DMA
13	depends on !SH_DMA_API
14	default y
15	select DMA_ENGINE
16	help
17	  Enable support for the Renesas SuperH DMA controllers.
18
19#
20# DMA Controllers
21#
22
23config SH_DMAE
24	tristate "Renesas SuperH DMAC support"
25	depends on SH_DMAE_BASE
26	help
27	  Enable support for the Renesas SuperH DMA controllers.
28
29if SH_DMAE
30
31config SH_DMAE_R8A73A4
32	def_bool y
33	depends on ARCH_R8A73A4
34	depends on OF
35
36endif
37
38config SUDMAC
39	tristate "Renesas SUDMAC support"
40	depends on SH_DMAE_BASE
41	help
42	  Enable support for the Renesas SUDMAC controllers.
43
44config RCAR_HPB_DMAE
45	tristate "Renesas R-Car HPB DMAC support"
46	depends on SH_DMAE_BASE
47	help
48	  Enable support for the Renesas R-Car series DMA controllers.
49
50config RCAR_AUDMAC_PP
51	tristate "Renesas R-Car Audio DMAC Peripheral Peripheral support"
52	depends on SH_DMAE_BASE
53	help
54	  Enable support for the Renesas R-Car Audio DMAC Peripheral Peripheral controllers.
55