Skip to content

Commit e80506b

Browse files
lgl88911MaureenHelm
authored andcommitted
drivers: video: ov7725: add sensor driver for ov7725
This patch adds the driver for Omnivision OV7725 Color CMOS VGA Sensor. The driver currently provides a simple capture function, the output format only provides RGB565,640x480. Signed-off-by: Frank Li <[email protected]>
1 parent 1d68c48 commit e80506b

File tree

6 files changed

+685
-0
lines changed

6 files changed

+685
-0
lines changed

drivers/video/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ zephyr_library_sources(video_common.c)
77
zephyr_library_sources_ifdef(CONFIG_VIDEO_MCUX_CSI video_mcux_csi.c)
88
zephyr_library_sources_ifdef(CONFIG_VIDEO_SW_GENERATOR video_sw_generator.c)
99
zephyr_library_sources_ifdef(CONFIG_VIDEO_MT9M114 mt9m114.c)
10+
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV7725 ov7725.c)

drivers/video/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,6 @@ source "drivers/video/Kconfig.sw_generator"
3737

3838
source "drivers/video/Kconfig.mt9m114"
3939

40+
source "drivers/video/Kconfig.ov7725"
41+
4042
endif # VIDEO

drivers/video/Kconfig.ov7725

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# OV7725
2+
3+
# Copyright (c) 2020 FrankLi Limited
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
config VIDEO_OV7725
7+
bool "OV7725 CMOS digital image sensor"
8+
depends on I2C
9+
help
10+
Enable driver for OV7725 CMOS digital image sensor device.

0 commit comments

Comments
 (0)