media: i2c: add sc4238 driver

Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: I049d127f3b9ce6df88ba235997167f9d0b658075
This commit is contained in:
Wang Panzhenzhuan
2020-10-15 10:06:23 +08:00
committed by Tao Huang
parent b4b8e03c0a
commit dafa0a433c
3 changed files with 2466 additions and 0 deletions

View File

@@ -1519,6 +1519,17 @@ config VIDEO_SC2310
To compile this driver as a module, choose M here: the
module will be called sc2310.
config VIDEO_SC4238
tristate "SmartSens SC4238 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
depends on MEDIA_CAMERA_SUPPORT
select V4L2_FWNODE
help
Support for the SmartSens SC4238 sensor.
To compile this driver as a module, choose M here: the
module will be called sc4238.
comment "Flash devices"
config VIDEO_ADP1653

View File

@@ -161,5 +161,6 @@ obj-$(CONFIG_VIDEO_SC132GS) += sc132gs.o
obj-$(CONFIG_VIDEO_SC200AI) += sc200ai.o
obj-$(CONFIG_VIDEO_SC210IOT) += sc210iot.o
obj-$(CONFIG_VIDEO_SC2310) += sc2310.o
obj-$(CONFIG_VIDEO_SC4238) += sc4238.o
obj-$(CONFIG_SDR_MAX2175) += max2175.o

2454
drivers/media/i2c/sc4238.c Normal file

File diff suppressed because it is too large Load Diff