media: i2c: add sc2232 driver

Signed-off-by: Frank Liu <frank.liu@rock-chips.com>
Change-Id: I688398cdc757dad906e3b8a9224b3add0d7e7cf7
This commit is contained in:
Frank Liu
2020-10-27 19:25:52 +08:00
committed by Tao Huang
parent a97ac5dffc
commit 0adf71df7f
3 changed files with 1571 additions and 0 deletions

View File

@@ -1517,6 +1517,17 @@ config VIDEO_SC210IOT
To compile this driver as a module, choose M here: the
module will be called sc210iot.
config VIDEO_SC2232
tristate "SmartSens SC2232 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
depends on MEDIA_CAMERA_SUPPORT
select V4L2_FWNODE
help
Support for the SmartSens SC2232 sensor.
To compile this driver as a module, choose M here: the
module will be called sc2232.
config VIDEO_SC2239
tristate "SmartSens SC2239 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API

View File

@@ -162,6 +162,7 @@ obj-$(CONFIG_VIDEO_SC031GS) += sc031gs.o
obj-$(CONFIG_VIDEO_SC132GS) += sc132gs.o
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_SC2310) += sc2310.o
obj-$(CONFIG_VIDEO_SC4238) += sc4238.o

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

File diff suppressed because it is too large Load Diff