media: i2c: support sc4210 sensor driver

Signed-off-by: Yiqing Zeng <zack.zeng@rock-chips.com>
Change-Id: I455fb50ff40a31b42d088097b43204803c613346
This commit is contained in:
Yiqing Zeng
2022-08-20 17:29:34 +08:00
committed by Tao Huang
parent 3d27419234
commit bf33cce3d4
3 changed files with 2791 additions and 0 deletions

View File

@@ -1886,6 +1886,16 @@ config VIDEO_SC401AI
This is a Video4Linux2 sensor driver for the SmartSens
SC401ai camera.
config VIDEO_SC4210
tristate "SmartSens SC4210 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
SC4210 camera.
config VIDEO_SC4336
tristate "SmartSens SC4336 sensor support"
depends on I2C && VIDEO_V4L2

View File

@@ -127,6 +127,7 @@ obj-$(CONFIG_VIDEO_SC301IOT) += sc301iot.o
obj-$(CONFIG_VIDEO_SC3336) += sc3336.o
obj-$(CONFIG_VIDEO_SC3338) += sc3338.o
obj-$(CONFIG_VIDEO_SC401AI) += sc401ai.o
obj-$(CONFIG_VIDEO_SC4210) += sc4210.o
obj-$(CONFIG_VIDEO_SC4336) += sc4336.o
obj-$(CONFIG_VIDEO_SC500AI) += sc500ai.o
obj-$(CONFIG_VIDEO_SC530AI) += sc530ai.o

2780
drivers/media/i2c/sc4210.c Normal file

File diff suppressed because it is too large Load Diff