sdk-hwV1.3/lichee/linux-4.9/drivers/remoteproc/Kconfig

194 lines
5.3 KiB
Plaintext

menu "Remoteproc drivers"
# REMOTEPROC gets selected by whoever wants it
config REMOTEPROC
tristate
depends on HAS_DMA
select CRC32
select FW_LOADER
select VIRTIO
select VIRTUALIZATION
config OMAP_REMOTEPROC
tristate "OMAP remoteproc support"
depends on HAS_DMA
depends on ARCH_OMAP4 || SOC_OMAP5
depends on OMAP_IOMMU
select REMOTEPROC
select MAILBOX
select OMAP2PLUS_MBOX
select RPMSG_VIRTIO
help
Say y here to support OMAP's remote processors (dual M3
and DSP on OMAP4) via the remote processor framework.
Currently only supported on OMAP4.
Usually you want to say y here, in order to enable multimedia
use-cases to run on your platform (multimedia codecs are
offloaded to remote DSP processors using this framework).
It's safe to say n here if you're not interested in multimedia
offloading or just want a bare minimum kernel.
config STE_MODEM_RPROC
tristate "STE-Modem remoteproc support"
depends on HAS_DMA
select REMOTEPROC
default n
help
Say y or m here to support STE-Modem shared memory driver.
This can be either built-in or a loadable module.
If unsure say N.
menuconfig SUNXI_RPROC
tristate "SUNXI remote processor support"
select REMOTEPROC
depends on ARCH_SUNXI && SUNXI_MBOX
default n
help
Say y or m here to support SUNXI remote processor
shared memory driver.
This can be either built-in or a loadable module.
If unsure say N.
config SUNXI_RPROC_SHARE_IRQ
bool "SUNXI remote share irq support"
depends on SUNXI_RPROC
default n
help
Say y or m here to support SUNXI remote share irq
driver.
config SUNXI_RPROC_FASTBOOT
bool "SUNXI remote processor fastboot support"
depends on SUNXI_RPROC
default n
help
Say y or m here to support SUNXI remote processor
fastboot driver.
This can be speed up init time.
config SUNXI_RPROC_BOOT_PACKAGE
bool "SUNXI remote processor boot from boot_package"
depends on SUNXI_RPROC
default n if !SUNXI_RPROC_FASTBOOT
default y if SUNXI_RPROC_FASTBOOT
help
Say y or m here to support SUNXI remote processor
boot from boot_package.fex.
This can be speed up init time.
config SUNXI_RPROC_TRACE_DEV
bool "SUNXI remote processor trace drivers support"
depends on SUNXI_RPROC
default y
help
Say y or m here to support SUNXI remote processor
trace drivers support.
config SUNXI_RPROC_RT_THREAD_PRIO
int "sunxi remoteproc thread priority"
range 0 99
default 90
depends on SUNXI_REMOTEPROC_RT_THREAD
help
change the rt-thread priority for rproc.
99 is higiest priority.
trace drivers support.
choice
prompt "Allwinner remoteproc boot select"
config SUNXI_REMOTEPROC_E907_BOOT
bool "Allwinner remoteproc e907 boot"
depends on SUNXI_RPROC
help
Say y here to support Allwinner SOC processors e906 via
remote processor framework.
config SUNXI_REMOTEPROC_HIFI4_BOOT
bool "Allwinner remoteproc hifi4 boot"
depends on SUNXI_RPROC
help
Say y here to support Allwinner SOC processors hifi4 via
remote processor framework.
endchoice
choice
prompt "Allwinner remoteproc callback implementation"
default SUNXI_REMOTEPROC_WQ
config SUNXI_REMOTEPROC_WQ
bool "workqueue implementation"
depends on SUNXI_RPROC
config SUNXI_REMOTEPROC_RT_THREAD
bool "real-time thread implementation"
depends on SUNXI_RPROC
endchoice
config WKUP_M3_RPROC
tristate "AMx3xx Wakeup M3 remoteproc support"
depends on SOC_AM33XX || SOC_AM43XX
select REMOTEPROC
help
Say y here to support Wakeup M3 remote processor on TI AM33xx
and AM43xx family of SoCs.
Required for Suspend-to-RAM on AM33xx and AM43xx SoCs. Also needed
for deep CPUIdle states on AM33xx SoCs. Allows for loading of the
firmware onto these remote processors.
If unsure say N.
config DA8XX_REMOTEPROC
tristate "DA8xx/OMAP-L13x remoteproc support"
depends on ARCH_DAVINCI_DA8XX
select CMA if MMU
select REMOTEPROC
select RPMSG_VIRTIO
help
Say y here to support DA8xx/OMAP-L13x remote processors via the
remote processor framework.
You want to say y here in order to enable AMP
use-cases to run on your platform (multimedia codecs are
offloaded to remote DSP processors using this framework).
This module controls the name of the firmware file that gets
loaded on the DSP. This file must reside in the /lib/firmware
directory. It can be specified via the module parameter
da8xx_fw_name=<filename>, and if not specified will default to
"rproc-dsp-fw".
It's safe to say n here if you're not interested in multimedia
offloading.
config QCOM_MDT_LOADER
tristate
config QCOM_Q6V5_PIL
tristate "Qualcomm Hexagon V5 Peripherial Image Loader"
depends on OF && ARCH_QCOM
depends on QCOM_SMEM
select MFD_SYSCON
select QCOM_MDT_LOADER
select REMOTEPROC
help
Say y here to support the Qualcomm Peripherial Image Loader for the
Hexagon V5 based remote processors.
config QCOM_WCNSS_PIL
tristate "Qualcomm WCNSS Peripheral Image Loader"
depends on OF && ARCH_QCOM
depends on QCOM_SMEM
select QCOM_MDT_LOADER
select QCOM_SCM
select REMOTEPROC
help
Say y here to support the Peripheral Image Loader for the Qualcomm
Wireless Connectivity Subsystem.
config ST_REMOTEPROC
tristate "ST remoteproc support"
depends on ARCH_STI
select REMOTEPROC
help
Say y here to support ST's adjunct processors via the remote
processor framework.
This can be either built-in or a loadable module.
endmenu