1# SPDX-License-Identifier: GPL-2.0
2
3menu "Rpmsg drivers"
4
5# RPMSG always gets selected by whoever wants it
6config RPMSG
7	tristate
8
9config RPMSG_CHAR
10	tristate "RPMSG device interface"
11	depends on RPMSG
12	depends on NET
13	help
14	  Say Y here to export rpmsg endpoints as device files, usually found
15	  in /dev. They make it possible for user-space programs to send and
16	  receive rpmsg packets.
17
18config RPMSG_CTRL
19	tristate "RPMSG control interface"
20	depends on RPMSG && ( RPMSG_CHAR || RPMSG_CHAR=n )
21	help
22	  Say Y here to enable the support of the /dev/rpmsg_ctrlX API. This API
23	  allows user-space programs to create endpoints with specific service name,
24	  source and destination addresses.
25
26config RPMSG_NS
27	tristate "RPMSG name service announcement"
28	depends on RPMSG
29	help
30	  Say Y here to enable the support of the name service announcement
31	  channel that probes the associated RPMsg device on remote endpoint
32	  service announcement.
33
34config RPMSG_MTK_SCP
35	tristate "MediaTek SCP"
36	depends on MTK_SCP
37	select RPMSG
38	help
39	  Say y here to enable support providing communication channels to
40	  remote processors in MediaTek platforms.
41	  This use IPI and IPC to communicate with remote processors.
42
43config RPMSG_QCOM_GLINK
44	tristate
45	select RPMSG
46
47config RPMSG_QCOM_GLINK_RPM
48	tristate "Qualcomm RPM Glink driver"
49	select RPMSG_QCOM_GLINK
50	depends on HAS_IOMEM
51	depends on MAILBOX
52	help
53	  Say y here to enable support for the GLINK RPM communication driver,
54	  which serves as a channel for communication with the RPM in GLINK
55	  enabled systems.
56
57config RPMSG_QCOM_GLINK_SMEM
58	tristate "Qualcomm SMEM Glink driver"
59	select RPMSG_QCOM_GLINK
60	depends on MAILBOX
61	depends on QCOM_SMEM
62	help
63	  Say y here to enable support for the GLINK SMEM communication driver,
64	  which provides support for using the GLINK communication protocol
65	  over SMEM.
66
67config RPMSG_QCOM_SMD
68	tristate "Qualcomm Shared Memory Driver (SMD)"
69	depends on MAILBOX
70	depends on QCOM_SMEM
71	select RPMSG
72	help
73	  Say y here to enable support for the Qualcomm Shared Memory Driver
74	  providing communication channels to remote processors in Qualcomm
75	  platforms.
76
77config RPMSG_VIRTIO
78	tristate "Virtio RPMSG bus driver"
79	depends on HAS_DMA
80	select RPMSG
81	select RPMSG_NS
82	select VIRTIO
83
84endmenu
85