media: i2c: add sc223a sensor driver

Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com>
Change-Id: Ib7b04474b80318889bc356c25506cc8e1497902a
This commit is contained in:
Su Yuefu
2021-10-26 18:08:47 +08:00
committed by Tao Huang
parent 43f90e774d
commit e8ce286fac
3 changed files with 1502 additions and 0 deletions

View File

@@ -1802,6 +1802,17 @@ config VIDEO_SC2239
To compile this driver as a module, choose M here: the
module will be called sc2239.
config VIDEO_SC223A
tristate "SmartSens SC223A sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
depends on MEDIA_CAMERA_SUPPORT
select V4L2_FWNODE
help
Support for the SmartSens SC223A sensor.
To compile this driver as a module, choose M here: the
module will be called sc223a.
config VIDEO_SC2310
tristate "SmartSens SC2310 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API

View File

@@ -194,6 +194,7 @@ obj-$(CONFIG_VIDEO_SC200AI) += sc200ai.o
obj-$(CONFIG_VIDEO_SC210IOT) += sc210iot.o
obj-$(CONFIG_VIDEO_SC2232) += sc2232.o
obj-$(CONFIG_VIDEO_SC2239) += sc2239.o
obj-$(CONFIG_VIDEO_SC223A) += sc223a.o
obj-$(CONFIG_VIDEO_SC2310) += sc2310.o
obj-$(CONFIG_VIDEO_SC2335) += sc2335.o
obj-$(CONFIG_VIDEO_SC401AI) += sc401ai.o

1490
drivers/media/i2c/sc223a.c Normal file

File diff suppressed because it is too large Load Diff