Skip to content

Commit 3a5029f

Browse files
danieldegrasseChromeos LUCI
authored and
Chromeos LUCI
committed
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: zephyrproject-rtos/zephyr#72827 (cherry picked from commit 3ce3ed3) Original-Signed-off-by: Daniel DeGrasse <[email protected]> GitOrigin-RevId: 3ce3ed3 Change-Id: I20f10c984e4a0c2a6c805fde3625c0b6310f4fe4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5607905 Tested-by: ChromeOS Prod (Robot) <[email protected]> Reviewed-by: Fabio Baltieri <[email protected]> Commit-Queue: Fabio Baltieri <[email protected]>
1 parent 06cc0cc commit 3a5029f

File tree

5 files changed

+521
-0
lines changed

5 files changed

+521
-0
lines changed

drivers/video/CMakeLists.txt

+1
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

+2
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

+10
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)