media: i2c: add sc401ai sensor driver

Signed-off-by: Yiqing Zeng <zack.zeng@rock-chips.com>
Change-Id: Ic8cdd26d811af32eb0ada5ac88630a6a03720bd2
This commit is contained in:
Yiqing Zeng
2022-04-21 14:31:57 +08:00
committed by Tao Huang
parent bde32557c5
commit 739f8acfec
3 changed files with 1720 additions and 0 deletions

View File

@@ -1683,6 +1683,16 @@ config VIDEO_SC3336
This is a Video4Linux2 sensor driver for the SmartSens
SC3336 camera.
config VIDEO_SC401AI
tristate "SmartSens SC401AI sensor support"
depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE
help
This is a Video4Linux2 sensor driver for the SmartSens
SC401ai camera.
config VIDEO_SC4336
tristate "SmartSens SC4336 sensor support"
depends on I2C && VIDEO_V4L2

View File

@@ -114,6 +114,7 @@ obj-$(CONFIG_VIDEO_MT9V011) += mt9v011.o
obj-$(CONFIG_VIDEO_MT9V032) += mt9v032.o
obj-$(CONFIG_VIDEO_MT9V111) += mt9v111.o
obj-$(CONFIG_VIDEO_SC3336) += sc3336.o
obj-$(CONFIG_VIDEO_SC401AI) += sc401ai.o
obj-$(CONFIG_VIDEO_SC4336) += sc4336.o
obj-$(CONFIG_VIDEO_SC500AI) += sc500ai.o
obj-$(CONFIG_VIDEO_SC530AI) += sc530ai.o

1709
drivers/media/i2c/sc401ai.c Normal file

File diff suppressed because it is too large Load Diff