media: i2c: add camera driver sc401ai

Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ic8cdd26d811af32eb0ada5ac88630a6a03720bd2
This commit is contained in:
Zefa Chen
2021-04-06 19:50:27 +08:00
committed by Tao Huang
parent 0770f9faee
commit 8050c27003
3 changed files with 1533 additions and 0 deletions

View File

@@ -1677,6 +1677,17 @@ config VIDEO_SC2310
To compile this driver as a module, choose M here: the
module will be called sc2310.
config VIDEO_SC401AI
tristate "SmartSens SC401AI sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
depends on MEDIA_CAMERA_SUPPORT
select V4L2_FWNODE
help
Support for the SmartSens SC401AI sensor.
To compile this driver as a module, choose M here: the
module will be called SC401AI.
config VIDEO_SC4238
tristate "SmartSens SC4238 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API

View File

@@ -181,6 +181,7 @@ obj-$(CONFIG_VIDEO_SC210IOT) += sc210iot.o
obj-$(CONFIG_VIDEO_SC2232) += sc2232.o
obj-$(CONFIG_VIDEO_SC2239) += sc2239.o
obj-$(CONFIG_VIDEO_SC2310) += sc2310.o
obj-$(CONFIG_VIDEO_SC401AI) += sc401ai.o
obj-$(CONFIG_VIDEO_SC4238) += sc4238.o
obj-$(CONFIG_VIDEO_SC430CS) += sc430cs.o
obj-$(CONFIG_VIDEO_SC500AI) += sc500ai.o

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

File diff suppressed because it is too large Load Diff