summaryrefslogtreecommitdiffstats
path: root/drivers/rpmsg/rpmsg_internal.h
diff options
context:
space:
mode:
authorArnaud Pouliquen <arnaud.pouliquen@foss.st.com>2022-01-24 11:25:23 +0100
committerBjorn Andersson <bjorn.andersson@linaro.org>2022-03-13 11:49:53 -0500
commitbc69d10665690492421d926b1cd9a7a36bffd691 (patch)
treed9373bf8ba5045dfbcc3751c64aa4ea91d13dbd9 /drivers/rpmsg/rpmsg_internal.h
parentbea9b79c2d10fecf7bfa26e212ecefe61d232e39 (diff)
downloadlinux-bc69d10665690492421d926b1cd9a7a36bffd691.tar.bz2
rpmsg: char: Introduce the "rpmsg-raw" channel
For the rpmsg virtio backend, the current implementation of the rpmsg char only allows to instantiate static(i.e. prefixed source and destination addresses) end points, and only on the Linux user space initiative. This patch defines the "rpmsg-raw" channel and registers it to the rpmsg bus. This registration allows: - To create the channel at the initiative of the remote processor relying on the name service announcement mechanism. In other words the /dev/rpmsgX interface is instantiate by the remote processor. - To use the channel object instead of the endpoint, thus preventing the user space from having the knowledge of the remote processor's endpoint addresses. - To rely on udev to be inform when a /dev/rpmsgX is created on remote processor request, indicating that the remote processor is ready to communicate. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220124102524.295783-11-arnaud.pouliquen@foss.st.com
Diffstat (limited to 'drivers/rpmsg/rpmsg_internal.h')
0 files changed, 0 insertions, 0 deletions