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

Commit 4b2decb0 authored by Ajay Agarwal's avatar Ajay Agarwal Committed by Gustavo Solaira
Browse files

soc: qcom: ipc_router: Update transport name from HSIC to USB



Currently the ipc_router_hsic_xprt transport driver which
interfaces with available USB endpoints for IPC message exchange,
uses "hsic" in the code and comments.
Update this string to "usb" and make similar change to filename,
Makefile and Documentation.

Change-Id: I37f8f8dafd85bfde300804b36f1b6f20ed565352
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent a05cb661
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
Qualcomm IPC Router HSIC Transport
Qualcomm Technologies, Inc. IPC Router USB Transport

Required properties:
-compatible:		should be "qcom,ipc_router_hsic_xprt"
-qcom,ch-name:		the HSIC channel name used by the HSIC transport
-compatible:		should be "qcom,ipc-router-usb-xprt"
-qcom,ch-name:		the USB channel name used by the USB 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 HSIC transport header
-qcom,xprt-version:	unique version ID used by USB transport header

Example:
	qcom,ipc_router_external_modem_xprt {
		compatible = "qcom,ipc_router_hsic_xprt";
		compatible = "qcom,ipc-router-usb-xprt";
	        qcom,ch-name = "ipc_bridge";
		qcom,xprt-remote = "external-modem";
		qcom,xprt-linkid = <1>;
+8 −7
Original line number Diff line number Diff line
@@ -621,15 +621,16 @@ config MSM_EVENT_TIMER
	  events that require the core to be awake and ready to handle the
	  event.

config MSM_IPC_ROUTER_HSIC_XPRT
	depends on USB_QCOM_IPC_BRIDGE
config MSM_IPC_ROUTER_USB_XPRT
	depends on USB_QCOM_IPC_BRIDGE || USB_F_IPC
	depends on IPC_ROUTER
	bool "MSM HSIC XPRT Layer"
	bool "MSM USB XPRT Layer"
	help
	  HSIC Transport Layer that enables off-chip communication of
	  IPC Router. When the HSIC endpoint becomes available, this layer
	  registers the transport with IPC Router and enable message
	  exchange.
	  USB Transport Layer that enables off-chip communication of IPC Router.
	  When the USB endpoint becomes available, this layer registers the
	  transport with IPC Router and enable message exchange. This layer is
	  independent of USB host or device mode IPC bridge and can interface
	  with only one of them on a given platform.

config MSM_SYSMON_GLINK_COMM
	bool "MSM System Monitor communication support using GLINK transport"
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ obj-$(CONFIG_MSM_BG_GLINK) += bg_glink.o
obj-$(CONFIG_MSM_SMP2P) += smp2p.o smp2p_loopback.o smp2p_debug.o smp2p_sleepstate.o
obj-$(CONFIG_MSM_QMI_INTERFACE) += qmi_interface.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_USB_XPRT) += ipc_router_usb_xprt.o
obj-$(CONFIG_MSM_IPC_ROUTER_MHI_XPRT) += ipc_router_mhi_xprt.o
obj-$(CONFIG_MSM_IPC_ROUTER_MHI_DEV_XPRT) += ipc_router_mhi_dev_xprt.o
obj-$(CONFIG_MSM_IPC_ROUTER_GLINK_XPRT) += ipc_router_glink_xprt.o
+800 −0

File changed and moved.

Preview size limit exceeded, changes collapsed.