18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Texas Instruments DMA drivers
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig TI_CPPI41
78c2ecf20Sopenharmony_ci	tristate "Texas Instruments CPPI 4.1 DMA support"
88c2ecf20Sopenharmony_ci	depends on (ARCH_OMAP || ARCH_DAVINCI_DA8XX)
98c2ecf20Sopenharmony_ci	select DMA_ENGINE
108c2ecf20Sopenharmony_ci	help
118c2ecf20Sopenharmony_ci	  The Communications Port Programming Interface (CPPI) 4.1 DMA engine
128c2ecf20Sopenharmony_ci	  is currently used by the USB driver on AM335x and DA8xx platforms.
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciconfig TI_EDMA
158c2ecf20Sopenharmony_ci	tristate "Texas Instruments EDMA support"
168c2ecf20Sopenharmony_ci	depends on ARCH_DAVINCI || ARCH_OMAP || ARCH_KEYSTONE || COMPILE_TEST
178c2ecf20Sopenharmony_ci	select DMA_ENGINE
188c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
198c2ecf20Sopenharmony_ci	select TI_DMA_CROSSBAR if (ARCH_OMAP || COMPILE_TEST)
208c2ecf20Sopenharmony_ci	default y
218c2ecf20Sopenharmony_ci	help
228c2ecf20Sopenharmony_ci	  Enable support for the TI EDMA (Enhanced DMA) controller. This DMA
238c2ecf20Sopenharmony_ci	  engine is found on TI DaVinci, AM33xx, AM43xx, DRA7xx and Keystone 2
248c2ecf20Sopenharmony_ci	  parts.
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ciconfig DMA_OMAP
278c2ecf20Sopenharmony_ci	tristate "Texas Instruments sDMA (omap-dma) support"
288c2ecf20Sopenharmony_ci	depends on ARCH_OMAP || COMPILE_TEST
298c2ecf20Sopenharmony_ci	select DMA_ENGINE
308c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
318c2ecf20Sopenharmony_ci	select TI_DMA_CROSSBAR if (SOC_DRA7XX || COMPILE_TEST)
328c2ecf20Sopenharmony_ci	default y
338c2ecf20Sopenharmony_ci	help
348c2ecf20Sopenharmony_ci	  Enable support for the TI sDMA (System DMA or DMA4) controller. This
358c2ecf20Sopenharmony_ci	  DMA engine is found on OMAP and DRA7xx parts.
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ciconfig TI_K3_UDMA
388c2ecf20Sopenharmony_ci	bool "Texas Instruments UDMA support"
398c2ecf20Sopenharmony_ci	depends on ARCH_K3
408c2ecf20Sopenharmony_ci	depends on TI_SCI_PROTOCOL
418c2ecf20Sopenharmony_ci	depends on TI_SCI_INTA_IRQCHIP
428c2ecf20Sopenharmony_ci	select DMA_ENGINE
438c2ecf20Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
448c2ecf20Sopenharmony_ci	select TI_K3_RINGACC
458c2ecf20Sopenharmony_ci	select TI_K3_PSIL
468c2ecf20Sopenharmony_ci        help
478c2ecf20Sopenharmony_ci	  Enable support for the TI UDMA (Unified DMA) controller. This
488c2ecf20Sopenharmony_ci	  DMA engine is used in AM65x and j721e.
498c2ecf20Sopenharmony_ci
508c2ecf20Sopenharmony_ciconfig TI_K3_UDMA_GLUE_LAYER
518c2ecf20Sopenharmony_ci	bool "Texas Instruments UDMA Glue layer for non DMAengine users"
528c2ecf20Sopenharmony_ci	depends on ARCH_K3
538c2ecf20Sopenharmony_ci	depends on TI_K3_UDMA
548c2ecf20Sopenharmony_ci	help
558c2ecf20Sopenharmony_ci	  Say y here to support the K3 NAVSS DMA glue interface
568c2ecf20Sopenharmony_ci	  If unsure, say N.
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ciconfig TI_K3_PSIL
598c2ecf20Sopenharmony_ci	bool
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ciconfig TI_DMA_CROSSBAR
628c2ecf20Sopenharmony_ci	bool
63