# SPDX-License-Identifier: GPL-2.0-only
#
# DMA engine configuration
#

comment "Hobot MDMA/PDMA Controller Drivers"

config HOBOT_MDMAC
	tristate "Synopsys DesignWare AXI DMA support"
	default n
	depends on OF || COMPILE_TEST
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Enable support for Synopsys DesignWare AXI DMA controller.
	  NOTE: This driver wasn't tested on 64 bit platform because
	  of lack 64 bit platform with Synopsys DW AXI DMAC.

config HOBOT_PDMAC
	tristate "Synopsys DesignWare AXI DMA support"
	default n
	depends on OF || COMPILE_TEST
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Enable support for Synopsys DesignWare AXI DMA controller.
	  NOTE: This driver wasn't tested on 64 bit platform because
	  of lack 64 bit platform with Synopsys DW AXI DMAC.

config HOBOT_PDMAC_CRC_CHECK
	bool "Enable CRC check for PDMAC"
	default n
	depends on HOBOT_PDMAC
	help
	  Enable CRC check for AXI/APB burst address verification in PDMAC.
	  If disabled, hb_pdma_chan_crc_axi() and hb_pdma_chan_crc_apb()
	  will return 0 directly.

config HOBOT_L2DMAC
	tristate "Synopsys DesignWare AXI DMA support"
	default n
	depends on OF || COMPILE_TEST
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Enable support for Hobot L2 DMA controller.
	  NOTE: This driver wasn't tested on 64 bit platform because
	  of lack 64 bit platform with Synopsys DW AXI DMAC.

config HOBOT_L2DMAC_STL
	tristate "L2DMAC STL"
	default n
	depends on HOBOT_STL
	select DMA_ENGINE
	select DMA_VIRTUAL_CHANNELS
	help
	  Enable support for Hobot L2 DMA STL.

