18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# DMA engine configuration for sh
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig RENESAS_DMA
78c2ecf20Sopenharmony_ci	bool
88c2ecf20Sopenharmony_ci	select DMA_ENGINE
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#
118c2ecf20Sopenharmony_ci# DMA Engine Helpers
128c2ecf20Sopenharmony_ci#
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciconfig SH_DMAE_BASE
158c2ecf20Sopenharmony_ci	bool "Renesas SuperH DMA Engine support"
168c2ecf20Sopenharmony_ci	depends on SUPERH || COMPILE_TEST
178c2ecf20Sopenharmony_ci	depends on !SUPERH || SH_DMA
188c2ecf20Sopenharmony_ci	depends on !SH_DMA_API
198c2ecf20Sopenharmony_ci	default y
208c2ecf20Sopenharmony_ci	select RENESAS_DMA
218c2ecf20Sopenharmony_ci	help
228c2ecf20Sopenharmony_ci	  Enable support for the Renesas SuperH DMA controllers.
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci#
258c2ecf20Sopenharmony_ci# DMA Controllers
268c2ecf20Sopenharmony_ci#
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciconfig SH_DMAE
298c2ecf20Sopenharmony_ci	tristate "Renesas SuperH DMAC support"
308c2ecf20Sopenharmony_ci	depends on SH_DMAE_BASE
318c2ecf20Sopenharmony_ci	help
328c2ecf20Sopenharmony_ci	  Enable support for the Renesas SuperH DMA controllers.
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciconfig RCAR_DMAC
358c2ecf20Sopenharmony_ci	tristate "Renesas R-Car Gen{2,3} and RZ/G{1,2} DMA Controller"
368c2ecf20Sopenharmony_ci	depends on ARCH_RENESAS || COMPILE_TEST
378c2ecf20Sopenharmony_ci	select RENESAS_DMA
388c2ecf20Sopenharmony_ci	help
398c2ecf20Sopenharmony_ci	  This driver supports the general purpose DMA controller found in the
408c2ecf20Sopenharmony_ci	  Renesas R-Car Gen{2,3} and RZ/G{1,2} SoCs.
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ciconfig RENESAS_USB_DMAC
438c2ecf20Sopenharmony_ci	tristate "Renesas USB-DMA Controller"
448c2ecf20Sopenharmony_ci	depends on ARCH_RENESAS || COMPILE_TEST
458c2ecf20Sopenharmony_ci	select RENESAS_DMA
468c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
478c2ecf20Sopenharmony_ci	help
488c2ecf20Sopenharmony_ci	  This driver supports the USB-DMA controller found in the Renesas
498c2ecf20Sopenharmony_ci	  SoCs.
50