# SPDX-License-Identifier: GPL-2.0-only
menu "Remoteproc drivers"

if REMOTEPROC

config DEVICE_MODULES_MTK_SCP
	tristate "Mediatek SCP support"
	depends on ARCH_MEDIATEK || COMPILE_TEST
	help
	  Say y here to support Mediatek's
	  System Companion Processor (SCP) via
	  the remote processor framework.

	  It's safe to say N here.

config MTK_SCP_TINYSYS_IPI
	tristate "Mediatek SCP TINYSYS IPI support"
	depends on MTK_IPI && MTK_MBOX
	depends on DEVICE_MODULES_MTK_SCP
	help
	  Say y here to support Mediatek's
	  Tinysys Inter Processor Interrupt (IPI) via
	  MTK MBOX framewrok.

	  It's safe to say N here.

config MTK_CCD_REMOTEPROC
	tristate "MediaTek CCD driver"
	depends on RPMSG_MTK_CCD
	help
	  Say y here to enable support communication channels to remote
	  processors in MediaTek platforms. This uses MTK ccd driver to
	  communicate with Camera Control Daemon base on rpmsg framework. It
	  provide channels, endpoints creation and send operations.

config MTK_CCU_RPROC
	tristate "MediaTek CCU driver"
	depends on RPMSG_MTK_CCD
	help
	  Say y here to support Camera Control Unit's remote processors via
	  the remote processor framework. Support MTK Camera module using
	  CCU hardware to do hard-real time task. Offers speed up of 3A,
	  including faster control flow and stabler frame rate

config MTK_CCU_DEBUG
	bool "Debugging log for Mediatek CCU"
	depends on MTK_CCU_RPROC
	help
	  Select this to output the CCU uP log message on
	  engeering load or user debug load.The user space
	  logging procedure mmaps the ccu_rproc node.
	  For security concerns, register ccu_rproc node
	  only on engeering load or user debug load.

	  If unsure, say N.

endif # REMOTEPROC

endmenu
