media: i2c: add sc430cs driver

Signed-off-by: Zhenke Fan <fanzy.fan@rock-chips.com>
Change-Id: I89d3e58072d0976a61c68a5bd11135af8217a85b
This commit is contained in:
Zhenke Fan
2020-12-17 11:26:46 +08:00
committed by Tao Huang
parent 4ee1193154
commit c74052035b
3 changed files with 1544 additions and 0 deletions

11
drivers/media/i2c/Kconfig Executable file → Normal file
View File

@@ -1657,6 +1657,17 @@ config VIDEO_SC4238
To compile this driver as a module, choose M here: the
module will be called sc4238.
config VIDEO_SC430CS
tristate "SmartSens SC430CS sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
depends on MEDIA_CAMERA_SUPPORT
select V4L2_FWNODE
help
Support for the SmartSens SC430CS sensor.
To compile this driver as a module, choose M here: the
module will be called SC430CS.
config VIDEO_SC500AI
tristate "SmartSens SC500AI sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API

1
drivers/media/i2c/Makefile Executable file → Normal file
View File

@@ -177,6 +177,7 @@ obj-$(CONFIG_VIDEO_SC2232) += sc2232.o
obj-$(CONFIG_VIDEO_SC2239) += sc2239.o
obj-$(CONFIG_VIDEO_SC2310) += sc2310.o
obj-$(CONFIG_VIDEO_SC4238) += sc4238.o
obj-$(CONFIG_VIDEO_SC430CS) += sc430cs.o
obj-$(CONFIG_VIDEO_SC500AI) += sc500ai.o
obj-$(CONFIG_VIDEO_PREISP_DUMMY_SENSOR) += preisp-dummy.o

1532
drivers/media/i2c/sc430cs.c Normal file

File diff suppressed because it is too large Load Diff