media: i2c: add sc2310 sensor driver

Signed-off-by: Yiqing Zeng <zack.zeng@rock-chips.com>
Change-Id: I240aea1457bf344a1ca6b410433ddf75edb33deb
This commit is contained in:
Yiqing Zeng 2020-08-27 14:19:24 +08:00 committed by Tao Huang
commit 4a1cccace9
3 changed files with 1926 additions and 0 deletions

View file

@ -1475,6 +1475,17 @@ config VIDEO_SC132GS
To compile this driver as a module, choose M here: the
module will be called sc132gs.
config VIDEO_SC2310
tristate "SmartSens SC2310 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
depends on MEDIA_CAMERA_SUPPORT
select V4L2_FWNODE
help
Support for the SmartSens SC2310 sensor.
To compile this driver as a module, choose M here: the
module will be called sc2310.
comment "Flash devices"
config VIDEO_ADP1653

View file

@ -157,5 +157,6 @@ obj-$(CONFIG_VIDEO_BF3925) += bf3925.o
obj-$(CONFIG_VIDEO_JX_H65) += jx_h65.o
obj-$(CONFIG_VIDEO_SC031GS) += sc031gs.o
obj-$(CONFIG_VIDEO_SC132GS) += sc132gs.o
obj-$(CONFIG_VIDEO_SC2310) += sc2310.o
obj-$(CONFIG_SDR_MAX2175) += max2175.o

1914
drivers/media/i2c/sc2310.c Normal file

File diff suppressed because it is too large Load diff