18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# DMA engine configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_cimenuconfig DMADEVICES
78c2ecf20Sopenharmony_ci	bool "DMA Engine support"
88c2ecf20Sopenharmony_ci	depends on HAS_DMA
98c2ecf20Sopenharmony_ci	help
108c2ecf20Sopenharmony_ci	  DMA engines can do asynchronous data transfers without
118c2ecf20Sopenharmony_ci	  involving the host CPU.  Currently, this framework can be
128c2ecf20Sopenharmony_ci	  used to offload memory copies in the network stack and
138c2ecf20Sopenharmony_ci	  RAID operations in the MD driver.  This menu only presents
148c2ecf20Sopenharmony_ci	  DMA Device drivers supported by the configured arch, it may
158c2ecf20Sopenharmony_ci	  be empty in some cases.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciconfig DMADEVICES_DEBUG
188c2ecf20Sopenharmony_ci	bool "DMA Engine debugging"
198c2ecf20Sopenharmony_ci	depends on DMADEVICES != n
208c2ecf20Sopenharmony_ci	help
218c2ecf20Sopenharmony_ci	  This is an option for use by developers; most people should
228c2ecf20Sopenharmony_ci	  say N here.  This enables DMA engine core and driver debugging.
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciconfig DMADEVICES_VDEBUG
258c2ecf20Sopenharmony_ci	bool "DMA Engine verbose debugging"
268c2ecf20Sopenharmony_ci	depends on DMADEVICES_DEBUG != n
278c2ecf20Sopenharmony_ci	help
288c2ecf20Sopenharmony_ci	  This is an option for use by developers; most people should
298c2ecf20Sopenharmony_ci	  say N here.  This enables deeper (more verbose) debugging of
308c2ecf20Sopenharmony_ci	  the DMA engine core and drivers.
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ciif DMADEVICES
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_cicomment "DMA Devices"
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci#core
388c2ecf20Sopenharmony_ciconfig ASYNC_TX_ENABLE_CHANNEL_SWITCH
398c2ecf20Sopenharmony_ci	bool
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ciconfig ARCH_HAS_ASYNC_TX_FIND_CHANNEL
428c2ecf20Sopenharmony_ci	bool
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ciconfig DMA_ENGINE
458c2ecf20Sopenharmony_ci	bool
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ciconfig DMA_VIRTUAL_CHANNELS
488c2ecf20Sopenharmony_ci	tristate
498c2ecf20Sopenharmony_ci
508c2ecf20Sopenharmony_ciconfig DMA_ACPI
518c2ecf20Sopenharmony_ci	def_bool y
528c2ecf20Sopenharmony_ci	depends on ACPI
538c2ecf20Sopenharmony_ci
548c2ecf20Sopenharmony_ciconfig DMA_OF
558c2ecf20Sopenharmony_ci	def_bool y
568c2ecf20Sopenharmony_ci	depends on OF
578c2ecf20Sopenharmony_ci	select DMA_ENGINE
588c2ecf20Sopenharmony_ci
598c2ecf20Sopenharmony_ci#devices
608c2ecf20Sopenharmony_ciconfig ALTERA_MSGDMA
618c2ecf20Sopenharmony_ci	tristate "Altera / Intel mSGDMA Engine"
628c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
638c2ecf20Sopenharmony_ci	select DMA_ENGINE
648c2ecf20Sopenharmony_ci	help
658c2ecf20Sopenharmony_ci	  Enable support for Altera / Intel mSGDMA controller.
668c2ecf20Sopenharmony_ci
678c2ecf20Sopenharmony_ciconfig AMBA_PL08X
688c2ecf20Sopenharmony_ci	bool "ARM PrimeCell PL080 or PL081 support"
698c2ecf20Sopenharmony_ci	depends on ARM_AMBA
708c2ecf20Sopenharmony_ci	select DMA_ENGINE
718c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
728c2ecf20Sopenharmony_ci	help
738c2ecf20Sopenharmony_ci	  Say yes if your platform has a PL08x DMAC device which can
748c2ecf20Sopenharmony_ci	  provide DMA engine support. This includes the original ARM
758c2ecf20Sopenharmony_ci	  PL080 and PL081, Samsungs PL080 derivative and Faraday
768c2ecf20Sopenharmony_ci	  Technology's FTDMAC020 PL080 derivative.
778c2ecf20Sopenharmony_ci
788c2ecf20Sopenharmony_ciconfig AMCC_PPC440SPE_ADMA
798c2ecf20Sopenharmony_ci	tristate "AMCC PPC440SPe ADMA support"
808c2ecf20Sopenharmony_ci	depends on 440SPe || 440SP
818c2ecf20Sopenharmony_ci	select DMA_ENGINE
828c2ecf20Sopenharmony_ci	select DMA_ENGINE_RAID
838c2ecf20Sopenharmony_ci	select ARCH_HAS_ASYNC_TX_FIND_CHANNEL
848c2ecf20Sopenharmony_ci	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
858c2ecf20Sopenharmony_ci	help
868c2ecf20Sopenharmony_ci	  Enable support for the AMCC PPC440SPe RAID engines.
878c2ecf20Sopenharmony_ci
888c2ecf20Sopenharmony_ciconfig AT_HDMAC
898c2ecf20Sopenharmony_ci	tristate "Atmel AHB DMA support"
908c2ecf20Sopenharmony_ci	depends on ARCH_AT91
918c2ecf20Sopenharmony_ci	select DMA_ENGINE
928c2ecf20Sopenharmony_ci	help
938c2ecf20Sopenharmony_ci	  Support the Atmel AHB DMA controller.
948c2ecf20Sopenharmony_ci
958c2ecf20Sopenharmony_ciconfig AT_XDMAC
968c2ecf20Sopenharmony_ci	tristate "Atmel XDMA support"
978c2ecf20Sopenharmony_ci	depends on ARCH_AT91
988c2ecf20Sopenharmony_ci	select DMA_ENGINE
998c2ecf20Sopenharmony_ci	help
1008c2ecf20Sopenharmony_ci	  Support the Atmel XDMA controller.
1018c2ecf20Sopenharmony_ci
1028c2ecf20Sopenharmony_ciconfig AXI_DMAC
1038c2ecf20Sopenharmony_ci	tristate "Analog Devices AXI-DMAC DMA support"
1048c2ecf20Sopenharmony_ci	depends on MICROBLAZE || NIOS2 || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_SOCFPGA || COMPILE_TEST
1058c2ecf20Sopenharmony_ci	select DMA_ENGINE
1068c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
1078c2ecf20Sopenharmony_ci	select REGMAP_MMIO
1088c2ecf20Sopenharmony_ci	help
1098c2ecf20Sopenharmony_ci	  Enable support for the Analog Devices AXI-DMAC peripheral. This DMA
1108c2ecf20Sopenharmony_ci	  controller is often used in Analog Devices' reference designs for FPGA
1118c2ecf20Sopenharmony_ci	  platforms.
1128c2ecf20Sopenharmony_ci
1138c2ecf20Sopenharmony_ciconfig BCM_SBA_RAID
1148c2ecf20Sopenharmony_ci	tristate "Broadcom SBA RAID engine support"
1158c2ecf20Sopenharmony_ci	depends on ARM64 || COMPILE_TEST
1168c2ecf20Sopenharmony_ci	depends on MAILBOX && RAID6_PQ
1178c2ecf20Sopenharmony_ci	select DMA_ENGINE
1188c2ecf20Sopenharmony_ci	select DMA_ENGINE_RAID
1198c2ecf20Sopenharmony_ci	select ASYNC_TX_DISABLE_XOR_VAL_DMA
1208c2ecf20Sopenharmony_ci	select ASYNC_TX_DISABLE_PQ_VAL_DMA
1218c2ecf20Sopenharmony_ci	default m if ARCH_BCM_IPROC
1228c2ecf20Sopenharmony_ci	help
1238c2ecf20Sopenharmony_ci	  Enable support for Broadcom SBA RAID Engine. The SBA RAID
1248c2ecf20Sopenharmony_ci	  engine is available on most of the Broadcom iProc SoCs. It
1258c2ecf20Sopenharmony_ci	  has the capability to offload memcpy, xor and pq computation
1268c2ecf20Sopenharmony_ci	  for raid5/6.
1278c2ecf20Sopenharmony_ci
1288c2ecf20Sopenharmony_ciconfig COH901318
1298c2ecf20Sopenharmony_ci	bool "ST-Ericsson COH901318 DMA support"
1308c2ecf20Sopenharmony_ci	select DMA_ENGINE
1318c2ecf20Sopenharmony_ci	depends on ARCH_U300 || COMPILE_TEST
1328c2ecf20Sopenharmony_ci	help
1338c2ecf20Sopenharmony_ci	  Enable support for ST-Ericsson COH 901 318 DMA.
1348c2ecf20Sopenharmony_ci
1358c2ecf20Sopenharmony_ciconfig DMA_BCM2835
1368c2ecf20Sopenharmony_ci	tristate "BCM2835 DMA engine support"
1378c2ecf20Sopenharmony_ci	depends on ARCH_BCM2835
1388c2ecf20Sopenharmony_ci	select DMA_ENGINE
1398c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
1408c2ecf20Sopenharmony_ci
1418c2ecf20Sopenharmony_ciconfig DMA_JZ4780
1428c2ecf20Sopenharmony_ci	tristate "JZ4780 DMA support"
1438c2ecf20Sopenharmony_ci	depends on MIPS || COMPILE_TEST
1448c2ecf20Sopenharmony_ci	select DMA_ENGINE
1458c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
1468c2ecf20Sopenharmony_ci	help
1478c2ecf20Sopenharmony_ci	  This selects support for the DMA controller in Ingenic JZ4780 SoCs.
1488c2ecf20Sopenharmony_ci	  If you have a board based on such a SoC and wish to use DMA for
1498c2ecf20Sopenharmony_ci	  devices which can use the DMA controller, say Y or M here.
1508c2ecf20Sopenharmony_ci
1518c2ecf20Sopenharmony_ciconfig DMA_SA11X0
1528c2ecf20Sopenharmony_ci	tristate "SA-11x0 DMA support"
1538c2ecf20Sopenharmony_ci	depends on ARCH_SA1100 || COMPILE_TEST
1548c2ecf20Sopenharmony_ci	select DMA_ENGINE
1558c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
1568c2ecf20Sopenharmony_ci	help
1578c2ecf20Sopenharmony_ci	  Support the DMA engine found on Intel StrongARM SA-1100 and
1588c2ecf20Sopenharmony_ci	  SA-1110 SoCs.  This DMA engine can only be used with on-chip
1598c2ecf20Sopenharmony_ci	  devices.
1608c2ecf20Sopenharmony_ci
1618c2ecf20Sopenharmony_ciconfig DMA_SUN4I
1628c2ecf20Sopenharmony_ci	tristate "Allwinner A10 DMA SoCs support"
1638c2ecf20Sopenharmony_ci	depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I
1648c2ecf20Sopenharmony_ci	default (MACH_SUN4I || MACH_SUN5I || MACH_SUN7I)
1658c2ecf20Sopenharmony_ci	select DMA_ENGINE
1668c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
1678c2ecf20Sopenharmony_ci	help
1688c2ecf20Sopenharmony_ci	  Enable support for the DMA controller present in the sun4i,
1698c2ecf20Sopenharmony_ci	  sun5i and sun7i Allwinner ARM SoCs.
1708c2ecf20Sopenharmony_ci
1718c2ecf20Sopenharmony_ciconfig DMA_SUN6I
1728c2ecf20Sopenharmony_ci	tristate "Allwinner A31 SoCs DMA support"
1738c2ecf20Sopenharmony_ci	depends on MACH_SUN6I || MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
1748c2ecf20Sopenharmony_ci	depends on RESET_CONTROLLER
1758c2ecf20Sopenharmony_ci	select DMA_ENGINE
1768c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
1778c2ecf20Sopenharmony_ci	help
1788c2ecf20Sopenharmony_ci	  Support for the DMA engine first found in Allwinner A31 SoCs.
1798c2ecf20Sopenharmony_ci
1808c2ecf20Sopenharmony_ciconfig DW_AXI_DMAC
1818c2ecf20Sopenharmony_ci	tristate "Synopsys DesignWare AXI DMA support"
1828c2ecf20Sopenharmony_ci	depends on OF || COMPILE_TEST
1838c2ecf20Sopenharmony_ci	select DMA_ENGINE
1848c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
1858c2ecf20Sopenharmony_ci	help
1868c2ecf20Sopenharmony_ci	  Enable support for Synopsys DesignWare AXI DMA controller.
1878c2ecf20Sopenharmony_ci	  NOTE: This driver wasn't tested on 64 bit platform because
1888c2ecf20Sopenharmony_ci	  of lack 64 bit platform with Synopsys DW AXI DMAC.
1898c2ecf20Sopenharmony_ci
1908c2ecf20Sopenharmony_ciconfig EP93XX_DMA
1918c2ecf20Sopenharmony_ci	bool "Cirrus Logic EP93xx DMA support"
1928c2ecf20Sopenharmony_ci	depends on ARCH_EP93XX || COMPILE_TEST
1938c2ecf20Sopenharmony_ci	select DMA_ENGINE
1948c2ecf20Sopenharmony_ci	help
1958c2ecf20Sopenharmony_ci	  Enable support for the Cirrus Logic EP93xx M2P/M2M DMA controller.
1968c2ecf20Sopenharmony_ci
1978c2ecf20Sopenharmony_ciconfig FSL_DMA
1988c2ecf20Sopenharmony_ci	tristate "Freescale Elo series DMA support"
1998c2ecf20Sopenharmony_ci	depends on FSL_SOC
2008c2ecf20Sopenharmony_ci	select DMA_ENGINE
2018c2ecf20Sopenharmony_ci	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
2028c2ecf20Sopenharmony_ci	help
2038c2ecf20Sopenharmony_ci	  Enable support for the Freescale Elo series DMA controllers.
2048c2ecf20Sopenharmony_ci	  The Elo is the DMA controller on some mpc82xx and mpc83xx parts, the
2058c2ecf20Sopenharmony_ci	  EloPlus is on mpc85xx and mpc86xx and Pxxx parts, and the Elo3 is on
2068c2ecf20Sopenharmony_ci	  some Txxx and Bxxx parts.
2078c2ecf20Sopenharmony_ci
2088c2ecf20Sopenharmony_ciconfig FSL_EDMA
2098c2ecf20Sopenharmony_ci	tristate "Freescale eDMA engine support"
2108c2ecf20Sopenharmony_ci	depends on OF
2118c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
2128c2ecf20Sopenharmony_ci	select DMA_ENGINE
2138c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
2148c2ecf20Sopenharmony_ci	help
2158c2ecf20Sopenharmony_ci	  Support the Freescale eDMA engine with programmable channel
2168c2ecf20Sopenharmony_ci	  multiplexing capability for DMA request sources(slot).
2178c2ecf20Sopenharmony_ci	  This module can be found on Freescale Vybrid and LS-1 SoCs.
2188c2ecf20Sopenharmony_ci
2198c2ecf20Sopenharmony_ciconfig FSL_QDMA
2208c2ecf20Sopenharmony_ci	tristate "NXP Layerscape qDMA engine support"
2218c2ecf20Sopenharmony_ci	depends on ARM || ARM64
2228c2ecf20Sopenharmony_ci	select DMA_ENGINE
2238c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
2248c2ecf20Sopenharmony_ci	select DMA_ENGINE_RAID
2258c2ecf20Sopenharmony_ci	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
2268c2ecf20Sopenharmony_ci	help
2278c2ecf20Sopenharmony_ci	 Support the NXP Layerscape qDMA engine with command queue and legacy mode.
2288c2ecf20Sopenharmony_ci	 Channel virtualization is supported through enqueuing of DMA jobs to,
2298c2ecf20Sopenharmony_ci	 or dequeuing DMA jobs from, different work queues.
2308c2ecf20Sopenharmony_ci	 This module can be found on NXP Layerscape SoCs.
2318c2ecf20Sopenharmony_ci	  The qdma driver only work on  SoCs with a DPAA hardware block.
2328c2ecf20Sopenharmony_ci
2338c2ecf20Sopenharmony_ciconfig FSL_RAID
2348c2ecf20Sopenharmony_ci	tristate "Freescale RAID engine Support"
2358c2ecf20Sopenharmony_ci	depends on FSL_SOC && !ASYNC_TX_ENABLE_CHANNEL_SWITCH
2368c2ecf20Sopenharmony_ci	select DMA_ENGINE
2378c2ecf20Sopenharmony_ci	select DMA_ENGINE_RAID
2388c2ecf20Sopenharmony_ci	help
2398c2ecf20Sopenharmony_ci	  Enable support for Freescale RAID Engine. RAID Engine is
2408c2ecf20Sopenharmony_ci	  available on some QorIQ SoCs (like P5020/P5040). It has
2418c2ecf20Sopenharmony_ci	  the capability to offload memcpy, xor and pq computation
2428c2ecf20Sopenharmony_ci	  for raid5/6.
2438c2ecf20Sopenharmony_ci
2448c2ecf20Sopenharmony_ciconfig HISI_DMA
2458c2ecf20Sopenharmony_ci	tristate "HiSilicon DMA Engine support"
2468c2ecf20Sopenharmony_ci	depends on ARM64 || COMPILE_TEST
2478c2ecf20Sopenharmony_ci	depends on PCI_MSI
2488c2ecf20Sopenharmony_ci	select DMA_ENGINE
2498c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
2508c2ecf20Sopenharmony_ci	help
2518c2ecf20Sopenharmony_ci	  Support HiSilicon Kunpeng DMA engine.
2528c2ecf20Sopenharmony_ci
2538c2ecf20Sopenharmony_ciconfig IMG_MDC_DMA
2548c2ecf20Sopenharmony_ci	tristate "IMG MDC support"
2558c2ecf20Sopenharmony_ci	depends on MIPS || COMPILE_TEST
2568c2ecf20Sopenharmony_ci	depends on MFD_SYSCON
2578c2ecf20Sopenharmony_ci	select DMA_ENGINE
2588c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
2598c2ecf20Sopenharmony_ci	help
2608c2ecf20Sopenharmony_ci	  Enable support for the IMG multi-threaded DMA controller (MDC).
2618c2ecf20Sopenharmony_ci
2628c2ecf20Sopenharmony_ciconfig IMX_DMA
2638c2ecf20Sopenharmony_ci	tristate "i.MX DMA support"
2648c2ecf20Sopenharmony_ci	depends on ARCH_MXC
2658c2ecf20Sopenharmony_ci	select DMA_ENGINE
2668c2ecf20Sopenharmony_ci	help
2678c2ecf20Sopenharmony_ci	  Support the i.MX DMA engine. This engine is integrated into
2688c2ecf20Sopenharmony_ci	  Freescale i.MX1/21/27 chips.
2698c2ecf20Sopenharmony_ci
2708c2ecf20Sopenharmony_ciconfig IMX_SDMA
2718c2ecf20Sopenharmony_ci	tristate "i.MX SDMA support"
2728c2ecf20Sopenharmony_ci	depends on ARCH_MXC
2738c2ecf20Sopenharmony_ci	select DMA_ENGINE
2748c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
2758c2ecf20Sopenharmony_ci	help
2768c2ecf20Sopenharmony_ci	  Support the i.MX SDMA engine. This engine is integrated into
2778c2ecf20Sopenharmony_ci	  Freescale i.MX25/31/35/51/53/6 chips.
2788c2ecf20Sopenharmony_ci
2798c2ecf20Sopenharmony_ciconfig INTEL_IDMA64
2808c2ecf20Sopenharmony_ci	tristate "Intel integrated DMA 64-bit support"
2818c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
2828c2ecf20Sopenharmony_ci	select DMA_ENGINE
2838c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
2848c2ecf20Sopenharmony_ci	help
2858c2ecf20Sopenharmony_ci	  Enable DMA support for Intel Low Power Subsystem such as found on
2868c2ecf20Sopenharmony_ci	  Intel Skylake PCH.
2878c2ecf20Sopenharmony_ci
2888c2ecf20Sopenharmony_ciconfig INTEL_IDXD
2898c2ecf20Sopenharmony_ci	tristate "Intel Data Accelerators support"
2908c2ecf20Sopenharmony_ci	depends on PCI && X86_64 && !UML
2918c2ecf20Sopenharmony_ci	depends on PCI_MSI
2928c2ecf20Sopenharmony_ci	depends on SBITMAP
2938c2ecf20Sopenharmony_ci	select DMA_ENGINE
2948c2ecf20Sopenharmony_ci	help
2958c2ecf20Sopenharmony_ci	  Enable support for the Intel(R) data accelerators present
2968c2ecf20Sopenharmony_ci	  in Intel Xeon CPU.
2978c2ecf20Sopenharmony_ci
2988c2ecf20Sopenharmony_ci	  Say Y if you have such a platform.
2998c2ecf20Sopenharmony_ci
3008c2ecf20Sopenharmony_ci	  If unsure, say N.
3018c2ecf20Sopenharmony_ci
3028c2ecf20Sopenharmony_ciconfig INTEL_IOATDMA
3038c2ecf20Sopenharmony_ci	tristate "Intel I/OAT DMA support"
3048c2ecf20Sopenharmony_ci	depends on PCI && X86_64 && !UML
3058c2ecf20Sopenharmony_ci	select DMA_ENGINE
3068c2ecf20Sopenharmony_ci	select DMA_ENGINE_RAID
3078c2ecf20Sopenharmony_ci	select DCA
3088c2ecf20Sopenharmony_ci	help
3098c2ecf20Sopenharmony_ci	  Enable support for the Intel(R) I/OAT DMA engine present
3108c2ecf20Sopenharmony_ci	  in recent Intel Xeon chipsets.
3118c2ecf20Sopenharmony_ci
3128c2ecf20Sopenharmony_ci	  Say Y here if you have such a chipset.
3138c2ecf20Sopenharmony_ci
3148c2ecf20Sopenharmony_ci	  If unsure, say N.
3158c2ecf20Sopenharmony_ci
3168c2ecf20Sopenharmony_ciconfig INTEL_IOP_ADMA
3178c2ecf20Sopenharmony_ci	tristate "Intel IOP32x ADMA support"
3188c2ecf20Sopenharmony_ci	depends on ARCH_IOP32X || COMPILE_TEST
3198c2ecf20Sopenharmony_ci	select DMA_ENGINE
3208c2ecf20Sopenharmony_ci	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
3218c2ecf20Sopenharmony_ci	help
3228c2ecf20Sopenharmony_ci	  Enable support for the Intel(R) IOP Series RAID engines.
3238c2ecf20Sopenharmony_ci
3248c2ecf20Sopenharmony_ciconfig K3_DMA
3258c2ecf20Sopenharmony_ci	tristate "Hisilicon K3 DMA support"
3268c2ecf20Sopenharmony_ci	depends on ARCH_HI3xxx || ARCH_HISI || COMPILE_TEST
3278c2ecf20Sopenharmony_ci	select DMA_ENGINE
3288c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
3298c2ecf20Sopenharmony_ci	help
3308c2ecf20Sopenharmony_ci	  Support the DMA engine for Hisilicon K3 platform
3318c2ecf20Sopenharmony_ci	  devices.
3328c2ecf20Sopenharmony_ci
3338c2ecf20Sopenharmony_ciconfig LPC18XX_DMAMUX
3348c2ecf20Sopenharmony_ci	bool "NXP LPC18xx/43xx DMA MUX for PL080"
3358c2ecf20Sopenharmony_ci	depends on ARCH_LPC18XX || COMPILE_TEST
3368c2ecf20Sopenharmony_ci	depends on OF && AMBA_PL08X
3378c2ecf20Sopenharmony_ci	select MFD_SYSCON
3388c2ecf20Sopenharmony_ci	help
3398c2ecf20Sopenharmony_ci	  Enable support for DMA on NXP LPC18xx/43xx platforms
3408c2ecf20Sopenharmony_ci	  with PL080 and multiplexed DMA request lines.
3418c2ecf20Sopenharmony_ci
3428c2ecf20Sopenharmony_ciconfig MCF_EDMA
3438c2ecf20Sopenharmony_ci	tristate "Freescale eDMA engine support, ColdFire mcf5441x SoCs"
3448c2ecf20Sopenharmony_ci	depends on M5441x || COMPILE_TEST
3458c2ecf20Sopenharmony_ci	select DMA_ENGINE
3468c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
3478c2ecf20Sopenharmony_ci	help
3488c2ecf20Sopenharmony_ci	  Support the Freescale ColdFire eDMA engine, 64-channel
3498c2ecf20Sopenharmony_ci	  implementation that performs complex data transfers with
3508c2ecf20Sopenharmony_ci	  minimal intervention from a host processor.
3518c2ecf20Sopenharmony_ci	  This module can be found on Freescale ColdFire mcf5441x SoCs.
3528c2ecf20Sopenharmony_ci
3538c2ecf20Sopenharmony_ciconfig MILBEAUT_HDMAC
3548c2ecf20Sopenharmony_ci	tristate "Milbeaut AHB DMA support"
3558c2ecf20Sopenharmony_ci	depends on ARCH_MILBEAUT || COMPILE_TEST
3568c2ecf20Sopenharmony_ci	depends on OF
3578c2ecf20Sopenharmony_ci	select DMA_ENGINE
3588c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
3598c2ecf20Sopenharmony_ci	help
3608c2ecf20Sopenharmony_ci	  Say yes here to support the Socionext Milbeaut
3618c2ecf20Sopenharmony_ci	  HDMAC device.
3628c2ecf20Sopenharmony_ci
3638c2ecf20Sopenharmony_ciconfig MILBEAUT_XDMAC
3648c2ecf20Sopenharmony_ci	tristate "Milbeaut AXI DMA support"
3658c2ecf20Sopenharmony_ci	depends on ARCH_MILBEAUT || COMPILE_TEST
3668c2ecf20Sopenharmony_ci	depends on OF
3678c2ecf20Sopenharmony_ci	select DMA_ENGINE
3688c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
3698c2ecf20Sopenharmony_ci	help
3708c2ecf20Sopenharmony_ci	  Say yes here to support the Socionext Milbeaut
3718c2ecf20Sopenharmony_ci	  XDMAC device.
3728c2ecf20Sopenharmony_ci
3738c2ecf20Sopenharmony_ciconfig MMP_PDMA
3748c2ecf20Sopenharmony_ci	bool "MMP PDMA support"
3758c2ecf20Sopenharmony_ci	depends on ARCH_MMP || ARCH_PXA || COMPILE_TEST
3768c2ecf20Sopenharmony_ci	select DMA_ENGINE
3778c2ecf20Sopenharmony_ci	help
3788c2ecf20Sopenharmony_ci	  Support the MMP PDMA engine for PXA and MMP platform.
3798c2ecf20Sopenharmony_ci
3808c2ecf20Sopenharmony_ciconfig MMP_TDMA
3818c2ecf20Sopenharmony_ci	bool "MMP Two-Channel DMA support"
3828c2ecf20Sopenharmony_ci	depends on ARCH_MMP || COMPILE_TEST
3838c2ecf20Sopenharmony_ci	select DMA_ENGINE
3848c2ecf20Sopenharmony_ci	select GENERIC_ALLOCATOR
3858c2ecf20Sopenharmony_ci	help
3868c2ecf20Sopenharmony_ci	  Support the MMP Two-Channel DMA engine.
3878c2ecf20Sopenharmony_ci	  This engine used for MMP Audio DMA and pxa910 SQU.
3888c2ecf20Sopenharmony_ci
3898c2ecf20Sopenharmony_ciconfig MOXART_DMA
3908c2ecf20Sopenharmony_ci	tristate "MOXART DMA support"
3918c2ecf20Sopenharmony_ci	depends on ARCH_MOXART
3928c2ecf20Sopenharmony_ci	select DMA_ENGINE
3938c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
3948c2ecf20Sopenharmony_ci	help
3958c2ecf20Sopenharmony_ci	  Enable support for the MOXA ART SoC DMA controller.
3968c2ecf20Sopenharmony_ci 
3978c2ecf20Sopenharmony_ci	  Say Y here if you enabled MMP ADMA, otherwise say N.
3988c2ecf20Sopenharmony_ci
3998c2ecf20Sopenharmony_ciconfig MPC512X_DMA
4008c2ecf20Sopenharmony_ci	tristate "Freescale MPC512x built-in DMA engine support"
4018c2ecf20Sopenharmony_ci	depends on PPC_MPC512x || PPC_MPC831x
4028c2ecf20Sopenharmony_ci	select DMA_ENGINE
4038c2ecf20Sopenharmony_ci	help
4048c2ecf20Sopenharmony_ci	  Enable support for the Freescale MPC512x built-in DMA engine.
4058c2ecf20Sopenharmony_ci
4068c2ecf20Sopenharmony_ciconfig MV_XOR
4078c2ecf20Sopenharmony_ci	bool "Marvell XOR engine support"
4088c2ecf20Sopenharmony_ci	depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
4098c2ecf20Sopenharmony_ci	select DMA_ENGINE
4108c2ecf20Sopenharmony_ci	select DMA_ENGINE_RAID
4118c2ecf20Sopenharmony_ci	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
4128c2ecf20Sopenharmony_ci	help
4138c2ecf20Sopenharmony_ci	  Enable support for the Marvell XOR engine.
4148c2ecf20Sopenharmony_ci
4158c2ecf20Sopenharmony_ciconfig MV_XOR_V2
4168c2ecf20Sopenharmony_ci	bool "Marvell XOR engine version 2 support "
4178c2ecf20Sopenharmony_ci	depends on ARM64
4188c2ecf20Sopenharmony_ci	select DMA_ENGINE
4198c2ecf20Sopenharmony_ci	select DMA_ENGINE_RAID
4208c2ecf20Sopenharmony_ci	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
4218c2ecf20Sopenharmony_ci	select GENERIC_MSI_IRQ_DOMAIN
4228c2ecf20Sopenharmony_ci	help
4238c2ecf20Sopenharmony_ci	  Enable support for the Marvell version 2 XOR engine.
4248c2ecf20Sopenharmony_ci
4258c2ecf20Sopenharmony_ci	  This engine provides acceleration for copy, XOR and RAID6
4268c2ecf20Sopenharmony_ci	  operations, and is available on Marvell Armada 7K and 8K
4278c2ecf20Sopenharmony_ci	  platforms.
4288c2ecf20Sopenharmony_ci
4298c2ecf20Sopenharmony_ciconfig MXS_DMA
4308c2ecf20Sopenharmony_ci	bool "MXS DMA support"
4318c2ecf20Sopenharmony_ci	depends on ARCH_MXS || ARCH_MXC || COMPILE_TEST
4328c2ecf20Sopenharmony_ci	select STMP_DEVICE
4338c2ecf20Sopenharmony_ci	select DMA_ENGINE
4348c2ecf20Sopenharmony_ci	help
4358c2ecf20Sopenharmony_ci	  Support the MXS DMA engine. This engine including APBH-DMA
4368c2ecf20Sopenharmony_ci	  and APBX-DMA is integrated into some Freescale chips.
4378c2ecf20Sopenharmony_ci
4388c2ecf20Sopenharmony_ciconfig MX3_IPU
4398c2ecf20Sopenharmony_ci	bool "MX3x Image Processing Unit support"
4408c2ecf20Sopenharmony_ci	depends on ARCH_MXC
4418c2ecf20Sopenharmony_ci	select DMA_ENGINE
4428c2ecf20Sopenharmony_ci	default y
4438c2ecf20Sopenharmony_ci	help
4448c2ecf20Sopenharmony_ci	  If you plan to use the Image Processing unit in the i.MX3x, say
4458c2ecf20Sopenharmony_ci	  Y here. If unsure, select Y.
4468c2ecf20Sopenharmony_ci
4478c2ecf20Sopenharmony_ciconfig MX3_IPU_IRQS
4488c2ecf20Sopenharmony_ci	int "Number of dynamically mapped interrupts for IPU"
4498c2ecf20Sopenharmony_ci	depends on MX3_IPU
4508c2ecf20Sopenharmony_ci	range 2 137
4518c2ecf20Sopenharmony_ci	default 4
4528c2ecf20Sopenharmony_ci	help
4538c2ecf20Sopenharmony_ci	  Out of 137 interrupt sources on i.MX31 IPU only very few are used.
4548c2ecf20Sopenharmony_ci	  To avoid bloating the irq_desc[] array we allocate a sufficient
4558c2ecf20Sopenharmony_ci	  number of IRQ slots and map them dynamically to specific sources.
4568c2ecf20Sopenharmony_ci
4578c2ecf20Sopenharmony_ciconfig NBPFAXI_DMA
4588c2ecf20Sopenharmony_ci	tristate "Renesas Type-AXI NBPF DMA support"
4598c2ecf20Sopenharmony_ci	select DMA_ENGINE
4608c2ecf20Sopenharmony_ci	depends on ARM || COMPILE_TEST
4618c2ecf20Sopenharmony_ci	help
4628c2ecf20Sopenharmony_ci	  Support for "Type-AXI" NBPF DMA IPs from Renesas
4638c2ecf20Sopenharmony_ci
4648c2ecf20Sopenharmony_ciconfig OWL_DMA
4658c2ecf20Sopenharmony_ci	tristate "Actions Semi Owl SoCs DMA support"
4668c2ecf20Sopenharmony_ci	depends on ARCH_ACTIONS
4678c2ecf20Sopenharmony_ci	select DMA_ENGINE
4688c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
4698c2ecf20Sopenharmony_ci	help
4708c2ecf20Sopenharmony_ci	  Enable support for the Actions Semi Owl SoCs DMA controller.
4718c2ecf20Sopenharmony_ci
4728c2ecf20Sopenharmony_ciconfig PCH_DMA
4738c2ecf20Sopenharmony_ci	tristate "Intel EG20T PCH / LAPIS Semicon IOH(ML7213/ML7223/ML7831) DMA"
4748c2ecf20Sopenharmony_ci	depends on PCI && (X86_32 || COMPILE_TEST)
4758c2ecf20Sopenharmony_ci	select DMA_ENGINE
4768c2ecf20Sopenharmony_ci	help
4778c2ecf20Sopenharmony_ci	  Enable support for Intel EG20T PCH DMA engine.
4788c2ecf20Sopenharmony_ci
4798c2ecf20Sopenharmony_ci	  This driver also can be used for LAPIS Semiconductor IOH(Input/
4808c2ecf20Sopenharmony_ci	  Output Hub), ML7213, ML7223 and ML7831.
4818c2ecf20Sopenharmony_ci	  ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is
4828c2ecf20Sopenharmony_ci	  for MP(Media Phone) use and ML7831 IOH is for general purpose use.
4838c2ecf20Sopenharmony_ci	  ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
4848c2ecf20Sopenharmony_ci	  ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
4858c2ecf20Sopenharmony_ci
4868c2ecf20Sopenharmony_ciconfig PL330_DMA
4878c2ecf20Sopenharmony_ci	tristate "DMA API Driver for PL330"
4888c2ecf20Sopenharmony_ci	select DMA_ENGINE
4898c2ecf20Sopenharmony_ci	depends on ARM_AMBA
4908c2ecf20Sopenharmony_ci	help
4918c2ecf20Sopenharmony_ci	  Select if your platform has one or more PL330 DMACs.
4928c2ecf20Sopenharmony_ci	  You need to provide platform specific settings via
4938c2ecf20Sopenharmony_ci	  platform_data for a dma-pl330 device.
4948c2ecf20Sopenharmony_ci
4958c2ecf20Sopenharmony_ciconfig PXA_DMA
4968c2ecf20Sopenharmony_ci	bool "PXA DMA support"
4978c2ecf20Sopenharmony_ci	depends on (ARCH_MMP || ARCH_PXA)
4988c2ecf20Sopenharmony_ci	select DMA_ENGINE
4998c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
5008c2ecf20Sopenharmony_ci	help
5018c2ecf20Sopenharmony_ci	  Support the DMA engine for PXA. It is also compatible with MMP PDMA
5028c2ecf20Sopenharmony_ci	  platform. The internal DMA IP of all PXA variants is supported, with
5038c2ecf20Sopenharmony_ci	  16 to 32 channels for peripheral to memory or memory to memory
5048c2ecf20Sopenharmony_ci	  transfers.
5058c2ecf20Sopenharmony_ci
5068c2ecf20Sopenharmony_ciconfig PLX_DMA
5078c2ecf20Sopenharmony_ci	tristate "PLX ExpressLane PEX Switch DMA Engine Support"
5088c2ecf20Sopenharmony_ci	depends on PCI
5098c2ecf20Sopenharmony_ci	select DMA_ENGINE
5108c2ecf20Sopenharmony_ci	help
5118c2ecf20Sopenharmony_ci	  Some PLX ExpressLane PCI Switches support additional DMA engines.
5128c2ecf20Sopenharmony_ci	  These are exposed via extra functions on the switch's
5138c2ecf20Sopenharmony_ci	  upstream port. Each function exposes one DMA channel.
5148c2ecf20Sopenharmony_ci
5158c2ecf20Sopenharmony_ciconfig SIRF_DMA
5168c2ecf20Sopenharmony_ci	tristate "CSR SiRFprimaII/SiRFmarco DMA support"
5178c2ecf20Sopenharmony_ci	depends on ARCH_SIRF
5188c2ecf20Sopenharmony_ci	select DMA_ENGINE
5198c2ecf20Sopenharmony_ci	help
5208c2ecf20Sopenharmony_ci	  Enable support for the CSR SiRFprimaII DMA engine.
5218c2ecf20Sopenharmony_ci
5228c2ecf20Sopenharmony_ciconfig STE_DMA40
5238c2ecf20Sopenharmony_ci	bool "ST-Ericsson DMA40 support"
5248c2ecf20Sopenharmony_ci	depends on ARCH_U8500
5258c2ecf20Sopenharmony_ci	select DMA_ENGINE
5268c2ecf20Sopenharmony_ci	help
5278c2ecf20Sopenharmony_ci	  Support for ST-Ericsson DMA40 controller
5288c2ecf20Sopenharmony_ci
5298c2ecf20Sopenharmony_ciconfig ST_FDMA
5308c2ecf20Sopenharmony_ci	tristate "ST FDMA dmaengine support"
5318c2ecf20Sopenharmony_ci	depends on ARCH_STI
5328c2ecf20Sopenharmony_ci	depends on REMOTEPROC
5338c2ecf20Sopenharmony_ci	select ST_SLIM_REMOTEPROC
5348c2ecf20Sopenharmony_ci	select DMA_ENGINE
5358c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
5368c2ecf20Sopenharmony_ci	help
5378c2ecf20Sopenharmony_ci	  Enable support for ST FDMA controller.
5388c2ecf20Sopenharmony_ci	  It supports 16 independent DMA channels, accepts up to 32 DMA requests
5398c2ecf20Sopenharmony_ci
5408c2ecf20Sopenharmony_ci	  Say Y here if you have such a chipset.
5418c2ecf20Sopenharmony_ci	  If unsure, say N.
5428c2ecf20Sopenharmony_ci
5438c2ecf20Sopenharmony_ciconfig STM32_DMA
5448c2ecf20Sopenharmony_ci	bool "STMicroelectronics STM32 DMA support"
5458c2ecf20Sopenharmony_ci	depends on ARCH_STM32 || COMPILE_TEST
5468c2ecf20Sopenharmony_ci	select DMA_ENGINE
5478c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
5488c2ecf20Sopenharmony_ci	help
5498c2ecf20Sopenharmony_ci	  Enable support for the on-chip DMA controller on STMicroelectronics
5508c2ecf20Sopenharmony_ci	  STM32 MCUs.
5518c2ecf20Sopenharmony_ci	  If you have a board based on such a MCU and wish to use DMA say Y
5528c2ecf20Sopenharmony_ci	  here.
5538c2ecf20Sopenharmony_ci
5548c2ecf20Sopenharmony_ciconfig STM32_DMAMUX
5558c2ecf20Sopenharmony_ci	bool "STMicroelectronics STM32 dma multiplexer support"
5568c2ecf20Sopenharmony_ci	depends on STM32_DMA || COMPILE_TEST
5578c2ecf20Sopenharmony_ci	help
5588c2ecf20Sopenharmony_ci	  Enable support for the on-chip DMA multiplexer on STMicroelectronics
5598c2ecf20Sopenharmony_ci	  STM32 MCUs.
5608c2ecf20Sopenharmony_ci	  If you have a board based on such a MCU and wish to use DMAMUX say Y
5618c2ecf20Sopenharmony_ci	  here.
5628c2ecf20Sopenharmony_ci
5638c2ecf20Sopenharmony_ciconfig STM32_MDMA
5648c2ecf20Sopenharmony_ci	bool "STMicroelectronics STM32 master dma support"
5658c2ecf20Sopenharmony_ci	depends on ARCH_STM32 || COMPILE_TEST
5668c2ecf20Sopenharmony_ci	depends on OF
5678c2ecf20Sopenharmony_ci	select DMA_ENGINE
5688c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
5698c2ecf20Sopenharmony_ci	help
5708c2ecf20Sopenharmony_ci	  Enable support for the on-chip MDMA controller on STMicroelectronics
5718c2ecf20Sopenharmony_ci	  STM32 platforms.
5728c2ecf20Sopenharmony_ci	  If you have a board based on STM32 SoC and wish to use the master DMA
5738c2ecf20Sopenharmony_ci	  say Y here.
5748c2ecf20Sopenharmony_ci
5758c2ecf20Sopenharmony_ciconfig SPRD_DMA
5768c2ecf20Sopenharmony_ci	tristate "Spreadtrum DMA support"
5778c2ecf20Sopenharmony_ci	depends on ARCH_SPRD || COMPILE_TEST
5788c2ecf20Sopenharmony_ci	select DMA_ENGINE
5798c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
5808c2ecf20Sopenharmony_ci	help
5818c2ecf20Sopenharmony_ci	  Enable support for the on-chip DMA controller on Spreadtrum platform.
5828c2ecf20Sopenharmony_ci
5838c2ecf20Sopenharmony_ciconfig S3C24XX_DMAC
5848c2ecf20Sopenharmony_ci	bool "Samsung S3C24XX DMA support"
5858c2ecf20Sopenharmony_ci	depends on ARCH_S3C24XX || COMPILE_TEST
5868c2ecf20Sopenharmony_ci	select DMA_ENGINE
5878c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
5888c2ecf20Sopenharmony_ci	help
5898c2ecf20Sopenharmony_ci	  Support for the Samsung S3C24XX DMA controller driver. The
5908c2ecf20Sopenharmony_ci	  DMA controller is having multiple DMA channels which can be
5918c2ecf20Sopenharmony_ci	  configured for different peripherals like audio, UART, SPI.
5928c2ecf20Sopenharmony_ci	  The DMA controller can transfer data from memory to peripheral,
5938c2ecf20Sopenharmony_ci	  periphal to memory, periphal to periphal and memory to memory.
5948c2ecf20Sopenharmony_ci
5958c2ecf20Sopenharmony_ciconfig TXX9_DMAC
5968c2ecf20Sopenharmony_ci	tristate "Toshiba TXx9 SoC DMA support"
5978c2ecf20Sopenharmony_ci	depends on MACH_TX49XX || MACH_TX39XX
5988c2ecf20Sopenharmony_ci	select DMA_ENGINE
5998c2ecf20Sopenharmony_ci	help
6008c2ecf20Sopenharmony_ci	  Support the TXx9 SoC internal DMA controller.  This can be
6018c2ecf20Sopenharmony_ci	  integrated in chips such as the Toshiba TX4927/38/39.
6028c2ecf20Sopenharmony_ci
6038c2ecf20Sopenharmony_ciconfig TEGRA20_APB_DMA
6048c2ecf20Sopenharmony_ci	tristate "NVIDIA Tegra20 APB DMA support"
6058c2ecf20Sopenharmony_ci	depends on ARCH_TEGRA || COMPILE_TEST
6068c2ecf20Sopenharmony_ci	select DMA_ENGINE
6078c2ecf20Sopenharmony_ci	help
6088c2ecf20Sopenharmony_ci	  Support for the NVIDIA Tegra20 APB DMA controller driver. The
6098c2ecf20Sopenharmony_ci	  DMA controller is having multiple DMA channel which can be
6108c2ecf20Sopenharmony_ci	  configured for different peripherals like audio, UART, SPI,
6118c2ecf20Sopenharmony_ci	  I2C etc which is in APB bus.
6128c2ecf20Sopenharmony_ci	  This DMA controller transfers data from memory to peripheral fifo
6138c2ecf20Sopenharmony_ci	  or vice versa. It does not support memory to memory data transfer.
6148c2ecf20Sopenharmony_ci
6158c2ecf20Sopenharmony_ciconfig TEGRA210_ADMA
6168c2ecf20Sopenharmony_ci	tristate "NVIDIA Tegra210 ADMA support"
6178c2ecf20Sopenharmony_ci	depends on (ARCH_TEGRA_210_SOC || COMPILE_TEST)
6188c2ecf20Sopenharmony_ci	select DMA_ENGINE
6198c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
6208c2ecf20Sopenharmony_ci	help
6218c2ecf20Sopenharmony_ci	  Support for the NVIDIA Tegra210 ADMA controller driver. The
6228c2ecf20Sopenharmony_ci	  DMA controller has multiple DMA channels and is used to service
6238c2ecf20Sopenharmony_ci	  various audio clients in the Tegra210 audio processing engine
6248c2ecf20Sopenharmony_ci	  (APE). This DMA controller transfers data from memory to
6258c2ecf20Sopenharmony_ci	  peripheral and vice versa. It does not support memory to
6268c2ecf20Sopenharmony_ci	  memory data transfer.
6278c2ecf20Sopenharmony_ci
6288c2ecf20Sopenharmony_ciconfig TIMB_DMA
6298c2ecf20Sopenharmony_ci	tristate "Timberdale FPGA DMA support"
6308c2ecf20Sopenharmony_ci	depends on MFD_TIMBERDALE || COMPILE_TEST
6318c2ecf20Sopenharmony_ci	select DMA_ENGINE
6328c2ecf20Sopenharmony_ci	help
6338c2ecf20Sopenharmony_ci	  Enable support for the Timberdale FPGA DMA engine.
6348c2ecf20Sopenharmony_ci
6358c2ecf20Sopenharmony_ciconfig UNIPHIER_MDMAC
6368c2ecf20Sopenharmony_ci	tristate "UniPhier MIO DMAC"
6378c2ecf20Sopenharmony_ci	depends on ARCH_UNIPHIER || COMPILE_TEST
6388c2ecf20Sopenharmony_ci	depends on OF
6398c2ecf20Sopenharmony_ci	select DMA_ENGINE
6408c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
6418c2ecf20Sopenharmony_ci	help
6428c2ecf20Sopenharmony_ci	  Enable support for the MIO DMAC (Media I/O DMA controller) on the
6438c2ecf20Sopenharmony_ci	  UniPhier platform.  This DMA controller is used as the external
6448c2ecf20Sopenharmony_ci	  DMA engine of the SD/eMMC controllers of the LD4, Pro4, sLD8 SoCs.
6458c2ecf20Sopenharmony_ci
6468c2ecf20Sopenharmony_ciconfig UNIPHIER_XDMAC
6478c2ecf20Sopenharmony_ci	tristate "UniPhier XDMAC support"
6488c2ecf20Sopenharmony_ci	depends on ARCH_UNIPHIER || COMPILE_TEST
6498c2ecf20Sopenharmony_ci	depends on OF
6508c2ecf20Sopenharmony_ci	select DMA_ENGINE
6518c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
6528c2ecf20Sopenharmony_ci	help
6538c2ecf20Sopenharmony_ci	  Enable support for the XDMAC (external DMA controller) on the
6548c2ecf20Sopenharmony_ci	  UniPhier platform. This DMA controller can transfer data from
6558c2ecf20Sopenharmony_ci	  memory to memory, memory to peripheral and peripheral to memory.
6568c2ecf20Sopenharmony_ci
6578c2ecf20Sopenharmony_ciconfig XGENE_DMA
6588c2ecf20Sopenharmony_ci	tristate "APM X-Gene DMA support"
6598c2ecf20Sopenharmony_ci	depends on ARCH_XGENE || COMPILE_TEST
6608c2ecf20Sopenharmony_ci	select DMA_ENGINE
6618c2ecf20Sopenharmony_ci	select DMA_ENGINE_RAID
6628c2ecf20Sopenharmony_ci	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
6638c2ecf20Sopenharmony_ci	help
6648c2ecf20Sopenharmony_ci	  Enable support for the APM X-Gene SoC DMA engine.
6658c2ecf20Sopenharmony_ci
6668c2ecf20Sopenharmony_ciconfig XILINX_DMA
6678c2ecf20Sopenharmony_ci	tristate "Xilinx AXI DMAS Engine"
6688c2ecf20Sopenharmony_ci	depends on (ARCH_ZYNQ || MICROBLAZE || ARM64)
6698c2ecf20Sopenharmony_ci	select DMA_ENGINE
6708c2ecf20Sopenharmony_ci	help
6718c2ecf20Sopenharmony_ci	  Enable support for Xilinx AXI VDMA Soft IP.
6728c2ecf20Sopenharmony_ci
6738c2ecf20Sopenharmony_ci	  AXI VDMA engine provides high-bandwidth direct memory access
6748c2ecf20Sopenharmony_ci	  between memory and AXI4-Stream video type target
6758c2ecf20Sopenharmony_ci	  peripherals including peripherals which support AXI4-
6768c2ecf20Sopenharmony_ci	  Stream Video Protocol.  It has two stream interfaces/
6778c2ecf20Sopenharmony_ci	  channels, Memory Mapped to Stream (MM2S) and Stream to
6788c2ecf20Sopenharmony_ci	  Memory Mapped (S2MM) for the data transfers.
6798c2ecf20Sopenharmony_ci	  AXI CDMA engine provides high-bandwidth direct memory access
6808c2ecf20Sopenharmony_ci	  between a memory-mapped source address and a memory-mapped
6818c2ecf20Sopenharmony_ci	  destination address.
6828c2ecf20Sopenharmony_ci	  AXI DMA engine provides high-bandwidth one dimensional direct
6838c2ecf20Sopenharmony_ci	  memory access between memory and AXI4-Stream target peripherals.
6848c2ecf20Sopenharmony_ci	  AXI MCDMA engine provides high-bandwidth direct memory access
6858c2ecf20Sopenharmony_ci	  between memory and AXI4-Stream target peripherals. It provides
6868c2ecf20Sopenharmony_ci	  the scatter gather interface with multiple channels independent
6878c2ecf20Sopenharmony_ci	  configuration support.
6888c2ecf20Sopenharmony_ci
6898c2ecf20Sopenharmony_ciconfig XILINX_ZYNQMP_DMA
6908c2ecf20Sopenharmony_ci	tristate "Xilinx ZynqMP DMA Engine"
6918c2ecf20Sopenharmony_ci	depends on (ARCH_ZYNQ || MICROBLAZE || ARM64)
6928c2ecf20Sopenharmony_ci	select DMA_ENGINE
6938c2ecf20Sopenharmony_ci	help
6948c2ecf20Sopenharmony_ci	  Enable support for Xilinx ZynqMP DMA controller.
6958c2ecf20Sopenharmony_ci
6968c2ecf20Sopenharmony_ciconfig XILINX_ZYNQMP_DPDMA
6978c2ecf20Sopenharmony_ci	tristate "Xilinx DPDMA Engine"
6988c2ecf20Sopenharmony_ci	depends on HAS_IOMEM && OF
6998c2ecf20Sopenharmony_ci	select DMA_ENGINE
7008c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
7018c2ecf20Sopenharmony_ci	help
7028c2ecf20Sopenharmony_ci	  Enable support for Xilinx ZynqMP DisplayPort DMA. Choose this option
7038c2ecf20Sopenharmony_ci	  if you have a Xilinx ZynqMP SoC with a DisplayPort subsystem. The
7048c2ecf20Sopenharmony_ci	  driver provides the dmaengine required by the DisplayPort subsystem
7058c2ecf20Sopenharmony_ci	  display driver.
7068c2ecf20Sopenharmony_ci
7078c2ecf20Sopenharmony_ciconfig ZX_DMA
7088c2ecf20Sopenharmony_ci	tristate "ZTE ZX DMA support"
7098c2ecf20Sopenharmony_ci	depends on ARCH_ZX || COMPILE_TEST
7108c2ecf20Sopenharmony_ci	select DMA_ENGINE
7118c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
7128c2ecf20Sopenharmony_ci	help
7138c2ecf20Sopenharmony_ci	  Support the DMA engine for ZTE ZX family platform devices.
7148c2ecf20Sopenharmony_ci
7158c2ecf20Sopenharmony_ci
7168c2ecf20Sopenharmony_ci# driver files
7178c2ecf20Sopenharmony_cisource "drivers/dma/bestcomm/Kconfig"
7188c2ecf20Sopenharmony_ci
7198c2ecf20Sopenharmony_cisource "drivers/dma/mediatek/Kconfig"
7208c2ecf20Sopenharmony_ci
7218c2ecf20Sopenharmony_cisource "drivers/dma/qcom/Kconfig"
7228c2ecf20Sopenharmony_ci
7238c2ecf20Sopenharmony_cisource "drivers/dma/dw/Kconfig"
7248c2ecf20Sopenharmony_ci
7258c2ecf20Sopenharmony_cisource "drivers/dma/dw-edma/Kconfig"
7268c2ecf20Sopenharmony_ci
7278c2ecf20Sopenharmony_cisource "drivers/dma/hsu/Kconfig"
7288c2ecf20Sopenharmony_ci
7298c2ecf20Sopenharmony_cisource "drivers/dma/sf-pdma/Kconfig"
7308c2ecf20Sopenharmony_ci
7318c2ecf20Sopenharmony_cisource "drivers/dma/sh/Kconfig"
7328c2ecf20Sopenharmony_ci
7338c2ecf20Sopenharmony_cisource "drivers/dma/ti/Kconfig"
7348c2ecf20Sopenharmony_ci
7358c2ecf20Sopenharmony_cisource "drivers/dma/fsl-dpaa2-qdma/Kconfig"
7368c2ecf20Sopenharmony_ci
7378c2ecf20Sopenharmony_ci# clients
7388c2ecf20Sopenharmony_cicomment "DMA Clients"
7398c2ecf20Sopenharmony_ci	depends on DMA_ENGINE
7408c2ecf20Sopenharmony_ci
7418c2ecf20Sopenharmony_ciconfig ASYNC_TX_DMA
7428c2ecf20Sopenharmony_ci	bool "Async_tx: Offload support for the async_tx api"
7438c2ecf20Sopenharmony_ci	depends on DMA_ENGINE
7448c2ecf20Sopenharmony_ci	help
7458c2ecf20Sopenharmony_ci	  This allows the async_tx api to take advantage of offload engines for
7468c2ecf20Sopenharmony_ci	  memcpy, memset, xor, and raid6 p+q operations.  If your platform has
7478c2ecf20Sopenharmony_ci	  a dma engine that can perform raid operations and you have enabled
7488c2ecf20Sopenharmony_ci	  MD_RAID456 say Y.
7498c2ecf20Sopenharmony_ci
7508c2ecf20Sopenharmony_ci	  If unsure, say N.
7518c2ecf20Sopenharmony_ci
7528c2ecf20Sopenharmony_ciconfig DMATEST
7538c2ecf20Sopenharmony_ci	tristate "DMA Test client"
7548c2ecf20Sopenharmony_ci	depends on DMA_ENGINE
7558c2ecf20Sopenharmony_ci	select DMA_ENGINE_RAID
7568c2ecf20Sopenharmony_ci	help
7578c2ecf20Sopenharmony_ci	  Simple DMA test client. Say N unless you're debugging a
7588c2ecf20Sopenharmony_ci	  DMA Device driver.
7598c2ecf20Sopenharmony_ci
7608c2ecf20Sopenharmony_ciconfig DMA_ENGINE_RAID
7618c2ecf20Sopenharmony_ci	bool
7628c2ecf20Sopenharmony_ci
7638c2ecf20Sopenharmony_ciendif
764