media: i2c: add sc3336p sensor driver

Change-Id: I917458b8c8bb9f8d85d203d545ec11015c98b2e5
Signed-off-by: Lan Honglin <helin.lan@rock-chips.com>
This commit is contained in:
Lan Honglin 2024-02-22 14:25:42 +08:00 committed by Tao Huang
commit ecf409630c
3 changed files with 1932 additions and 0 deletions

View file

@ -2172,6 +2172,16 @@ config VIDEO_SC3336
This is a Video4Linux2 sensor driver for the SmartSens
SC3336 camera.
config VIDEO_SC3336P
tristate "SmartSens SC3336P 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
SC3336P camera.
config VIDEO_SC3338
tristate "SmartSens SC3338 sensor support"
depends on I2C && VIDEO_V4L2

View file

@ -146,6 +146,7 @@ obj-$(CONFIG_VIDEO_SC2336) += sc2336.o
obj-$(CONFIG_VIDEO_SC2355) += sc2355.o
obj-$(CONFIG_VIDEO_SC301IOT) += sc301iot.o
obj-$(CONFIG_VIDEO_SC3336) += sc3336.o
obj-$(CONFIG_VIDEO_SC3336P) += sc3336p.o
obj-$(CONFIG_VIDEO_SC3338) += sc3338.o
obj-$(CONFIG_VIDEO_SC401AI) += sc401ai.o
obj-$(CONFIG_VIDEO_SC4210) += sc4210.o

1921
drivers/media/i2c/sc3336p.c Normal file

File diff suppressed because it is too large Load diff