162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Texas Instruments DMA drivers
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig TI_CPPI41
762306a36Sopenharmony_ci	tristate "Texas Instruments CPPI 4.1 DMA support"
862306a36Sopenharmony_ci	depends on (ARCH_OMAP || ARCH_DAVINCI_DA8XX)
962306a36Sopenharmony_ci	select DMA_ENGINE
1062306a36Sopenharmony_ci	help
1162306a36Sopenharmony_ci	  The Communications Port Programming Interface (CPPI) 4.1 DMA engine
1262306a36Sopenharmony_ci	  is currently used by the USB driver on AM335x and DA8xx platforms.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciconfig TI_EDMA
1562306a36Sopenharmony_ci	tristate "Texas Instruments EDMA support"
1662306a36Sopenharmony_ci	depends on ARCH_DAVINCI || ARCH_OMAP || ARCH_KEYSTONE || COMPILE_TEST
1762306a36Sopenharmony_ci	select DMA_ENGINE
1862306a36Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
1962306a36Sopenharmony_ci	select TI_DMA_CROSSBAR if (ARCH_OMAP || COMPILE_TEST)
2062306a36Sopenharmony_ci	default y
2162306a36Sopenharmony_ci	help
2262306a36Sopenharmony_ci	  Enable support for the TI EDMA (Enhanced DMA) controller. This DMA
2362306a36Sopenharmony_ci	  engine is found on TI DaVinci, AM33xx, AM43xx, DRA7xx and Keystone 2
2462306a36Sopenharmony_ci	  parts.
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciconfig DMA_OMAP
2762306a36Sopenharmony_ci	tristate "Texas Instruments sDMA (omap-dma) support"
2862306a36Sopenharmony_ci	depends on ARCH_OMAP || COMPILE_TEST
2962306a36Sopenharmony_ci	select DMA_ENGINE
3062306a36Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
3162306a36Sopenharmony_ci	select TI_DMA_CROSSBAR if (SOC_DRA7XX || COMPILE_TEST)
3262306a36Sopenharmony_ci	default y
3362306a36Sopenharmony_ci	help
3462306a36Sopenharmony_ci	  Enable support for the TI sDMA (System DMA or DMA4) controller. This
3562306a36Sopenharmony_ci	  DMA engine is found on OMAP and DRA7xx parts.
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ciconfig TI_K3_UDMA
3862306a36Sopenharmony_ci	tristate "Texas Instruments UDMA support"
3962306a36Sopenharmony_ci	depends on ARCH_K3
4062306a36Sopenharmony_ci	depends on TI_SCI_PROTOCOL
4162306a36Sopenharmony_ci	depends on TI_SCI_INTA_IRQCHIP
4262306a36Sopenharmony_ci	select DMA_ENGINE
4362306a36Sopenharmony_ci	select DMA_VIRTUAL_CHANNELS
4462306a36Sopenharmony_ci	select TI_K3_RINGACC
4562306a36Sopenharmony_ci	select TI_K3_PSIL
4662306a36Sopenharmony_ci        help
4762306a36Sopenharmony_ci	  Enable support for the TI UDMA (Unified DMA) controller. This
4862306a36Sopenharmony_ci	  DMA engine is used in AM65x and j721e.
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ciconfig TI_K3_UDMA_GLUE_LAYER
5162306a36Sopenharmony_ci	tristate "Texas Instruments UDMA Glue layer for non DMAengine users"
5262306a36Sopenharmony_ci	depends on ARCH_K3
5362306a36Sopenharmony_ci	depends on TI_K3_UDMA
5462306a36Sopenharmony_ci	help
5562306a36Sopenharmony_ci	  Say y here to support the K3 NAVSS DMA glue interface
5662306a36Sopenharmony_ci	  If unsure, say N.
5762306a36Sopenharmony_ci
5862306a36Sopenharmony_ciconfig TI_K3_PSIL
5962306a36Sopenharmony_ci       tristate
6062306a36Sopenharmony_ci       default TI_K3_UDMA
6162306a36Sopenharmony_ci
6262306a36Sopenharmony_ciconfig TI_DMA_CROSSBAR
6362306a36Sopenharmony_ci	bool
64