Skip to content

Commit 7ac0dc4

Browse files
mjs513nashif
authored andcommitted
drivers: video: Add OV7675 changes to OV767x
Adds support for the ov7675 camers. Signed-off-by: Michael Smorto <CyberMerln@gmail.com>
1 parent 2ffdb90 commit 7ac0dc4

File tree

8 files changed

+296
-45
lines changed

8 files changed

+296
-45
lines changed

doc/releases/migration-guide-4.4.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ USB
128128

129129
.. zephyr-keep-sorted-stop
130130
131+
Video
132+
===
133+
134+
* CONFIG_VIDEO_OV7670 is now gone and replaced by CONFIG_VIDEO_OV767X. This allows supporting both the OV7670 and 0V7675.
135+
131136
Bluetooth
132137
*********
133138

drivers/video/CMakeLists.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ zephyr_library_sources_ifdef(CONFIG_VIDEO_HM0360 hm0360.c)
1616
zephyr_library_sources_ifdef(CONFIG_VIDEO_IMX335 imx335.c)
1717
zephyr_library_sources_ifdef(CONFIG_VIDEO_MCUX_CSI video_mcux_csi.c)
1818
zephyr_library_sources_ifdef(CONFIG_VIDEO_MCUX_MIPI_CSI2RX video_mcux_mipi_csi2rx.c)
19-
zephyr_library_sources_ifdef(CONFIG_VIDEO_MCUX_SDMA video_mcux_smartdma.c)
20-
zephyr_library_sources_ifdef(CONFIG_VIDEO_MT9M114 mt9m114.c)
21-
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV2640 ov2640.c)
22-
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV5640 ov5640.c)
19+
zephyr_library_sources_ifdef(CONFIG_VIDEO_MCUX_SDMA video_mcux_smartdma.c)
20+
zephyr_library_sources_ifdef(CONFIG_VIDEO_MT9M114 mt9m114.c)
21+
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV2640 ov2640.c)
22+
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV5640 ov5640.c)
2323
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV5642 ov5642.c)
24-
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV7670 ov767x.c)
25-
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV7725 ov7725.c)
26-
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV9655 ov9655.c)
24+
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV767X ov767x.c)
25+
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV7725 ov7725.c)
26+
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV9655 ov9655.c)
2727
zephyr_library_sources_ifdef(CONFIG_VIDEO_RENESAS_RA_CEU video_renesas_ra_ceu.c)
2828
zephyr_library_sources_ifdef(CONFIG_VIDEO_SHELL video_shell.c)
2929
zephyr_library_sources_ifdef(CONFIG_VIDEO_STM32_DCMI video_stm32_dcmi.c)

drivers/video/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ source "drivers/video/Kconfig.mcux_sdma"
7878
source "drivers/video/Kconfig.mt9m114"
7979
source "drivers/video/Kconfig.ov2640"
8080
source "drivers/video/Kconfig.ov5640"
81-
source "drivers/video/Kconfig.ov7670"
8281
source "drivers/video/Kconfig.ov7725"
8382
source "drivers/video/Kconfig.ov9655"
8483
source "drivers/video/Kconfig.renesas_ra_ceu"
@@ -92,5 +91,6 @@ source "drivers/video/Kconfig.sw_generator"
9291
# zephyr-keep-sorted-stop
9392

9493
source "drivers/video/Kconfig.ov5642"
94+
source "drivers/video/Kconfig.ov767x"
9595

9696
endif # VIDEO

drivers/video/Kconfig.ov7670

Lines changed: 0 additions & 10 deletions
This file was deleted.

drivers/video/Kconfig.ov767x

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# OV767X CMOS digital image sensor configuration options
2+
3+
# Copyright (c) 2025 Michael Smorto <CyberMerln@gmail.com>
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
config VIDEO_OV767X
7+
bool "OV767X CMOS digital image sensor"
8+
select I2C
9+
depends on DT_HAS_OVTI_OV7670_ENABLED || DT_HAS_OVTI_OV7675_ENABLED
10+
default y
11+
help
12+
Enable driver for OV7670 / OV7675 CMOS digital image sensor.

0 commit comments

Comments
 (0)