media: i2c: add os04a10 sensor driver

Change-Id: I91537dfe4ada48d64918ebc605256152a08321a1
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
This commit is contained in:
Zefa Chen
2020-03-31 21:42:01 +08:00
committed by Tao Huang
parent 867d6fa3ac
commit fbcc256736
3 changed files with 1932 additions and 0 deletions

View File

@@ -690,6 +690,15 @@ config VIDEO_IMX327
To compile this driver as a module, choose M here: the
module will be called imx327.
config VIDEO_OS04A10
tristate "OmniVision OS04A10 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
depends on MEDIA_CAMERA_SUPPORT
select V4L2_FWNODE
help
This is a Video4Linux2 sensor driver for the OmniVision
OS04A10 camera.
config VIDEO_OV2640
tristate "OmniVision OV2640 sensor support"
depends on VIDEO_V4L2 && I2C

View File

@@ -68,6 +68,7 @@ obj-$(CONFIG_VIDEO_VP27SMPX) += vp27smpx.o
obj-$(CONFIG_VIDEO_SONY_BTF_MPX) += sony-btf-mpx.o
obj-$(CONFIG_VIDEO_UPD64031A) += upd64031a.o
obj-$(CONFIG_VIDEO_UPD64083) += upd64083.o
obj-$(CONFIG_VIDEO_OS04A10) += os04a10.o
obj-$(CONFIG_VIDEO_OV2640) += ov2640.o
obj-$(CONFIG_VIDEO_OV2680) += ov2680.o
obj-$(CONFIG_VIDEO_OV2685) += ov2685.o

1922
drivers/media/i2c/os04a10.c Normal file

File diff suppressed because it is too large Load Diff