# SPDX-License-Identifier: GPL-2.0-only

config TRINITY
	bool "SR Neural Processing Unit Driver"
	default n
	help
		Select this option to enable driver support for Samsung
		Research (SR) Neural Processing Unit (NPU). This driver works
		as a base driver of the other drivers for Trinity device family
		so that this option should be enabled to support Trinity
		Vision (TRIV), Trinity Vision 2 (TRIV2), and Trinity Audio
		(TRIA).

config TRINITY_HWMEM
	bool "Trinity DMA Buffer Manager"
	depends on TRINITY
	default n
	help
		Choose this option to enable the Trinity DMA buffer manager,
		used by Trinity device drivers to allocate DMA buffers. This
		enables userspace programs to allocate DMA buffers via the
		Trinity device nodes such as /dev/triv-N and /dev/triv2-N.

config TRINITY_SCHED
	bool "Trinity Task Scheduler"
	depends on TRINITY
	default n
	help
		Choose this option to enable the Trinity Task Scheduler.

config TRINITY_SCHED_SR
	bool "Trinity Task Schduler by Samsung Research"
	depends on TRINITY_SCHED
	default n
	help
		Choose this option to enable SR Task Scheduler via the
		Trinity Task Scheduler.

config TRINITY_VISION2
	tristate "SR Tinity Vision 2 Driver"
	depends on TRINITY && TRINITY_HWMEM
	default n
	help
		Select this option to enable driver support for a Samsung
		Research (SR) Neural Processing Unit (NPU), Tinity Vision 2.
		This driver enables userspace system library to access the
		device via /dev/triv2-N.

config TRINITY_SYSFS
	bool "Trinity SYSFS support"
	depends on TRINITY && SYSFS
	default n
	help
		Choose this option to enable the Trinity SYSFS interface.

config TRINITY_DEBUG
	bool "Debugging capability for trinity drivers including debugfs"
	depends on TRINITY && DEBUG_FS
	default n
	help
		Select this option to enable debugging support for a Samsung
		Research (SR) Neural Processing Unit (NPU).

config TRINITY_MONITOR
	bool "Device status monitor for trinity drivers"
	depends on TRINITY
	default n
	help
		Select this option to enable device monitor support for a Samsung
		Research (SR) Neural Processing Unit (NPU).

config TRINITY_FPGA
	bool "Enable some workaround codes for FPGA envionment"
	depends on TRINITY_VISION2 && TRINITY_HWMEM
	default n
	help
		Select this option to enable FPGA-workaround codes.

config TRINITY_FPGA_DEBUG
	bool "Enable debugging mode for FPGA envionment"
	depends on TRINITY_FPGA
	default n
	help
		Select this option to enable FPGA debugging mode.

choice
	prompt "Select supported platform"
	depends on TRINITY
	default TRINITY_SUPPORT_FVP

config TRINITY_SUPPORT_FVP
	bool "Arm FVP support"

config TRINITY_SUPPORT_FPGA
	depends on TRINITY_FGPA
	bool "Xilinx FPGA support"

endchoice
