rpmsg: Add glink-bgcom driver for rpmsg framework
Add glink-bgcom driver which relies on bgcom as a transport layer for sending data between various sub systems. Add documentation file for the glink-bgcom driver. Change-Id: I5eee03e6347a661dcefd083cea738b5d35fca848 Signed-off-by: Prudhvi Yarlagadda <pyarlaga@codeaurora.org>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
Qualcomm Technologies, Inc GLINK BGCOM transport (glink_bgcom_xprt) binding
|
||||
|
||||
This binding describes the Qualcomm Technologies, Inc glink bgcom transport
|
||||
driver, a bgcom-spi based communication channel for sending data between the
|
||||
various subsystems in Qualcomm Technologies, Inc platforms.
|
||||
|
||||
- compatible:
|
||||
Usage: required
|
||||
Value type: <stringlist>
|
||||
Definition: must be "qcom,glink-bgcom-xprt"
|
||||
|
||||
- label:
|
||||
Usage: required
|
||||
Value type: <stringlist>
|
||||
Definition: must be "bg"
|
||||
|
||||
= EXAMPLE
|
||||
|
||||
The following example reprsents a glink_bgcom node.
|
||||
|
||||
qcom,glink-bgcom-xprt-bg {
|
||||
compatible = "qcom,glink-bgcom-xprt";
|
||||
label = "bg";
|
||||
};
|
||||
@@ -59,6 +59,15 @@ config RPMSG_QCOM_GLINK_SPI
|
||||
data to the appropriate SPI bus wire format and allows for GLINK
|
||||
communication with remote subsystems that are external to the SoC.
|
||||
|
||||
config RPMSG_QCOM_GLINK_BGCOM
|
||||
tristate "Qualcomm Technologies, Inc. BGCOM Glink driver"
|
||||
help
|
||||
Say y here to enable support for the GLINK BGCOM driver,
|
||||
which provides support for using the GLINK communication protocol
|
||||
over BGCOM. This transport performs marshaling of GLINK commands and
|
||||
data to the appropriate BGCOM format and allows for GLINK
|
||||
communication with remote subsystems that are external to the SoC.
|
||||
|
||||
config RPMSG_QCOM_SMD
|
||||
tristate "Qualcomm Shared Memory Driver (SMD)"
|
||||
depends on QCOM_SMEM
|
||||
|
||||
@@ -6,6 +6,7 @@ obj-$(CONFIG_RPMSG_QCOM_GLINK_NATIVE) += qcom_glink_native.o
|
||||
obj-$(CONFIG_RPMSG_QCOM_GLINK_SMEM) += qcom_glink_smem.o
|
||||
obj-$(CONFIG_RPMSG_QCOM_GLINK_SPSS) += qcom_glink_spss.o
|
||||
obj-$(CONFIG_RPMSG_QCOM_GLINK_SPI) += qcom_glink_spi.o
|
||||
obj-$(CONFIG_RPMSG_QCOM_GLINK_BGCOM) += qcom_glink_bgcom.o
|
||||
obj-$(CONFIG_RPMSG_QCOM_SMD) += qcom_smd.o
|
||||
obj-$(CONFIG_RPMSG_VIRTIO) += virtio_rpmsg_bus.o
|
||||
obj-$(CONFIG_MSM_RPM_SMD) += rpm-smd.o
|
||||
|
||||
2264
drivers/rpmsg/qcom_glink_bgcom.c
Normal file
2264
drivers/rpmsg/qcom_glink_bgcom.c
Normal file
File diff suppressed because it is too large
Load Diff
@@ -723,7 +723,7 @@ config QCOM_GLINK
|
||||
|
||||
config QCOM_GLINK_PKT
|
||||
tristate "Enable device interface for GLINK packet channels"
|
||||
depends on QCOM_GLINK
|
||||
depends on QCOM_GLINK || RPMSG_QCOM_GLINK_BGCOM
|
||||
help
|
||||
G-link packet driver provides the interface for the userspace
|
||||
clients to communicate over G-Link via device nodes.
|
||||
|
||||
Reference in New Issue
Block a user