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

Commit 4f4074ff 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_glink_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.

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

Required properties:
-compatible:		should be "qcom,ipc_router_glink_xprt"
-qcom,ch-name:		the G-Link channel name used by the G-Link transport
-qcom,xprt-remote:	string that defines the edge of the transport
-qcom,glink-xprt:	string that describes the underlying physical transport
-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 G-Link transport header

Optional properties:
-qcom,fragmented-data:	Boolean property to indicate that G-Link transport
			supports fragmented data
-qcom,pil-label: 	string that defines remote subsystem name understood
			by pil. Absence of this property indicates that
			subsystem loading through pil voting is disabled for
			that subsystem.

Example:
	qcom,ipc_router_modem_xprt {
		compatible = "qcom,ipc_router_glink_xprt";
		qcom,ch-name = "IPCRTR";
		qcom,xprt-remote = "mpss";
		qcom,glink-xprt = "smem";
		qcom,xprt-linkid = <1>;
		qcom,xprt-version = <1>;
		qcom,fragmented-data;
		qcom,pil-label = "modem";
	};

	qcom,ipc_router_q6_xprt {
		compatible = "qcom,ipc_router_glink_xprt";
		qcom,ch-name = "IPCRTR";
		qcom,xprt-remote = "lpass";
		qcom,glink-xprt = "smem";
		qcom,xprt-linkid = <1>;
		qcom,xprt-version = <1>;
		qcom,fragmented-data;
		qcom,pil-label = "adsp";
	};
+10 −0
Original line number Diff line number Diff line
@@ -344,3 +344,13 @@ config MSM_IPC_ROUTER_MHI_XPRT
	  IPC Router. When the MHI endpoint becomes available, this layer
	  registers the transport with IPC Router and enable message
	  exchange.

config MSM_IPC_ROUTER_GLINK_XPRT
	depends on MSM_GLINK
	depends on IPC_ROUTER
	bool "MSM GLINK XPRT Layer"
	help
	  GLINK Transport Layer that enables IPC Router communication within
	  a System-on-Chip(SoC). When the GLINK 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
@@ -37,3 +37,4 @@ obj-$(CONFIG_MSM_SMP2P_TEST) += smp2p_loopback.o smp2p_test.o smp2p_spinlock_tes
obj-$(CONFIG_MSM_IPC_ROUTER_SMD_XPRT) += ipc_router_smd_xprt.o
obj-$(CONFIG_MSM_IPC_ROUTER_HSIC_XPRT) += ipc_router_hsic_xprt.o
obj-$(CONFIG_MSM_IPC_ROUTER_MHI_XPRT) += ipc_router_mhi_xprt.o
obj-$(CONFIG_MSM_IPC_ROUTER_GLINK_XPRT) += ipc_router_glink_xprt.o
+871 −0

File added.

Preview size limit exceeded, changes collapsed.