media: i2c: add vcm driver ces6301

Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: Iebd899fffc3499beb3f7bde753de2f94efd1e25e
This commit is contained in:
Wang Panzhenzhuan
2024-02-22 06:26:23 +00:00
committed by Tao Huang
parent c14093df2d
commit bca95c28eb
3 changed files with 1145 additions and 0 deletions

View File

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

View File

@@ -32,6 +32,7 @@ obj-$(CONFIG_VIDEO_BT866) += bt866.o
obj-$(CONFIG_VIDEO_CAM_SLEEP_WAKEUP) += cam-sleep-wakeup.o
obj-$(CONFIG_VIDEO_CCS) += ccs/
obj-$(CONFIG_VIDEO_CCS_PLL) += ccs-pll.o
obj-$(CONFIG_VIDEO_CES6301) += ces6301.o
obj-$(CONFIG_VIDEO_CN3927V) += cn3927v.o
obj-$(CONFIG_VIDEO_CS3308) += cs3308.o
obj-$(CONFIG_VIDEO_CS5345) += cs5345.o

1133
drivers/media/i2c/ces6301.c Normal file

File diff suppressed because it is too large Load Diff