blob: 8891a8e50f12307b71517b14630f173a1b30a20d [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
Pavel Macheka73d9462016-12-19 10:22:50 +01009 help
10 Support for remote processors (such as DSP coprocessors). These
11 are mainly used on embedded systems.
Ohad Ben-Cohen34ed5a32011-10-20 18:53:35 +020012
Peter Griffine41ddbc2016-10-18 10:39:08 +010013if REMOTEPROC
14
Ohad Ben-Cohen34ed5a32011-10-20 18:53:35 +020015config OMAP_REMOTEPROC
16 tristate "OMAP remoteproc support"
Sjur Brændelanda1a7e0a2012-09-13 20:03:58 +020017 depends on HAS_DMA
Vincent Stehlée5bc0292013-02-18 12:06:52 +010018 depends on ARCH_OMAP4 || SOC_OMAP5
Ohad Ben-Cohen9cd8eb42012-02-28 13:04:33 +020019 depends on OMAP_IOMMU
Suman Annac869c752013-03-12 17:55:29 -050020 select MAILBOX
21 select OMAP2PLUS_MBOX
Bjorn Andersson026dad42016-09-01 15:27:59 -070022 select RPMSG_VIRTIO
Ohad Ben-Cohen34ed5a32011-10-20 18:53:35 +020023 help
24 Say y here to support OMAP's remote processors (dual M3
25 and DSP on OMAP4) via the remote processor framework.
26
27 Currently only supported on OMAP4.
28
Pavel Macheka73d9462016-12-19 10:22:50 +010029 Usually you want to say Y here, in order to enable multimedia
Ohad Ben-Cohen34ed5a32011-10-20 18:53:35 +020030 use-cases to run on your platform (multimedia codecs are
31 offloaded to remote DSP processors using this framework).
32
Pavel Macheka73d9462016-12-19 10:22:50 +010033 It's safe to say N here if you're not interested in multimedia
Ohad Ben-Cohen34ed5a32011-10-20 18:53:35 +020034 offloading or just want a bare minimum kernel.
Ohad Ben-Cohen650d6562011-12-14 13:01:59 +020035
Dave Gerlacha01bc0d2015-05-22 15:45:30 -050036config WKUP_M3_RPROC
37 tristate "AMx3xx Wakeup M3 remoteproc support"
38 depends on SOC_AM33XX || SOC_AM43XX
Dave Gerlacha01bc0d2015-05-22 15:45:30 -050039 help
40 Say y here to support Wakeup M3 remote processor on TI AM33xx
41 and AM43xx family of SoCs.
42
43 Required for Suspend-to-RAM on AM33xx and AM43xx SoCs. Also needed
44 for deep CPUIdle states on AM33xx SoCs. Allows for loading of the
45 firmware onto these remote processors.
46 If unsure say N.
47
Robert Tivy13be5432013-04-09 14:20:21 -070048config DA8XX_REMOTEPROC
49 tristate "DA8xx/OMAP-L13x remoteproc support"
50 depends on ARCH_DAVINCI_DA8XX
Suman Annac51e8822017-05-18 17:08:59 -050051 depends on DMA_CMA
Bjorn Andersson026dad42016-09-01 15:27:59 -070052 select RPMSG_VIRTIO
Robert Tivy13be5432013-04-09 14:20:21 -070053 help
54 Say y here to support DA8xx/OMAP-L13x remote processors via the
55 remote processor framework.
56
57 You want to say y here in order to enable AMP
58 use-cases to run on your platform (multimedia codecs are
59 offloaded to remote DSP processors using this framework).
60
61 This module controls the name of the firmware file that gets
62 loaded on the DSP. This file must reside in the /lib/firmware
63 directory. It can be specified via the module parameter
64 da8xx_fw_name=<filename>, and if not specified will default to
65 "rproc-dsp-fw".
66
67 It's safe to say n here if you're not interested in multimedia
68 offloading.
69
Suman Annae88bb8f2017-06-13 18:45:12 -050070config KEYSTONE_REMOTEPROC
71 tristate "Keystone Remoteproc support"
72 depends on ARCH_KEYSTONE
Suman Annae88bb8f2017-06-13 18:45:12 -050073 select RPMSG_VIRTIO
74 help
75 Say Y here here to support Keystone remote processors (DSP)
76 via the remote processor framework.
77
78 It's safe to say N here if you're not interested in the Keystone
79 DSPs or just want to use a bare minimum kernel.
80
Bjorn Anderssonb9e718e2016-08-22 22:57:44 -070081config QCOM_ADSP_PIL
82 tristate "Qualcomm ADSP Peripheral Image Loader"
83 depends on OF && ARCH_QCOM
84 depends on QCOM_SMEM
Bjorn Andersson395a4802017-03-27 22:26:34 -070085 depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)
Bjorn Anderssonb9e718e2016-08-22 22:57:44 -070086 select MFD_SYSCON
87 select QCOM_MDT_LOADER
Bjorn Anderssonbde440e2017-01-27 02:28:32 -080088 select QCOM_RPROC_COMMON
Arnd Bergmann8af1d632016-12-09 12:47:02 +010089 select QCOM_SCM
Bjorn Anderssonb9e718e2016-08-22 22:57:44 -070090 help
91 Say y here to support the TrustZone based Peripherial Image Loader
92 for the Qualcomm ADSP remote processors.
93
Bjorn Anderssonbde440e2017-01-27 02:28:32 -080094config QCOM_RPROC_COMMON
95 tristate
96
Bjorn Andersson051fb702016-06-20 14:28:41 -070097config QCOM_Q6V5_PIL
98 tristate "Qualcomm Hexagon V5 Peripherial Image Loader"
99 depends on OF && ARCH_QCOM
100 depends on QCOM_SMEM
Bjorn Andersson395a4802017-03-27 22:26:34 -0700101 depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)
Bjorn Andersson051fb702016-06-20 14:28:41 -0700102 select MFD_SYSCON
Bjorn Anderssonbde440e2017-01-27 02:28:32 -0800103 select QCOM_RPROC_COMMON
Arnd Bergmanne2a32b62016-12-09 12:47:02 +0100104 select QCOM_SCM
Bjorn Andersson051fb702016-06-20 14:28:41 -0700105 help
106 Say y here to support the Qualcomm Peripherial Image Loader for the
107 Hexagon V5 based remote processors.
108
Bjorn Anderssonaed361a2016-08-12 18:18:59 -0700109config QCOM_WCNSS_PIL
110 tristate "Qualcomm WCNSS Peripheral Image Loader"
111 depends on OF && ARCH_QCOM
Bjorn Andersson395a4802017-03-27 22:26:34 -0700112 depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)
Bjorn Anderssonaed361a2016-08-12 18:18:59 -0700113 depends on QCOM_SMEM
114 select QCOM_MDT_LOADER
Bjorn Anderssonbde440e2017-01-27 02:28:32 -0800115 select QCOM_RPROC_COMMON
Bjorn Anderssonaed361a2016-08-12 18:18:59 -0700116 select QCOM_SCM
Bjorn Anderssonaed361a2016-08-12 18:18:59 -0700117 help
118 Say y here to support the Peripheral Image Loader for the Qualcomm
119 Wireless Connectivity Subsystem.
120
Lee Jones63edb032016-01-12 12:46:18 +0000121config ST_REMOTEPROC
122 tristate "ST remoteproc support"
123 depends on ARCH_STI
Loic Pallardy231c8df2017-01-31 13:35:54 +0100124 select MAILBOX
125 select STI_MBOX
126 select RPMSG_VIRTIO
Lee Jones63edb032016-01-12 12:46:18 +0000127 help
128 Say y here to support ST's adjunct processors via the remote
129 processor framework.
130 This can be either built-in or a loadable module.
131
Peter Griffinbb6869b2016-10-18 10:39:06 +0100132config ST_SLIM_REMOTEPROC
133 tristate
Peter Griffine41ddbc2016-10-18 10:39:08 +0100134
135endif # REMOTEPROC
Peter Griffinbb6869b2016-10-18 10:39:06 +0100136
Ohad Ben-Cohen650d6562011-12-14 13:01:59 +0200137endmenu