Loading Documentation/devicetree/bindings/arm/msm/msm_ipc_router_mhi_dev_xprt.txt 0 → 100644 +21 −0 Original line number Diff line number Diff line Qualcomm Technologies, Inc. IPC Router MHI_DEV Transport Required properties: -compatible: should be "qcom,ipc-router-mhi-dev-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. -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_ap_xprt { compatible = "qcom,ipc-router-mhi-dev-xprt"; qcom,out-chan-id = <34>; qcom,in-chan-id = <35>; qcom,xprt-remote = "external-ap"; qcom,xprt-linkid = <2>; qcom,xprt-version = <1>; }; drivers/soc/qcom/Kconfig +10 −0 Original line number Diff line number Diff line Loading @@ -564,6 +564,16 @@ config MSM_IPC_ROUTER_MHI_XPRT registers the transport with IPC Router and enable message exchange. config MSM_IPC_ROUTER_MHI_DEV_XPRT depends on MSM_MHI_DEV depends on IPC_ROUTER bool "MSM MHI_DEV XPRT Layer" help MHI_DEV 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 enables message exchange. config MSM_IPC_ROUTER_GLINK_XPRT depends on MSM_GLINK depends on IPC_ROUTER Loading drivers/soc/qcom/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,7 @@ obj-$(CONFIG_MSM_SMP2P) += msm_smp2p.o smp2p_loopback.o smp2p_debug.o smp2p_slee obj-$(CONFIG_MSM_IPC_ROUTER_SMD_XPRT) += ipc_router_smd_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 obj-$(CONFIG_MSM_QMI_INTERFACE) += qmi_interface.o obj-$(CONFIG_MSM_GLINK_PKT) += msm_glink_pkt.o Loading drivers/soc/qcom/ipc_router_mhi_dev_xprt.c 0 → 100644 +733 −0 File added.Preview size limit exceeded, changes collapsed. Show changes Loading
Documentation/devicetree/bindings/arm/msm/msm_ipc_router_mhi_dev_xprt.txt 0 → 100644 +21 −0 Original line number Diff line number Diff line Qualcomm Technologies, Inc. IPC Router MHI_DEV Transport Required properties: -compatible: should be "qcom,ipc-router-mhi-dev-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. -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_ap_xprt { compatible = "qcom,ipc-router-mhi-dev-xprt"; qcom,out-chan-id = <34>; qcom,in-chan-id = <35>; qcom,xprt-remote = "external-ap"; qcom,xprt-linkid = <2>; qcom,xprt-version = <1>; };
drivers/soc/qcom/Kconfig +10 −0 Original line number Diff line number Diff line Loading @@ -564,6 +564,16 @@ config MSM_IPC_ROUTER_MHI_XPRT registers the transport with IPC Router and enable message exchange. config MSM_IPC_ROUTER_MHI_DEV_XPRT depends on MSM_MHI_DEV depends on IPC_ROUTER bool "MSM MHI_DEV XPRT Layer" help MHI_DEV 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 enables message exchange. config MSM_IPC_ROUTER_GLINK_XPRT depends on MSM_GLINK depends on IPC_ROUTER Loading
drivers/soc/qcom/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,7 @@ obj-$(CONFIG_MSM_SMP2P) += msm_smp2p.o smp2p_loopback.o smp2p_debug.o smp2p_slee obj-$(CONFIG_MSM_IPC_ROUTER_SMD_XPRT) += ipc_router_smd_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 obj-$(CONFIG_MSM_QMI_INTERFACE) += qmi_interface.o obj-$(CONFIG_MSM_GLINK_PKT) += msm_glink_pkt.o Loading
drivers/soc/qcom/ipc_router_mhi_dev_xprt.c 0 → 100644 +733 −0 File added.Preview size limit exceeded, changes collapsed. Show changes