Kconfig 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  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 "IMX6/7 remoteproc support"
  23. depends on ARCH_MXC
  24. help
  25. Say y here to support iMX's remote processors (Cortex M4
  26. on iMX7D) via the remote processor framework.
  27. It's safe to say N here.
  28. config INGENIC_VPU_RPROC
  29. tristate "Ingenic JZ47xx VPU remoteproc support"
  30. depends on MIPS || COMPILE_TEST
  31. help
  32. Say y or m here to support the VPU in the JZ47xx SoCs from Ingenic.
  33. This can be either built-in or a loadable module.
  34. If unsure say N.
  35. config MTK_SCP
  36. tristate "Mediatek SCP support"
  37. depends on ARCH_MEDIATEK || COMPILE_TEST
  38. select RPMSG_MTK_SCP
  39. help
  40. Say y here to support Mediatek's System Companion Processor (SCP) via
  41. the remote processor framework.
  42. It's safe to say N here.
  43. config OMAP_REMOTEPROC
  44. tristate "OMAP remoteproc support"
  45. depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX
  46. depends on OMAP_IOMMU
  47. select MAILBOX
  48. select OMAP2PLUS_MBOX
  49. help
  50. Say y here to support OMAP's remote processors (dual M3
  51. and DSP on OMAP4) via the remote processor framework.
  52. Currently only supported on OMAP4.
  53. Usually you want to say Y here, in order to enable multimedia
  54. use-cases to run on your platform (multimedia codecs are
  55. offloaded to remote DSP processors using this framework).
  56. It's safe to say N here if you're not interested in multimedia
  57. offloading or just want a bare minimum kernel.
  58. config OMAP_REMOTEPROC_WATCHDOG
  59. bool "OMAP remoteproc watchdog timer"
  60. depends on OMAP_REMOTEPROC
  61. default n
  62. help
  63. Say Y here to enable watchdog timer for remote processors.
  64. This option controls the watchdog functionality for the remote
  65. processors in OMAP. Dedicated OMAP DMTimers are used by the remote
  66. processors and triggers the timer interrupt upon a watchdog
  67. detection.
  68. config WKUP_M3_RPROC
  69. tristate "AMx3xx Wakeup M3 remoteproc support"
  70. depends on SOC_AM33XX || SOC_AM43XX
  71. help
  72. Say y here to support Wakeup M3 remote processor on TI AM33xx
  73. and AM43xx family of SoCs.
  74. Required for Suspend-to-RAM on AM33xx and AM43xx SoCs. Also needed
  75. for deep CPUIdle states on AM33xx SoCs. Allows for loading of the
  76. firmware onto these remote processors.
  77. If unsure say N.
  78. config DA8XX_REMOTEPROC
  79. tristate "DA8xx/OMAP-L13x remoteproc support"
  80. depends on ARCH_DAVINCI_DA8XX
  81. depends on DMA_CMA
  82. help
  83. Say y here to support DA8xx/OMAP-L13x remote processors via the
  84. remote processor framework.
  85. You want to say y here in order to enable AMP
  86. use-cases to run on your platform (multimedia codecs are
  87. offloaded to remote DSP processors using this framework).
  88. This module controls the name of the firmware file that gets
  89. loaded on the DSP. This file must reside in the /lib/firmware
  90. directory. It can be specified via the module parameter
  91. da8xx_fw_name=<filename>, and if not specified will default to
  92. "rproc-dsp-fw".
  93. It's safe to say n here if you're not interested in multimedia
  94. offloading.
  95. config KEYSTONE_REMOTEPROC
  96. tristate "Keystone Remoteproc support"
  97. depends on ARCH_KEYSTONE
  98. help
  99. Say Y here here to support Keystone remote processors (DSP)
  100. via the remote processor framework.
  101. It's safe to say N here if you're not interested in the Keystone
  102. DSPs or just want to use a bare minimum kernel.
  103. config QCOM_PIL_INFO
  104. tristate
  105. config QCOM_RPROC_COMMON
  106. tristate
  107. config QCOM_Q6V5_COMMON
  108. tristate
  109. depends on ARCH_QCOM
  110. depends on QCOM_SMEM
  111. config QCOM_Q6V5_ADSP
  112. tristate "Qualcomm Technology Inc ADSP Peripheral Image Loader"
  113. depends on OF && ARCH_QCOM
  114. depends on QCOM_SMEM
  115. depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)
  116. depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
  117. depends on QCOM_SYSMON || QCOM_SYSMON=n
  118. select MFD_SYSCON
  119. select QCOM_PIL_INFO
  120. select QCOM_MDT_LOADER
  121. select QCOM_Q6V5_COMMON
  122. select QCOM_RPROC_COMMON
  123. help
  124. Say y here to support the Peripheral Image Loader
  125. for the Qualcomm Technology Inc. ADSP remote processors.
  126. config QCOM_Q6V5_MSS
  127. tristate "Qualcomm Hexagon V5 self-authenticating modem subsystem support"
  128. depends on OF && ARCH_QCOM
  129. depends on QCOM_SMEM
  130. depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)
  131. depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
  132. depends on QCOM_SYSMON || QCOM_SYSMON=n
  133. select MFD_SYSCON
  134. select QCOM_MDT_LOADER
  135. select QCOM_PIL_INFO
  136. select QCOM_Q6V5_COMMON
  137. select QCOM_RPROC_COMMON
  138. select QCOM_SCM
  139. help
  140. Say y here to support the Qualcomm self-authenticating modem
  141. subsystem based on Hexagon V5.
  142. config QCOM_Q6V5_PAS
  143. tristate "Qualcomm Hexagon v5 Peripheral Authentication Service support"
  144. depends on OF && ARCH_QCOM
  145. depends on QCOM_SMEM
  146. depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)
  147. depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
  148. depends on QCOM_SYSMON || QCOM_SYSMON=n
  149. select MFD_SYSCON
  150. select QCOM_PIL_INFO
  151. select QCOM_MDT_LOADER
  152. select QCOM_Q6V5_COMMON
  153. select QCOM_RPROC_COMMON
  154. select QCOM_SCM
  155. help
  156. Say y here to support the TrustZone based Peripherial Image Loader
  157. for the Qualcomm Hexagon v5 based remote processors. This is commonly
  158. used to control subsystems such as ADSP, Compute and Sensor.
  159. config QCOM_Q6V5_WCSS
  160. tristate "Qualcomm Hexagon based WCSS Peripheral Image Loader"
  161. depends on OF && ARCH_QCOM
  162. depends on QCOM_SMEM
  163. depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)
  164. depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
  165. depends on QCOM_SYSMON || QCOM_SYSMON=n
  166. select MFD_SYSCON
  167. select QCOM_MDT_LOADER
  168. select QCOM_PIL_INFO
  169. select QCOM_Q6V5_COMMON
  170. select QCOM_RPROC_COMMON
  171. select QCOM_SCM
  172. help
  173. Say y here to support the Qualcomm Peripheral Image Loader for the
  174. Hexagon V5 based WCSS remote processors.
  175. config QCOM_SYSMON
  176. tristate "Qualcomm sysmon driver"
  177. depends on RPMSG
  178. depends on ARCH_QCOM
  179. depends on NET
  180. select QCOM_QMI_HELPERS
  181. help
  182. The sysmon driver implements a sysmon QMI client and a handler for
  183. the sys_mon SMD and GLINK channel, which are used for graceful
  184. shutdown, retrieving failure information and propagating information
  185. about other subsystems being shut down.
  186. Say y here if your system runs firmware on any other subsystems, e.g.
  187. modem or DSP.
  188. config QCOM_WCNSS_PIL
  189. tristate "Qualcomm WCNSS Peripheral Image Loader"
  190. depends on OF && ARCH_QCOM
  191. depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)
  192. depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
  193. depends on QCOM_SMEM
  194. depends on QCOM_SYSMON || QCOM_SYSMON=n
  195. select QCOM_MDT_LOADER
  196. select QCOM_PIL_INFO
  197. select QCOM_RPROC_COMMON
  198. select QCOM_SCM
  199. help
  200. Say y here to support the Peripheral Image Loader for the Qualcomm
  201. Wireless Connectivity Subsystem.
  202. config ST_REMOTEPROC
  203. tristate "ST remoteproc support"
  204. depends on ARCH_STI
  205. select MAILBOX
  206. select STI_MBOX
  207. help
  208. Say y here to support ST's adjunct processors via the remote
  209. processor framework.
  210. This can be either built-in or a loadable module.
  211. config ST_SLIM_REMOTEPROC
  212. tristate
  213. config STM32_RPROC
  214. tristate "STM32 remoteproc support"
  215. depends on ARCH_STM32
  216. depends on REMOTEPROC
  217. select MAILBOX
  218. help
  219. Say y here to support STM32 MCU processors via the
  220. remote processor framework.
  221. You want to say y here in order to enable AMP
  222. use-cases to run on your platform (dedicated firmware could be
  223. offloaded to remote MCU processors using this framework).
  224. This can be either built-in or a loadable module.
  225. config TI_K3_DSP_REMOTEPROC
  226. tristate "TI K3 DSP remoteproc support"
  227. depends on ARCH_K3
  228. select MAILBOX
  229. select OMAP2PLUS_MBOX
  230. help
  231. Say m here to support TI's C66x and C71x DSP remote processor
  232. subsystems on various TI K3 family of SoCs through the remote
  233. processor framework.
  234. It's safe to say N here if you're not interested in utilizing
  235. the DSP slave processors.
  236. config TI_K3_R5_REMOTEPROC
  237. tristate "TI K3 R5 remoteproc support"
  238. depends on ARCH_K3
  239. select MAILBOX
  240. select OMAP2PLUS_MBOX
  241. help
  242. Say m here to support TI's R5F remote processor subsystems
  243. on various TI K3 family of SoCs through the remote processor
  244. framework.
  245. It's safe to say N here if you're not interested in utilizing
  246. a slave processor.
  247. endif # REMOTEPROC
  248. endmenu