Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75582112 authored by Vipin Deep Kaur's avatar Vipin Deep Kaur
Browse files

dmaengine: gpi: add GPI dmaengine driver snapshot



This change ports GPI dmaengine driver and its dependencies
from msm-4.14 to msm-4.19. All the files are as is from
msm-4.14. Additional changes were made to gpi driver to
support 4.19 kernel.

This gpi dmaengine driver snapshot is taken as of msm-4.14
commit: 7e09c6dae184
("Merge "diag: dci: Validate dci client entries prior read"").

Change-Id: Ib376405e5dced340d900a6938285847ad0ae7fbd
Signed-off-by: default avatarVipin Deep Kaur <vkaur@codeaurora.org>
parent dd894d77
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -27,3 +27,22 @@ config QCOM_HIDMA
	  (user to kernel, kernel to kernel, etc.).  It only supports
	  memcpy interface. The core is not intended for general
	  purpose slave DMA.

config QCOM_GPI_DMA
        tristate "Qualcomm Technologies Inc GPI DMA support"
        depends on ARCH_QCOM
        select DMA_ENGINE
        select DMA_VIRTUAL_CHANNELS
        help
          Enable support for the QCOM GPI DMA controller. This controller
          provides DMA 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 DDR and peripheral.

config QCOM_GPI_DMA_DEBUG
	bool "Qualcomm Technologies Inc GPI debug support"
	depends on QCOM_GPI_DMA
	help
	  Enable detailed logging for QCOM GPI driver. Extra logging will be
	  helpful when debugging critical issues.
+1 −0
Original line number Diff line number Diff line
@@ -4,3 +4,4 @@ obj-$(CONFIG_QCOM_HIDMA_MGMT) += hdma_mgmt.o
hdma_mgmt-objs	 := hidma_mgmt.o hidma_mgmt_sys.o
obj-$(CONFIG_QCOM_HIDMA) +=  hdma.o
hdma-objs        := hidma_ll.o hidma.o hidma_dbg.o
obj-$(CONFIG_QCOM_GPI_DMA) += gpi.o