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

Commit ea4e5098 authored by Siva Kumar Akkireddi's avatar Siva Kumar Akkireddi
Browse files

msm: sps: Add SPS driver snapshot



Add snapshot of the SPS (Smart Peripheral Subsystem) driver from msm-4.19
'commit thermal: tsens: Add support for TSENS min temp and 0C interrupt
("7b3e424f29e7c55468258ea49e24996684a5051a")'.

Change-Id: I26319a4ac0571e72aecdd0f1c65e1837aafbafc6
Signed-off-by: default avatarSiva Kumar Akkireddi <sivaa@codeaurora.org>
parent 35a14d25
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
@@ -3,6 +3,35 @@
menu "Qualcomm technologies inc. MSM specific device drivers"
	depends on ARCH_QCOM

config SPS
	tristate "SPS support"
	select GENERIC_ALLOCATOR
	help
	  The SPS (Smart Peripheral Switch) is a DMA engine.
	  It can move data in the following modes:
		1. Peripheral-to-Peripheral.
		2. Peripheral-to-Memory.
		3. Memory-to-Memory.

config SPS_SUPPORT_BAMDMA
	bool "SPS supports BAM DMA"
	depends on SPS
	help
	  The BAM-DMA is used for Memory-to-Memory transfers.
	  The main use cases is RPC between processors.
	  The BAM-DMA hardware has 2 registers sets:
		1. A BAM HW like all the peripherals.
		2. A DMA channel configuration (i.e. channel priority).

config SPS_SUPPORT_NDP_BAM
	bool "SPS supports NDP BAM"
	depends on SPS
	help
	  No-Data-Path BAM is used to improve BAM performance.
	  NDP BAMs enables peripherals with fast fabric connectivity
	  to do the actual data transfer themselves, instead of the
	  BAM.

config GSI
	tristate "GSI support"
	help
+1 −0
Original line number Diff line number Diff line
@@ -8,3 +8,4 @@ obj-$(CONFIG_IPA3) += ipa/
obj-$(CONFIG_MSM_GENI_SE) += msm-geni-se.o
obj-$(CONFIG_USB_BAM) += usb_bam.o
obj-$(CONFIG_QPNP_REVID) += qpnp-revid.o
obj-$(CONFIG_SPS) += sps/
+5 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
# Makefile for SPS BAM driver
#
obj-$(CONFIG_SPS) += sps_drv.o
sps_drv-objs := bam.o sps_bam.o sps.o sps_dma.o sps_map.o sps_mem.o sps_rm.o
Loading