Browse Source

[media] move i2c files into drivers/media/i2c

Move ancillary I2C drivers into drivers/media/i2c, in order to
better organize them.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab 13 years ago
parent
commit
cb7a01ac32
100 changed files with 652 additions and 26 deletions
  1. 3 6
      drivers/media/Kconfig
  2. 1 1
      drivers/media/Makefile
  3. 566 0
      drivers/media/i2c/Kconfig
  4. 63 0
      drivers/media/i2c/Makefile
  5. 1 1
      drivers/media/i2c/adp1653.c
  6. 0 0
      drivers/media/i2c/adv7170.c
  7. 0 0
      drivers/media/i2c/adv7175.c
  8. 0 0
      drivers/media/i2c/adv7180.c
  9. 0 0
      drivers/media/i2c/adv7183.c
  10. 0 0
      drivers/media/i2c/adv7183_regs.h
  11. 0 0
      drivers/media/i2c/adv7343.c
  12. 0 0
      drivers/media/i2c/adv7343_regs.h
  13. 0 0
      drivers/media/i2c/adv7393.c
  14. 0 0
      drivers/media/i2c/adv7393_regs.h
  15. 0 0
      drivers/media/i2c/ak881x.c
  16. 0 0
      drivers/media/i2c/aptina-pll.c
  17. 0 0
      drivers/media/i2c/aptina-pll.h
  18. 1 1
      drivers/media/i2c/as3645a.c
  19. 0 0
      drivers/media/i2c/bt819.c
  20. 0 0
      drivers/media/i2c/bt856.c
  21. 0 0
      drivers/media/i2c/bt866.c
  22. 0 0
      drivers/media/i2c/btcx-risc.c
  23. 0 0
      drivers/media/i2c/btcx-risc.h
  24. 0 0
      drivers/media/i2c/cs5345.c
  25. 0 0
      drivers/media/i2c/cs53l32a.c
  26. 0 0
      drivers/media/i2c/cx2341x.c
  27. 0 0
      drivers/media/i2c/cx25840/Kconfig
  28. 1 1
      drivers/media/i2c/cx25840/Makefile
  29. 0 0
      drivers/media/i2c/cx25840/cx25840-audio.c
  30. 0 0
      drivers/media/i2c/cx25840/cx25840-core.c
  31. 0 0
      drivers/media/i2c/cx25840/cx25840-core.h
  32. 0 0
      drivers/media/i2c/cx25840/cx25840-firmware.c
  33. 0 0
      drivers/media/i2c/cx25840/cx25840-ir.c
  34. 0 0
      drivers/media/i2c/cx25840/cx25840-vbi.c
  35. 0 0
      drivers/media/i2c/ir-kbd-i2c.c
  36. 0 0
      drivers/media/i2c/ks0127.c
  37. 0 0
      drivers/media/i2c/ks0127.h
  38. 0 0
      drivers/media/i2c/m52790.c
  39. 0 0
      drivers/media/i2c/m5mols/Kconfig
  40. 0 0
      drivers/media/i2c/m5mols/Makefile
  41. 0 0
      drivers/media/i2c/m5mols/m5mols.h
  42. 0 0
      drivers/media/i2c/m5mols/m5mols_capture.c
  43. 0 0
      drivers/media/i2c/m5mols/m5mols_controls.c
  44. 0 0
      drivers/media/i2c/m5mols/m5mols_core.c
  45. 0 0
      drivers/media/i2c/m5mols/m5mols_reg.h
  46. 0 0
      drivers/media/i2c/msp3400-driver.c
  47. 0 0
      drivers/media/i2c/msp3400-driver.h
  48. 0 0
      drivers/media/i2c/msp3400-kthreads.c
  49. 0 0
      drivers/media/i2c/mt9m032.c
  50. 0 0
      drivers/media/i2c/mt9p031.c
  51. 0 0
      drivers/media/i2c/mt9t001.c
  52. 0 0
      drivers/media/i2c/mt9v011.c
  53. 0 0
      drivers/media/i2c/mt9v032.c
  54. 0 0
      drivers/media/i2c/noon010pc30.c
  55. 0 0
      drivers/media/i2c/ov7670.c
  56. 0 0
      drivers/media/i2c/s5k6aa.c
  57. 0 0
      drivers/media/i2c/saa6588.c
  58. 0 0
      drivers/media/i2c/saa7110.c
  59. 0 0
      drivers/media/i2c/saa7115.c
  60. 0 0
      drivers/media/i2c/saa711x_regs.h
  61. 0 0
      drivers/media/i2c/saa7127.c
  62. 0 0
      drivers/media/i2c/saa717x.c
  63. 0 0
      drivers/media/i2c/saa7185.c
  64. 0 0
      drivers/media/i2c/saa7191.c
  65. 0 0
      drivers/media/i2c/saa7191.h
  66. 1 1
      drivers/media/i2c/smiapp-pll.c
  67. 1 1
      drivers/media/i2c/smiapp-pll.h
  68. 0 0
      drivers/media/i2c/smiapp/Kconfig
  69. 1 1
      drivers/media/i2c/smiapp/Makefile
  70. 1 1
      drivers/media/i2c/smiapp/smiapp-core.c
  71. 1 1
      drivers/media/i2c/smiapp/smiapp-limits.c
  72. 1 1
      drivers/media/i2c/smiapp/smiapp-limits.h
  73. 1 1
      drivers/media/i2c/smiapp/smiapp-quirk.c
  74. 1 1
      drivers/media/i2c/smiapp/smiapp-quirk.h
  75. 1 1
      drivers/media/i2c/smiapp/smiapp-reg-defs.h
  76. 1 1
      drivers/media/i2c/smiapp/smiapp-reg.h
  77. 1 1
      drivers/media/i2c/smiapp/smiapp-regs.c
  78. 0 0
      drivers/media/i2c/smiapp/smiapp-regs.h
  79. 1 1
      drivers/media/i2c/smiapp/smiapp.h
  80. 0 0
      drivers/media/i2c/sr030pc30.c
  81. 1 1
      drivers/media/i2c/tcm825x.c
  82. 1 1
      drivers/media/i2c/tcm825x.h
  83. 0 0
      drivers/media/i2c/tda7432.c
  84. 0 0
      drivers/media/i2c/tda9840.c
  85. 0 0
      drivers/media/i2c/tea6415c.c
  86. 0 0
      drivers/media/i2c/tea6415c.h
  87. 0 0
      drivers/media/i2c/tea6420.c
  88. 0 0
      drivers/media/i2c/tea6420.h
  89. 0 0
      drivers/media/i2c/ths7303.c
  90. 0 0
      drivers/media/i2c/tlv320aic23b.c
  91. 0 0
      drivers/media/i2c/tvaudio.c
  92. 0 0
      drivers/media/i2c/tveeprom.c
  93. 1 1
      drivers/media/i2c/tvp514x.c
  94. 1 1
      drivers/media/i2c/tvp514x_regs.h
  95. 0 0
      drivers/media/i2c/tvp5150.c
  96. 0 0
      drivers/media/i2c/tvp5150_reg.h
  97. 0 0
      drivers/media/i2c/tvp7002.c
  98. 0 0
      drivers/media/i2c/tvp7002_reg.h
  99. 0 0
      drivers/media/i2c/upd64031a.c
  100. 0 0
      drivers/media/i2c/upd64083.c

+ 3 - 6
drivers/media/Kconfig

@@ -151,18 +151,15 @@ source "drivers/media/rc/Kconfig"
 
 source "drivers/media/tuners/Kconfig"
 
+source "drivers/media/i2c/Kconfig"
+
 #
-# Video/Radio/Hybrid adapters
+# V4L platform/mem2mem drivers
 #
-
 source "drivers/media/video/Kconfig"
 
 source "drivers/media/radio/Kconfig"
 
-#
-# DVB adapters
-#
-
 source "drivers/media/pci/Kconfig"
 source "drivers/media/usb/Kconfig"
 source "drivers/media/mmc/Kconfig"

+ 1 - 1
drivers/media/Makefile

@@ -9,7 +9,7 @@ ifeq ($(CONFIG_MEDIA_CONTROLLER),y)
 endif
 
 obj-y += tuners/ common/ rc/ video/
-obj-y += pci/ usb/ mmc/ firewire/ parport/
+obj-y += i2c/ pci/ usb/ mmc/ firewire/ parport/
 
 obj-$(CONFIG_VIDEO_DEV) += radio/ v4l2-core/
 obj-$(CONFIG_DVB_CORE)  += dvb-core/ dvb-frontends/

+ 566 - 0
drivers/media/i2c/Kconfig

@@ -0,0 +1,566 @@
+#
+# Generic video config states
+#
+
+config VIDEO_BTCX
+	depends on PCI
+	tristate
+
+config VIDEO_TVEEPROM
+	tristate
+	depends on I2C
+
+#
+# Multimedia Video device configuration
+#
+
+if VIDEO_V4L2
+
+config VIDEO_HELPER_CHIPS_AUTO
+	bool "Autoselect pertinent encoders/decoders and other helper chips"
+	default y if !EXPERT
+	---help---
+	  Most video cards may require additional modules to encode or
+	  decode audio/video standards. This option will autoselect
+	  all pertinent modules to each selected video module.
+
+	  Unselect this only if you know exactly what you are doing, since
+	  it may break support on some boards.
+
+	  In doubt, say Y.
+
+config VIDEO_IR_I2C
+	tristate "I2C module for IR" if !VIDEO_HELPER_CHIPS_AUTO
+	depends on I2C && RC_CORE
+	default y
+	---help---
+	  Most boards have an IR chip directly connected via GPIO. However,
+	  some video boards have the IR connected via I2C bus.
+
+	  If your board doesn't have an I2C IR chip, you may disable this
+	  option.
+
+	  In doubt, say Y.
+
+#
+# Encoder / Decoder module configuration
+#
+
+menu "Encoders, decoders, sensors and other helper chips"
+	visible if !VIDEO_HELPER_CHIPS_AUTO
+
+comment "Audio decoders, processors and mixers"
+
+config VIDEO_TVAUDIO
+	tristate "Simple audio decoder chips"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for several audio decoder chips found on some bt8xx boards:
+	  Philips: tda9840, tda9873h, tda9874h/a, tda9850, tda985x, tea6300,
+		   tea6320, tea6420, tda8425, ta8874z.
+	  Microchip: pic16c54 based design on ProVideo PV951 board.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called tvaudio.
+
+config VIDEO_TDA7432
+	tristate "Philips TDA7432 audio processor"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for tda7432 audio decoder chip found on some bt8xx boards.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called tda7432.
+
+config VIDEO_TDA9840
+	tristate "Philips TDA9840 audio processor"
+	depends on I2C
+	---help---
+	  Support for tda9840 audio decoder chip found on some Zoran boards.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called tda9840.
+
+config VIDEO_TEA6415C
+	tristate "Philips TEA6415C audio processor"
+	depends on I2C
+	---help---
+	  Support for tea6415c audio decoder chip found on some bt8xx boards.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called tea6415c.
+
+config VIDEO_TEA6420
+	tristate "Philips TEA6420 audio processor"
+	depends on I2C
+	---help---
+	  Support for tea6420 audio decoder chip found on some bt8xx boards.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called tea6420.
+
+config VIDEO_MSP3400
+	tristate "Micronas MSP34xx audio decoders"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for the Micronas MSP34xx series of audio decoders.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called msp3400.
+
+config VIDEO_CS5345
+	tristate "Cirrus Logic CS5345 audio ADC"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for the Cirrus Logic CS5345 24-bit, 192 kHz
+	  stereo A/D converter.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called cs5345.
+
+config VIDEO_CS53L32A
+	tristate "Cirrus Logic CS53L32A audio ADC"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for the Cirrus Logic CS53L32A low voltage
+	  stereo A/D converter.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called cs53l32a.
+
+config VIDEO_TLV320AIC23B
+	tristate "Texas Instruments TLV320AIC23B audio codec"
+	depends on VIDEO_V4L2 && I2C && EXPERIMENTAL
+	---help---
+	  Support for the Texas Instruments TLV320AIC23B audio codec.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called tlv320aic23b.
+
+config VIDEO_WM8775
+	tristate "Wolfson Microelectronics WM8775 audio ADC with input mixer"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for the Wolfson Microelectronics WM8775 high
+	  performance stereo A/D Converter with a 4 channel input mixer.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called wm8775.
+
+config VIDEO_WM8739
+	tristate "Wolfson Microelectronics WM8739 stereo audio ADC"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for the Wolfson Microelectronics WM8739
+	  stereo A/D Converter.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called wm8739.
+
+config VIDEO_VP27SMPX
+	tristate "Panasonic VP27s internal MPX"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for the internal MPX of the Panasonic VP27s tuner.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called vp27smpx.
+
+comment "RDS decoders"
+
+config VIDEO_SAA6588
+	tristate "SAA6588 Radio Chip RDS decoder support"
+	depends on VIDEO_V4L2 && I2C
+
+	help
+	  Support for this Radio Data System (RDS) decoder. This allows
+	  seeing radio station identification transmitted using this
+	  standard.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called saa6588.
+
+comment "Video decoders"
+
+config VIDEO_ADV7180
+	tristate "Analog Devices ADV7180 decoder"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for the Analog Devices ADV7180 video decoder.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called adv7180.
+
+config VIDEO_ADV7183
+	tristate "Analog Devices ADV7183 decoder"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  V4l2 subdevice driver for the Analog Devices
+	  ADV7183 video decoder.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called adv7183.
+
+config VIDEO_BT819
+	tristate "BT819A VideoStream decoder"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for BT819A video decoder.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called bt819.
+
+config VIDEO_BT856
+	tristate "BT856 VideoStream decoder"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for BT856 video decoder.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called bt856.
+
+config VIDEO_BT866
+	tristate "BT866 VideoStream decoder"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for BT866 video decoder.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called bt866.
+
+config VIDEO_KS0127
+	tristate "KS0127 video decoder"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for KS0127 video decoder.
+
+	  This chip is used on AverMedia AVS6EYES Zoran-based MJPEG
+	  cards.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called ks0127.
+
+config VIDEO_SAA7110
+	tristate "Philips SAA7110 video decoder"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for the Philips SAA7110 video decoders.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called saa7110.
+
+config VIDEO_SAA711X
+	tristate "Philips SAA7111/3/4/5 video decoders"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for the Philips SAA7111/3/4/5 video decoders.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called saa7115.
+
+config VIDEO_SAA7191
+	tristate "Philips SAA7191 video decoder"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for the Philips SAA7191 video decoder.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called saa7191.
+
+config VIDEO_TVP514X
+	tristate "Texas Instruments TVP514x video decoder"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  This is a Video4Linux2 sensor-level driver for the TI TVP5146/47
+	  decoder. It is currently working with the TI OMAP3 camera
+	  controller.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called tvp514x.
+
+config VIDEO_TVP5150
+	tristate "Texas Instruments TVP5150 video decoder"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for the Texas Instruments TVP5150 video decoder.
+
+	  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
+	---help---
+	  Support for VPX322x video decoders.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called 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/i2c/cx25840/Kconfig"
+
+comment "MPEG video encoders"
+
+config VIDEO_CX2341X
+	tristate "Conexant CX2341x MPEG encoders"
+	depends on VIDEO_V4L2 && VIDEO_V4L2_COMMON
+	---help---
+	  Support for the Conexant CX23416 MPEG encoders
+	  and CX23415 MPEG encoder/decoders.
+
+	  This module currently supports the encoding functions only.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called cx2341x.
+
+comment "Video encoders"
+
+config VIDEO_SAA7127
+	tristate "Philips SAA7127/9 digital video encoders"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for the Philips SAA7127/9 digital video encoders.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called saa7127.
+
+config VIDEO_SAA7185
+	tristate "Philips SAA7185 video encoder"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for the Philips SAA7185 video encoder.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called saa7185.
+
+config VIDEO_ADV7170
+	tristate "Analog Devices ADV7170 video encoder"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for the Analog Devices ADV7170 video encoder driver
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called adv7170.
+
+config VIDEO_ADV7175
+	tristate "Analog Devices ADV7175 video encoder"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for the Analog Devices ADV7175 video encoder driver
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called adv7175.
+
+config VIDEO_ADV7343
+	tristate "ADV7343 video encoder"
+	depends on I2C
+	help
+	  Support for Analog Devices I2C bus based ADV7343 encoder.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called adv7343.
+
+config VIDEO_ADV7393
+	tristate "ADV7393 video encoder"
+	depends on I2C
+	help
+	  Support for Analog Devices I2C bus based ADV7393 encoder.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called adv7393.
+
+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_APTINA_PLL
+	tristate
+
+config VIDEO_SMIAPP_PLL
+	tristate
+
+config VIDEO_OV7670
+	tristate "OmniVision OV7670 sensor support"
+	depends on I2C && VIDEO_V4L2
+	depends on MEDIA_CAMERA_SUPPORT
+	---help---
+	  This is a Video4Linux2 sensor-level driver for the OmniVision
+	  OV7670 VGA camera.  It currently only works with the M88ALP01
+	  controller.
+
+config VIDEO_VS6624
+	tristate "ST VS6624 sensor support"
+	depends on VIDEO_V4L2 && I2C
+	depends on MEDIA_CAMERA_SUPPORT
+	---help---
+	  This is a Video4Linux2 sensor-level driver for the ST VS6624
+	  camera.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called vs6624.
+
+config VIDEO_MT9M032
+	tristate "MT9M032 camera sensor support"
+	depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
+	depends on MEDIA_CAMERA_SUPPORT
+	select VIDEO_APTINA_PLL
+	---help---
+	  This driver supports MT9M032 camera sensors from Aptina, monochrome
+	  models only.
+
+config VIDEO_MT9P031
+	tristate "Aptina MT9P031 support"
+	depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
+	depends on MEDIA_CAMERA_SUPPORT
+	select VIDEO_APTINA_PLL
+	---help---
+	  This is a Video4Linux2 sensor-level driver for the Aptina
+	  (Micron) mt9p031 5 Mpixel camera.
+
+config VIDEO_MT9T001
+	tristate "Aptina MT9T001 support"
+	depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
+	depends on MEDIA_CAMERA_SUPPORT
+	---help---
+	  This is a Video4Linux2 sensor-level driver for the Aptina
+	  (Micron) mt0t001 3 Mpixel camera.
+
+config VIDEO_MT9V011
+	tristate "Micron mt9v011 sensor support"
+	depends on I2C && VIDEO_V4L2
+	depends on MEDIA_CAMERA_SUPPORT
+	---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
+	depends on MEDIA_CAMERA_SUPPORT
+	---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
+	depends on MEDIA_CAMERA_SUPPORT
+	---help---
+	  This is a driver for the Toshiba TCM825x VGA camera sensor.
+	  It is used for example in Nokia N800.
+
+config VIDEO_SR030PC30
+	tristate "Siliconfile SR030PC30 sensor support"
+	depends on I2C && VIDEO_V4L2
+	depends on MEDIA_CAMERA_SUPPORT
+	---help---
+	  This driver supports SR030PC30 VGA camera from Siliconfile
+
+config VIDEO_NOON010PC30
+	tristate "Siliconfile NOON010PC30 sensor support"
+	depends on I2C && VIDEO_V4L2 && EXPERIMENTAL && VIDEO_V4L2_SUBDEV_API
+	depends on MEDIA_CAMERA_SUPPORT
+	---help---
+	  This driver supports NOON010PC30 CIF camera from Siliconfile
+
+source "drivers/media/i2c/m5mols/Kconfig"
+
+config VIDEO_S5K6AA
+	tristate "Samsung S5K6AAFX sensor support"
+	depends on MEDIA_CAMERA_SUPPORT
+	depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
+	---help---
+	  This is a V4L2 sensor-level driver for Samsung S5K6AA(FX) 1.3M
+	  camera sensor with an embedded SoC image signal processor.
+
+source "drivers/media/i2c/smiapp/Kconfig"
+
+comment "Flash devices"
+
+config VIDEO_ADP1653
+	tristate "ADP1653 flash support"
+	depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER
+	depends on MEDIA_CAMERA_SUPPORT
+	---help---
+	  This is a driver for the ADP1653 flash controller. It is used for
+	  example in Nokia N900.
+
+config VIDEO_AS3645A
+	tristate "AS3645A flash driver support"
+	depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER
+	depends on MEDIA_CAMERA_SUPPORT
+	---help---
+	  This is a driver for the AS3645A and LM3555 flash controllers. It has
+	  build in control for flash, torch and indicator LEDs.
+
+comment "Video improvement chips"
+
+config VIDEO_UPD64031A
+	tristate "NEC Electronics uPD64031A Ghost Reduction"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for the NEC Electronics uPD64031A Ghost Reduction
+	  video chip. It is most often found in NTSC TV cards made for
+	  Japan and is used to reduce the 'ghosting' effect that can
+	  be present in analog TV broadcasts.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called upd64031a.
+
+config VIDEO_UPD64083
+	tristate "NEC Electronics uPD64083 3-Dimensional Y/C separation"
+	depends on VIDEO_V4L2 && I2C
+	---help---
+	  Support for the NEC Electronics uPD64083 3-Dimensional Y/C
+	  separation video chip. It is used to improve the quality of
+	  the colors of a composite signal.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called upd64083.
+
+comment "Miscelaneous helper chips"
+
+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_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.
+
+endmenu
+endif

+ 63 - 0
drivers/media/i2c/Makefile

@@ -0,0 +1,63 @@
+msp3400-objs	:=	msp3400-driver.o msp3400-kthreads.o
+obj-$(CONFIG_VIDEO_MSP3400) += msp3400.o
+
+obj-$(CONFIG_VIDEO_SMIAPP)	+= smiapp/
+obj-$(CONFIG_VIDEO_CX25840) += cx25840/
+obj-$(CONFIG_VIDEO_M5MOLS)	+= m5mols/
+
+obj-$(CONFIG_VIDEO_APTINA_PLL) += aptina-pll.o
+obj-$(CONFIG_VIDEO_TVAUDIO) += tvaudio.o
+obj-$(CONFIG_VIDEO_TDA7432) += tda7432.o
+obj-$(CONFIG_VIDEO_SAA6588) += saa6588.o
+obj-$(CONFIG_VIDEO_TDA9840) += tda9840.o
+obj-$(CONFIG_VIDEO_TEA6415C) += tea6415c.o
+obj-$(CONFIG_VIDEO_TEA6420) += tea6420.o
+obj-$(CONFIG_VIDEO_SAA7110) += saa7110.o
+obj-$(CONFIG_VIDEO_SAA711X) += saa7115.o
+obj-$(CONFIG_VIDEO_SAA717X) += saa717x.o
+obj-$(CONFIG_VIDEO_SAA7127) += saa7127.o
+obj-$(CONFIG_VIDEO_SAA7185) += saa7185.o
+obj-$(CONFIG_VIDEO_SAA7191) += saa7191.o
+obj-$(CONFIG_VIDEO_ADV7170) += adv7170.o
+obj-$(CONFIG_VIDEO_ADV7175) += adv7175.o
+obj-$(CONFIG_VIDEO_ADV7180) += adv7180.o
+obj-$(CONFIG_VIDEO_ADV7183) += adv7183.o
+obj-$(CONFIG_VIDEO_ADV7343) += adv7343.o
+obj-$(CONFIG_VIDEO_ADV7393) += adv7393.o
+obj-$(CONFIG_VIDEO_VPX3220) += vpx3220.o
+obj-$(CONFIG_VIDEO_VS6624)  += vs6624.o
+obj-$(CONFIG_VIDEO_BT819) += bt819.o
+obj-$(CONFIG_VIDEO_BT856) += bt856.o
+obj-$(CONFIG_VIDEO_BT866) += bt866.o
+obj-$(CONFIG_VIDEO_KS0127) += ks0127.o
+obj-$(CONFIG_VIDEO_THS7303) += ths7303.o
+obj-$(CONFIG_VIDEO_TVP5150) += tvp5150.o
+obj-$(CONFIG_VIDEO_TVP514X) += tvp514x.o
+obj-$(CONFIG_VIDEO_TVP7002) += tvp7002.o
+obj-$(CONFIG_VIDEO_CS5345) += cs5345.o
+obj-$(CONFIG_VIDEO_CS53L32A) += cs53l32a.o
+obj-$(CONFIG_VIDEO_M52790) += m52790.o
+obj-$(CONFIG_VIDEO_TLV320AIC23B) += tlv320aic23b.o
+obj-$(CONFIG_VIDEO_WM8775) += wm8775.o
+obj-$(CONFIG_VIDEO_WM8739) += wm8739.o
+obj-$(CONFIG_VIDEO_VP27SMPX) += vp27smpx.o
+obj-$(CONFIG_VIDEO_UPD64031A) += upd64031a.o
+obj-$(CONFIG_VIDEO_UPD64083) += upd64083.o
+obj-$(CONFIG_VIDEO_OV7670) 	+= ov7670.o
+obj-$(CONFIG_VIDEO_TCM825X) += tcm825x.o
+obj-$(CONFIG_VIDEO_TVEEPROM) += tveeprom.o
+obj-$(CONFIG_VIDEO_MT9M032) += mt9m032.o
+obj-$(CONFIG_VIDEO_MT9P031) += mt9p031.o
+obj-$(CONFIG_VIDEO_MT9T001) += mt9t001.o
+obj-$(CONFIG_VIDEO_MT9V011) += mt9v011.o
+obj-$(CONFIG_VIDEO_MT9V032) += mt9v032.o
+obj-$(CONFIG_VIDEO_SR030PC30)	+= sr030pc30.o
+obj-$(CONFIG_VIDEO_NOON010PC30)	+= noon010pc30.o
+obj-$(CONFIG_VIDEO_S5K6AA)	+= s5k6aa.o
+obj-$(CONFIG_VIDEO_ADP1653)	+= adp1653.o
+obj-$(CONFIG_VIDEO_AS3645A)	+= as3645a.o
+obj-$(CONFIG_VIDEO_SMIAPP_PLL)	+= smiapp-pll.o
+obj-$(CONFIG_VIDEO_BTCX)  += btcx-risc.o
+obj-$(CONFIG_VIDEO_CX2341X) += cx2341x.o
+obj-$(CONFIG_VIDEO_AK881X)		+= ak881x.o
+obj-$(CONFIG_VIDEO_IR_I2C)  += ir-kbd-i2c.o

+ 1 - 1
drivers/media/video/adp1653.c → drivers/media/i2c/adp1653.c

@@ -1,5 +1,5 @@
 /*
- * drivers/media/video/adp1653.c
+ * drivers/media/i2c/adp1653.c
  *
  * Copyright (C) 2008--2011 Nokia Corporation
  *

+ 0 - 0
drivers/media/video/adv7170.c → drivers/media/i2c/adv7170.c


+ 0 - 0
drivers/media/video/adv7175.c → drivers/media/i2c/adv7175.c


+ 0 - 0
drivers/media/video/adv7180.c → drivers/media/i2c/adv7180.c


+ 0 - 0
drivers/media/video/adv7183.c → drivers/media/i2c/adv7183.c


+ 0 - 0
drivers/media/video/adv7183_regs.h → drivers/media/i2c/adv7183_regs.h


+ 0 - 0
drivers/media/video/adv7343.c → drivers/media/i2c/adv7343.c


+ 0 - 0
drivers/media/video/adv7343_regs.h → drivers/media/i2c/adv7343_regs.h


+ 0 - 0
drivers/media/video/adv7393.c → drivers/media/i2c/adv7393.c


+ 0 - 0
drivers/media/video/adv7393_regs.h → drivers/media/i2c/adv7393_regs.h


+ 0 - 0
drivers/media/video/ak881x.c → drivers/media/i2c/ak881x.c


+ 0 - 0
drivers/media/video/aptina-pll.c → drivers/media/i2c/aptina-pll.c


+ 0 - 0
drivers/media/video/aptina-pll.h → drivers/media/i2c/aptina-pll.h


+ 1 - 1
drivers/media/video/as3645a.c → drivers/media/i2c/as3645a.c

@@ -1,5 +1,5 @@
 /*
- * drivers/media/video/as3645a.c - AS3645A and LM3555 flash controllers driver
+ * drivers/media/i2c/as3645a.c - AS3645A and LM3555 flash controllers driver
  *
  * Copyright (C) 2008-2011 Nokia Corporation
  * Copyright (c) 2011, Intel Corporation.

+ 0 - 0
drivers/media/video/bt819.c → drivers/media/i2c/bt819.c


+ 0 - 0
drivers/media/video/bt856.c → drivers/media/i2c/bt856.c


+ 0 - 0
drivers/media/video/bt866.c → drivers/media/i2c/bt866.c


+ 0 - 0
drivers/media/video/btcx-risc.c → drivers/media/i2c/btcx-risc.c


+ 0 - 0
drivers/media/video/btcx-risc.h → drivers/media/i2c/btcx-risc.h


+ 0 - 0
drivers/media/video/cs5345.c → drivers/media/i2c/cs5345.c


+ 0 - 0
drivers/media/video/cs53l32a.c → drivers/media/i2c/cs53l32a.c


+ 0 - 0
drivers/media/video/cx2341x.c → drivers/media/i2c/cx2341x.c


+ 0 - 0
drivers/media/video/cx25840/Kconfig → drivers/media/i2c/cx25840/Kconfig


+ 1 - 1
drivers/media/video/cx25840/Makefile → drivers/media/i2c/cx25840/Makefile

@@ -3,4 +3,4 @@ cx25840-objs    := cx25840-core.o cx25840-audio.o cx25840-firmware.o \
 
 obj-$(CONFIG_VIDEO_CX25840) += cx25840.o
 
-ccflags-y += -Idrivers/media/video
+ccflags-y += -Idrivers/media/i2c

+ 0 - 0
drivers/media/video/cx25840/cx25840-audio.c → drivers/media/i2c/cx25840/cx25840-audio.c


+ 0 - 0
drivers/media/video/cx25840/cx25840-core.c → drivers/media/i2c/cx25840/cx25840-core.c


+ 0 - 0
drivers/media/video/cx25840/cx25840-core.h → drivers/media/i2c/cx25840/cx25840-core.h


+ 0 - 0
drivers/media/video/cx25840/cx25840-firmware.c → drivers/media/i2c/cx25840/cx25840-firmware.c


+ 0 - 0
drivers/media/video/cx25840/cx25840-ir.c → drivers/media/i2c/cx25840/cx25840-ir.c


+ 0 - 0
drivers/media/video/cx25840/cx25840-vbi.c → drivers/media/i2c/cx25840/cx25840-vbi.c


+ 0 - 0
drivers/media/video/ir-kbd-i2c.c → drivers/media/i2c/ir-kbd-i2c.c


+ 0 - 0
drivers/media/video/ks0127.c → drivers/media/i2c/ks0127.c


+ 0 - 0
drivers/media/video/ks0127.h → drivers/media/i2c/ks0127.h


+ 0 - 0
drivers/media/video/m52790.c → drivers/media/i2c/m52790.c


+ 0 - 0
drivers/media/video/m5mols/Kconfig → drivers/media/i2c/m5mols/Kconfig


+ 0 - 0
drivers/media/video/m5mols/Makefile → drivers/media/i2c/m5mols/Makefile


+ 0 - 0
drivers/media/video/m5mols/m5mols.h → drivers/media/i2c/m5mols/m5mols.h


+ 0 - 0
drivers/media/video/m5mols/m5mols_capture.c → drivers/media/i2c/m5mols/m5mols_capture.c


+ 0 - 0
drivers/media/video/m5mols/m5mols_controls.c → drivers/media/i2c/m5mols/m5mols_controls.c


+ 0 - 0
drivers/media/video/m5mols/m5mols_core.c → drivers/media/i2c/m5mols/m5mols_core.c


+ 0 - 0
drivers/media/video/m5mols/m5mols_reg.h → drivers/media/i2c/m5mols/m5mols_reg.h


+ 0 - 0
drivers/media/video/msp3400-driver.c → drivers/media/i2c/msp3400-driver.c


+ 0 - 0
drivers/media/video/msp3400-driver.h → drivers/media/i2c/msp3400-driver.h


+ 0 - 0
drivers/media/video/msp3400-kthreads.c → drivers/media/i2c/msp3400-kthreads.c


+ 0 - 0
drivers/media/video/mt9m032.c → drivers/media/i2c/mt9m032.c


+ 0 - 0
drivers/media/video/mt9p031.c → drivers/media/i2c/mt9p031.c


+ 0 - 0
drivers/media/video/mt9t001.c → drivers/media/i2c/mt9t001.c


+ 0 - 0
drivers/media/video/mt9v011.c → drivers/media/i2c/mt9v011.c


+ 0 - 0
drivers/media/video/mt9v032.c → drivers/media/i2c/mt9v032.c


+ 0 - 0
drivers/media/video/noon010pc30.c → drivers/media/i2c/noon010pc30.c


+ 0 - 0
drivers/media/video/ov7670.c → drivers/media/i2c/ov7670.c


+ 0 - 0
drivers/media/video/s5k6aa.c → drivers/media/i2c/s5k6aa.c


+ 0 - 0
drivers/media/video/saa6588.c → drivers/media/i2c/saa6588.c


+ 0 - 0
drivers/media/video/saa7110.c → drivers/media/i2c/saa7110.c


+ 0 - 0
drivers/media/video/saa7115.c → drivers/media/i2c/saa7115.c


+ 0 - 0
drivers/media/video/saa711x_regs.h → drivers/media/i2c/saa711x_regs.h


+ 0 - 0
drivers/media/video/saa7127.c → drivers/media/i2c/saa7127.c


+ 0 - 0
drivers/media/video/saa717x.c → drivers/media/i2c/saa717x.c


+ 0 - 0
drivers/media/video/saa7185.c → drivers/media/i2c/saa7185.c


+ 0 - 0
drivers/media/video/saa7191.c → drivers/media/i2c/saa7191.c


+ 0 - 0
drivers/media/video/saa7191.h → drivers/media/i2c/saa7191.h


+ 1 - 1
drivers/media/video/smiapp-pll.c → drivers/media/i2c/smiapp-pll.c

@@ -1,5 +1,5 @@
 /*
- * drivers/media/video/smiapp-pll.c
+ * drivers/media/i2c/smiapp-pll.c
  *
  * Generic driver for SMIA/SMIA++ compliant camera modules
  *

+ 1 - 1
drivers/media/video/smiapp-pll.h → drivers/media/i2c/smiapp-pll.h

@@ -1,5 +1,5 @@
 /*
- * drivers/media/video/smiapp-pll.h
+ * drivers/media/i2c/smiapp-pll.h
  *
  * Generic driver for SMIA/SMIA++ compliant camera modules
  *

+ 0 - 0
drivers/media/video/smiapp/Kconfig → drivers/media/i2c/smiapp/Kconfig


+ 1 - 1
drivers/media/video/smiapp/Makefile → drivers/media/i2c/smiapp/Makefile

@@ -2,4 +2,4 @@ smiapp-objs			+= smiapp-core.o smiapp-regs.o \
 				   smiapp-quirk.o smiapp-limits.o
 obj-$(CONFIG_VIDEO_SMIAPP)	+= smiapp.o
 
-ccflags-y += -Idrivers/media/video
+ccflags-y += -Idrivers/media/i2c

+ 1 - 1
drivers/media/video/smiapp/smiapp-core.c → drivers/media/i2c/smiapp/smiapp-core.c

@@ -1,5 +1,5 @@
 /*
- * drivers/media/video/smiapp/smiapp-core.c
+ * drivers/media/i2c/smiapp/smiapp-core.c
  *
  * Generic driver for SMIA/SMIA++ compliant camera modules
  *

+ 1 - 1
drivers/media/video/smiapp/smiapp-limits.c → drivers/media/i2c/smiapp/smiapp-limits.c

@@ -1,5 +1,5 @@
 /*
- * drivers/media/video/smiapp/smiapp-limits.c
+ * drivers/media/i2c/smiapp/smiapp-limits.c
  *
  * Generic driver for SMIA/SMIA++ compliant camera modules
  *

+ 1 - 1
drivers/media/video/smiapp/smiapp-limits.h → drivers/media/i2c/smiapp/smiapp-limits.h

@@ -1,5 +1,5 @@
 /*
- * drivers/media/video/smiapp/smiapp-limits.h
+ * drivers/media/i2c/smiapp/smiapp-limits.h
  *
  * Generic driver for SMIA/SMIA++ compliant camera modules
  *

+ 1 - 1
drivers/media/video/smiapp/smiapp-quirk.c → drivers/media/i2c/smiapp/smiapp-quirk.c

@@ -1,5 +1,5 @@
 /*
- * drivers/media/video/smiapp/smiapp-quirk.c
+ * drivers/media/i2c/smiapp/smiapp-quirk.c
  *
  * Generic driver for SMIA/SMIA++ compliant camera modules
  *

+ 1 - 1
drivers/media/video/smiapp/smiapp-quirk.h → drivers/media/i2c/smiapp/smiapp-quirk.h

@@ -1,5 +1,5 @@
 /*
- * drivers/media/video/smiapp/smiapp-quirk.h
+ * drivers/media/i2c/smiapp/smiapp-quirk.h
  *
  * Generic driver for SMIA/SMIA++ compliant camera modules
  *

+ 1 - 1
drivers/media/video/smiapp/smiapp-reg-defs.h → drivers/media/i2c/smiapp/smiapp-reg-defs.h

@@ -1,5 +1,5 @@
 /*
- * drivers/media/video/smiapp/smiapp-reg-defs.h
+ * drivers/media/i2c/smiapp/smiapp-reg-defs.h
  *
  * Generic driver for SMIA/SMIA++ compliant camera modules
  *

+ 1 - 1
drivers/media/video/smiapp/smiapp-reg.h → drivers/media/i2c/smiapp/smiapp-reg.h

@@ -1,5 +1,5 @@
 /*
- * drivers/media/video/smiapp/smiapp-reg.h
+ * drivers/media/i2c/smiapp/smiapp-reg.h
  *
  * Generic driver for SMIA/SMIA++ compliant camera modules
  *

+ 1 - 1
drivers/media/video/smiapp/smiapp-regs.c → drivers/media/i2c/smiapp/smiapp-regs.c

@@ -1,5 +1,5 @@
 /*
- * drivers/media/video/smiapp/smiapp-regs.c
+ * drivers/media/i2c/smiapp/smiapp-regs.c
  *
  * Generic driver for SMIA/SMIA++ compliant camera modules
  *

+ 0 - 0
drivers/media/video/smiapp/smiapp-regs.h → drivers/media/i2c/smiapp/smiapp-regs.h


+ 1 - 1
drivers/media/video/smiapp/smiapp.h → drivers/media/i2c/smiapp/smiapp.h

@@ -1,5 +1,5 @@
 /*
- * drivers/media/video/smiapp/smiapp.h
+ * drivers/media/i2c/smiapp/smiapp.h
  *
  * Generic driver for SMIA/SMIA++ compliant camera modules
  *

+ 0 - 0
drivers/media/video/sr030pc30.c → drivers/media/i2c/sr030pc30.c


+ 1 - 1
drivers/media/video/tcm825x.c → drivers/media/i2c/tcm825x.c

@@ -1,5 +1,5 @@
 /*
- * drivers/media/video/tcm825x.c
+ * drivers/media/i2c/tcm825x.c
  *
  * TCM825X camera sensor driver.
  *

+ 1 - 1
drivers/media/video/tcm825x.h → drivers/media/i2c/tcm825x.h

@@ -1,5 +1,5 @@
 /*
- * drivers/media/video/tcm825x.h
+ * drivers/media/i2c/tcm825x.h
  *
  * Register definitions for the TCM825X CameraChip.
  *

+ 0 - 0
drivers/media/video/tda7432.c → drivers/media/i2c/tda7432.c


+ 0 - 0
drivers/media/video/tda9840.c → drivers/media/i2c/tda9840.c


+ 0 - 0
drivers/media/video/tea6415c.c → drivers/media/i2c/tea6415c.c


+ 0 - 0
drivers/media/video/tea6415c.h → drivers/media/i2c/tea6415c.h


+ 0 - 0
drivers/media/video/tea6420.c → drivers/media/i2c/tea6420.c


+ 0 - 0
drivers/media/video/tea6420.h → drivers/media/i2c/tea6420.h


+ 0 - 0
drivers/media/video/ths7303.c → drivers/media/i2c/ths7303.c


+ 0 - 0
drivers/media/video/tlv320aic23b.c → drivers/media/i2c/tlv320aic23b.c


+ 0 - 0
drivers/media/video/tvaudio.c → drivers/media/i2c/tvaudio.c


+ 0 - 0
drivers/media/video/tveeprom.c → drivers/media/i2c/tveeprom.c


+ 1 - 1
drivers/media/video/tvp514x.c → drivers/media/i2c/tvp514x.c

@@ -1,5 +1,5 @@
 /*
- * drivers/media/video/tvp514x.c
+ * drivers/media/i2c/tvp514x.c
  *
  * TI TVP5146/47 decoder driver
  *

+ 1 - 1
drivers/media/video/tvp514x_regs.h → drivers/media/i2c/tvp514x_regs.h

@@ -1,5 +1,5 @@
 /*
- * drivers/media/video/tvp514x_regs.h
+ * drivers/media/i2c/tvp514x_regs.h
  *
  * Copyright (C) 2008 Texas Instruments Inc
  * Author: Vaibhav Hiremath <hvaibhav@ti.com>

+ 0 - 0
drivers/media/video/tvp5150.c → drivers/media/i2c/tvp5150.c


+ 0 - 0
drivers/media/video/tvp5150_reg.h → drivers/media/i2c/tvp5150_reg.h


+ 0 - 0
drivers/media/video/tvp7002.c → drivers/media/i2c/tvp7002.c


+ 0 - 0
drivers/media/video/tvp7002_reg.h → drivers/media/i2c/tvp7002_reg.h


+ 0 - 0
drivers/media/video/upd64031a.c → drivers/media/i2c/upd64031a.c


+ 0 - 0
drivers/media/video/upd64083.c → drivers/media/i2c/upd64083.c


Some files were not shown because too many files changed in this diff