media: i2c: support sc8220 sensor driver

Signed-off-by: Yiqing Zeng <zack.zeng@rock-chips.com>
Change-Id: I14135e074bc35fa6d9438997d3750b5271777099
This commit is contained in:
Yiqing Zeng
2021-05-15 18:48:53 +08:00
committed by Tao Huang
parent 06c60e3d95
commit 375fb5e3a0
3 changed files with 1200 additions and 0 deletions

View File

@@ -1799,6 +1799,17 @@ config VIDEO_SC500AI
To compile this driver as a module, choose M here: the
module will be called SC500AI.
config VIDEO_SC8220
tristate "SmartSens SC8220 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
depends on MEDIA_CAMERA_SUPPORT
select V4L2_FWNODE
help
Support for the SmartSens SC8220 sensor.
To compile this driver as a module, choose M here: the
module will be called SC8220.
config VIDEO_SP250A
tristate "Superpix SP250A sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API

View File

@@ -193,6 +193,7 @@ obj-$(CONFIG_VIDEO_SC401AI) += sc401ai.o
obj-$(CONFIG_VIDEO_SC4238) += sc4238.o
obj-$(CONFIG_VIDEO_SC430CS) += sc430cs.o
obj-$(CONFIG_VIDEO_SC500AI) += sc500ai.o
obj-$(CONFIG_VIDEO_SC8220) += sc8220.o
obj-$(CONFIG_VIDEO_SP250A) += sp250a.o
obj-$(CONFIG_VIDEO_HYNIX_HI556) += hynix_hi556.o
obj-$(CONFIG_VIDEO_HYNIX_HI846) += hynix_hi846.o

1188
drivers/media/i2c/sc8220.c Normal file

File diff suppressed because it is too large Load Diff