media: i2c: add sensor driver sc3336

Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ifcf3edab686b1c1fb52d25092797d2a843ce204c
This commit is contained in:
Zefa Chen
2022-03-07 17:09:57 +08:00
committed by Tao Huang
parent 4c74f722fe
commit 6b605a54f8
3 changed files with 1496 additions and 0 deletions

View File

@@ -1648,6 +1648,16 @@ config VIDEO_MT9V111
To compile this driver as a module, choose M here: the
module will be called mt9v111.
config VIDEO_SC3336
tristate "SmartSens SC4336 sensor support"
depends on I2C && VIDEO_V4L2
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE
help
This is a Video4Linux2 sensor driver for the SmartSens
SC3336 camera.
config VIDEO_SENSOR_ADAPTER
tristate "Rockchip sensor driver adapter"
depends on I2C && VIDEO_V4L2

View File

@@ -113,6 +113,7 @@ obj-$(CONFIG_VIDEO_MT9T112) += mt9t112.o
obj-$(CONFIG_VIDEO_MT9V011) += mt9v011.o
obj-$(CONFIG_VIDEO_MT9V032) += mt9v032.o
obj-$(CONFIG_VIDEO_MT9V111) += mt9v111.o
obj-$(CONFIG_VIDEO_SC3336) += sc3336.o
obj-$(CONFIG_VIDEO_SENSOR_ADAPTER) += sensor_adapter.o
obj-$(CONFIG_VIDEO_SR030PC30) += sr030pc30.o
obj-$(CONFIG_VIDEO_NOON010PC30) += noon010pc30.o

1485
drivers/media/i2c/sc3336.c Normal file

File diff suppressed because it is too large Load Diff