Skip to content

Commit e3861d9

Browse files
ZhengShunQianmchehab
authored andcommitted
media: ov2685: add support for OV2685 sensor
This patch adds driver for Omnivision's ov2685 sensor. Though the ov2685 can output yuv data, this driver only supports the raw bayer format, including the following features: - output 1600x1200 at 30fps - test patterns - manual exposure/gain control - vblank and hblank - media controller - runtime pm [Sakari Ailus: trivial: ov5695_of_match -> ov2685_of_match] Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com> Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
1 parent 36125ee commit e3861d9

4 files changed

Lines changed: 865 additions & 0 deletions

File tree

‎MAINTAINERS‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10172,6 +10172,13 @@ T: git git://linuxtv.org/media_tree.git
1017210172
S: Maintained
1017310173
F: drivers/media/i2c/ov13858.c
1017410174

10175+
OMNIVISION OV2685 SENSOR DRIVER
10176+
M: Shunqian Zheng <zhengsq@rock-chips.com>
10177+
L: linux-media@vger.kernel.org
10178+
T: git git://linuxtv.org/media_tree.git
10179+
S: Maintained
10180+
F: drivers/media/i2c/ov2685.c
10181+
1017510182
OMNIVISION OV5640 SENSOR DRIVER
1017610183
M: Steve Longerbeam <slongerbeam@gmail.com>
1017710184
L: linux-media@vger.kernel.org

‎drivers/media/i2c/Kconfig‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,18 @@ config VIDEO_OV2659
595595
To compile this driver as a module, choose M here: the
596596
module will be called ov2659.
597597

598+
config VIDEO_OV2685
599+
tristate "OmniVision OV2685 sensor support"
600+
depends on VIDEO_V4L2 && I2C && MEDIA_CONTROLLER
601+
depends on MEDIA_CAMERA_SUPPORT
602+
select V4L2_FWNODE
603+
---help---
604+
This is a Video4Linux2 sensor-level driver for the OmniVision
605+
OV2685 camera.
606+
607+
To compile this driver as a module, choose M here: the
608+
module will be called ov2685.
609+
598610
config VIDEO_OV5640
599611
tristate "OmniVision OV5640 sensor support"
600612
depends on OF

‎drivers/media/i2c/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ obj-$(CONFIG_VIDEO_SONY_BTF_MPX) += sony-btf-mpx.o
6262
obj-$(CONFIG_VIDEO_UPD64031A) += upd64031a.o
6363
obj-$(CONFIG_VIDEO_UPD64083) += upd64083.o
6464
obj-$(CONFIG_VIDEO_OV2640) += ov2640.o
65+
obj-$(CONFIG_VIDEO_OV2685) += ov2685.o
6566
obj-$(CONFIG_VIDEO_OV5640) += ov5640.o
6667
obj-$(CONFIG_VIDEO_OV5645) += ov5645.o
6768
obj-$(CONFIG_VIDEO_OV5647) += ov5647.o

0 commit comments

Comments
 (0)