xref: /openbmc/linux/drivers/dma/sh/Kconfig (revision 0da85d1e)
1#
2# DMA engine configuration for sh
3#
4
5config RENESAS_DMA
6	bool
7	select DMA_ENGINE
8
9#
10# DMA Engine Helpers
11#
12
13config SH_DMAE_BASE
14	bool "Renesas SuperH DMA Engine support"
15	depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
16	depends on !SUPERH || SH_DMA
17	depends on !SH_DMA_API
18	default y
19	select RENESAS_DMA
20	help
21	  Enable support for the Renesas SuperH DMA controllers.
22
23#
24# DMA Controllers
25#
26
27config SH_DMAE
28	tristate "Renesas SuperH DMAC support"
29	depends on SH_DMAE_BASE
30	help
31	  Enable support for the Renesas SuperH DMA controllers.
32
33if SH_DMAE
34
35config SH_DMAE_R8A73A4
36	def_bool y
37	depends on ARCH_R8A73A4
38	depends on OF
39
40endif
41
42config SUDMAC
43	tristate "Renesas SUDMAC support"
44	depends on SH_DMAE_BASE
45	help
46	  Enable support for the Renesas SUDMAC controllers.
47
48config RCAR_HPB_DMAE
49	tristate "Renesas R-Car HPB DMAC support"
50	depends on SH_DMAE_BASE
51	help
52	  Enable support for the Renesas R-Car series DMA controllers.
53
54config RCAR_DMAC
55	tristate "Renesas R-Car Gen2 DMA Controller"
56	depends on ARCH_SHMOBILE || COMPILE_TEST
57	select RENESAS_DMA
58	help
59	  This driver supports the general purpose DMA controller found in the
60	  Renesas R-Car second generation SoCs.
61
62config RENESAS_USB_DMAC
63	tristate "Renesas USB-DMA Controller"
64	depends on ARCH_SHMOBILE || COMPILE_TEST
65	select RENESAS_DMA
66	select DMA_VIRTUAL_CHANNELS
67	help
68	  This driver supports the USB-DMA controller found in the Renesas
69	  SoCs.
70