media: i2c: add sc230ai sensor driver

Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com>
Change-Id: I57e9d414fd51ddc620c18233e9072a22cb8fa7d8
This commit is contained in:
Su Yuefu
2022-04-24 10:54:41 +08:00
committed by Tao Huang
parent 45d113ab59
commit 4ffc6172ee
3 changed files with 1570 additions and 0 deletions

View File

@@ -1682,6 +1682,16 @@ config VIDEO_MT9V111
To compile this driver as a module, choose M here: the
module will be called mt9v111.
config VIDEO_SC230AI
tristate "SmartSens SC230AI 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
SC230AI camera.
config VIDEO_SC3336
tristate "SmartSens SC3336 sensor support"
depends on I2C && VIDEO_V4L2

View File

@@ -114,6 +114,7 @@ obj-$(CONFIG_VIDEO_MT9T112) += mt9t112.o
obj-$(CONFIG_VIDEO_MT9V011) += mt9v011.o
obj-$(CONFIG_VIDEO_MT9V032) += mt9v032.o
obj-$(CONFIG_VIDEO_MT9V111) += mt9v111.o
obj-$(CONFIG_VIDEO_SC230AI) += sc230ai.o
obj-$(CONFIG_VIDEO_SC3336) += sc3336.o
obj-$(CONFIG_VIDEO_SC401AI) += sc401ai.o
obj-$(CONFIG_VIDEO_SC4336) += sc4336.o

1559
drivers/media/i2c/sc230ai.c Normal file

File diff suppressed because it is too large Load Diff