config ECS_DRIVER
	bool
	depends on VIDEO_V4L2 && SOC_CAMERA
	default n
	help
	  Essential Camera Sensor(AKA: ECS) is a abstract description of
	  camera sensors. Can be used to creat a specific camera sensor
	  driver, like ov5640 driver.

config ECS_DRIVER_SUBDEV
	bool "Essential Camera Sensor V4L2-subdev interface"
	select ECS_DRIVER
	default n
	help
	  V4L2 subdev helper functions to implement subdev-like sensor
	  driver

config SOC_CAMERA_OV5640_ECS
	tristate "ov5640 support based on ECS"
	depends on ECS_DRIVER_SUBDEV
	default n
	help
		Support for the OmniVision OV5640 5M camera sensor.

config SOC_CAMERA_GC2035_ECS
	tristate "gc2035 support based on ECS"
	depends on ECS_DRIVER_SUBDEV
	select SENSOR_DELAY_REQUESET_FOR_STREAM
	default n
	help
		Support for the gc2035 2M camera sensor.
config SOC_CAMERA_GC2145_ECS
	tristate "gc2145 support based on ECS"
	depends on ECS_DRIVER_SUBDEV
	default n
	help
		Support for the gc2145 camera sensor.
config SOC_CAMERA_GC0310_ECS
	tristate "gc0310 support based on ECS"
	depends on ECS_DRIVER_SUBDEV
	default n
	help
		Support for the gc0310 camera sensor.

config SOC_CAMERA_SP0A20_ECS
	tristate "sp0a20 support based on ECS"
	depends on ECS_DRIVER_SUBDEV
	default n
	help
		Support for the sp0a20 camera sensor.

config SOC_CAMERA_BF3905_ECS
	tristate "bf3905 support based on ECS"
	depends on ECS_DRIVER_SUBDEV
	default n
	help
		Support for the bf3905 0.3M camera sensor.
		
config SOC_CAMERA_OV7695_ECS
	tristate "ov7695 support based on ECS"
	depends on ECS_DRIVER_SUBDEV
	default n
	help
		Support for the ov7695 0.3M camera sensor.

config SOC_CAMERA_SP2529_ECS
	tristate "sp2529 support based on ECS"
	depends on ECS_DRIVER_SUBDEV
	default n
	help
		Support for the sp2529 2M camera sensor.

config SOC_CAMERA_GC2145_ECS_ONLY_FLIP
	tristate "gc2145 flip flag"
	depends on SOC_CAMERA_GC2145_ECS
	default n
	help
		select flip for the gc2145 2M camera sensor.

config SOC_CAMERA_GC2145_ECS_ONLY_MIRROR
	tristate "gc2145 mirror flag"
	depends on SOC_CAMERA_GC2145_ECS
	default n
	help
		select mirror for the gc2145 2M camera sensor.

config SOC_CAMERA_GC2145_ECS_FLIP_MIRROR
	tristate "gc2145 flip and mirror flag"
	depends on SOC_CAMERA_GC2145_ECS
	default n
	help
		select flip and mirror for the gc2145 2M camera sensor.
		
config SOC_CAMERA_OV2685_ECS
	tristate "ov2685 support based on ECS"
	depends on ECS_DRIVER_SUBDEV
	default n
	help
		Support for the ov2685 2M camera sensor.
		
config SENSOR_DELAY_REQUESET_FOR_STREAM
	tristate "sensor need delay after stream on/off"
	default n
	help
		Support to add delay for sensor stream on/off.