xref: /openbmc/linux/drivers/rpmsg/Kconfig (revision 617d3293)
13e79bfd6SSuman Anna# SPDX-License-Identifier: GPL-2.0
23e79bfd6SSuman Anna
3860514e0SKees Cookmenu "Rpmsg drivers"
4f8289edaSOhad Ben-Cohen
5bcabbccaSOhad Ben-Cohen# RPMSG always gets selected by whoever wants it
6bcabbccaSOhad Ben-Cohenconfig RPMSG
7bcabbccaSOhad Ben-Cohen	tristate
8026dad47SBjorn Andersson
9c0cdc19fSBjorn Anderssonconfig RPMSG_CHAR
10c0cdc19fSBjorn Andersson	tristate "RPMSG device interface"
11c0cdc19fSBjorn Andersson	depends on RPMSG
12b70ea16dSArnd Bergmann	depends on NET
13c0cdc19fSBjorn Andersson	help
14c0cdc19fSBjorn Andersson	  Say Y here to export rpmsg endpoints as device files, usually found
15c0cdc19fSBjorn Andersson	  in /dev. They make it possible for user-space programs to send and
16c0cdc19fSBjorn Andersson	  receive rpmsg packets.
17c0cdc19fSBjorn Andersson
18*617d3293SArnaud Pouliquenconfig RPMSG_CTRL
19*617d3293SArnaud Pouliquen	tristate "RPMSG control interface"
20*617d3293SArnaud Pouliquen	depends on RPMSG && ( RPMSG_CHAR || RPMSG_CHAR=n )
21*617d3293SArnaud Pouliquen	help
22*617d3293SArnaud Pouliquen	  Say Y here to enable the support of the /dev/rpmsg_ctrlX API. This API
23*617d3293SArnaud Pouliquen	  allows user-space programs to create endpoints with specific service name,
24*617d3293SArnaud Pouliquen	  source and destination addresses.
25*617d3293SArnaud Pouliquen
26950a7388SArnaud Pouliquenconfig RPMSG_NS
27950a7388SArnaud Pouliquen	tristate "RPMSG name service announcement"
28950a7388SArnaud Pouliquen	depends on RPMSG
29950a7388SArnaud Pouliquen	help
30950a7388SArnaud Pouliquen	  Say Y here to enable the support of the name service announcement
31950a7388SArnaud Pouliquen	  channel that probes the associated RPMsg device on remote endpoint
32950a7388SArnaud Pouliquen	  service announcement.
33950a7388SArnaud Pouliquen
3470179969SPi-Hsun Shihconfig RPMSG_MTK_SCP
3570179969SPi-Hsun Shih	tristate "MediaTek SCP"
3670179969SPi-Hsun Shih	depends on MTK_SCP
3770179969SPi-Hsun Shih	select RPMSG
3870179969SPi-Hsun Shih	help
3970179969SPi-Hsun Shih	  Say y here to enable support providing communication channels to
4070179969SPi-Hsun Shih	  remote processors in MediaTek platforms.
4170179969SPi-Hsun Shih	  This use IPI and IPC to communicate with remote processors.
4270179969SPi-Hsun Shih
4393bc3feeSBjorn Anderssonconfig RPMSG_QCOM_GLINK
44835764ddSBjorn Andersson	tristate
45835764ddSBjorn Andersson	select RPMSG
46835764ddSBjorn Andersson
47b4f8e52bSBjorn Anderssonconfig RPMSG_QCOM_GLINK_RPM
48b4f8e52bSBjorn Andersson	tristate "Qualcomm RPM Glink driver"
4993bc3feeSBjorn Andersson	select RPMSG_QCOM_GLINK
50b4f8e52bSBjorn Andersson	depends on HAS_IOMEM
51b4f8e52bSBjorn Andersson	depends on MAILBOX
52b4f8e52bSBjorn Andersson	help
53b4f8e52bSBjorn Andersson	  Say y here to enable support for the GLINK RPM communication driver,
54b4f8e52bSBjorn Andersson	  which serves as a channel for communication with the RPM in GLINK
55b4f8e52bSBjorn Andersson	  enabled systems.
56b4f8e52bSBjorn Andersson
57caf989c3SBjorn Anderssonconfig RPMSG_QCOM_GLINK_SMEM
58caf989c3SBjorn Andersson	tristate "Qualcomm SMEM Glink driver"
5993bc3feeSBjorn Andersson	select RPMSG_QCOM_GLINK
60caf989c3SBjorn Andersson	depends on MAILBOX
61caf989c3SBjorn Andersson	depends on QCOM_SMEM
62caf989c3SBjorn Andersson	help
63caf989c3SBjorn Andersson	  Say y here to enable support for the GLINK SMEM communication driver,
64caf989c3SBjorn Andersson	  which provides support for using the GLINK communication protocol
65caf989c3SBjorn Andersson	  over SMEM.
66caf989c3SBjorn Andersson
6753e2822eSBjorn Anderssonconfig RPMSG_QCOM_SMD
6853e2822eSBjorn Andersson	tristate "Qualcomm Shared Memory Driver (SMD)"
69ab460a2eSBjorn Andersson	depends on MAILBOX
7053e2822eSBjorn Andersson	depends on QCOM_SMEM
7153e2822eSBjorn Andersson	select RPMSG
7253e2822eSBjorn Andersson	help
7353e2822eSBjorn Andersson	  Say y here to enable support for the Qualcomm Shared Memory Driver
7453e2822eSBjorn Andersson	  providing communication channels to remote processors in Qualcomm
7553e2822eSBjorn Andersson	  platforms.
7653e2822eSBjorn Andersson
77026dad47SBjorn Anderssonconfig RPMSG_VIRTIO
784d91d7b0SAnup Patel	tristate "Virtio RPMSG bus driver"
794d91d7b0SAnup Patel	depends on HAS_DMA
80026dad47SBjorn Andersson	select RPMSG
81950a7388SArnaud Pouliquen	select RPMSG_NS
82bcabbccaSOhad Ben-Cohen	select VIRTIO
83f8289edaSOhad Ben-Cohen
84f8289edaSOhad Ben-Cohenendmenu
85