Skip to content

Commit 5d0c353

Browse files
committed
dmaengine: qcom: Add GPI dma driver
This controller provides DMAengine capabilities for a variety of peripheral buses such as I2C, UART, and SPI. By using GPI dmaengine driver, bus drivers can use a standardize interface that is protocol independent to transfer data between memory and peripheral. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent e7bbb7a commit 5d0c353

File tree

4 files changed

+2399
-0
lines changed

4 files changed

+2399
-0
lines changed

drivers/dma/qcom/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,18 @@ config QCOM_BAM_DMA
1919
Enable support for the QCOM BAM DMA controller. This controller
2020
provides DMA capabilities for a variety of on-chip devices.
2121

22+
config QCOM_GPI_DMA
23+
tristate "Qualcomm Technologies GPI DMA support"
24+
depends on ARCH_QCOM
25+
select DMA_ENGINE
26+
select DMA_VIRTUAL_CHANNELS
27+
help
28+
Enable support for the QCOM GPI DMA controller. This controller
29+
provides DMA capabilities for a variety of peripheral buses such
30+
as I2C, UART, and SPI. By using GPI dmaengine driver, bus drivers
31+
can use a standardize interface that is protocol independent to
32+
transfer data between DDR and peripheral.
33+
2234
config QCOM_HIDMA_MGMT
2335
tristate "Qualcomm Technologies HIDMA Management support"
2436
select DMA_ENGINE

drivers/dma/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22
obj-$(CONFIG_QCOM_ADM) += qcom_adm.o
33
obj-$(CONFIG_QCOM_BAM_DMA) += bam_dma.o
4+
obj-$(CONFIG_QCOM_GPI_DMA) += gpi.o
45
obj-$(CONFIG_QCOM_HIDMA_MGMT) += hdma_mgmt.o
56
hdma_mgmt-objs := hidma_mgmt.o hidma_mgmt_sys.o
67
obj-$(CONFIG_QCOM_HIDMA) += hdma.o

0 commit comments

Comments
 (0)