Skip to content

Commit

Permalink
drivers: video: ov7670: introduce driver for ov7670 camera
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
danieldegrasse authored and Chromeos LUCI committed Jun 7, 2024
1 parent 06cc0cc commit 3a5029f
Show file tree
Hide file tree
Showing 5 changed files with 521 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/video/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ zephyr_library_sources_ifdef(CONFIG_VIDEO_OV7725 ov7725.c)
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV2640 ov2640.c)
zephyr_library_sources_ifdef(CONFIG_VIDEO_STM32_DCMI video_stm32_dcmi.c)
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV5640 ov5640.c)
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV7670 ov7670.c)
2 changes: 2 additions & 0 deletions drivers/video/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@ source "drivers/video/Kconfig.stm32_dcmi"

source "drivers/video/Kconfig.ov5640"

source "drivers/video/Kconfig.ov7670"

endif # VIDEO
10 changes: 10 additions & 0 deletions drivers/video/Kconfig.ov7670
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright 2024 NXP
# SPDX-License-Identifier: Apache-2.0

config VIDEO_OV7670
bool "OV7670 CMOS digital image sensor"
select I2C
depends on DT_HAS_OVTI_OV7670_ENABLED
default y
help
Enable driver for OV7670 CMOS digital image sensor device.
Loading

0 comments on commit 3a5029f

Please sign in to comment.