xref: /linux/drivers/dma/qcom/Kconfig (revision 5c9f8c2dbdbe53818bcde6aa6695e1331e5f841f)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2*5c9f8c2dSJonathan McDowellconfig QCOM_ADM
3*5c9f8c2dSJonathan McDowell	tristate "Qualcomm ADM support"
4*5c9f8c2dSJonathan McDowell	depends on (ARCH_QCOM || COMPILE_TEST) && !PHYS_ADDR_T_64BIT
5*5c9f8c2dSJonathan McDowell	select DMA_ENGINE
6*5c9f8c2dSJonathan McDowell	select DMA_VIRTUAL_CHANNELS
7*5c9f8c2dSJonathan McDowell	help
8*5c9f8c2dSJonathan McDowell	  Enable support for the Qualcomm Application Data Mover (ADM) DMA
9*5c9f8c2dSJonathan McDowell	  controller, as present on MSM8x60, APQ8064, and IPQ8064 devices.
10*5c9f8c2dSJonathan McDowell	  This controller provides DMA capabilities for both general purpose
11*5c9f8c2dSJonathan McDowell	  and on-chip peripheral devices.
12*5c9f8c2dSJonathan McDowell
13d9b31efcSSinan Kayaconfig QCOM_BAM_DMA
14d9b31efcSSinan Kaya	tristate "QCOM BAM DMA support"
15d9b31efcSSinan Kaya	depends on ARCH_QCOM || (COMPILE_TEST && OF && ARM)
16d9b31efcSSinan Kaya	select DMA_ENGINE
17d9b31efcSSinan Kaya	select DMA_VIRTUAL_CHANNELS
18a7f7f624SMasahiro Yamada	help
19d9b31efcSSinan Kaya	  Enable support for the QCOM BAM DMA controller.  This controller
20d9b31efcSSinan Kaya	  provides DMA capabilities for a variety of on-chip devices.
217f8f209fSSinan Kaya
227f8f209fSSinan Kayaconfig QCOM_HIDMA_MGMT
237f8f209fSSinan Kaya	tristate "Qualcomm Technologies HIDMA Management support"
247f8f209fSSinan Kaya	select DMA_ENGINE
257f8f209fSSinan Kaya	help
267f8f209fSSinan Kaya	  Enable support for the Qualcomm Technologies HIDMA Management.
277f8f209fSSinan Kaya	  Each DMA device requires one management interface driver
287f8f209fSSinan Kaya	  for basic initialization before QCOM_HIDMA channel driver can
297f8f209fSSinan Kaya	  start managing the channels. In a virtualized environment,
307f8f209fSSinan Kaya	  the guest OS would run QCOM_HIDMA channel driver and the
317f8f209fSSinan Kaya	  host would run the QCOM_HIDMA_MGMT management driver.
3267a2003eSSinan Kaya
3367a2003eSSinan Kayaconfig QCOM_HIDMA
3467a2003eSSinan Kaya	tristate "Qualcomm Technologies HIDMA Channel support"
3567a2003eSSinan Kaya	select DMA_ENGINE
3667a2003eSSinan Kaya	help
3767a2003eSSinan Kaya	  Enable support for the Qualcomm Technologies HIDMA controller.
3867a2003eSSinan Kaya	  The HIDMA controller supports optimized buffer copies
3967a2003eSSinan Kaya	  (user to kernel, kernel to kernel, etc.).  It only supports
4067a2003eSSinan Kaya	  memcpy interface. The core is not intended for general
4167a2003eSSinan Kaya	  purpose slave DMA.
42