xref: /linux/drivers/dma/sh/Kconfig (revision c771600c6af14749609b49565ffb4cac2959710d)
19be92baaSKuninori Morimoto# SPDX-License-Identifier: GPL-2.0
2189b4ee8SShimoda, Yoshihiro#
3189b4ee8SShimoda, Yoshihiro# DMA engine configuration for sh
4189b4ee8SShimoda, Yoshihiro#
5189b4ee8SShimoda, Yoshihiro
687244fe5SLaurent Pinchartconfig RENESAS_DMA
787244fe5SLaurent Pinchart	bool
887244fe5SLaurent Pinchart	select DMA_ENGINE
987244fe5SLaurent Pinchart
109f2c2bb3SLaurent Pinchart#
119f2c2bb3SLaurent Pinchart# DMA Engine Helpers
129f2c2bb3SLaurent Pinchart#
139f2c2bb3SLaurent Pinchart
14189b4ee8SShimoda, Yoshihiroconfig SH_DMAE_BASE
15189b4ee8SShimoda, Yoshihiro	bool "Renesas SuperH DMA Engine support"
16a1978861SGeert Uytterhoeven	depends on SUPERH || COMPILE_TEST
179f2c2bb3SLaurent Pinchart	depends on !SUPERH || SH_DMA
18189b4ee8SShimoda, Yoshihiro	depends on !SH_DMA_API
19189b4ee8SShimoda, Yoshihiro	default y
2087244fe5SLaurent Pinchart	select RENESAS_DMA
21189b4ee8SShimoda, Yoshihiro	help
22189b4ee8SShimoda, Yoshihiro	  Enable support for the Renesas SuperH DMA controllers.
23189b4ee8SShimoda, Yoshihiro
249f2c2bb3SLaurent Pinchart#
259f2c2bb3SLaurent Pinchart# DMA Controllers
269f2c2bb3SLaurent Pinchart#
279f2c2bb3SLaurent Pinchart
28189b4ee8SShimoda, Yoshihiroconfig SH_DMAE
29189b4ee8SShimoda, Yoshihiro	tristate "Renesas SuperH DMAC support"
30189b4ee8SShimoda, Yoshihiro	depends on SH_DMAE_BASE
31189b4ee8SShimoda, Yoshihiro	help
32189b4ee8SShimoda, Yoshihiro	  Enable support for the Renesas SuperH DMA controllers.
3318a1053fSShimoda, Yoshihiro
3487244fe5SLaurent Pinchartconfig RCAR_DMAC
35e3a52158SLad Prabhakar	tristate "Renesas R-Car Gen{2,3} and RZ/G{1,2} DMA Controller"
365c229d00SSimon Horman	depends on ARCH_RENESAS || COMPILE_TEST
3787244fe5SLaurent Pinchart	select RENESAS_DMA
3887244fe5SLaurent Pinchart	help
3987244fe5SLaurent Pinchart	  This driver supports the general purpose DMA controller found in the
40e3a52158SLad Prabhakar	  Renesas R-Car Gen{2,3} and RZ/G{1,2} SoCs.
410c1c8ff3SYoshihiro Shimoda
420c1c8ff3SYoshihiro Shimodaconfig RENESAS_USB_DMAC
430c1c8ff3SYoshihiro Shimoda	tristate "Renesas USB-DMA Controller"
445c229d00SSimon Horman	depends on ARCH_RENESAS || COMPILE_TEST
450c1c8ff3SYoshihiro Shimoda	select RENESAS_DMA
460c1c8ff3SYoshihiro Shimoda	select DMA_VIRTUAL_CHANNELS
470c1c8ff3SYoshihiro Shimoda	help
480c1c8ff3SYoshihiro Shimoda	  This driver supports the USB-DMA controller found in the Renesas
490c1c8ff3SYoshihiro Shimoda	  SoCs.
505000d370SBiju Das
515000d370SBiju Dasconfig RZ_DMAC
52*32172b3eSWolfram Sang	tristate "Renesas RZ DMA Controller"
53*32172b3eSWolfram Sang	depends on ARCH_R7S72100 || ARCH_RZG2L || COMPILE_TEST
545000d370SBiju Das	select RENESAS_DMA
555000d370SBiju Das	select DMA_VIRTUAL_CHANNELS
565000d370SBiju Das	help
57*32172b3eSWolfram Sang	  This driver supports the general purpose DMA controller typically
58*32172b3eSWolfram Sang	  found in the Renesas RZ SoC variants.
59