media: i2c: add sensor driver sc4336

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

View File

@@ -1658,6 +1658,16 @@ config VIDEO_SC3336
This is a Video4Linux2 sensor driver for the SmartSens
SC3336 camera.
config VIDEO_SC4336
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
SC4336 camera.
config VIDEO_SENSOR_ADAPTER
tristate "Rockchip sensor driver adapter"
depends on I2C && VIDEO_V4L2

View File

@@ -114,6 +114,7 @@ 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_SC4336) += sc4336.o
obj-$(CONFIG_VIDEO_SENSOR_ADAPTER) += sensor_adapter.o
obj-$(CONFIG_VIDEO_SR030PC30) += sr030pc30.o
obj-$(CONFIG_VIDEO_NOON010PC30) += noon010pc30.o

1487
drivers/media/i2c/sc4336.c Normal file

File diff suppressed because it is too large Load Diff