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

Commit 3f43ce1b authored by Eric Holmberg's avatar Eric Holmberg Committed by Karthikeyan Ramasubramanian
Browse files

soc: qcom: ipcrouter: Add support for IPC Router over G-Link



Add support for IPC Router over G-Link in order to enable on-chip and
off-chip QMI communication.

Change-Id: I00013e955c0e19a091f0283ffe25cf155b579ea5
Signed-off-by: default avatarKarthikeyan Ramasubramanian <kramasub@codeaurora.org>
Signed-off-by: default avatarEric Holmberg <eholmber@codeaurora.org>
parent dca34e2b
Loading
Loading
Loading
Loading
+39 −0
Original line number Original line 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,disable-pil-loading: Boolean property to disable PIL Loading of the
			   remote 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,disable-pil-loading;
	};

	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;
	};
+10 −0
Original line number Original line Diff line number Diff line
@@ -98,6 +98,16 @@ config MSM_IPC_ROUTER_HSIC_XPRT
	  registers the transport with IPC Router and enable message
	  registers the transport with IPC Router and enable message
	  exchange.
	  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.

config MSM_JTAG
config MSM_JTAG
	bool "Debug and ETM trace support across power collapse"
	bool "Debug and ETM trace support across power collapse"
	help
	help
+1 −0
Original line number Original line Diff line number Diff line
@@ -16,6 +16,7 @@ obj-$(CONFIG_MSM_GLINK_LOOPBACK_SERVER) += glink_loopback_server.o
obj-$(CONFIG_MSM_GLINK_SMD_XPRT) += glink_smd_xprt.o
obj-$(CONFIG_MSM_GLINK_SMD_XPRT) += glink_smd_xprt.o
obj-$(CONFIG_MSM_GLINK_SMEM_NATIVE_XPRT) += glink_smem_native_xprt.o
obj-$(CONFIG_MSM_GLINK_SMEM_NATIVE_XPRT) += glink_smem_native_xprt.o
obj-$(CONFIG_MSM_GLINK_PKT) += msm_glink_pkt.o
obj-$(CONFIG_MSM_GLINK_PKT) += msm_glink_pkt.o
obj-$(CONFIG_MSM_IPC_ROUTER_GLINK_XPRT) += ipc_router_glink_xprt.o
obj-$(CONFIG_MSM_IPC_ROUTER_HSIC_XPRT) += ipc_router_hsic_xprt.o
obj-$(CONFIG_MSM_IPC_ROUTER_HSIC_XPRT) += ipc_router_hsic_xprt.o
obj-$(CONFIG_MSM_IPC_ROUTER_SMD_XPRT) += ipc_router_smd_xprt.o
obj-$(CONFIG_MSM_IPC_ROUTER_SMD_XPRT) += ipc_router_smd_xprt.o
obj-$(CONFIG_MSM_MEMORY_DUMP) += memory_dump.o
obj-$(CONFIG_MSM_MEMORY_DUMP) += memory_dump.o
+849 −0

File added.

Preview size limit exceeded, changes collapsed.