menu "Amlogic Camera Support"

config AMLOGIC_VIDEO_CAPTURE
	tristate "Amlogic Platform Capture Driver"
	depends on !SPARC32 && !SPARC64 &&!AMLOGIC_CAMERA_ENABLE
	select VIDEOBUF_VMALLOC
	depends on MEDIA_SUPPORT
	depends on VIDEO_DEV
	depends on VIDEO_V4L2
	default n
	help
	  Amlogic capture driver interface in v4l style.
	  it can not work well together with
	  AMLOGIC_CAMERA_ENABLE
	  Say Y here if you want this driver.

config AMLOGIC_CAPTURE_FRAME_ROTATE
	bool "Enable function to support frame rotation"
	depends on AMLOGIC_VIDEO_CAPTURE
	default n
	help
	  It will support frame rotation when enable this config
	  It will support frame rotation when enable this config
	  It will support frame rotation when enable this config
	  It will support frame rotation when enable this config

config AMLOGIC_VM_DISABLE_VIDEOLAYER
	bool "Force disable Videolayer when use vm"
	depends on AMLOGIC_VIDEO_CAPTURE
	default n
	help
    It will disable amvideo provider when enable this config
    It will disable amvideo provider when enable this config
    It will disable amvideo provider when enable this config
    It will disable amvideo provider when enable this config

config AMLOGIC_VIDEO_CAPTURE_PROBE
	bool "Force check whether camera devices exist"
	depends on AMLOGIC_VIDEO_CAPTURE
	default n
	help
	  Probe whether the camera devices exist by trying to read its
	  i2c port. It may cost some time, say Y here if you want it.
	  Probe whether the camera devices exist by trying to read its
	  i2c port. It may cost some time, say Y here if you want it.

config AMLCAP_LOG_TIME_USEFORFRAMES
	bool "Print Out The Time(ms) For Process A Frame"
	depends on AMLOGIC_VIDEO_CAPTURE
	default n
	help
	  Print out the time used for process a frame, only for developers.
	  Print out the time used for process a frame, only for developers.
	  Print out the time used for process a frame, only for developers.
	  Print out the time used for process a frame, only for developers.

config AMLOGIC_VIDEO_CAPTURE_GC2145_MIPI
	tristate "Amlogic Platform Capture Driver for GC2145_MIPI"
	depends on AMLOGIC_VIDEO_CAPTURE
	default n
	help
	  Amlogic capture driver.
	  Say Y here if you want this driver.
	  Amlogic capture driver.
	  Say Y here if you want this driver.

config AMLOGIC_VIDEO_CAPTURE_OV5640
	tristate "Amlogic Platform Capture Driver for OV5640"
	depends on AMLOGIC_MEDIA_TVIN
	depends on AMLOGIC_MEDIA_TVIN_BT656
	depends on AMLOGIC_MEDIA_VDIN
	default n
	help
	  Amlogic capture driver.
	  Say Y here if you want this driver.
	  Amlogic capture driver.
	  Say Y here if you want this driver.

choice
	prompt "OV5642 AUTO FOCUS FIRMWARE"
	depends on AMLOGIC_VIDEO_CAPTURE_OV5642
	default NO_AUTO_FOCUS

config NO_AUTO_FOCUS
	bool "NONE"
	help
	  no auto focus
	  no auto focus
	  no auto focus
	  no auto focus

config AD5820
	bool "AD5820"
	help
	  AD5820
	  AD5820
	  AD5820
	  AD5820

config DW9714
	bool "DW9714"
	help
	  DW9714
	  DW9714
	  DW9714
	  DW9714

config AP5120
	bool "AP5120"
	help
	  AP5120
	  AP5120
	  AP5120
	  AP5120

endchoice

config AMLOGIC_MEDIA_CAMERA_UTILS
	tristate "Amlogic camera utils"
	default n
	help
		Select to enable camera utils.

endmenu
