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

Commit 9f9c4a7d authored by Karthikeyan Ramasubramanian's avatar Karthikeyan Ramasubramanian Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: Add snapshot of ipc_router_smd_xprt



This snapshot is taken as of msm-4.4 'commit <d2afad6a903b>
("Merge "ext4 crypto: enable HW based encryption with ICE"")'.

Fix the code style warnings & errors and replace BUG_ON with WARN_ON.

CRs-Fixed: 1079350
Change-Id: I4ae704d55a65718fb2bdc62801db740185b7e524
Signed-off-by: default avatarKarthikeyan Ramasubramanian <kramasub@codeaurora.org>
parent f3ab5431
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
Qualcomm Technologies, Inc. IPC Router SMD Transport

Required properties:
-compatible:		should be "qcom,ipc_router_smd_xprt"
-qcom,ch-name:		the SMD channel name used by the SMD transport
-qcom,xprt-remote:	string that defines the edge of the transport (PIL Name)
-qcom,xprt-linkid:	unique integer to identify the tier to which the link
			belongs to in the network and is used to avoid the
			routing loops while forwarding the broadcast messages
-qcom,xprt-version:	unique version ID used by SMD transport header

Optional properties:
-qcom,fragmented-data:	Indicate the SMD transport supports fragmented data
-qcom,disable-pil-loading: Disable PIL Loading of the remote subsystem

Example:
	qcom,ipc_router_modem_xprt {
		compatible = "qcom,ipc_router_smd_xprt";
		qcom,ch-name = "IPCRTR";
		qcom,xprt-remote = "modem";
		qcom,xprt-linkid = <1>;
		qcom,xprt-version = <1>;
		qcom,fragmented-data;
		qcom,disable-pil-loading;
	};

	qcom,ipc_router_q6_xprt {
		compatible = "qcom,ipc_router_smd_xprt";
		qcom,ch-name = "IPCRTR";
		qcom,xprt-remote = "adsp";
		qcom,xprt-linkid = <1>;
		qcom,xprt-version = <1>;
		qcom,fragmented-data;
	};
+10 −0
Original line number Diff line number Diff line
@@ -314,3 +314,13 @@ config MSM_SMP2P_TEST
	  processors to do unit testing. Unit tests
	  are used to verify the local and remote
	  implementations.

config MSM_IPC_ROUTER_SMD_XPRT
	depends on MSM_SMD
	depends on IPC_ROUTER
	bool "MSM SMD XPRT Layer"
	help
	  SMD Transport Layer that enables IPC Router communication within
	  a System-on-Chip(SoC). When the SMD channels become available,
	  this layer registers a transport with IPC Router and enable
	  message exchange.
+1 −0
Original line number Diff line number Diff line
@@ -34,3 +34,4 @@ obj-$(CONFIG_QTI_RPMH_API) += rpmh.o
obj-$(CONFIG_QTI_SYSTEM_PM) += system_pm.o
obj-$(CONFIG_MSM_SMP2P) += msm_smp2p.o smp2p_debug.o smp2p_sleepstate.o
obj-$(CONFIG_MSM_SMP2P_TEST) += smp2p_loopback.o smp2p_test.o smp2p_spinlock_test.o
obj-$(CONFIG_MSM_IPC_ROUTER_SMD_XPRT) += ipc_router_smd_xprt.o
+867 −0

File added.

Preview size limit exceeded, changes collapsed.