Kconfig 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. menu "Remoteproc drivers"
  3. config REMOTEPROC
  4. bool "Support for Remote Processor subsystem"
  5. depends on HAS_DMA
  6. select CRC32
  7. select FW_LOADER
  8. select VIRTIO
  9. select WANT_DEV_COREDUMP
  10. help
  11. Support for remote processors (such as DSP coprocessors). These
  12. are mainly used on embedded systems.
  13. if REMOTEPROC
  14. config REMOTEPROC_CDEV
  15. bool "Remoteproc character device interface"
  16. help
  17. Say y here to have a character device interface for the remoteproc
  18. framework. Userspace can boot/shutdown remote processors through
  19. this interface.
  20. It's safe to say N if you don't want to use this interface.
  21. config IMX_REMOTEPROC
  22. tristate "i.MX remoteproc support"
  23. depends on ARCH_MXC
  24. depends on HAVE_ARM_SMCCC
  25. select MAILBOX
  26. help
  27. Say y here to support iMX's remote processors via the remote
  28. processor framework.
  29. It's safe to say N here.
  30. config IMX_DSP_REMOTEPROC
  31. tristate "i.MX DSP remoteproc support"
  32. depends on ARCH_MXC
  33. depends on HAVE_ARM_SMCCC
  34. select MAILBOX
  35. help
  36. Say y here to support iMX's DSP remote processors via the remote
  37. processor framework.
  38. It's safe to say N here.
  39. config INGENIC_VPU_RPROC
  40. tristate "Ingenic JZ47xx VPU remoteproc support"
  41. depends on MIPS || COMPILE_TEST
  42. help
  43. Say y or m here to support the VPU in the JZ47xx SoCs from Ingenic.
  44. This can be either built-in or a loadable module.
  45. If unsure say N.
  46. config MTK_SCP
  47. tristate "Mediatek SCP support"
  48. depends on ARCH_MEDIATEK || COMPILE_TEST
  49. select RPMSG_MTK_SCP
  50. help
  51. Say y here to support Mediatek's System Companion Processor (SCP) via
  52. the remote processor framework.
  53. It's safe to say N here.
  54. config OMAP_REMOTEPROC
  55. tristate "OMAP remoteproc support"
  56. depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX
  57. depends on OMAP_IOMMU
  58. select MAILBOX
  59. select OMAP2PLUS_MBOX
  60. help
  61. Say y here to support OMAP's remote processors (dual M3
  62. and DSP on OMAP4) via the remote processor framework.
  63. Currently only supported on OMAP4.
  64. Usually you want to say Y here, in order to enable multimedia
  65. use-cases to run on your platform (multimedia codecs are
  66. offloaded to remote DSP processors using this framework).
  67. It's safe to say N here if you're not interested in multimedia
  68. offloading or just want a bare minimum kernel.
  69. config OMAP_REMOTEPROC_WATCHDOG
  70. bool "OMAP remoteproc watchdog timer"
  71. depends on OMAP_REMOTEPROC
  72. default n
  73. help
  74. Say Y here to enable watchdog timer for remote processors.
  75. This option controls the watchdog functionality for the remote
  76. processors in OMAP. Dedicated OMAP DMTimers are used by the remote
  77. processors and triggers the timer interrupt upon a watchdog
  78. detection.
  79. config WKUP_M3_RPROC
  80. tristate "AMx3xx Wakeup M3 remoteproc support"
  81. depends on SOC_AM33XX || SOC_AM43XX
  82. help
  83. Say y here to support Wakeup M3 remote processor on TI AM33xx
  84. and AM43xx family of SoCs.
  85. Required for Suspend-to-RAM on AM33xx and AM43xx SoCs. Also needed
  86. for deep CPUIdle states on AM33xx SoCs. Allows for loading of the
  87. firmware onto these remote processors.
  88. If unsure say N.
  89. config DA8XX_REMOTEPROC
  90. tristate "DA8xx/OMAP-L13x remoteproc support"
  91. depends on ARCH_DAVINCI_DA8XX
  92. depends on DMA_CMA
  93. help
  94. Say y here to support DA8xx/OMAP-L13x remote processors via the
  95. remote processor framework.
  96. You want to say y here in order to enable AMP
  97. use-cases to run on your platform (multimedia codecs are
  98. offloaded to remote DSP processors using this framework).
  99. This module controls the name of the firmware file that gets
  100. loaded on the DSP. This file must reside in the /lib/firmware
  101. directory. It can be specified via the module parameter
  102. da8xx_fw_name=<filename>, and if not specified will default to
  103. "rproc-dsp-fw".
  104. It's safe to say n here if you're not interested in multimedia
  105. offloading.
  106. config KEYSTONE_REMOTEPROC
  107. tristate "Keystone Remoteproc support"
  108. depends on ARCH_KEYSTONE
  109. help
  110. Say Y here here to support Keystone remote processors (DSP)
  111. via the remote processor framework.
  112. It's safe to say N here if you're not interested in the Keystone
  113. DSPs or just want to use a bare minimum kernel.
  114. config MESON_MX_AO_ARC_REMOTEPROC
  115. tristate "Amlogic Meson6/8/8b/8m2 AO ARC remote processor support"
  116. depends on HAS_IOMEM
  117. depends on (ARM && ARCH_MESON) || COMPILE_TEST
  118. select GENERIC_ALLOCATOR
  119. help
  120. Say m or y here to have support for the AO ARC remote processor
  121. on Amlogic Meson6/Meson8/Meson8b/Meson8m2 SoCs. This is
  122. typically used for system suspend.
  123. If unsure say N.
  124. config PRU_REMOTEPROC
  125. tristate "TI PRU remoteproc support"
  126. depends on TI_PRUSS
  127. default TI_PRUSS
  128. help
  129. Support for TI PRU remote processors present within a PRU-ICSS
  130. subsystem via the remote processor framework.
  131. Say Y or M here to support the Programmable Realtime Unit (PRU)
  132. processors on various TI SoCs. It's safe to say N here if you're
  133. not interested in the PRU or if you are unsure.
  134. config QCOM_PIL_INFO
  135. tristate
  136. config QCOM_RPROC_COMMON
  137. tristate
  138. select AUXILIARY_BUS
  139. config QCOM_Q6V5_COMMON
  140. tristate
  141. depends on ARCH_QCOM
  142. depends on QCOM_SMEM
  143. config QCOM_Q6V5_ADSP
  144. tristate "Qualcomm Technology Inc ADSP Peripheral Image Loader"
  145. depends on OF && ARCH_QCOM
  146. depends on QCOM_SMEM
  147. depends on RPMSG_QCOM_SMD || RPMSG_QCOM_SMD=n
  148. depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
  149. depends on QCOM_SYSMON || QCOM_SYSMON=n
  150. depends on RPMSG_QCOM_GLINK || RPMSG_QCOM_GLINK=n
  151. depends on QCOM_AOSS_QMP || QCOM_AOSS_QMP=n
  152. select MFD_SYSCON
  153. select QCOM_PIL_INFO
  154. select QCOM_MDT_LOADER
  155. select QCOM_Q6V5_COMMON
  156. select QCOM_RPROC_COMMON
  157. help
  158. Say y here to support the Peripheral Image Loader
  159. for the non-TrustZone part of Qualcomm Technology Inc. ADSP and CDSP
  160. remote processors. The TrustZone part is handled by QCOM_Q6V5_PAS
  161. driver.
  162. config QCOM_Q6V5_MSS
  163. tristate "Qualcomm Hexagon V5 self-authenticating modem subsystem support"
  164. depends on OF && ARCH_QCOM
  165. depends on QCOM_SMEM
  166. depends on RPMSG_QCOM_SMD || RPMSG_QCOM_SMD=n
  167. depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
  168. depends on QCOM_SYSMON || QCOM_SYSMON=n
  169. depends on RPMSG_QCOM_GLINK || RPMSG_QCOM_GLINK=n
  170. depends on QCOM_AOSS_QMP || QCOM_AOSS_QMP=n
  171. select MFD_SYSCON
  172. select QCOM_MDT_LOADER
  173. select QCOM_PIL_INFO
  174. select QCOM_Q6V5_COMMON
  175. select QCOM_RPROC_COMMON
  176. select QCOM_SCM
  177. help
  178. Say y here to support the Qualcomm self-authenticating modem
  179. subsystem based on Hexagon V5. The TrustZone based system is
  180. handled by QCOM_Q6V5_PAS driver.
  181. config QCOM_Q6V5_PAS
  182. tristate "Qualcomm Hexagon v5 Peripheral Authentication Service support"
  183. depends on OF && ARCH_QCOM
  184. depends on QCOM_SMEM
  185. depends on RPMSG_QCOM_SMD || RPMSG_QCOM_SMD=n
  186. depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
  187. depends on QCOM_SYSMON || QCOM_SYSMON=n
  188. depends on RPMSG_QCOM_GLINK || RPMSG_QCOM_GLINK=n
  189. depends on QCOM_AOSS_QMP || QCOM_AOSS_QMP=n
  190. select MFD_SYSCON
  191. select QCOM_PIL_INFO
  192. select QCOM_MDT_LOADER
  193. select QCOM_Q6V5_COMMON
  194. select QCOM_RPROC_COMMON
  195. select QCOM_SCM
  196. help
  197. Say y here to support the TrustZone based Peripheral Image Loader
  198. for the Qualcomm Hexagon v5 based remote processors. This is commonly
  199. used to control subsystems such as ADSP (Audio DSP),
  200. CDSP (Compute DSP), MPSS (Modem Peripheral SubSystem), and
  201. SLPI (Sensor Low Power Island).
  202. config QCOM_Q6V5_WCSS
  203. tristate "Qualcomm Hexagon based WCSS Peripheral Image Loader"
  204. depends on OF && ARCH_QCOM
  205. depends on QCOM_SMEM
  206. depends on RPMSG_QCOM_SMD || RPMSG_QCOM_SMD=n
  207. depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
  208. depends on QCOM_SYSMON || QCOM_SYSMON=n
  209. depends on RPMSG_QCOM_GLINK || RPMSG_QCOM_GLINK=n
  210. depends on QCOM_AOSS_QMP || QCOM_AOSS_QMP=n
  211. select MFD_SYSCON
  212. select QCOM_MDT_LOADER
  213. select QCOM_PIL_INFO
  214. select QCOM_Q6V5_COMMON
  215. select QCOM_RPROC_COMMON
  216. select QCOM_SCM
  217. help
  218. Say y here to support the Qualcomm Peripheral Image Loader for the
  219. Hexagon V5 based WCSS remote processors on e.g. IPQ8074. This is
  220. a non-TrustZone wireless subsystem.
  221. config QCOM_SYSMON
  222. tristate "Qualcomm sysmon driver"
  223. depends on RPMSG
  224. depends on ARCH_QCOM
  225. depends on NET
  226. select QCOM_QMI_HELPERS
  227. help
  228. The sysmon driver implements a sysmon QMI client and a handler for
  229. the sys_mon SMD and GLINK channel, which are used for graceful
  230. shutdown, retrieving failure information and propagating information
  231. about other subsystems being shut down.
  232. Say y here if your system runs firmware on any other subsystems, e.g.
  233. modem or DSP.
  234. config QCOM_WCNSS_PIL
  235. tristate "Qualcomm WCNSS Peripheral Image Loader"
  236. depends on OF && ARCH_QCOM
  237. depends on RPMSG_QCOM_SMD || RPMSG_QCOM_SMD=n
  238. depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
  239. depends on QCOM_SMEM
  240. depends on QCOM_SYSMON || QCOM_SYSMON=n
  241. depends on RPMSG_QCOM_GLINK || RPMSG_QCOM_GLINK=n
  242. select QCOM_MDT_LOADER
  243. select QCOM_PIL_INFO
  244. select QCOM_RPROC_COMMON
  245. select QCOM_SCM
  246. help
  247. Say y here to support the Peripheral Image Loader for loading WCNSS
  248. firmware and boot the core on e.g. MSM8974, MSM8916. The firmware is
  249. verified and booted with the help of the Peripheral Authentication
  250. System (PAS) in TrustZone.
  251. config RCAR_REMOTEPROC
  252. tristate "Renesas R-Car Gen3 remoteproc support"
  253. depends on ARCH_RENESAS || COMPILE_TEST
  254. help
  255. Say y here to support R-Car realtime processor via the
  256. remote processor framework. An ELF firmware can be loaded
  257. thanks to sysfs remoteproc entries. The remote processor
  258. can be started and stopped.
  259. This can be either built-in or a loadable module.
  260. If compiled as module (M), the module name is rcar_rproc.
  261. config ST_REMOTEPROC
  262. tristate "ST remoteproc support"
  263. depends on ARCH_STI
  264. select MAILBOX
  265. select STI_MBOX
  266. help
  267. Say y here to support ST's adjunct processors via the remote
  268. processor framework.
  269. This can be either built-in or a loadable module.
  270. config ST_SLIM_REMOTEPROC
  271. tristate
  272. config STM32_RPROC
  273. tristate "STM32 remoteproc support"
  274. depends on ARCH_STM32 || COMPILE_TEST
  275. depends on REMOTEPROC
  276. select MAILBOX
  277. help
  278. Say y here to support STM32 MCU processors via the
  279. remote processor framework.
  280. You want to say y here in order to enable AMP
  281. use-cases to run on your platform (dedicated firmware could be
  282. offloaded to remote MCU processors using this framework).
  283. This can be either built-in or a loadable module.
  284. config TI_K3_DSP_REMOTEPROC
  285. tristate "TI K3 DSP remoteproc support"
  286. depends on ARCH_K3
  287. depends on OMAP2PLUS_MBOX
  288. help
  289. Say m here to support TI's C66x and C71x DSP remote processor
  290. subsystems on various TI K3 family of SoCs through the remote
  291. processor framework.
  292. It's safe to say N here if you're not interested in utilizing
  293. the DSP slave processors.
  294. config TI_K3_M4_REMOTEPROC
  295. tristate "TI K3 M4 remoteproc support"
  296. depends on ARCH_K3 || COMPILE_TEST
  297. depends on TI_SCI_PROTOCOL || (COMPILE_TEST && TI_SCI_PROTOCOL=n)
  298. depends on OMAP2PLUS_MBOX
  299. help
  300. Say m here to support TI's M4 remote processor subsystems
  301. on various TI K3 family of SoCs through the remote processor
  302. framework.
  303. It's safe to say N here if you're not interested in utilizing
  304. a remote processor.
  305. config TI_K3_R5_REMOTEPROC
  306. tristate "TI K3 R5 remoteproc support"
  307. depends on ARCH_K3
  308. depends on OMAP2PLUS_MBOX
  309. help
  310. Say m here to support TI's R5F remote processor subsystems
  311. on various TI K3 family of SoCs through the remote processor
  312. framework.
  313. It's safe to say N here if you're not interested in utilizing
  314. a slave processor.
  315. config XLNX_R5_REMOTEPROC
  316. tristate "Xilinx R5 remoteproc support"
  317. depends on PM && ARCH_ZYNQMP
  318. select ZYNQMP_FIRMWARE
  319. select RPMSG_VIRTIO
  320. select MAILBOX
  321. select ZYNQMP_IPI_MBOX
  322. help
  323. Say y or m here to support Xilinx R5 remote processors via the remote
  324. processor framework.
  325. It's safe to say N if not interested in using RPU r5f cores.
  326. endif # REMOTEPROC
  327. endmenu