media: i2c: add sc1346 support

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I21f6e1ac11850666fb56960af6ef9d13c5907ba4
This commit is contained in:
Lin Jinhan
2023-08-08 16:54:30 +08:00
committed by Tao Huang
parent 89b7aba8b7
commit 6346396f72
3 changed files with 1517 additions and 0 deletions

View File

@@ -1607,6 +1607,17 @@ config VIDEO_SC132GS
To compile this driver as a module, choose M here: the
module will be called sc132gs.
config VIDEO_SC1346
tristate "SmartSens SC1346 sensor support"
depends on I2C && VIDEO_DEV
depends on MEDIA_CAMERA_SUPPORT
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE
help
This is a Video4Linux2 sensor driver for the SmartSens
SC1346 camera.
config VIDEO_SC200AI
tristate "SmartSens SC200AI sensor support"
depends on I2C && VIDEO_DEV

View File

@@ -206,6 +206,7 @@ obj-$(CONFIG_VIDEO_SAA7185) += saa7185.o
obj-$(CONFIG_VIDEO_SC031GS) += sc031gs.o
obj-$(CONFIG_VIDEO_SC035GS) += sc035gs.o
obj-$(CONFIG_VIDEO_SC132GS) += sc132gs.o
obj-$(CONFIG_VIDEO_SC1346) += sc1346.o
obj-$(CONFIG_VIDEO_SC200AI) += sc200ai.o
obj-$(CONFIG_VIDEO_SC210IOT) += sc210iot.o
obj-$(CONFIG_VIDEO_SC2232) += sc2232.o

1505
drivers/media/i2c/sc1346.c Normal file

File diff suppressed because it is too large Load Diff