media: i2c: add vcm driver cn3927v

Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: Iebe883899e7f9bd7ba85142f030129b6c4bf02ea
This commit is contained in:
Wang Panzhenzhuan
2022-06-02 06:59:56 +00:00
committed by Tao Huang
parent b9b5037f47
commit f4fb5b28c2
3 changed files with 1398 additions and 0 deletions

View File

@@ -1965,6 +1965,17 @@ config VIDEO_AW8601
capability. This is designed for linear control of
voice coil motors, controlled via I2C serial interface.
config VIDEO_CN3927V
tristate "CN3927V lens voice coil support"
depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
help
This is a driver for the CN3927V camera lens voice coil.
CN3927V 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_DW9714
tristate "DW9714 lens voice coil support"
depends on I2C && VIDEO_V4L2

View File

@@ -27,6 +27,7 @@ obj-$(CONFIG_VIDEO_SAA6752HS) += saa6752hs.o
obj-$(CONFIG_VIDEO_AD5820) += ad5820.o
obj-$(CONFIG_VIDEO_AK7375) += ak7375.o
obj-$(CONFIG_VIDEO_AW8601) += aw8601.o
obj-$(CONFIG_VIDEO_CN3927V) += cn3927v.o
obj-$(CONFIG_VIDEO_DW9714) += dw9714.o
obj-$(CONFIG_VIDEO_DW9768) += dw9768.o
obj-$(CONFIG_VIDEO_DW9800W) += dw9800w.o

1386
drivers/media/i2c/cn3927v.c Normal file

File diff suppressed because it is too large Load Diff