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

Commit f9b8597e authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "platform: msm: Add snapshot of GENI serial engine driver" into msm-next

parents 4562d3a1 e3f348d7
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
Qualcomm Technologies, Inc. GENI Serial Engine Driver

GENI Serial Engine Driver is used to configure and read the configuration
from the Serial Engines on Qualcomm Technologies, Inc. Universal Peripheral
(QUPv3) core. It is also used to enable the stage1 IOMMU translation and
manage resources associated with the QUPv3 core.

Required properties:
- compatible:		Must be "qcom,qupv3-geni-se".
- reg:			Must contain QUPv3 register address and length.
- qcom,bus-mas-id:	Master Endpoint ID for bus driver.
- qcom,bus-slv-id:	Slave Endpoint ID for bus driver.

Optional properties:
- qcom,iommu-s1-bypass:	Boolean flag to bypass IOMMU stage 1 translation.

Optional subnodes:
qcom,iommu_qupv3_geni_se_cb:	Child node representing the QUPV3 context
				bank.

Subnode Required properties:
- compatible :		Must be "qcom,qupv3-geni-se-cb";
- iommus:		A list of phandle and IOMMU specifier pairs that
			describe the IOMMU master interfaces of the device.

Example:
	qupv3_0: qcom,qupv3_0_geni_se@8c0000 {
		compatible = "qcom,qupv3-geni-se";
		reg = <0x8c0000 0x6000>;
		qcom,bus-mas-id = <100>;
		qcom,bus-slv-id = <300>;

		iommu_qupv3_0_geni_se_cb: qcom,iommu_qupv3_0_geni_se_cb {
			compatible = "qcom,qupv3-geni-se-cb";
			iommus = <&apps_smmu 0x1 0x0>;
		};
	}
+2 −0
Original line number Diff line number Diff line
@@ -8,3 +8,5 @@ endif
source "drivers/platform/goldfish/Kconfig"

source "drivers/platform/chrome/Kconfig"

source "drivers/platform/msm/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -7,3 +7,4 @@ obj-$(CONFIG_MIPS) += mips/
obj-$(CONFIG_OLPC)		+= olpc/
obj-$(CONFIG_GOLDFISH)		+= goldfish/
obj-$(CONFIG_CHROME_PLATFORMS)	+= chrome/
obj-$(CONFIG_ARCH_QCOM)		+= msm/
+12 −0
Original line number Diff line number Diff line
menu "Qualcomm technologies inc. MSM specific device drivers"
	depends on ARCH_QCOM

config QCOM_GENI_SE
	tristate "QCOM GENI Serial Engine Driver"
	help
	  This module is used to interact with GENI based Serial Engines on
	  Qualcomm Technologies, Inc. Universal Peripheral(QUPv3). This
	  module is used to configure and read the configuration from the
	  Serial Engines.

endmenu
+4 −0
Original line number Diff line number Diff line
#
# Makefile for the MSM specific device drivers.
#
obj-$(CONFIG_QCOM_GENI_SE) += qcom-geni-se.o
Loading