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 IMX_DSP_REMOTEPROC
38 tristate "i.MX DSP remoteproc support"
40 depends on HAVE_ARM_SMCCC
43 Say y here to support iMX's DSP remote processors via the remote
46 It's safe to say N here.
48 config INGENIC_VPU_RPROC
49 tristate "Ingenic JZ47xx VPU remoteproc support"
50 depends on MIPS || COMPILE_TEST
52 Say y or m here to support the VPU in the JZ47xx SoCs from Ingenic.
54 This can be either built-in or a loadable module.
58 tristate "Mediatek SCP support"
59 depends on ARCH_MEDIATEK || COMPILE_TEST
62 Say y here to support Mediatek's System Companion Processor (SCP) via
63 the remote processor framework.
65 It's safe to say N here.
67 config OMAP_REMOTEPROC
68 tristate "OMAP remoteproc support"
69 depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX
74 Say y here to support OMAP's remote processors (dual M3
75 and DSP on OMAP4) via the remote processor framework.
77 Currently only supported on OMAP4.
79 Usually you want to say Y here, in order to enable multimedia
80 use-cases to run on your platform (multimedia codecs are
81 offloaded to remote DSP processors using this framework).
83 It's safe to say N here if you're not interested in multimedia
84 offloading or just want a bare minimum kernel.
86 config OMAP_REMOTEPROC_WATCHDOG
87 bool "OMAP remoteproc watchdog timer"
88 depends on OMAP_REMOTEPROC
91 Say Y here to enable watchdog timer for remote processors.
93 This option controls the watchdog functionality for the remote
94 processors in OMAP. Dedicated OMAP DMTimers are used by the remote
95 processors and triggers the timer interrupt upon a watchdog
99 tristate "AMx3xx Wakeup M3 remoteproc support"
100 depends on SOC_AM33XX || SOC_AM43XX
102 Say y here to support Wakeup M3 remote processor on TI AM33xx
103 and AM43xx family of SoCs.
105 Required for Suspend-to-RAM on AM33xx and AM43xx SoCs. Also needed
106 for deep CPUIdle states on AM33xx SoCs. Allows for loading of the
107 firmware onto these remote processors.
110 config DA8XX_REMOTEPROC
111 tristate "DA8xx/OMAP-L13x remoteproc support"
112 depends on ARCH_DAVINCI_DA8XX
115 Say y here to support DA8xx/OMAP-L13x remote processors via the
116 remote processor framework.
118 You want to say y here in order to enable AMP
119 use-cases to run on your platform (multimedia codecs are
120 offloaded to remote DSP processors using this framework).
122 This module controls the name of the firmware file that gets
123 loaded on the DSP. This file must reside in the /lib/firmware
124 directory. It can be specified via the module parameter
125 da8xx_fw_name=<filename>, and if not specified will default to
128 It's safe to say n here if you're not interested in multimedia
131 config KEYSTONE_REMOTEPROC
132 tristate "Keystone Remoteproc support"
133 depends on ARCH_KEYSTONE
135 Say Y here here to support Keystone remote processors (DSP)
136 via the remote processor framework.
138 It's safe to say N here if you're not interested in the Keystone
139 DSPs or just want to use a bare minimum kernel.
141 config MESON_MX_AO_ARC_REMOTEPROC
142 tristate "Amlogic Meson6/8/8b/8m2 AO ARC remote processor support"
144 depends on (ARM && ARCH_MESON) || COMPILE_TEST
145 select GENERIC_ALLOCATOR
147 Say m or y here to have support for the AO ARC remote processor
148 on Amlogic Meson6/Meson8/Meson8b/Meson8m2 SoCs. This is
149 typically used for system suspend.
152 config PRU_REMOTEPROC
153 tristate "TI PRU remoteproc support"
157 Support for TI PRU remote processors present within a PRU-ICSS
158 subsystem via the remote processor framework.
160 Say Y or M here to support the Programmable Realtime Unit (PRU)
161 processors on various TI SoCs. It's safe to say N here if you're
162 not interested in the PRU or if you are unsure.
167 config QCOM_RPROC_COMMON
170 config QCOM_Q6V5_COMMON
175 config QCOM_Q6V5_ADSP
176 tristate "Qualcomm Technology Inc ADSP Peripheral Image Loader"
177 depends on OF && ARCH_QCOM
179 depends on RPMSG_QCOM_SMD || RPMSG_QCOM_SMD=n
180 depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
181 depends on QCOM_SYSMON || QCOM_SYSMON=n
182 depends on RPMSG_QCOM_GLINK || RPMSG_QCOM_GLINK=n
183 depends on QCOM_AOSS_QMP || QCOM_AOSS_QMP=n
186 select QCOM_MDT_LOADER
187 select QCOM_Q6V5_COMMON
188 select QCOM_RPROC_COMMON
190 Say y here to support the Peripheral Image Loader
191 for the non-TrustZone part of Qualcomm Technology Inc. ADSP and CDSP
192 remote processors. The TrustZone part is handled by QCOM_Q6V5_PAS
196 tristate "Qualcomm Hexagon V5 self-authenticating modem subsystem support"
197 depends on OF && ARCH_QCOM
199 depends on RPMSG_QCOM_SMD || RPMSG_QCOM_SMD=n
200 depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
201 depends on QCOM_SYSMON || QCOM_SYSMON=n
202 depends on RPMSG_QCOM_GLINK || RPMSG_QCOM_GLINK=n
203 depends on QCOM_AOSS_QMP || QCOM_AOSS_QMP=n
205 select QCOM_MDT_LOADER
207 select QCOM_Q6V5_COMMON
208 select QCOM_RPROC_COMMON
211 Say y here to support the Qualcomm self-authenticating modem
212 subsystem based on Hexagon V5. The TrustZone based system is
213 handled by QCOM_Q6V5_PAS driver.
216 tristate "Qualcomm Hexagon v5 Peripheral Authentication Service support"
217 depends on OF && ARCH_QCOM
219 depends on RPMSG_QCOM_SMD || RPMSG_QCOM_SMD=n
220 depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
221 depends on QCOM_SYSMON || QCOM_SYSMON=n
222 depends on RPMSG_QCOM_GLINK || RPMSG_QCOM_GLINK=n
223 depends on QCOM_AOSS_QMP || QCOM_AOSS_QMP=n
226 select QCOM_MDT_LOADER
227 select QCOM_Q6V5_COMMON
228 select QCOM_RPROC_COMMON
231 Say y here to support the TrustZone based Peripheral Image Loader
232 for the Qualcomm Hexagon v5 based remote processors. This is commonly
233 used to control subsystems such as ADSP (Audio DSP),
234 CDSP (Compute DSP), MPSS (Modem Peripheral SubSystem), and
235 SLPI (Sensor Low Power Island).
237 config QCOM_Q6V5_WCSS
238 tristate "Qualcomm Hexagon based WCSS Peripheral Image Loader"
239 depends on OF && ARCH_QCOM
241 depends on RPMSG_QCOM_SMD || RPMSG_QCOM_SMD=n
242 depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
243 depends on QCOM_SYSMON || QCOM_SYSMON=n
244 depends on RPMSG_QCOM_GLINK || RPMSG_QCOM_GLINK=n
245 depends on QCOM_AOSS_QMP || QCOM_AOSS_QMP=n
247 select QCOM_MDT_LOADER
249 select QCOM_Q6V5_COMMON
250 select QCOM_RPROC_COMMON
253 Say y here to support the Qualcomm Peripheral Image Loader for the
254 Hexagon V5 based WCSS remote processors on e.g. IPQ8074. This is
255 a non-TrustZone wireless subsystem.
258 tristate "Qualcomm sysmon driver"
262 select QCOM_QMI_HELPERS
264 The sysmon driver implements a sysmon QMI client and a handler for
265 the sys_mon SMD and GLINK channel, which are used for graceful
266 shutdown, retrieving failure information and propagating information
267 about other subsystems being shut down.
269 Say y here if your system runs firmware on any other subsystems, e.g.
272 config QCOM_WCNSS_PIL
273 tristate "Qualcomm WCNSS Peripheral Image Loader"
274 depends on OF && ARCH_QCOM
275 depends on RPMSG_QCOM_SMD || RPMSG_QCOM_SMD=n
276 depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
278 depends on QCOM_SYSMON || QCOM_SYSMON=n
279 depends on RPMSG_QCOM_GLINK || RPMSG_QCOM_GLINK=n
280 select QCOM_MDT_LOADER
282 select QCOM_RPROC_COMMON
285 Say y here to support the Peripheral Image Loader for loading WCNSS
286 firmware and boot the core on e.g. MSM8974, MSM8916. The firmware is
287 verified and booted with the help of the Peripheral Authentication
288 System (PAS) in TrustZone.
290 config RCAR_REMOTEPROC
291 tristate "Renesas R-Car Gen3 remoteproc support"
292 depends on ARCH_RENESAS || COMPILE_TEST
294 Say y here to support R-Car realtime processor via the
295 remote processor framework. An ELF firmware can be loaded
296 thanks to sysfs remoteproc entries. The remote processor
297 can be started and stopped.
298 This can be either built-in or a loadable module.
299 If compiled as module (M), the module name is rcar_rproc.
302 tristate "ST remoteproc support"
307 Say y here to support ST's adjunct processors via the remote
309 This can be either built-in or a loadable module.
311 config ST_SLIM_REMOTEPROC
315 tristate "STM32 remoteproc support"
316 depends on ARCH_STM32 || COMPILE_TEST
317 depends on REMOTEPROC
320 Say y here to support STM32 MCU processors via the
321 remote processor framework.
323 You want to say y here in order to enable AMP
324 use-cases to run on your platform (dedicated firmware could be
325 offloaded to remote MCU processors using this framework).
327 This can be either built-in or a loadable module.
329 config TI_K3_DSP_REMOTEPROC
330 tristate "TI K3 DSP remoteproc support"
333 select OMAP2PLUS_MBOX
335 Say m here to support TI's C66x and C71x DSP remote processor
336 subsystems on various TI K3 family of SoCs through the remote
339 It's safe to say N here if you're not interested in utilizing
340 the DSP slave processors.
342 config TI_K3_R5_REMOTEPROC
343 tristate "TI K3 R5 remoteproc support"
346 select OMAP2PLUS_MBOX
348 Say m here to support TI's R5F remote processor subsystems
349 on various TI K3 family of SoCs through the remote processor
352 It's safe to say N here if you're not interested in utilizing
355 config XLNX_R5_REMOTEPROC
356 tristate "Xilinx R5 remoteproc support"
357 depends on PM && ARCH_ZYNQMP
358 select ZYNQMP_FIRMWARE
361 select ZYNQMP_IPI_MBOX
363 Say y or m here to support Xilinx R5 remote processors via the remote
366 It's safe to say N if not interested in using RPU r5f cores.