Merge remote-tracking branch 'aosp/android-3.0' into develop-3.0-jb
[firefly-linux-kernel-4.4.55.git] / drivers / media / video / Kconfig
index b63c26c508d4281d2c26371149bd96ccd18e2e1c..ea7897b4ac1b6d8828bd6195f42e4ee9abe50aaf 100755 (executable)
@@ -7,11 +7,6 @@ config VIDEO_V4L2
        depends on VIDEO_DEV && VIDEO_V4L2_COMMON
        default VIDEO_DEV && VIDEO_V4L2_COMMON
 
-config VIDEO_V4L1
-       tristate
-       depends on VIDEO_DEV && VIDEO_V4L2_COMMON && VIDEO_ALLOW_V4L1
-       default VIDEO_DEV && VIDEO_V4L2_COMMON && VIDEO_ALLOW_V4L1
-
 config VIDEOBUF_GEN
        tristate
 
@@ -37,10 +32,6 @@ config VIDEO_BTCX
        depends on PCI
        tristate
 
-config VIDEO_IR
-       tristate
-       depends on INPUT
-
 config VIDEO_TVEEPROM
        tristate
        depends on I2C
@@ -49,6 +40,32 @@ config VIDEO_TUNER
        tristate
        depends on MEDIA_TUNER
 
+config V4L2_MEM2MEM_DEV
+       tristate
+       depends on VIDEOBUF2_CORE
+
+config VIDEOBUF2_CORE
+       tristate
+
+config VIDEOBUF2_MEMOPS
+       tristate
+
+config VIDEOBUF2_DMA_CONTIG
+       select VIDEOBUF2_CORE
+       select VIDEOBUF2_MEMOPS
+       tristate
+
+config VIDEOBUF2_VMALLOC
+       select VIDEOBUF2_CORE
+       select VIDEOBUF2_MEMOPS
+       tristate
+
+
+config VIDEOBUF2_DMA_SG
+       #depends on HAS_DMA
+       select VIDEOBUF2_CORE
+       select VIDEOBUF2_MEMOPS
+       tristate
 #
 # Multimedia Video device configuration
 #
@@ -84,7 +101,7 @@ config VIDEO_FIXED_MINOR_RANGES
 
 config VIDEO_HELPER_CHIPS_AUTO
        bool "Autoselect pertinent encoders/decoders and other helper chips"
-       default y
+       default y if !EXPERT
        ---help---
          Most video cards may require additional modules to encode or
          decode audio/video standards. This option will autoselect
@@ -97,7 +114,7 @@ config VIDEO_HELPER_CHIPS_AUTO
 
 config VIDEO_IR_I2C
        tristate "I2C module for IR" if !VIDEO_HELPER_CHIPS_AUTO
-       depends on I2C && VIDEO_IR
+       depends on I2C && RC_CORE
        default y
        ---help---
          Most boards have an IR chip directly connected via GPIO. However,
@@ -112,10 +129,10 @@ config VIDEO_IR_I2C
 # Encoder / Decoder module configuration
 #
 
-menu "Encoders/decoders and other helper chips"
-       depends on !VIDEO_HELPER_CHIPS_AUTO
+menu "Encoders, decoders, sensors and other helper chips"
+       visible if !VIDEO_HELPER_CHIPS_AUTO
 
-comment "Audio decoders"
+comment "Audio decoders, processors and mixers"
 
 config VIDEO_TVAUDIO
        tristate "Simple audio decoder chips"
@@ -147,15 +164,6 @@ config VIDEO_TDA9840
          To compile this driver as a module, choose M here: the
          module will be called tda9840.
 
-config VIDEO_TDA9875
-       tristate "Philips TDA9875 audio processor"
-       depends on VIDEO_V4L2 && I2C
-       ---help---
-         Support for tda9875 audio decoder chip found on some bt8xx boards.
-
-         To compile this driver as a module, choose M here: the
-         module will be called tda9875.
-
 config VIDEO_TEA6415C
        tristate "Philips TEA6415C audio processor"
        depends on I2C
@@ -203,15 +211,6 @@ config VIDEO_CS53L32A
          To compile this driver as a module, choose M here: the
          module will be called cs53l32a.
 
-config VIDEO_M52790
-       tristate "Mitsubishi M52790 A/V switch"
-       depends on VIDEO_V4L2 && I2C
-       ---help---
-        Support for the Mitsubishi M52790 A/V switch.
-
-        To compile this driver as a module, choose M here: the
-        module will be called m52790.
-
 config VIDEO_TLV320AIC23B
        tristate "Texas Instruments TLV320AIC23B audio codec"
        depends on VIDEO_V4L2 && I2C && EXPERIMENTAL
@@ -314,29 +313,6 @@ config VIDEO_KS0127
          To compile this driver as a module, choose M here: the
          module will be called ks0127.
 
-config VIDEO_OV7670
-       tristate "OmniVision OV7670 sensor support"
-       depends on I2C && VIDEO_V4L2
-       ---help---
-         This is a Video4Linux2 sensor-level driver for the OmniVision
-         OV7670 VGA camera.  It currently only works with the M88ALP01
-         controller.
-
-config VIDEO_MT9V011
-       tristate "Micron mt9v011 sensor support"
-       depends on I2C && VIDEO_V4L2
-       ---help---
-         This is a Video4Linux2 sensor-level driver for the Micron
-         mt0v011 1.3 Mpixel camera.  It currently only works with the
-         em28xx driver.
-
-config VIDEO_TCM825X
-       tristate "TCM825x camera sensor support"
-       depends on I2C && VIDEO_V4L2
-       ---help---
-         This is a driver for the Toshiba TCM825x VGA camera sensor.
-         It is used for example in Nokia N800.
-
 config VIDEO_SAA7110
        tristate "Philips SAA7110 video decoder"
        depends on VIDEO_V4L2 && I2C
@@ -355,18 +331,9 @@ config VIDEO_SAA711X
          To compile this driver as a module, choose M here: the
          module will be called saa7115.
 
-config VIDEO_SAA717X
-       tristate "Philips SAA7171/3/4 audio/video decoders"
-       depends on VIDEO_V4L2 && I2C
-       ---help---
-         Support for the Philips SAA7171/3/4 audio/video decoders.
-
-         To compile this driver as a module, choose M here: the
-         module will be called saa717x.
-
 config VIDEO_SAA7191
        tristate "Philips SAA7191 video decoder"
-       depends on VIDEO_V4L1 && I2C
+       depends on VIDEO_V4L2 && I2C
        ---help---
          Support for the Philips SAA7191 video decoder.
 
@@ -393,6 +360,15 @@ config VIDEO_TVP5150
          To compile this driver as a module, choose M here: the
          module will be called tvp5150.
 
+config VIDEO_TVP7002
+       tristate "Texas Instruments TVP7002 video decoder"
+       depends on VIDEO_V4L2 && I2C
+       ---help---
+         Support for the Texas Instruments TVP7002 video decoder.
+
+         To compile this driver as a module, choose M here: the
+         module will be called tvp7002.
+
 config VIDEO_VPX3220
        tristate "vpx3220a, vpx3216b & vpx3214c video decoders"
        depends on VIDEO_V4L2 && I2C
@@ -404,6 +380,15 @@ config VIDEO_VPX3220
 
 comment "Video and audio decoders"
 
+config VIDEO_SAA717X
+       tristate "Philips SAA7171/3/4 audio/video decoders"
+       depends on VIDEO_V4L2 && I2C
+       ---help---
+         Support for the Philips SAA7171/3/4 audio/video decoders.
+
+         To compile this driver as a module, choose M here: the
+         module will be called saa717x.
+
 source "drivers/media/video/cx25840/Kconfig"
 
 comment "MPEG video encoders"
@@ -458,15 +443,6 @@ config VIDEO_ADV7175
          To compile this driver as a module, choose M here: the
          module will be called adv7175.
 
-config VIDEO_THS7303
-       tristate "THS7303 Video Amplifier"
-       depends on I2C
-       help
-         Support for TI THS7303 video amplifier
-
-         To compile this driver as a module, choose M here: the
-         module will be called ths7303.
-
 config VIDEO_ADV7343
        tristate "ADV7343 video encoder"
        depends on I2C
@@ -476,6 +452,44 @@ config VIDEO_ADV7343
          To compile this driver as a module, choose M here: the
          module will be called adv7343.
 
+config VIDEO_AK881X
+       tristate "AK8813/AK8814 video encoders"
+       depends on I2C
+       help
+         Video output driver for AKM AK8813 and AK8814 TV encoders
+
+comment "Camera sensor devices"
+
+config VIDEO_OV7670
+       tristate "OmniVision OV7670 sensor support"
+       depends on I2C && VIDEO_V4L2
+       ---help---
+         This is a Video4Linux2 sensor-level driver for the OmniVision
+         OV7670 VGA camera.  It currently only works with the M88ALP01
+         controller.
+
+config VIDEO_MT9V011
+       tristate "Micron mt9v011 sensor support"
+       depends on I2C && VIDEO_V4L2
+       ---help---
+         This is a Video4Linux2 sensor-level driver for the Micron
+         mt0v011 1.3 Mpixel camera.  It currently only works with the
+         em28xx driver.
+
+config VIDEO_MT9V032
+       tristate "Micron MT9V032 sensor support"
+       depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
+       ---help---
+         This is a Video4Linux2 sensor-level driver for the Micron
+         MT9V032 752x480 CMOS sensor.
+
+config VIDEO_TCM825X
+       tristate "TCM825x camera sensor support"
+       depends on I2C && VIDEO_V4L2
+       ---help---
+         This is a driver for the Toshiba TCM825x VGA camera sensor.
+         It is used for example in Nokia N800.
+
 comment "Video improvement chips"
 
 config VIDEO_UPD64031A
@@ -501,45 +515,53 @@ config VIDEO_UPD64083
          To compile this driver as a module, choose M here: the
          module will be called upd64083.
 
-endmenu # encoder / decoder chips
+comment "Miscelaneous helper chips"
 
-config DISPLAY_DAVINCI_DM646X_EVM
-       tristate "DM646x EVM Video Display"
-       depends on VIDEO_DEV && MACH_DAVINCI_DM6467_EVM
-       select VIDEOBUF_DMA_CONTIG
-       select VIDEO_DAVINCI_VPIF
-       select VIDEO_ADV7343
-       select VIDEO_THS7303
+config VIDEO_THS7303
+       tristate "THS7303 Video Amplifier"
+       depends on I2C
        help
-         Support for DM6467 based display device.
+         Support for TI THS7303 video amplifier
 
          To compile this driver as a module, choose M here: the
-         module will be called vpif_display.
+         module will be called ths7303.
 
-config CAPTURE_DAVINCI_DM646X_EVM
-       tristate "DM646x EVM Video Capture"
-       depends on VIDEO_DEV && MACH_DAVINCI_DM6467_EVM
-       select VIDEOBUF_DMA_CONTIG
-       select VIDEO_DAVINCI_VPIF
-       help
-         Support for DM6467 based capture device.
+config VIDEO_M52790
+       tristate "Mitsubishi M52790 A/V switch"
+       depends on VIDEO_V4L2 && I2C
+       ---help---
+        Support for the Mitsubishi M52790 A/V switch.
 
-         To compile this driver as a module, choose M here: the
-         module will be called vpif_capture.
+        To compile this driver as a module, choose M here: the
+        module will be called m52790.
+
+endmenu # encoder / decoder chips
 
-config VIDEO_DAVINCI_VPIF
-       tristate "DaVinci VPIF Driver"
-       depends on DISPLAY_DAVINCI_DM646X_EVM
+config VIDEO_SH_VOU
+       tristate "SuperH VOU video output driver"
+       depends on VIDEO_DEV && ARCH_SHMOBILE
+       select VIDEOBUF_DMA_CONTIG
        help
-         Support for DaVinci VPIF Driver.
+         Support for the Video Output Unit (VOU) on SuperH SoCs.
 
-         To compile this driver as a module, choose M here: the
-         module will be called vpif.
+config VIDEO_VIU
+       tristate "Freescale VIU Video Driver"
+       depends on VIDEO_V4L2 && PPC_MPC512x
+       select VIDEOBUF_DMA_CONTIG
+       default y
+       ---help---
+         Support for Freescale VIU video driver. This device captures
+         video data, or overlays video on DIU frame buffer.
+
+         Say Y here if you want to enable VIU device on MPC5121e Rev2+.
+         In doubt, say N.
 
 config VIDEO_VIVI
        tristate "Virtual Video Driver"
        depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64
-       select VIDEOBUF_VMALLOC
+       depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
+       select FONT_8x16
+       select VIDEOBUF2_VMALLOC
        default n
        ---help---
          Enables a virtual video driver. This device shows a color bar
@@ -548,60 +570,15 @@ config VIDEO_VIVI
          Say Y here if you want to test video apps or debug V4L devices.
          In doubt, say N.
 
-config VIDEO_VPSS_SYSTEM
-       tristate "VPSS System module driver"
-       depends on ARCH_DAVINCI
-       help
-         Support for vpss system module for video driver
-       default y
+source "drivers/media/video/davinci/Kconfig"
 
-config VIDEO_VPFE_CAPTURE
-       tristate "VPFE Video Capture Driver"
-       depends on VIDEO_V4L2 && ARCH_DAVINCI
-       select VIDEOBUF_DMA_CONTIG
-       help
-         Support for DMXXXX VPFE based frame grabber. This is the
-         common V4L2 module for following DMXXX SoCs from Texas
-         Instruments:- DM6446 & DM355.
-
-         To compile this driver as a module, choose M here: the
-         module will be called vpfe-capture.
-
-config VIDEO_DM6446_CCDC
-       tristate "DM6446 CCDC HW module"
-       depends on ARCH_DAVINCI_DM644x && VIDEO_VPFE_CAPTURE
-       select VIDEO_VPSS_SYSTEM
-       default y
-       help
-          Enables DaVinci CCD hw module. DaVinci CCDC hw interfaces
-          with decoder modules such as TVP5146 over BT656 or
-          sensor module such as MT9T001 over a raw interface. This
-          module configures the interface and CCDC/ISIF to do
-          video frame capture from slave decoders.
-
-          To compile this driver as a module, choose M here: the
-          module will be called vpfe.
-
-config VIDEO_DM355_CCDC
-       tristate "DM355 CCDC HW module"
-       depends on ARCH_DAVINCI_DM355 && VIDEO_VPFE_CAPTURE
-       select VIDEO_VPSS_SYSTEM
-       default y
-       help
-          Enables DM355 CCD hw module. DM355 CCDC hw interfaces
-          with decoder modules such as TVP5146 over BT656 or
-          sensor module such as MT9T001 over a raw interface. This
-          module configures the interface and CCDC/ISIF to do
-          video frame capture from a slave decoders
-
-          To compile this driver as a module, choose M here: the
-          module will be called vpfe.
+source "drivers/media/video/omap/Kconfig"
 
 source "drivers/media/video/bt8xx/Kconfig"
 
 config VIDEO_PMS
        tristate "Mediavision Pro Movie Studio Video For Linux"
-       depends on ISA && VIDEO_V4L1
+       depends on ISA && VIDEO_V4L2
        help
          Say Y if you have such a thing.
 
@@ -610,7 +587,7 @@ config VIDEO_PMS
 
 config VIDEO_BWQCAM
        tristate "Quickcam BW Video For Linux"
-       depends on PARPORT && VIDEO_V4L1
+       depends on PARPORT && VIDEO_V4L2
        help
          Say Y have if you the black and white version of the QuickCam
          camera. See the next option for the color version.
@@ -620,7 +597,7 @@ config VIDEO_BWQCAM
 
 config VIDEO_CQCAM
        tristate "QuickCam Colour Video For Linux (EXPERIMENTAL)"
-       depends on EXPERIMENTAL && PARPORT && VIDEO_V4L1
+       depends on EXPERIMENTAL && PARPORT && VIDEO_V4L2
        help
          This is the video4linux driver for the colour version of the
          Connectix QuickCam.  If you have one of these cameras, say Y here,
@@ -631,7 +608,7 @@ config VIDEO_CQCAM
 
 config VIDEO_W9966
        tristate "W9966CF Webcam (FlyCam Supra and others) Video For Linux"
-       depends on PARPORT_1284 && PARPORT && VIDEO_V4L1
+       depends on PARPORT_1284 && PARPORT && VIDEO_V4L2
        help
          Video4linux driver for Winbond's w9966 based Webcams.
          Currently tested with the LifeView FlyCam Supra.
@@ -642,63 +619,8 @@ config VIDEO_W9966
          Check out <file:Documentation/video4linux/w9966.txt> for more
          information.
 
-config VIDEO_CPIA
-       tristate "CPiA Video For Linux"
-       depends on VIDEO_V4L1
-       ---help---
-         This is the video4linux driver for cameras based on Vision's CPiA
-         (Colour Processor Interface ASIC), such as the Creative Labs Video
-         Blaster Webcam II. If you have one of these cameras, say Y here
-         and select parallel port and/or USB lowlevel support below,
-         otherwise say N. This will not work with the Creative Webcam III.
-
-         Please read <file:Documentation/video4linux/README.cpia> for more
-         information.
-
-         This driver is also available as a module (cpia).
-
-config VIDEO_CPIA_PP
-       tristate "CPiA Parallel Port Lowlevel Support"
-       depends on PARPORT_1284 && VIDEO_CPIA && PARPORT
-       help
-         This is the lowlevel parallel port support for cameras based on
-         Vision's CPiA (Colour Processor Interface ASIC), such as the
-         Creative Webcam II. If you have the parallel port version of one
-         of these cameras, say Y here, otherwise say N. It is also available
-         as a module (cpia_pp).
-
-config VIDEO_CPIA_USB
-       tristate "CPiA USB Lowlevel Support"
-       depends on VIDEO_CPIA && USB
-       help
-         This is the lowlevel USB support for cameras based on Vision's CPiA
-         (Colour Processor Interface ASIC), such as the Creative Webcam II.
-         If you have the USB version of one of these cameras, say Y here,
-         otherwise say N. This will not work with the Creative Webcam III.
-         It is also available as a module (cpia_usb).
-
 source "drivers/media/video/cpia2/Kconfig"
 
-config VIDEO_SAA5246A
-       tristate "SAA5246A, SAA5281 Teletext processor"
-       depends on I2C && VIDEO_V4L2
-       help
-         Support for I2C bus based teletext using the SAA5246A or SAA5281
-         chip. Useful only if you live in Europe.
-
-         To compile this driver as a module, choose M here: the
-         module will be called saa5246a.
-
-config VIDEO_SAA5249
-       tristate "SAA5249 Teletext processor"
-       depends on I2C && VIDEO_V4L2
-       help
-         Support for I2C bus based teletext using the SAA5249 chip. At the
-         moment this is only useful on some European WinTV cards.
-
-         To compile this driver as a module, choose M here: the
-         module will be called saa5249.
-
 config VIDEO_VINO
        tristate "SGI Vino Video For Linux (EXPERIMENTAL)"
        depends on I2C && SGI_IP22 && EXPERIMENTAL && VIDEO_V4L2
@@ -707,19 +629,11 @@ config VIDEO_VINO
          Say Y here to build in support for the Vino video input system found
          on SGI Indy machines.
 
-config VIDEO_STRADIS
-       tristate "Stradis 4:2:2 MPEG-2 video driver  (EXPERIMENTAL)"
-       depends on EXPERIMENTAL && PCI && VIDEO_V4L1 && VIRT_TO_BUS
-       help
-         Say Y here to enable support for the Stradis 4:2:2 MPEG-2 video
-         driver for PCI.  There is a product page at
-         <http://www.stradis.com/>.
-
 source "drivers/media/video/zoran/Kconfig"
 
 config VIDEO_MEYE
        tristate "Sony Vaio Picturebook Motion Eye Video For Linux"
-       depends on PCI && SONY_LAPTOP && VIDEO_V4L1
+       depends on PCI && SONY_LAPTOP && VIDEO_V4L2
        ---help---
          This is the video4linux driver for the Motion Eye camera found
          in the Vaio Picturebook laptops. Please read the material in
@@ -735,7 +649,7 @@ source "drivers/media/video/saa7134/Kconfig"
 
 config VIDEO_MXB
        tristate "Siemens-Nixdorf 'Multimedia eXtension Board'"
-       depends on PCI && VIDEO_V4L1 && I2C
+       depends on PCI && VIDEO_V4L2 && I2C
        select VIDEO_SAA7146_VV
        select VIDEO_TUNER
        select VIDEO_SAA711X if VIDEO_HELPER_CHIPS_AUTO
@@ -772,6 +686,16 @@ config VIDEO_HEXIUM_GEMINI
          To compile this driver as a module, choose M here: the
          module will be called hexium_gemini.
 
+config VIDEO_TIMBERDALE
+       tristate "Support for timberdale Video In/LogiWIN"
+       depends on VIDEO_V4L2 && I2C && DMADEVICES
+       select DMA_ENGINE
+       select TIMB_DMA
+       select VIDEO_ADV7180
+       select VIDEOBUF_DMA_CONTIG
+       ---help---
+         Add support for the Video In peripherial of the timberdale FPGA.
+
 source "drivers/media/video/cx88/Kconfig"
 
 source "drivers/media/video/cx23885/Kconfig"
@@ -786,7 +710,7 @@ source "drivers/media/video/saa7164/Kconfig"
 
 config VIDEO_M32R_AR
        tristate "AR devices"
-       depends on M32R && VIDEO_V4L1
+       depends on M32R && VIDEO_V4L2
        ---help---
          This is a video4linux driver for the Renesas AR (Artificial Retina)
          camera module.
@@ -812,15 +736,59 @@ config VIDEO_CAFE_CCIC
          CMOS camera controller.  This is the controller found on first-
          generation OLPC systems.
 
+config VIDEO_SR030PC30
+       tristate "SR030PC30 VGA camera sensor support"
+       depends on I2C && VIDEO_V4L2
+       ---help---
+         This driver supports SR030PC30 VGA camera from Siliconfile
+
+config VIDEO_VIA_CAMERA
+       tristate "VIAFB camera controller support"
+       depends on FB_VIA
+       select VIDEOBUF_DMA_SG
+       select VIDEO_OV7670
+       help
+          Driver support for the integrated camera controller in VIA
+          Chrome9 chipsets.  Currently only tested on OLPC xo-1.5 systems
+          with ov7670 sensors.
+
+config VIDEO_NOON010PC30
+       tristate "NOON010PC30 CIF camera sensor support"
+       depends on I2C && VIDEO_V4L2
+       ---help---
+         This driver supports NOON010PC30 CIF camera from Siliconfile
+
+source "drivers/media/video/m5mols/Kconfig"
+
+config VIDEO_OMAP3
+       tristate "OMAP 3 Camera support (EXPERIMENTAL)"
+       select OMAP_IOMMU
+       depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3 && EXPERIMENTAL
+       ---help---
+         Driver for an OMAP 3 camera controller.
+
+config VIDEO_OMAP3_DEBUG
+       bool "OMAP 3 Camera debug messages"
+       depends on VIDEO_OMAP3
+       ---help---
+         Enable debug messages on OMAP 3 camera controller driver.
+
 config SOC_CAMERA
        tristate "SoC camera support"
        depends on VIDEO_V4L2 && HAS_DMA && I2C
        select VIDEOBUF_GEN
+       select VIDEOBUF2_CORE
        help
          SoC Camera is a common API to several cameras, not connecting
          over a bus like PCI or USB. For example some i2c camera connected
          directly to the data bus of an SoC.
 
+config SOC_CAMERA_IMX074
+       tristate "imx074 support"
+       depends on SOC_CAMERA && I2C
+       help
+         This driver supports IMX074 cameras from Sony
+
 config SOC_CAMERA_MT9M001
        tristate "mt9m001 support"
        depends on SOC_CAMERA && I2C
@@ -830,10 +798,11 @@ config SOC_CAMERA_MT9M001
          and colour models.
 
 config SOC_CAMERA_MT9M111
-       tristate "mt9m111 and mt9m112 support"
+       tristate "mt9m111, mt9m112 and mt9m131 support"
        depends on SOC_CAMERA && I2C
        help
-         This driver supports MT9M111 and MT9M112 cameras from Micron
+         This driver supports MT9M111, MT9M112 and MT9M131 cameras from
+         Micron/Aptina
 
 config SOC_CAMERA_MT9M112
        tristate "mt9m112 support"
@@ -846,28 +815,62 @@ config SOC_CAMERA_MT9T031
        depends on SOC_CAMERA && I2C
        help
          This driver supports MT9T031 cameras from Micron.
-         
+
 config SOC_CAMERA_MT9T111
-       tristate "mt9t111 support"
+       tristate "mt9t111 support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This driver supports MT9T111 cameras from Micron.
+         This driver supports MT9T111 cameras from Micron for rockchip.
+
+config MT9T111_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_MT9T111
+       bool "MT9T111 user defined init series"
+       default n
 
 config SOC_CAMERA_MT9P111
-       tristate "mt9p111 support"
+       tristate "mt9p111 support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This driver supports MT9P111 cameras from Micron
+         This driver supports MT9P111 cameras from Micron for rockchip.
+         
+config MT9P111_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_MT9P111
+       bool "MT9P111 user defined init series"
+       default n
+
 config SOC_CAMERA_MT9D112
-       tristate "mt9d112 support"
+       tristate "mt9d112 support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This driver supports MT9D112 cameras from Micron        
+         This driver supports MT9D112 cameras from Micron for rockchip
+
+config MT9D112_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_MT9D112
+       bool "MT9D112 user defined init series"
+       default n
+
 config SOC_CAMERA_MT9D113
-       tristate "mt9d113 support"
+       tristate "mt9d113 support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This driver supports MT9D113 cameras from Micron                
+         This driver supports MT9D113 cameras from Micron for rockchip
+
+config MT9D113_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_MT9D113
+       bool "MT9D113 user defined init series"
+       default n
+
+config SOC_CAMERA_MT9T112
+       tristate "mt9t112 support"
+       depends on SOC_CAMERA && I2C
+       help
+         This driver supports MT9T112 cameras from Aptina.
+
+config MT9T112_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_MT9T112
+       bool "MT9T112 user defined init series"
+       default n
+
 config SOC_CAMERA_MT9V022
        tristate "mt9v022 support"
        depends on SOC_CAMERA && I2C
@@ -875,6 +878,17 @@ config SOC_CAMERA_MT9V022
        help
          This driver supports MT9V022 cameras from Micron
 
+config MT9V022_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_MT9V022
+       bool "MT9V022 user defined init series"
+       default n
+
+config SOC_CAMERA_RJ54N1
+       tristate "rj54n1cb0c support"
+       depends on SOC_CAMERA && I2C
+       help
+         This is a rj54n1cb0c video driver
+
 config SOC_CAMERA_TW9910
        tristate "tw9910 support"
        depends on SOC_CAMERA && I2C
@@ -887,65 +901,146 @@ config SOC_CAMERA_PLATFORM
        help
          This is a generic SoC camera platform driver, useful for testing
 
+config SOC_CAMERA_OV2640
+       tristate "ov2640 camera support"
+       depends on SOC_CAMERA && I2C
+       help
+         This is a ov2640 camera driver
+config SOC_CAMERA_OV6650
+       tristate "ov6650 sensor support"
+       depends on SOC_CAMERA && I2C
+       ---help---
+         This is a V4L2 SoC camera driver for the OmniVision OV6650 sensor
+
+config OV6650_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_OV6650
+       bool "OV6650 user defined init series"
+       default n
+
 config SOC_CAMERA_OV772X
        tristate "ov772x camera support"
        depends on SOC_CAMERA && I2C
        help
          This is a ov772x camera driver
+
 config SOC_CAMERA_OV7675
-       tristate "ov7675 camera support"
+       tristate "ov7675 camera support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This is a ov7675 camera driver
+         This is a ov7675 camera driver for rockchip
+
+config OV7675_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_OV7675
+       bool "OV7675 user defined init series"
+       default n
+
 config SOC_CAMERA_OV2655
-       tristate "ov2655 camera support"
+       tristate "ov2655 camera support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This is a ov2655 camera driver
+         This is a ov2655 camera driver for rockchip
+
+config OV2655_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_OV2655
+       bool "OV2655 user defined init series"
+       default n
+
 config SOC_CAMERA_OV2659
-       tristate "ov2659 camera support"
+       tristate "ov2659 camera support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This is a ov2659 camera driver          
+         This is a ov2659 camera driver for rockchip
+         
+config OV2659_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_OV2659
+       bool "OV2659 user defined init series"
+       default n
+
+config SOC_CAMERA_OV7690
+       tristate "ov7690 camera support for rockchip"
+       depends on SOC_CAMERA && I2C
+       help
+         This is a ov7690 camera driver for rockchip   
+
+config OV7690_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_OV7690
+       bool "OV7690 user defined init series"
+       default n
+
 config SOC_CAMERA_OV9650
-       tristate "ov9650 camera support"
+       tristate "ov9650 camera support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This is a ov9650 camera driver
-config SOC_CAMERA_OV2640
-       tristate "ov2640 camera support"
+         This is a ov9650 camera driver for rockchip
+
+config OV9650_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_OV9650
+       bool "OV9650 user defined init series"
+       default n
+
+config SOC_CAMERA_OV2640_RK
+       tristate "ov2640 camera support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This is a ov2640 camera driver          
+         This is a ov2640 camera driver for rockchip
+         
+config OV2640_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_OV2640_RK
+       bool "OV2640 user defined init series"
+       default n
+
 config SOC_CAMERA_OV3640
-       tristate "ov3640 camera support"
+       tristate "ov3640 camera support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This is a ov3640 camera driver        
+         This is a ov3640 camera driver for rockchip
+         
+config OV3640_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_OV3640
+       bool "OV3640 user defined init series"
+       default n
+
 choice
        prompt "OV3640 Module Focus select"
        depends on SOC_CAMERA_OV3640
        default OV3640_AUTOFOCUS
        ---help---
-               
+
 config OV3640_AUTOFOCUS
        bool "OV3640 auto focus"
 
 config OV3640_FIXEDFOCUS
        bool "OV3640 fixed focus"
-endchoice        
+endchoice
+
+config SOC_CAMERA_OV3660
+       tristate "ov3660 camera support for rockchip"
+       depends on SOC_CAMERA && I2C
+       help
+         This is a ov3660 camera driver for rockchip
          
+config OV3660_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_OV3660
+       bool "OV3660 user defined init series"
+       default n
+
 config SOC_CAMERA_OV5642
-       tristate "ov5642 camera support"
+       tristate "ov5642 camera support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This is a ov5642 camera driver        
+         This is a ov5642 camera driver for rockchip
+
+config OV5642_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_OV5642
+       bool "OV5642 user defined init series"
+       default n
+
 choice
        prompt "OV5642 Module Focus select"
        depends on SOC_CAMERA_OV5642
        default OV5642_AUTOFOCUS
        ---help---
-               
+
 config OV5642_AUTOFOCUS
        bool "OV5642 auto focus"
 
@@ -954,16 +1049,22 @@ config OV5642_FIXEDFOCUS
 endchoice
 
 config SOC_CAMERA_OV5640
-       tristate "ov5640 camera support"
+       tristate "ov5640 camera support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This is a ov5640 camera driver        
+         This is a ov5640 camera driver for rockchip
+
+config OV5640_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_OV5640
+       bool "OV5640 user defined init series"
+       default n
+
 choice
        prompt "OV5640 Module Focus select"
        depends on SOC_CAMERA_OV5640
        default OV5640_AUTOFOCUS
        ---help---
-               
+
 config OV5640_AUTOFOCUS
        bool "OV5640 auto focus"
 
@@ -971,60 +1072,224 @@ config OV5640_FIXEDFOCUS
        bool "OV5640 fixed focus"
 endchoice
 
+config SOC_CAMERA_OV5640_FOR_TD8801
+       tristate "ov5640 camera support for td8801"
+       depends on SOC_CAMERA && I2C
+       help
+         This is a ov5640 camera driver for td8801
+choice
+       prompt "OV5640 Module Focus select"
+       depends on SOC_CAMERA_OV5640_FOR_TD8801
+       default OV5640_AUTOFOCUS_FOR_TD8801
+       ---help---
+
+config OV5640_AUTOFOCUS_FOR_TD8801
+       bool "OV5640 auto focus"
+
+config OV5640_FIXEDFOCUS_FOR_TD8801
+       bool "OV5640 fixed focus"
+endchoice
+
 config SOC_CAMERA_S5K6AA
-       tristate "Samsung S5K6AA MIPI CSI-2 (importek mu736asa)"
+       tristate "Samsung S5K6AA camera support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This is a samsung S5K6AA mobile camera driver
-         
+         This is a samsung S5K6AA camera driver for rockchip
+
+config S5K6AA_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_S5K6AA
+       bool "S5K6AA user defined init series"
+       default n
+
 config SOC_CAMERA_GT2005
-       tristate "GT2005 support"
+       tristate "GT2005 support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This is a GT2005 camera driver          
+         This is a GT2005 camera driver for rockchip
+
+config GT2005_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_GT2005
+       bool "GT2005 user defined init series"
+       default n
+
+config SOC_CAMERA_GC0307
+       tristate "GC0307 support for rockchip"
+       depends on SOC_CAMERA && I2C
+       help
+         This is a GC0307 camera driver for rockchip      
+
+config GC0307_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_GC0307
+       bool "GC0307 user defined init series"
+       default n
+
 config SOC_CAMERA_GC0308
-       tristate "GC0308 support"
+       tristate "GC0308 support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This is a GC0308 camera driver
+         This is a GC0308 camera driver for rockchip
+
+config GC0308_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_GC0308
+       bool "GC0308 user defined init series"
+       default n
+
 config SOC_CAMERA_GC0309
-       tristate "GC0309 support"
+       tristate "GC0309 support for rockchip"
+       depends on SOC_CAMERA && I2C
+       help
+         This is a GC0309 camera driver for rockchip
+
+config GC0309_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_GC0309
+       bool "GC0309 user defined init series"
+       default n
+
+config SOC_CAMERA_GC0309_FOR_TD8801
+       tristate "GC0309 support for td8801"
        depends on SOC_CAMERA && I2C
        help
-         This is a GC0309 camera driver          
+         This is a GC0309 camera driver for td8801
+
 config SOC_CAMERA_GC2015
-       tristate "GC2015 support"
+       tristate "GC2015 support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This is a GC2015 camera driver         
+         This is a GC2015 camera driver for rockchip
+
+config GC2015_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_GC2015
+       bool "GC2015 user defined init series"
+       default n
+
 config SOC_CAMERA_HI253
-       tristate "HI253 support"
+       tristate "HI253 support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This is a HI253 camera driver  
+         This is a HI253 camera driver for rockchip
+
+config HI253_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_HI253
+       bool "HI253 user defined init series"
+       default n
+
 config SOC_CAMERA_HI704
-       tristate "HI704 support"
+       tristate "HI704 support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This is a HI704 camera driver
+         This is a HI704 camera driver for rockchip
+
+config HI704_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_HI704
+       bool "HI704 user defined init series"
+       default n
+
 config SOC_CAMERA_SIV120B
-       tristate "siv120b support"
+       tristate "siv120b support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This is a SIV120B camera driver         
+         This is a SIV120B camera driver for rockchip
 
+config SIV120B_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_SIV120B
+       bool "SIV120B user defined init series"
+       default n
+       
+config SOC_CAMERA_SIV121D
+       tristate "siv121d support for rockchip"
+       depends on SOC_CAMERA && I2C
+       help
+         This is a SIV121D camera driver for rockchip
+         
 config SOC_CAMERA_SID130B
-       tristate "sid130b support"
+       tristate "sid130b support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This is a SID130B camera driver               
+         This is a SID130B camera driver for rockchip
+
+config SID130B_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_SID130B
+       bool "SID130B user defined init series"
+       default n
 
 config SOC_CAMERA_NT99250
-       tristate "NT99250 support"
+       tristate "NT99250 support for rockchip"
+       depends on SOC_CAMERA && I2C
+       help
+         This is a NT99250 camera driver for rockchip
+
+config NT99250_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_NT99250
+       bool "NT99250 user defined init series"
+       default n
+
+config SOC_CAMERA_GC0329
+       tristate "gc0329 camera support for rockchip"
+       depends on SOC_CAMERA && I2C
+       help
+         This is a gc0329 camera driver for rockchip
+         
+config GC0329_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_GC0329
+       bool "GC0329 user defined init series"
+       default n
+
+config SOC_CAMERA_S5K5CA
+       tristate "s5k5ca camera support for rockchip"
        depends on SOC_CAMERA && I2C
        help
-         This is a NT99250 camera driver                   
-            
+         This is a s5k5ca camera driver for rockchip
+         
+config S5K5CA_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_S5K5CA
+       bool "s5k5ca user defined init series"
+       default n
+       
+config SOC_CAMERA_SP0838
+       tristate "sp0838 camera support for rockchip"
+       depends on SOC_CAMERA && I2C
+       help
+         This is a sp0838 camera driver for rockchip
+         
+config SP0838_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_SP0838
+       bool "sp0838 user defined init series"
+       default n
+
+config SOC_CAMERA_SP2518
+       tristate "sp2518 camera support for rockchip"
+       depends on SOC_CAMERA && I2C
+       help
+         This is a sp2518 camera driver for rockchip
+         
+config SP2518_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_SP2518
+       bool "sp2518 user defined init series"
+       default n       
+
+
+config SOC_CAMERA_OV9640
+       tristate "ov9640 camera support"
+       depends on SOC_CAMERA && I2C
+       help
+         This is a ov9640 camera driver
+
+config OV9640_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_OV9640
+       bool "OV9640 user defined init series"
+       default n
+
+config SOC_CAMERA_OV9740
+       tristate "ov9740 camera support"
+       depends on SOC_CAMERA && I2C
+       help
+         This is a ov9740 camera driver
+
+config OV9740_USER_DEFINED_SERIES
+       depends on SOC_CAMERA_OV9740
+       bool "OV9740 user defined init series"
+       default n
+
 config MX1_VIDEO
        bool
 
@@ -1043,7 +1308,7 @@ config MX3_VIDEO
 config VIDEO_MX3
        tristate "i.MX3x Camera Sensor Interface driver"
        depends on VIDEO_DEV && MX3_IPU && SOC_CAMERA
-       select VIDEOBUF_DMA_CONTIG
+       select VIDEOBUF2_DMA_CONTIG
        select MX3_VIDEO
        ---help---
          This is a v4l2 driver for the i.MX3x Camera Sensor Interface
@@ -1055,13 +1320,27 @@ config VIDEO_PXA27x
        ---help---
          This is a v4l2 driver for the PXA27x Quick Capture Interface
 
+config VIDEO_SH_MOBILE_CSI2
+       tristate "SuperH Mobile MIPI CSI-2 Interface driver"
+       depends on VIDEO_DEV && SOC_CAMERA && HAVE_CLK
+       ---help---
+         This is a v4l2 driver for the SuperH MIPI CSI-2 Interface
+
 config VIDEO_SH_MOBILE_CEU
        tristate "SuperH Mobile CEU Interface driver"
        depends on VIDEO_DEV && SOC_CAMERA && HAS_DMA && HAVE_CLK
-       select VIDEOBUF_DMA_CONTIG
+       select VIDEOBUF2_DMA_CONTIG
        ---help---
          This is a v4l2 driver for the SuperH Mobile CEU Interface
 
+config VIDEO_OMAP1
+       tristate "OMAP1 Camera Interface driver"
+       depends on VIDEO_DEV && ARCH_OMAP1 && SOC_CAMERA
+       select VIDEOBUF_DMA_CONTIG
+       select VIDEOBUF_DMA_SG
+       ---help---
+         This is a v4l2 driver for the TI OMAP1 camera interface
+
 config VIDEO_OMAP2
        tristate "OMAP2 Camera Capture Interface driver"
        depends on VIDEO_DEV && ARCH_OMAP2
@@ -1070,36 +1349,113 @@ config VIDEO_OMAP2
          This is a v4l2 driver for the TI OMAP2 camera capture interface
 
 config VIDEO_RK29
-       tristate "RK29XX Camera Sensor Interface driver"
-       depends on VIDEO_DEV && ARCH_RK29 && SOC_CAMERA && HAS_DMA
+       tristate "RKXX Camera Sensor Interface driver"
+       depends on VIDEO_DEV && PLAT_RK && SOC_CAMERA && HAS_DMA
        select VIDEOBUF_DMA_CONTIG
        ---help---
-         This is a v4l2 driver for the RK29XX Camera Sensor Interface            
+         This is a v4l2 driver for the RK29XX Camera Sensor Interface
+
 choice
-       prompt "RK29XX Camera Sensor Interface Work Mode"
+       prompt "RKXX Camera Sensor Interface Work Mode"
        depends on VIDEO_RK29
        default VIDEO_RK29_WORK_ONEFRAME
        ---help---
                RK29 Camera Sensor Interface(VIP) can work in 2 modes, ie:OneFrame,PingPong.
+
 config VIDEO_RK29_WORK_ONEFRAME
-       bool "VIP OneFrame Mode"
+       bool "CIF OneFrame Mode"
 
 config VIDEO_RK29_WORK_PINGPONG
-       bool "VIP PingPong Mode"
+       bool "CIF PingPong Mode"
+
 endchoice
+
 choice
-       prompt "RK29XX camera sensor interface work with IPP "
+       prompt "RKXX camera sensor interface work with IPP "
        depends on VIDEO_RK29 && RK29_IPP
        default VIDEO_RK29_WORK_IPP
        ---help---
                RK29 Camera Sensor Interface(VIP) can work with IPP or not IPP
+
 config VIDEO_RK29_WORK_IPP
-       bool "VIP work with IPP"
+       bool "CIF work with IPP"
 
 config VIDEO_RK29_WORK_NOT_IPP
-       bool "VIP don't work with IPP"
+       bool "CIF don't work with IPP"
+
+endchoice
+choice
+       prompt "RKXX camera digital zoom with IPP "
+       depends on VIDEO_RK29 && RK29_IPP && VIDEO_RK29_WORK_IPP
+       default VIDEO_RK29_DIGITALZOOM_IPP_ON
+       ---help---
+               RK Camera digital zoom with IPP
+config VIDEO_RK29_DIGITALZOOM_IPP_ON
+       bool "Digital zoom with IPP on"
+
+config VIDEO_RK29_DIGITALZOOM_IPP_OFF
+       bool "Digital zoom with IPP off"
+endchoice
+
+choice
+       prompt "RKXX camera memory "
+       depends on VIDEO_RK29 
+       default VIDEO_RK29_CAMMEM_PMEM
+       ---help---
+               where camera memory which is used for preview/raw/jpeg in android camera hal is alloced 
+config VIDEO_RK29_CAMMEM_PMEM
+       bool "Camera memory from pmem"
+
+config VIDEO_RK29_CAMMEM_ION
+       bool "Camera memory from ion"
+endchoice
+
+choice
+       prompt "RKXX CIF work simultaneity"
+       depends on VIDEO_RK29 && ARCH_RK30
+       default VIDEO_RKCIF_WORK_SIMUL_OFF
+       ---help---
+               CIFs work simultaneity 
+config VIDEO_RKCIF_WORK_SIMUL_ON
+       bool "Two cif controller can work sumultaneity"
+
+config VIDEO_RKCIF_WORK_SIMUL_OFF
+       bool "Two cif controller cann't work sumultaneity"
 endchoice
 
+config VIDEO_MX2_HOSTSUPPORT
+       bool
+
+config VIDEO_MX2
+       tristate "i.MX27/i.MX25 Camera Sensor Interface driver"
+       depends on VIDEO_DEV && SOC_CAMERA && (MACH_MX27 || ARCH_MX25)
+       select VIDEOBUF_DMA_CONTIG
+       select VIDEO_MX2_HOSTSUPPORT
+       ---help---
+         This is a v4l2 driver for the i.MX27 and the i.MX25 Camera Sensor
+         Interface
+
+config  VIDEO_SAMSUNG_S5P_FIMC
+       tristate "Samsung S5P and EXYNOS4 camera host interface driver"
+       depends on VIDEO_DEV && VIDEO_V4L2 && PLAT_S5P
+       select VIDEOBUF2_DMA_CONTIG
+       select V4L2_MEM2MEM_DEV
+       ---help---
+         This is a v4l2 driver for Samsung S5P and EXYNOS4 camera
+         host interface and video postprocessor.
+
+         To compile this driver as a module, choose M here: the
+         module will be called s5p-fimc.
+
+config VIDEO_S5P_MIPI_CSIS
+       tristate "Samsung S5P and EXYNOS4 MIPI CSI receiver driver"
+       depends on VIDEO_V4L2 && PM_RUNTIME && PLAT_S5P && VIDEO_V4L2_SUBDEV_API
+       ---help---
+         This is a v4l2 driver for Samsung S5P/EXYNOS4 MIPI-CSI receiver.
+
+         To compile this driver as a module, choose M here: the
+         module will be called s5p-csis.
+
 #
 # USB Multimedia device configuration
 #
@@ -1121,82 +1477,15 @@ source "drivers/media/video/hdpvr/Kconfig"
 
 source "drivers/media/video/em28xx/Kconfig"
 
+source "drivers/media/video/tlg2300/Kconfig"
+
 source "drivers/media/video/cx231xx/Kconfig"
 
 source "drivers/media/video/usbvision/Kconfig"
 
-source "drivers/media/video/usbvideo/Kconfig"
-
 source "drivers/media/video/et61x251/Kconfig"
 
-config VIDEO_OVCAMCHIP
-       tristate "OmniVision Camera Chip support"
-       depends on I2C && VIDEO_V4L1
-       ---help---
-         Support for the OmniVision OV6xxx and OV7xxx series of camera chips.
-         This driver is intended to be used with the ov511 and w9968cf USB
-         camera drivers.
-
-         To compile this driver as a module, choose M here: the
-         module will be called ovcamchip.
-
-config USB_W9968CF
-       tristate "USB W996[87]CF JPEG Dual Mode Camera support"
-       depends on VIDEO_V4L1 && I2C && VIDEO_OVCAMCHIP
-       ---help---
-         Say Y here if you want support for cameras based on OV681 or
-         Winbond W9967CF/W9968CF JPEG USB Dual Mode Camera Chips.
-
-         This driver has an optional plugin, which is distributed as a
-         separate module only (released under GPL). It allows to use higher
-         resolutions and framerates, but cannot be included in the official
-         Linux kernel for performance purposes.
-
-         See <file:Documentation/video4linux/w9968cf.txt> for more info.
-
-         To compile this driver as a module, choose M here: the
-         module will be called w9968cf.
-
-config USB_OV511
-       tristate "USB OV511 Camera support (DEPRECATED)"
-       depends on VIDEO_V4L1
-       ---help---
-         This driver is DEPRECATED please use the gspca ov519 module
-         instead. Note that for the ov511 / ov518 support of the gspca module
-         you need atleast version 0.6.0 of libv4l.
-
-         Say Y here if you want to connect this type of camera to your
-         computer's USB port. See <file:Documentation/video4linux/ov511.txt>
-         for more information and for a list of supported cameras.
-
-         To compile this driver as a module, choose M here: the
-         module will be called ov511.
-
-config USB_SE401
-       tristate "USB SE401 Camera support"
-       depends on VIDEO_V4L1
-       ---help---
-         Say Y here if you want to connect this type of camera to your
-         computer's USB port. See <file:Documentation/video4linux/se401.txt>
-         for more information and for a list of supported cameras.
-
-         To compile this driver as a module, choose M here: the
-         module will be called se401.
-
 source "drivers/media/video/sn9c102/Kconfig"
-config USB_STV680
-       tristate "USB STV680 (Pencam) Camera support"
-       depends on VIDEO_V4L1
-       ---help---
-         Say Y here if you want to connect this type of camera to your
-         computer's USB port. This includes the Pencam line of cameras.
-         See <file:Documentation/video4linux/stv680.txt> for more information
-         and for a list of supported cameras.
-
-         To compile this driver as a module, choose M here: the
-         module will be called stv680.
-
-source "drivers/media/video/zc0301/Kconfig"
 
 source "drivers/media/video/pwc/Kconfig"
 
@@ -1222,7 +1511,7 @@ config USB_STKWEBCAM
          Supported devices are typically found in some Asus laptops,
          with USB id 174f:a311 and 05e1:0501. Other Syntek cameras
          may be supported by the stk11xx driver, from which this is
-         derived, see http://stk11xx.sourceforge.net
+         derived, see <http://sourceforge.net/projects/syntekdriver/>
 
          To compile this driver as a module, choose M here: the
          module will be called stkwebcam.
@@ -1238,3 +1527,28 @@ config USB_S2255
 
 endif # V4L_USB_DRIVERS
 endif # VIDEO_CAPTURE_DRIVERS
+
+menuconfig V4L_MEM2MEM_DRIVERS
+       bool "Memory-to-memory multimedia devices"
+       depends on VIDEO_V4L2
+       default n
+       ---help---
+         Say Y here to enable selecting drivers for V4L devices that
+         use system memory for both source and destination buffers, as opposed
+         to capture and output drivers, which use memory buffers for just
+         one of those.
+
+if V4L_MEM2MEM_DRIVERS
+
+config VIDEO_MEM2MEM_TESTDEV
+       tristate "Virtual test device for mem2mem framework"
+       depends on VIDEO_DEV && VIDEO_V4L2
+       select VIDEOBUF2_VMALLOC
+       select V4L2_MEM2MEM_DEV
+       default n
+       ---help---
+         This is a virtual test device for the memory-to-memory driver
+         framework.
+
+
+endif # V4L_MEM2MEM_DRIVERS