#
# Novatek SoC drivers
#
menu "NovaTek SoC drivers"
	depends on ARCH_NVT_IVOT_V7 || ARCH_NVT_IVOT_V8

source "drivers/soc/nvt/plat-novatek/Kconfig"

config NVT_OTP_SUPPORT
	bool "NVT OTP(one time programmable) support"
	depends on ARCH_NVT_IVOT_V7 || ARCH_NVT_IVOT_V8
	default y
	help
	  This option will configure the NVT OTP(one time programmable) function which can be used call OTP api.

config NVT_OTP_EP_SUPPORT
	tristate "NVT OTP EP(one time programmable) support"
	depends on (ARCH_NVT_IVOT_V7 || ARCH_NVT_IVOT_V8)
	depends on NVT_IVOT_PLAT_NA51090
	default n
	help
	  This option will configure the NVT OTP(one time programmable) function which can be used call OTP api.

config NVT_HDAL_BUILD_IN
	bool "Novatek IVOT HDAL for Media device drivers support"
	depends on ARCH_NVT_IVOT_V7 || ARCH_NVT_IVOT_V8
	select NVT_VOS_KWRAP
	select NVT_HDAL_KDRV_BUILTIN
	default n
	help
	  Enable this option will let a part of your hdal driver link to uImage
	  You could select which module want to link in the submenu.

config NVT_PERF_MEASURE
        bool "Enable nvt_perf driver for ivot Linux kernel performance measurement"
        depends on ARCH_NVT_IVOT_V7 || ARCH_NVT_IVOT_V8
        default n
        help
                Enable nvt_perf driver for ivot Linux kernel performance measurement

config NVT_PROFILER
	bool "Novatek Profilers"
	depends on ARM || ARM64
	depends on FTRACE
	select KPROBES
	select KRETPROBES
	select EVENT_TRACING
	default n

config NVT_LOGFILE
	tristate "Novatek LOGFILE message log system"
	depends on DMA_SHARED_BUFFER
	default n
	help
	  Store serial messages into a memory buffer.
	  Logs are temporarily saved in the kernel memory for debug.

config NVT_STBC_SUPPORT
	bool "NVT stbc(stand by control) support"
	depends on ARCH_NVT_IVOT_V7 || ARCH_NVT_IVOT_V8
	depends on NVT_IVOT_PLAT_NA51102
	default n
	help
	  This option will configure the NVT stbc(stand by control) function which can be used call stbc api.

config NVT_FAST_SMP_FLOW
        bool "NVT fast boot SMP flow"
        depends on HOTPLUG_CPU && NVT_IVOT_PLAT_NA51102
        default n
        help
          This option will configure fast boot SMP.

source "drivers/soc/nvt/basic/Kconfig"

if NVT_HDAL_BUILD_IN
source "drivers/soc/nvt/nvt_hdal/Kconfig"
endif

endmenu
