blob: 3e4bca77188de9e01c8f5140d06c1d2adc080d6f [file] [log] [blame]
Kees Cookeb367cb2013-01-16 18:53:51 -08001menu "Remoteproc drivers"
Ohad Ben-Cohen650d6562011-12-14 13:01:59 +02002
Ohad Ben-Cohen400e64d2011-10-20 16:52:46 +02003config REMOTEPROC
Peter Griffine41ddbc2016-10-18 10:39:08 +01004 tristate "Support for Remote Processor subsystem"
Sjur Brændelanda1a7e0a2012-09-13 20:03:58 +02005 depends on HAS_DMA
Ohad Ben-Cohena2b950a2013-04-07 14:06:07 +03006 select CRC32
Robert Tivyc7426bc2013-03-28 18:41:43 -07007 select FW_LOADER
Ohad Ben-Cohen2ed6d292012-09-30 10:25:34 +02008 select VIRTIO
Sarangdhar Joshi2666ca92018-01-05 16:04:17 -08009 select WANT_DEV_COREDUMP
Pavel Macheka73d9462016-12-19 10:22:50 +010010 help
11 Support for remote processors (such as DSP coprocessors). These
12 are mainly used on embedded systems.
Ohad Ben-Cohen34ed5a32011-10-20 18:53:35 +020013
Peter Griffine41ddbc2016-10-18 10:39:08 +010014if REMOTEPROC
15
Oleksij Rempela0ff4aa62017-08-17 09:15:26 +020016config IMX_REMOTEPROC
17 tristate "IMX6/7 remoteproc support"
18 depends on SOC_IMX6SX || SOC_IMX7D
19 help
20 Say y here to support iMX's remote processors (Cortex M4
21 on iMX7D) via the remote processor framework.
22
23 It's safe to say N here.
24
Ohad Ben-Cohen34ed5a32011-10-20 18:53:35 +020025config OMAP_REMOTEPROC
26 tristate "OMAP remoteproc support"
Sjur Brændelanda1a7e0a2012-09-13 20:03:58 +020027 depends on HAS_DMA
Vincent Stehlée5bc0292013-02-18 12:06:52 +010028 depends on ARCH_OMAP4 || SOC_OMAP5
Ohad Ben-Cohen9cd8eb42012-02-28 13:04:33 +020029 depends on OMAP_IOMMU
Suman Annac869c752013-03-12 17:55:29 -050030 select MAILBOX
31 select OMAP2PLUS_MBOX
Ohad Ben-Cohen34ed5a32011-10-20 18:53:35 +020032 help
33 Say y here to support OMAP's remote processors (dual M3
34 and DSP on OMAP4) via the remote processor framework.
35
36 Currently only supported on OMAP4.
37
Pavel Macheka73d9462016-12-19 10:22:50 +010038 Usually you want to say Y here, in order to enable multimedia
Ohad Ben-Cohen34ed5a32011-10-20 18:53:35 +020039 use-cases to run on your platform (multimedia codecs are
40 offloaded to remote DSP processors using this framework).
41
Pavel Macheka73d9462016-12-19 10:22:50 +010042 It's safe to say N here if you're not interested in multimedia
Ohad Ben-Cohen34ed5a32011-10-20 18:53:35 +020043 offloading or just want a bare minimum kernel.
Ohad Ben-Cohen650d6562011-12-14 13:01:59 +020044
Dave Gerlacha01bc0d2015-05-22 15:45:30 -050045config WKUP_M3_RPROC
46 tristate "AMx3xx Wakeup M3 remoteproc support"
47 depends on SOC_AM33XX || SOC_AM43XX
Dave Gerlacha01bc0d2015-05-22 15:45:30 -050048 help
49 Say y here to support Wakeup M3 remote processor on TI AM33xx
50 and AM43xx family of SoCs.
51
52 Required for Suspend-to-RAM on AM33xx and AM43xx SoCs. Also needed
53 for deep CPUIdle states on AM33xx SoCs. Allows for loading of the
54 firmware onto these remote processors.
55 If unsure say N.
56
Robert Tivy13be5432013-04-09 14:20:21 -070057config DA8XX_REMOTEPROC
58 tristate "DA8xx/OMAP-L13x remoteproc support"
59 depends on ARCH_DAVINCI_DA8XX
Suman Annac51e8822017-05-18 17:08:59 -050060 depends on DMA_CMA
Robert Tivy13be5432013-04-09 14:20:21 -070061 help
62 Say y here to support DA8xx/OMAP-L13x remote processors via the
63 remote processor framework.
64
65 You want to say y here in order to enable AMP
66 use-cases to run on your platform (multimedia codecs are
67 offloaded to remote DSP processors using this framework).
68
69 This module controls the name of the firmware file that gets
70 loaded on the DSP. This file must reside in the /lib/firmware
71 directory. It can be specified via the module parameter
72 da8xx_fw_name=<filename>, and if not specified will default to
73 "rproc-dsp-fw".
74
75 It's safe to say n here if you're not interested in multimedia
76 offloading.
77
Suman Annae88bb8f2017-06-13 18:45:12 -050078config KEYSTONE_REMOTEPROC
79 tristate "Keystone Remoteproc support"
80 depends on ARCH_KEYSTONE
Suman Annae88bb8f2017-06-13 18:45:12 -050081 help
82 Say Y here here to support Keystone remote processors (DSP)
83 via the remote processor framework.
84
85 It's safe to say N here if you're not interested in the Keystone
86 DSPs or just want to use a bare minimum kernel.
87
Bjorn Anderssonb9e718e2016-08-22 22:57:44 -070088config QCOM_ADSP_PIL
89 tristate "Qualcomm ADSP Peripheral Image Loader"
90 depends on OF && ARCH_QCOM
91 depends on QCOM_SMEM
Bjorn Andersson395a4802017-03-27 22:26:34 -070092 depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)
Bjorn Anderssoneea07022017-08-29 16:13:35 -070093 depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
Bjorn Anderssonb9e718e2016-08-22 22:57:44 -070094 select MFD_SYSCON
95 select QCOM_MDT_LOADER
Bjorn Anderssonbde440e2017-01-27 02:28:32 -080096 select QCOM_RPROC_COMMON
Arnd Bergmann8af1d632016-12-09 12:47:02 +010097 select QCOM_SCM
Bjorn Anderssonb9e718e2016-08-22 22:57:44 -070098 help
99 Say y here to support the TrustZone based Peripherial Image Loader
100 for the Qualcomm ADSP remote processors.
101
Bjorn Anderssonbde440e2017-01-27 02:28:32 -0800102config QCOM_RPROC_COMMON
103 tristate
104
Bjorn Andersson051fb702016-06-20 14:28:41 -0700105config QCOM_Q6V5_PIL
106 tristate "Qualcomm Hexagon V5 Peripherial Image Loader"
107 depends on OF && ARCH_QCOM
108 depends on QCOM_SMEM
Bjorn Andersson395a4802017-03-27 22:26:34 -0700109 depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)
Arnd Bergmannab759b92017-09-11 21:54:17 +0200110 depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
Bjorn Andersson051fb702016-06-20 14:28:41 -0700111 select MFD_SYSCON
Bjorn Anderssonbde440e2017-01-27 02:28:32 -0800112 select QCOM_RPROC_COMMON
Arnd Bergmanne2a32b62016-12-09 12:47:02 +0100113 select QCOM_SCM
Bjorn Andersson051fb702016-06-20 14:28:41 -0700114 help
115 Say y here to support the Qualcomm Peripherial Image Loader for the
116 Hexagon V5 based remote processors.
117
Bjorn Anderssonaed361a2016-08-12 18:18:59 -0700118config QCOM_WCNSS_PIL
119 tristate "Qualcomm WCNSS Peripheral Image Loader"
120 depends on OF && ARCH_QCOM
Bjorn Andersson395a4802017-03-27 22:26:34 -0700121 depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)
Arnd Bergmannab759b92017-09-11 21:54:17 +0200122 depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n
Bjorn Anderssonaed361a2016-08-12 18:18:59 -0700123 depends on QCOM_SMEM
124 select QCOM_MDT_LOADER
Bjorn Anderssonbde440e2017-01-27 02:28:32 -0800125 select QCOM_RPROC_COMMON
Bjorn Anderssonaed361a2016-08-12 18:18:59 -0700126 select QCOM_SCM
Bjorn Anderssonaed361a2016-08-12 18:18:59 -0700127 help
128 Say y here to support the Peripheral Image Loader for the Qualcomm
129 Wireless Connectivity Subsystem.
130
Lee Jones63edb032016-01-12 12:46:18 +0000131config ST_REMOTEPROC
132 tristate "ST remoteproc support"
133 depends on ARCH_STI
Loic Pallardy231c8df2017-01-31 13:35:54 +0100134 select MAILBOX
135 select STI_MBOX
Lee Jones63edb032016-01-12 12:46:18 +0000136 help
137 Say y here to support ST's adjunct processors via the remote
138 processor framework.
139 This can be either built-in or a loadable module.
140
Peter Griffinbb6869b2016-10-18 10:39:06 +0100141config ST_SLIM_REMOTEPROC
142 tristate
Peter Griffine41ddbc2016-10-18 10:39:08 +0100143
144endif # REMOTEPROC
Peter Griffinbb6869b2016-10-18 10:39:06 +0100145
Ohad Ben-Cohen650d6562011-12-14 13:01:59 +0200146endmenu