media: i2c: add sc1330 sensor driver

Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com>
Change-Id: I3d2ad3c4607f6174d53db4189e8affccea32fdd5
This commit is contained in:
Su Yuefu
2021-10-30 16:32:26 +08:00
committed by Tao Huang
parent 41bb7b4852
commit 4c404d4126
3 changed files with 1511 additions and 0 deletions

View File

@@ -1794,6 +1794,17 @@ config VIDEO_SC035HGS
To compile this driver as a module, choose M here: the
module will be called sc035hgs.
config VIDEO_SC1330
tristate "SmartSens SC1330 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
depends on MEDIA_CAMERA_SUPPORT
select V4L2_FWNODE
help
Support for the SmartSens SC1330 sensor.
To compile this driver as a module, choose M here: the
module will be called SC1330.
config VIDEO_SC132GS
tristate "SmartSens SC132GS sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API

View File

@@ -193,6 +193,7 @@ obj-$(CONFIG_VIDEO_JX_H65) += jx_h65.o
obj-$(CONFIG_VIDEO_JX_K04) += jx_k04.o
obj-$(CONFIG_VIDEO_SC031GS) += sc031gs.o
obj-$(CONFIG_VIDEO_SC035HGS) += sc035hgs.o
obj-$(CONFIG_VIDEO_SC1330) += sc1330.o
obj-$(CONFIG_VIDEO_SC132GS) += sc132gs.o
obj-$(CONFIG_VIDEO_SC200AI) += sc200ai.o
obj-$(CONFIG_VIDEO_SC210IOT) += sc210iot.o

1499
drivers/media/i2c/sc1330.c Normal file

File diff suppressed because it is too large Load Diff