media: i2c: add sc2336 sensor driver

Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com>
Change-Id: Ifc5a2353624f4acea6e4faa06ff160203e0fdb2c
This commit is contained in:
Su Yuefu
2022-11-29 10:03:13 +08:00
committed by Tao Huang
parent cff4b2f03a
commit 88d85896c3
3 changed files with 1583 additions and 0 deletions

View File

@@ -1938,6 +1938,16 @@ config VIDEO_SC2310
This is a Video4Linux2 sensor driver for the SmartSens
SC2310 camera.
config VIDEO_SC2336
tristate "SmartSens SC2336 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
SC2336 camera.
config VIDEO_SC301IOT
tristate "SmartSens SC301IOT sensor support"
depends on I2C && VIDEO_V4L2

View File

@@ -129,6 +129,7 @@ obj-$(CONFIG_VIDEO_SC2232) += sc2232.o
obj-$(CONFIG_VIDEO_SC2239) += sc2239.o
obj-$(CONFIG_VIDEO_SC230AI) += sc230ai.o
obj-$(CONFIG_VIDEO_SC2310) += sc2310.o
obj-$(CONFIG_VIDEO_SC2336) += sc2336.o
obj-$(CONFIG_VIDEO_SC301IOT) += sc301iot.o
obj-$(CONFIG_VIDEO_SC3336) += sc3336.o
obj-$(CONFIG_VIDEO_SC3338) += sc3338.o

1572
drivers/media/i2c/sc2336.c Normal file

File diff suppressed because it is too large Load Diff