#
# HOBOT BPU drivers
#
menuconfig HOBOT_BPU
	bool "HOBOT BPU subsystem support"

if HOBOT_BPU

config BPU
	tristate "BPU framework driver"
	default y
	help
	  Say y here to support the hobot BPU(Brain Processing Unit)

	  If unsure, say N.

config BPU_ONDEMAND_GOVERNOR
	tristate "BPU OnDemand Governor"
	depends on PM_DEVFREQ
	depends on BPU
	default m
	help
	  Say y here to support BPU ondemand governor

	  If unsure, say y.

config BPU_CORE
	tristate "BPU Cores driver"
	depends on BPU
	default n
	help
	  Say y here to support the hobot BPU(Brain Processing Unit)

	  If unsure, say N.

config BPU_HW_IO
	tristate "BPU Hardware IO driver"
	depends on BPU
	depends on BPU_CORE
	default n
	help
	  Say y here to support the hobot BPU(Brain Processing Unit)

	  If unsure, say N.

if BPU_HW_IO

choice
	bool "BPU core type"
	default X2_BPU if (SOC_X2_MP)
	default ULTRAP_BPU if (HOBOT_ULTRA)

config X2_BPU
	bool "HOBOT X2 SOC BPU support"
	depends on BPU
	help
	  Say y here to support bpu on hobot x2/j2 soc

	  If unsure, say N.

config X3_BPU
	bool "HOBOT X3 SOC BPU support"
	depends on BPU
	help
	  Say y here to support bpu on hobot x3/j3 soc

	  If unsure, say N.

config ULTRA_BPU
	bool "HOBOT ULTRA SOC BPU support"
	depends on BPU
	help
	  Say y here to support bpu on hobot ultra soc

	  If unsure, say N.

config ULTRAP_BPU
	bool "HOBOT ULTRAP SOC BPU support"
	depends on BPU
	help
	  Say y here to support bpu on hobot ultrap soc

	  If unsure, say N.

config SUPER_BPU
	bool "HOBOT Super SOC BPU support"
	depends on BPU
	help
	  Say y here to support bpu on hobot super soc

	  If unsure, say N.

endchoice
endif # BPU_HW_IO

config BPU_PRIO_NUM
	int "priority level number supported by BPU"
	depends on BPU
	range 1 8
	default 8
	depends on BPU_CORE
	help
	  Number of prioritys BPU support
	  if larger than soc default, use software
	  Priority mechanism, else by soc support.

endif # HOBOT_BPU
