xref: /openbmc/linux/drivers/dma/sh/Kconfig (revision c4a54f70)
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 || 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
34config RCAR_DMAC
35	tristate "Renesas R-Car Gen2 DMA Controller"
36	depends on ARCH_RENESAS || COMPILE_TEST
37	select RENESAS_DMA
38	help
39	  This driver supports the general purpose DMA controller found in the
40	  Renesas R-Car second generation SoCs.
41
42config RENESAS_USB_DMAC
43	tristate "Renesas USB-DMA Controller"
44	depends on ARCH_RENESAS || COMPILE_TEST
45	select RENESAS_DMA
46	select DMA_VIRTUAL_CHANNELS
47	help
48	  This driver supports the USB-DMA controller found in the Renesas
49	  SoCs.
50