OSDN Git Service

media: v4l: i2c: Regroup lens drivers under their own section
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 18 Mar 2019 15:21:13 +0000 (11:21 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 20 Mar 2019 10:36:51 +0000 (06:36 -0400)
The lens drivers had ended up under the video decoder section; add a new
one just for them, between the camera sensors and flash drivers.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/Kconfig

index 3f5dd80..1ef6335 100644 (file)
@@ -321,43 +321,6 @@ config VIDEO_ML86V7667
          To compile this driver as a module, choose M here: the
          module will be called ml86v7667.
 
-config VIDEO_AD5820
-       tristate "AD5820 lens voice coil support"
-       depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER
-       ---help---
-         This is a driver for the AD5820 camera lens voice coil.
-         It is used for example in Nokia N900 (RX-51).
-
-config VIDEO_AK7375
-       tristate "AK7375 lens voice coil support"
-       depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER
-       depends on VIDEO_V4L2_SUBDEV_API
-       help
-         This is a driver for the AK7375 camera lens voice coil.
-         AK7375 is a 12 bit DAC with 120mA output current sink
-         capability. This is designed for linear control of
-         voice coil motors, controlled via I2C serial interface.
-
-config VIDEO_DW9714
-       tristate "DW9714 lens voice coil support"
-       depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER
-       depends on VIDEO_V4L2_SUBDEV_API
-       ---help---
-         This is a driver for the DW9714 camera lens voice coil.
-         DW9714 is a 10 bit DAC with 120mA output current sink
-         capability. This is designed for linear control of
-         voice coil motors, controlled via I2C serial interface.
-
-config VIDEO_DW9807_VCM
-       tristate "DW9807 lens voice coil support"
-       depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER
-       depends on VIDEO_V4L2_SUBDEV_API
-       ---help---
-         This is a driver for the DW9807 camera lens voice coil.
-         DW9807 is a 10 bit DAC with 100mA output current sink
-         capability. This is designed for linear control of
-         voice coil motors, controlled via I2C serial interface.
-
 config VIDEO_SAA7110
        tristate "Philips SAA7110 video decoder"
        depends on VIDEO_V4L2 && I2C
@@ -1021,6 +984,45 @@ config VIDEO_S5C73M3
          This is a V4L2 sensor driver for Samsung S5C73M3
          8 Mpixel camera.
 
+comment "Lens drivers"
+
+config VIDEO_AD5820
+       tristate "AD5820 lens voice coil support"
+       depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER
+       ---help---
+         This is a driver for the AD5820 camera lens voice coil.
+         It is used for example in Nokia N900 (RX-51).
+
+config VIDEO_AK7375
+       tristate "AK7375 lens voice coil support"
+       depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER
+       depends on VIDEO_V4L2_SUBDEV_API
+       help
+         This is a driver for the AK7375 camera lens voice coil.
+         AK7375 is a 12 bit DAC with 120mA output current sink
+         capability. This is designed for linear control of
+         voice coil motors, controlled via I2C serial interface.
+
+config VIDEO_DW9714
+       tristate "DW9714 lens voice coil support"
+       depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER
+       depends on VIDEO_V4L2_SUBDEV_API
+       ---help---
+         This is a driver for the DW9714 camera lens voice coil.
+         DW9714 is a 10 bit DAC with 120mA output current sink
+         capability. This is designed for linear control of
+         voice coil motors, controlled via I2C serial interface.
+
+config VIDEO_DW9807_VCM
+       tristate "DW9807 lens voice coil support"
+       depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER
+       depends on VIDEO_V4L2_SUBDEV_API
+       ---help---
+         This is a driver for the DW9807 camera lens voice coil.
+         DW9807 is a 10 bit DAC with 100mA output current sink
+         capability. This is designed for linear control of
+         voice coil motors, controlled via I2C serial interface.
+
 comment "Flash devices"
 
 config VIDEO_ADP1653