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

Commit bf94cab6 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_mhi_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: I054469c6610b3dd5a524ea7383ba12b65dc30d92
Signed-off-by: default avatarKarthikeyan Ramasubramanian <kramasub@codeaurora.org>
parent f0d46a87
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
Qualcomm Technologies, Inc. IPC Router MHI Transport

Required properties:
-compatible:		should be "qcom,ipc_router_mhi_xprt"
-qcom,out-chan-id:	MHI Channel ID for the transmit path
-qcom,in-chan-id:	MHI Channel ID for the receive path
-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 MHI transport header

Example:
	qcom,ipc_router_external_modem_xprt2 {
		compatible = "qcom,ipc_router_mhi_xprt";
	        qcom,out-chan-id = <34>;
		qcom,in-chan-id = <35>;
		qcom,xprt-remote = "external-modem";
		qcom,xprt-linkid = <1>;
		qcom,xprt-version = <3>;
	};
+10 −0
Original line number Diff line number Diff line
@@ -334,3 +334,13 @@ config MSM_IPC_ROUTER_HSIC_XPRT
	  IPC Router. When the HSIC endpoint becomes available, this layer
	  registers the transport with IPC Router and enable message
	  exchange.

config MSM_IPC_ROUTER_MHI_XPRT
	depends on MSM_MHI
	depends on IPC_ROUTER
	bool "MSM MHI XPRT Layer"
	help
	  MHI Transport Layer that enables off-chip communication of
	  IPC Router. When the MHI endpoint becomes available, this layer
	  registers the transport with IPC Router and enable message
	  exchange.
+1 −0
Original line number Diff line number Diff line
@@ -36,3 +36,4 @@ 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
obj-$(CONFIG_MSM_IPC_ROUTER_HSIC_XPRT) += ipc_router_hsic_xprt.o
obj-$(CONFIG_MSM_IPC_ROUTER_MHI_XPRT) += ipc_router_mhi_xprt.o
+1011 −0

File added.

Preview size limit exceeded, changes collapsed.