blob: faad69a1a5974b8f76acde68a9e8c8922e27d01e [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
Suman Annab9777852013-04-21 16:29:38 +03009 select VIRTUALIZATION
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
Ohad Ben-Cohen34ed5a32011-10-20 18:53:35 +020016config OMAP_REMOTEPROC
17 tristate "OMAP remoteproc support"
Sjur Brændelanda1a7e0a2012-09-13 20:03:58 +020018 depends on HAS_DMA
Vincent Stehlée5bc0292013-02-18 12:06:52 +010019 depends on ARCH_OMAP4 || SOC_OMAP5
Ohad Ben-Cohen9cd8eb42012-02-28 13:04:33 +020020 depends on OMAP_IOMMU
Peter Griffine41ddbc2016-10-18 10:39:08 +010021 depends on REMOTEPROC
Suman Annac869c752013-03-12 17:55:29 -050022 select MAILBOX
23 select OMAP2PLUS_MBOX
Bjorn Andersson026dad42016-09-01 15:27:59 -070024 select RPMSG_VIRTIO
Ohad Ben-Cohen34ed5a32011-10-20 18:53:35 +020025 help
26 Say y here to support OMAP's remote processors (dual M3
27 and DSP on OMAP4) via the remote processor framework.
28
29 Currently only supported on OMAP4.
30
Pavel Macheka73d9462016-12-19 10:22:50 +010031 Usually you want to say Y here, in order to enable multimedia
Ohad Ben-Cohen34ed5a32011-10-20 18:53:35 +020032 use-cases to run on your platform (multimedia codecs are
33 offloaded to remote DSP processors using this framework).
34
Pavel Macheka73d9462016-12-19 10:22:50 +010035 It's safe to say N here if you're not interested in multimedia
Ohad Ben-Cohen34ed5a32011-10-20 18:53:35 +020036 offloading or just want a bare minimum kernel.
Ohad Ben-Cohen650d6562011-12-14 13:01:59 +020037
Dave Gerlacha01bc0d2015-05-22 15:45:30 -050038config WKUP_M3_RPROC
39 tristate "AMx3xx Wakeup M3 remoteproc support"
40 depends on SOC_AM33XX || SOC_AM43XX
Peter Griffine41ddbc2016-10-18 10:39:08 +010041 depends on REMOTEPROC
Dave Gerlacha01bc0d2015-05-22 15:45:30 -050042 help
43 Say y here to support Wakeup M3 remote processor on TI AM33xx
44 and AM43xx family of SoCs.
45
46 Required for Suspend-to-RAM on AM33xx and AM43xx SoCs. Also needed
47 for deep CPUIdle states on AM33xx SoCs. Allows for loading of the
48 firmware onto these remote processors.
49 If unsure say N.
50
Robert Tivy13be5432013-04-09 14:20:21 -070051config DA8XX_REMOTEPROC
52 tristate "DA8xx/OMAP-L13x remoteproc support"
53 depends on ARCH_DAVINCI_DA8XX
Peter Griffine41ddbc2016-10-18 10:39:08 +010054 depends on REMOTEPROC
Arnd Bergmann8c094522014-04-11 18:14:26 +020055 select CMA if MMU
Bjorn Andersson026dad42016-09-01 15:27:59 -070056 select RPMSG_VIRTIO
Robert Tivy13be5432013-04-09 14:20:21 -070057 help
58 Say y here to support DA8xx/OMAP-L13x remote processors via the
59 remote processor framework.
60
61 You want to say y here in order to enable AMP
62 use-cases to run on your platform (multimedia codecs are
63 offloaded to remote DSP processors using this framework).
64
65 This module controls the name of the firmware file that gets
66 loaded on the DSP. This file must reside in the /lib/firmware
67 directory. It can be specified via the module parameter
68 da8xx_fw_name=<filename>, and if not specified will default to
69 "rproc-dsp-fw".
70
71 It's safe to say n here if you're not interested in multimedia
72 offloading.
73
Bjorn Anderssonb9e718e2016-08-22 22:57:44 -070074config QCOM_ADSP_PIL
75 tristate "Qualcomm ADSP Peripheral Image Loader"
76 depends on OF && ARCH_QCOM
Arnd Bergmanncc7d54b2016-11-16 09:47:31 +010077 depends on REMOTEPROC
Bjorn Anderssonb9e718e2016-08-22 22:57:44 -070078 depends on QCOM_SMEM
Bjorn Andersson395a4802017-03-27 22:26:34 -070079 depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)
Bjorn Anderssonb9e718e2016-08-22 22:57:44 -070080 select MFD_SYSCON
81 select QCOM_MDT_LOADER
Bjorn Anderssonbde440e2017-01-27 02:28:32 -080082 select QCOM_RPROC_COMMON
Arnd Bergmann8af1d632016-12-09 12:47:02 +010083 select QCOM_SCM
Bjorn Anderssonb9e718e2016-08-22 22:57:44 -070084 help
85 Say y here to support the TrustZone based Peripherial Image Loader
86 for the Qualcomm ADSP remote processors.
87
Bjorn Anderssonbde440e2017-01-27 02:28:32 -080088config QCOM_RPROC_COMMON
89 tristate
90
Bjorn Andersson051fb702016-06-20 14:28:41 -070091config QCOM_Q6V5_PIL
92 tristate "Qualcomm Hexagon V5 Peripherial Image Loader"
93 depends on OF && ARCH_QCOM
94 depends on QCOM_SMEM
Peter Griffine41ddbc2016-10-18 10:39:08 +010095 depends on REMOTEPROC
Bjorn Andersson395a4802017-03-27 22:26:34 -070096 depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)
Bjorn Andersson051fb702016-06-20 14:28:41 -070097 select MFD_SYSCON
Bjorn Anderssonbde440e2017-01-27 02:28:32 -080098 select QCOM_RPROC_COMMON
Arnd Bergmanne2a32b62016-12-09 12:47:02 +010099 select QCOM_SCM
Bjorn Andersson051fb702016-06-20 14:28:41 -0700100 help
101 Say y here to support the Qualcomm Peripherial Image Loader for the
102 Hexagon V5 based remote processors.
103
Bjorn Anderssonaed361a2016-08-12 18:18:59 -0700104config QCOM_WCNSS_PIL
105 tristate "Qualcomm WCNSS Peripheral Image Loader"
106 depends on OF && ARCH_QCOM
Bjorn Andersson395a4802017-03-27 22:26:34 -0700107 depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)
Bjorn Anderssonaed361a2016-08-12 18:18:59 -0700108 depends on QCOM_SMEM
Peter Griffinbb6869b2016-10-18 10:39:06 +0100109 depends on REMOTEPROC
Bjorn Anderssonaed361a2016-08-12 18:18:59 -0700110 select QCOM_MDT_LOADER
Bjorn Anderssonbde440e2017-01-27 02:28:32 -0800111 select QCOM_RPROC_COMMON
Bjorn Anderssonaed361a2016-08-12 18:18:59 -0700112 select QCOM_SCM
Bjorn Anderssonaed361a2016-08-12 18:18:59 -0700113 help
114 Say y here to support the Peripheral Image Loader for the Qualcomm
115 Wireless Connectivity Subsystem.
116
Lee Jones63edb032016-01-12 12:46:18 +0000117config ST_REMOTEPROC
118 tristate "ST remoteproc support"
119 depends on ARCH_STI
Peter Griffine41ddbc2016-10-18 10:39:08 +0100120 depends on REMOTEPROC
Loic Pallardy231c8df2017-01-31 13:35:54 +0100121 select MAILBOX
122 select STI_MBOX
123 select RPMSG_VIRTIO
Lee Jones63edb032016-01-12 12:46:18 +0000124 help
125 Say y here to support ST's adjunct processors via the remote
126 processor framework.
127 This can be either built-in or a loadable module.
128
Peter Griffinbb6869b2016-10-18 10:39:06 +0100129config ST_SLIM_REMOTEPROC
130 tristate
Peter Griffine41ddbc2016-10-18 10:39:08 +0100131 depends on REMOTEPROC
132
133endif # REMOTEPROC
Peter Griffinbb6869b2016-10-18 10:39:06 +0100134
Ohad Ben-Cohen650d6562011-12-14 13:01:59 +0200135endmenu