blob: 8f9cf0bc571ccb94ff67729d440be665f90a58ab [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 Annab97778592013-04-21 16:29:38 +03009 select VIRTUALIZATION
Ohad Ben-Cohen34ed5a32011-10-20 18:53:35 +020010
Peter Griffine41ddbc2016-10-18 10:39:08 +010011if REMOTEPROC
12
Ohad Ben-Cohen34ed5a32011-10-20 18:53:35 +020013config OMAP_REMOTEPROC
14 tristate "OMAP remoteproc support"
Sjur Brændelanda1a7e0a2012-09-13 20:03:58 +020015 depends on HAS_DMA
Vincent Stehlée5bc0292013-02-18 12:06:52 +010016 depends on ARCH_OMAP4 || SOC_OMAP5
Ohad Ben-Cohen9cd8eb42012-02-28 13:04:33 +020017 depends on OMAP_IOMMU
Peter Griffine41ddbc2016-10-18 10:39:08 +010018 depends on REMOTEPROC
Suman Annac869c752013-03-12 17:55:29 -050019 select MAILBOX
20 select OMAP2PLUS_MBOX
Bjorn Andersson026dad42016-09-01 15:27:59 -070021 select RPMSG_VIRTIO
Ohad Ben-Cohen34ed5a32011-10-20 18:53:35 +020022 help
23 Say y here to support OMAP's remote processors (dual M3
24 and DSP on OMAP4) via the remote processor framework.
25
26 Currently only supported on OMAP4.
27
28 Usually you want to say y here, in order to enable multimedia
29 use-cases to run on your platform (multimedia codecs are
30 offloaded to remote DSP processors using this framework).
31
32 It's safe to say n here if you're not interested in multimedia
33 offloading or just want a bare minimum kernel.
Ohad Ben-Cohen650d6562011-12-14 13:01:59 +020034
Dave Gerlacha01bc0d2015-05-22 15:45:30 -050035config WKUP_M3_RPROC
36 tristate "AMx3xx Wakeup M3 remoteproc support"
37 depends on SOC_AM33XX || SOC_AM43XX
Peter Griffine41ddbc2016-10-18 10:39:08 +010038 depends on REMOTEPROC
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
Peter Griffine41ddbc2016-10-18 10:39:08 +010051 depends on REMOTEPROC
Arnd Bergmann8c094522014-04-11 18:14:26 +020052 select CMA if MMU
Bjorn Andersson026dad42016-09-01 15:27:59 -070053 select RPMSG_VIRTIO
Robert Tivy13be5432013-04-09 14:20:21 -070054 help
55 Say y here to support DA8xx/OMAP-L13x remote processors via the
56 remote processor framework.
57
58 You want to say y here in order to enable AMP
59 use-cases to run on your platform (multimedia codecs are
60 offloaded to remote DSP processors using this framework).
61
62 This module controls the name of the firmware file that gets
63 loaded on the DSP. This file must reside in the /lib/firmware
64 directory. It can be specified via the module parameter
65 da8xx_fw_name=<filename>, and if not specified will default to
66 "rproc-dsp-fw".
67
68 It's safe to say n here if you're not interested in multimedia
69 offloading.
70
Bjorn Anderssonb9e718e2016-08-22 22:57:44 -070071config QCOM_ADSP_PIL
72 tristate "Qualcomm ADSP Peripheral Image Loader"
73 depends on OF && ARCH_QCOM
Arnd Bergmanncc7d54b2016-11-16 09:47:31 +010074 depends on REMOTEPROC
Bjorn Anderssonb9e718e2016-08-22 22:57:44 -070075 depends on QCOM_SMEM
76 select MFD_SYSCON
77 select QCOM_MDT_LOADER
Arnd Bergmann8af1d632016-12-09 12:47:02 +010078 select QCOM_SCM
Bjorn Anderssonb9e718e2016-08-22 22:57:44 -070079 help
80 Say y here to support the TrustZone based Peripherial Image Loader
81 for the Qualcomm ADSP remote processors.
82
Bjorn Andersson051fb702016-06-20 14:28:41 -070083config QCOM_MDT_LOADER
84 tristate
85
86config QCOM_Q6V5_PIL
87 tristate "Qualcomm Hexagon V5 Peripherial Image Loader"
88 depends on OF && ARCH_QCOM
89 depends on QCOM_SMEM
Peter Griffine41ddbc2016-10-18 10:39:08 +010090 depends on REMOTEPROC
Bjorn Andersson051fb702016-06-20 14:28:41 -070091 select MFD_SYSCON
92 select QCOM_MDT_LOADER
Arnd Bergmanne2a32b62016-12-09 12:47:02 +010093 select QCOM_SCM
Bjorn Andersson051fb702016-06-20 14:28:41 -070094 help
95 Say y here to support the Qualcomm Peripherial Image Loader for the
96 Hexagon V5 based remote processors.
97
Bjorn Anderssonaed361a2016-08-12 18:18:59 -070098config QCOM_WCNSS_PIL
99 tristate "Qualcomm WCNSS Peripheral Image Loader"
100 depends on OF && ARCH_QCOM
Arnd Bergmannc496f672016-11-18 17:15:06 +0100101 depends on QCOM_SMD || (COMPILE_TEST && QCOM_SMD=n)
Bjorn Anderssonaed361a2016-08-12 18:18:59 -0700102 depends on QCOM_SMEM
Peter Griffinbb6869b2016-10-18 10:39:06 +0100103 depends on REMOTEPROC
Bjorn Anderssonaed361a2016-08-12 18:18:59 -0700104 select QCOM_MDT_LOADER
105 select QCOM_SCM
Bjorn Anderssonaed361a2016-08-12 18:18:59 -0700106 help
107 Say y here to support the Peripheral Image Loader for the Qualcomm
108 Wireless Connectivity Subsystem.
109
Lee Jones63edb032016-01-12 12:46:18 +0000110config ST_REMOTEPROC
111 tristate "ST remoteproc support"
112 depends on ARCH_STI
Peter Griffine41ddbc2016-10-18 10:39:08 +0100113 depends on REMOTEPROC
Lee Jones63edb032016-01-12 12:46:18 +0000114 help
115 Say y here to support ST's adjunct processors via the remote
116 processor framework.
117 This can be either built-in or a loadable module.
118
Peter Griffinbb6869b2016-10-18 10:39:06 +0100119config ST_SLIM_REMOTEPROC
120 tristate
Peter Griffine41ddbc2016-10-18 10:39:08 +0100121 depends on REMOTEPROC
122
123endif # REMOTEPROC
Peter Griffinbb6869b2016-10-18 10:39:06 +0100124
Ohad Ben-Cohen650d6562011-12-14 13:01:59 +0200125endmenu