xref: /OK3568_Linux_fs/kernel/drivers/dma/qcom/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyunconfig QCOM_BAM_DMA
3*4882a593Smuzhiyun	tristate "QCOM BAM DMA support"
4*4882a593Smuzhiyun	depends on ARCH_QCOM || (COMPILE_TEST && OF && ARM)
5*4882a593Smuzhiyun	select DMA_ENGINE
6*4882a593Smuzhiyun	select DMA_VIRTUAL_CHANNELS
7*4882a593Smuzhiyun	help
8*4882a593Smuzhiyun	  Enable support for the QCOM BAM DMA controller.  This controller
9*4882a593Smuzhiyun	  provides DMA capabilities for a variety of on-chip devices.
10*4882a593Smuzhiyun
11*4882a593Smuzhiyunconfig QCOM_HIDMA_MGMT
12*4882a593Smuzhiyun	tristate "Qualcomm Technologies HIDMA Management support"
13*4882a593Smuzhiyun	depends on HAS_IOMEM
14*4882a593Smuzhiyun	select DMA_ENGINE
15*4882a593Smuzhiyun	help
16*4882a593Smuzhiyun	  Enable support for the Qualcomm Technologies HIDMA Management.
17*4882a593Smuzhiyun	  Each DMA device requires one management interface driver
18*4882a593Smuzhiyun	  for basic initialization before QCOM_HIDMA channel driver can
19*4882a593Smuzhiyun	  start managing the channels. In a virtualized environment,
20*4882a593Smuzhiyun	  the guest OS would run QCOM_HIDMA channel driver and the
21*4882a593Smuzhiyun	  host would run the QCOM_HIDMA_MGMT management driver.
22*4882a593Smuzhiyun
23*4882a593Smuzhiyunconfig QCOM_HIDMA
24*4882a593Smuzhiyun	tristate "Qualcomm Technologies HIDMA Channel support"
25*4882a593Smuzhiyun	select DMA_ENGINE
26*4882a593Smuzhiyun	help
27*4882a593Smuzhiyun	  Enable support for the Qualcomm Technologies HIDMA controller.
28*4882a593Smuzhiyun	  The HIDMA controller supports optimized buffer copies
29*4882a593Smuzhiyun	  (user to kernel, kernel to kernel, etc.).  It only supports
30*4882a593Smuzhiyun	  memcpy interface. The core is not intended for general
31*4882a593Smuzhiyun	  purpose slave DMA.
32