1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "Remoteproc drivers"
5 bool "Support for Remote Processor subsystem"
10 select WANT_DEV_COREDUMP
12 Support for remote processors (such as DSP coprocessors). These
13 are mainly used on embedded systems.
17 config REMOTEPROC_CDEV
18 bool "Remoteproc character device interface"
20 Say y here to have a character device interface for the remoteproc
21 framework. Userspace can boot/shutdown remote processors through
24 It's safe to say N if you don't want to use this interface.
27 tristate "i.MX remoteproc support"
29 depends on HAVE_ARM_SMCCC
32 Say y here to support iMX's remote processors via the remote
35 It's safe to say N here.
37 config INGENIC_VPU_RPROC
38 tristate "Ingenic JZ47xx VPU remoteproc support"
39 depends on MIPS || COMPILE_TEST
41 Say y or m here to support the VPU in the JZ47xx SoCs from Ingenic.
43 This can be either built-in or a loadable module.
47 tristate "Mediatek SCP support"
48 depends on ARCH_MEDIATEK || COMPILE_TEST
51 Say y here to support Mediatek's System Companion Processor (SCP) via
52 the remote processor framework.
54 It's safe to say N here.
56 config OMAP_REMOTEPROC
57 tristate "OMAP remoteproc support"
58 depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX
63 Say y here to support OMAP's remote processors (dual M3
64 and DSP on OMAP4) via the remote processor framework.
66 Currently only supported on OMAP4.
68 Usually you want to say Y here, in order to enable multimedia
69 use-cases to run on your platform (multimedia codecs are
70 offloaded to remote DSP processors using this framework).
72 It's safe to say N here if you're not interested in multimedia
73 offloading or just want a bare minimum kernel.
75 config OMAP_REMOTEPROC_WATCHDOG
76 bool "OMAP remoteproc watchdog timer"
77 depends on OMAP_REMOTEPROC
80 Say Y here to enable watchdog timer for remote processors.
82 This option controls the watchdog functionality for the remote
83 processors in OMAP. Dedicated OMAP DMTimers are used by the remote
84 processors and triggers the timer interrupt upon a watchdog
88 tristate "AMx3xx Wakeup M3 remoteproc support"
89 depends on SOC_AM33XX || SOC_AM43XX
91 Say y here to support Wakeup M3 remote processor on TI AM33xx
92 and AM43xx family of SoCs.
94 Required for Suspend-to-RAM on AM33xx and AM43xx SoCs. Also needed
95 for deep CPUIdle states on AM33xx SoCs. Allows for loading of the
96 firmware onto these remote processors.
99 config DA8XX_REMOTEPROC
100 tristate "DA8xx/OMAP-L13x remoteproc support"
101 depends on ARCH_DAVINCI_DA8XX
104 Say y here to support DA8xx/OMAP-L13x remote processors via the
105 remote processor framework.
107 You want to say y here in order to enable AMP
108 use-cases to run on your platform (multimedia codecs are
109 offloaded to remote DSP processors using this framework).
111 This module controls the name of the firmware file that gets
112 loaded on the DSP. This file must reside in the /lib/firmware
113 directory. It can be specified via the module parameter
114 da8xx_fw_name=<filename>, and if not specified will default to
117 It's safe to say n here if you're not interested in multimedia
120 config KEYSTONE_REMOTEPROC
121 tristate "Keystone Remoteproc support"
122 depends on ARCH_KEYSTONE
124 Say Y here here to support Keystone remote processors (DSP)
125 via the remote processor framework.
127 It's safe to say N here if you're not interested in the Keystone
128 DSPs or just want to use a bare minimum kernel.
130 config PRU_REMOTEPROC
131 tristate "TI PRU remoteproc support"
135 Support for TI PRU remote processors present within a PRU-ICSS
136 subsystem via the remote processor framework.
138 Say Y or M here to support the Programmable Realtime Unit (PRU)
139 processors on various TI SoCs. It's safe to say N here if you're
140 not interested in the PRU or if you are unsure.
145 config QCOM_RPROC_COMMON
148 config QCOM_Q6V5_COMMON
153 config QCOM_Q6V5_ADSP
154 tristate "Qualcomm Technology Inc ADSP Peripheral Image Loader"
155 depends on OF && ARCH_QCOM
157 depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)
158 depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
159 depends on QCOM_SYSMON || QCOM_SYSMON=n
160 depends on RPMSG_QCOM_GLINK || RPMSG_QCOM_GLINK=n
163 select QCOM_MDT_LOADER
164 select QCOM_Q6V5_COMMON
165 select QCOM_RPROC_COMMON
167 Say y here to support the Peripheral Image Loader
168 for the non-TrustZone part of Qualcomm Technology Inc. ADSP and CDSP
169 remote processors. The TrustZone part is handled by QCOM_Q6V5_PAS
173 tristate "Qualcomm Hexagon V5 self-authenticating modem subsystem support"
174 depends on OF && ARCH_QCOM
176 depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)
177 depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
178 depends on QCOM_SYSMON || QCOM_SYSMON=n
179 depends on RPMSG_QCOM_GLINK || RPMSG_QCOM_GLINK=n
181 select QCOM_MDT_LOADER
183 select QCOM_Q6V5_COMMON
184 select QCOM_RPROC_COMMON
187 Say y here to support the Qualcomm self-authenticating modem
188 subsystem based on Hexagon V5. The TrustZone based system is
189 handled by QCOM_Q6V5_PAS driver.
192 tristate "Qualcomm Hexagon v5 Peripheral Authentication Service support"
193 depends on OF && ARCH_QCOM
195 depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)
196 depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
197 depends on QCOM_SYSMON || QCOM_SYSMON=n
198 depends on RPMSG_QCOM_GLINK || RPMSG_QCOM_GLINK=n
201 select QCOM_MDT_LOADER
202 select QCOM_Q6V5_COMMON
203 select QCOM_RPROC_COMMON
206 Say y here to support the TrustZone based Peripheral Image Loader
207 for the Qualcomm Hexagon v5 based remote processors. This is commonly
208 used to control subsystems such as ADSP (Audio DSP),
209 CDSP (Compute DSP), MPSS (Modem Peripheral SubSystem), and
210 SLPI (Sensor Low Power Island).
212 config QCOM_Q6V5_WCSS
213 tristate "Qualcomm Hexagon based WCSS Peripheral Image Loader"
214 depends on OF && ARCH_QCOM
216 depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)
217 depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
218 depends on QCOM_SYSMON || QCOM_SYSMON=n
219 depends on RPMSG_QCOM_GLINK || RPMSG_QCOM_GLINK=n
221 select QCOM_MDT_LOADER
223 select QCOM_Q6V5_COMMON
224 select QCOM_RPROC_COMMON
227 Say y here to support the Qualcomm Peripheral Image Loader for the
228 Hexagon V5 based WCSS remote processors on e.g. IPQ8074. This is
229 a non-TrustZone wireless subsystem.
232 tristate "Qualcomm sysmon driver"
236 select QCOM_QMI_HELPERS
238 The sysmon driver implements a sysmon QMI client and a handler for
239 the sys_mon SMD and GLINK channel, which are used for graceful
240 shutdown, retrieving failure information and propagating information
241 about other subsystems being shut down.
243 Say y here if your system runs firmware on any other subsystems, e.g.
246 config QCOM_WCNSS_PIL
247 tristate "Qualcomm WCNSS Peripheral Image Loader"
248 depends on OF && ARCH_QCOM
249 depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)
250 depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
252 depends on QCOM_SYSMON || QCOM_SYSMON=n
253 depends on RPMSG_QCOM_GLINK || RPMSG_QCOM_GLINK=n
254 select QCOM_MDT_LOADER
256 select QCOM_RPROC_COMMON
259 Say y here to support the Peripheral Image Loader for loading WCNSS
260 firmware and boot the core on e.g. MSM8974, MSM8916. The firmware is
261 verified and booted with the help of the Peripheral Authentication
262 System (PAS) in TrustZone.
265 tristate "ST remoteproc support"
270 Say y here to support ST's adjunct processors via the remote
272 This can be either built-in or a loadable module.
274 config ST_SLIM_REMOTEPROC
278 tristate "STM32 remoteproc support"
279 depends on ARCH_STM32
280 depends on REMOTEPROC
283 Say y here to support STM32 MCU processors via the
284 remote processor framework.
286 You want to say y here in order to enable AMP
287 use-cases to run on your platform (dedicated firmware could be
288 offloaded to remote MCU processors using this framework).
290 This can be either built-in or a loadable module.
292 config TI_K3_DSP_REMOTEPROC
293 tristate "TI K3 DSP remoteproc support"
296 select OMAP2PLUS_MBOX
298 Say m here to support TI's C66x and C71x DSP remote processor
299 subsystems on various TI K3 family of SoCs through the remote
302 It's safe to say N here if you're not interested in utilizing
303 the DSP slave processors.
305 config TI_K3_R5_REMOTEPROC
306 tristate "TI K3 R5 remoteproc support"
309 select OMAP2PLUS_MBOX
311 Say m here to support TI's R5F remote processor subsystems
312 on various TI K3 family of SoCs through the remote processor
315 It's safe to say N here if you're not interested in utilizing