Skip to content

Commit 3ce3ed3

Browse files
danieldegrassenashif
authored andcommitted
drivers: video: ov7670: introduce driver for ov7670 camera
Introduce driver for ov7670 camera, supporting QCIF,QVGA,CIF, and VGA resolution in YUV and RGB mode. Support was verified on the FRDM-MCXN947, using the SmartDMA camera engine, which is enabled in the following PR: #72827 Signed-off-by: Daniel DeGrasse <[email protected]>
1 parent edd0ed7 commit 3ce3ed3

File tree

5 files changed

+521
-0
lines changed

5 files changed

+521
-0
lines changed

drivers/video/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ zephyr_library_sources_ifdef(CONFIG_VIDEO_OV7725 ov7725.c)
1212
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV2640 ov2640.c)
1313
zephyr_library_sources_ifdef(CONFIG_VIDEO_STM32_DCMI video_stm32_dcmi.c)
1414
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV5640 ov5640.c)
15+
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV7670 ov7670.c)

drivers/video/Kconfig

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

4848
source "drivers/video/Kconfig.ov5640"
4949

50+
source "drivers/video/Kconfig.ov7670"
51+
5052
endif # VIDEO

drivers/video/Kconfig.ov7670

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright 2024 NXP
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config VIDEO_OV7670
5+
bool "OV7670 CMOS digital image sensor"
6+
select I2C
7+
depends on DT_HAS_OVTI_OV7670_ENABLED
8+
default y
9+
help
10+
Enable driver for OV7670 CMOS digital image sensor device.

0 commit comments

Comments
 (0)