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