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:
#72827

Signed-off-by: Daniel DeGrasse <[email protected]>
  • Loading branch information
danieldegrasse authored and nashif committed Jun 7, 2024
1 parent edd0ed7 commit 3ce3ed3
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 3ce3ed3

Please sign in to comment.