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