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

Commit b44b2b80 authored by Nitesh Gupta's avatar Nitesh Gupta
Browse files

dmaengine: edma: Porting of EDMA driver from 4.14 to 5.4



EDMA is part of QCOM PCIe controller that provides
DMA capabilities for clients. By using PCIe eDMA
driver, clients can use a standardize interface
that is protocol independent to transfer data
between DDR and peripheral. Add snapshot for EDMA
driver from msm-4.14 commit 7c14ff7b3046f60
("msm: camera: csiphy: Align CSIPHY 1.2 settings to HPG").
Additional changes are made to edma_alloc_transfer_list
api and pass check_patch errors.

Change-Id: I4d93fd36166897de8fc77254d31120bdd9ed90e5
Signed-off-by: default avatarNitesh Gupta <nitegupt@codeaurora.org>
parent 3ba33ef7
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -47,3 +47,21 @@ config MSM_GPI_DMA_DEBUG
	help
	  Enable detailed logging for QCOM GPI driver. Extra logging will be
	  helpful when debugging critical issues.

config QCOM_PCI_EDMA
	tristate "Qualcomm Technologies Inc PCIe eDMA support"
	select DMA_ENGINE
	help
	  Enable support for the QCOM PCIe eDMA. This DMA is part of QCOM
	  PCIe controller that provides DMA capabilities for clients.
	  By using PCIe eDMA driver, clients can use a standardize
	  interface that is protocol independent to transfer data between DDR
	  and peripheral.

config QCOM_PCI_EDMA_DEBUG
	bool "Qualcomm Technologies Inc PCIe eDMA debug support"
	depends on QCOM_PCI_EDMA
	help
	  Enable detailed logging for QCOM PCIe eDMA driver. Should
	  only be enabled for debugging purpose since excessive logging
	  of all channels information and activity will decrease throughput.
+1 −0
Original line number Diff line number Diff line
@@ -5,3 +5,4 @@ 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_MSM_GPI_DMA) += gpi.o
obj-$(CONFIG_QCOM_PCI_EDMA) += pci-edma.o
+1205 −0

File added.

Preview size limit exceeded, changes collapsed.