media: add motor driver fp5501 for camera focus/zoom

Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ia417598fb196e320d82ff03fcfd921d89c6a762b
This commit is contained in:
Zefa Chen
2021-06-05 14:48:58 +08:00
parent e4b2ee8a88
commit 2a520d73f0
3 changed files with 1059 additions and 0 deletions

View File

@ -368,6 +368,12 @@ config VIDEO_DW9807_VCM
capability. This is designed for linear control of
voice coil motors, controlled via I2C serial interface.
config VIDEO_FP5501
tristate "FP5501 step motor driver for camera focus/zoom"
depends on VIDEO_V4L2 && MEDIA_CONTROLLER
help
This a driver used GPIO to drive motor
config VIDEO_FP5510
tristate "FP5510 lens voice coil support"
depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER

View File

@ -30,6 +30,7 @@ obj-$(CONFIG_VIDEO_AK7375) += ak7375.o
obj-$(CONFIG_VIDEO_DW9714) += dw9714.o
obj-$(CONFIG_VIDEO_DW9718) += dw9718.o
obj-$(CONFIG_VIDEO_DW9807_VCM) += dw9807-vcm.o
obj-$(CONFIG_VIDEO_FP5501) += fp5501.o
obj-$(CONFIG_VIDEO_FP5510) += fp5510.o
obj-$(CONFIG_VIDEO_GT9760S) += gt9760s.o
obj-$(CONFIG_VIDEO_VM149C) += vm149c.o

1052
drivers/media/i2c/fp5501.c Normal file

File diff suppressed because it is too large Load Diff