Skip to content

Commit 866edc8

Browse files
bingbucaomchehab
authored andcommitted
media: i2c: Add ov2740 image sensor driver
OminiVision ov2740 is a 2 megapixels RAW RGB image sensor which can deliver 1920x1080@60fps frames. This driver add the support of vertical blanking, exposure, test pattern, digital and analog gain control for sensor. Signed-off-by: Bingbu Cao <[email protected]> Signed-off-by: Shawn Tu <[email protected]> Signed-off-by: Qiu, Tianshu <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 96b5b11 commit 866edc8

File tree

4 files changed

+1039
-0
lines changed

4 files changed

+1039
-0
lines changed

MAINTAINERS

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12423,6 +12423,15 @@ S: Maintained
1242312423
T: git git://linuxtv.org/media_tree.git
1242412424
F: drivers/media/i2c/ov2685.c
1242512425

12426+
OMNIVISION OV2740 SENSOR DRIVER
12427+
M: Tianshu Qiu <[email protected]>
12428+
R: Shawn Tu <[email protected]>
12429+
R: Bingbu Cao <[email protected]>
12430+
12431+
S: Maintained
12432+
T: git git://linuxtv.org/media_tree.git
12433+
F: drivers/media/i2c/ov2740.c
12434+
1242612435
OMNIVISION OV5640 SENSOR DRIVER
1242712436
M: Steve Longerbeam <[email protected]>
1242812437

drivers/media/i2c/Kconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -857,6 +857,19 @@ config VIDEO_OV2685
857857
To compile this driver as a module, choose M here: the
858858
module will be called ov2685.
859859

860+
config VIDEO_OV2740
861+
tristate "OmniVision OV2740 sensor support"
862+
depends on VIDEO_V4L2 && I2C
863+
select MEDIA_CONTROLLER
864+
select VIDEO_V4L2_SUBDEV_API
865+
select V4L2_FWNODE
866+
help
867+
This is a Video4Linux2 sensor driver for the OmniVision
868+
OV2740 camera.
869+
870+
To compile this driver as a module, choose M here: the
871+
module will be called ov2740.
872+
860873
config VIDEO_OV5640
861874
tristate "OmniVision OV5640 sensor support"
862875
depends on OF

drivers/media/i2c/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ obj-$(CONFIG_VIDEO_UPD64083) += upd64083.o
6666
obj-$(CONFIG_VIDEO_OV2640) += ov2640.o
6767
obj-$(CONFIG_VIDEO_OV2680) += ov2680.o
6868
obj-$(CONFIG_VIDEO_OV2685) += ov2685.o
69+
obj-$(CONFIG_VIDEO_OV2740) += ov2740.o
6970
obj-$(CONFIG_VIDEO_OV5640) += ov5640.o
7071
obj-$(CONFIG_VIDEO_OV5645) += ov5645.o
7172
obj-$(CONFIG_VIDEO_OV5647) += ov5647.o

0 commit comments

Comments
 (0)