Skip to content

Commit d2f5e51

Browse files
committed
drivers: video: Commit adds the OV7675 driver to the existing OV7670 driver
drivers: video: Commit adds the OV7675 driver to the existing OV7670 driver Updates ov7670.c to incorporate the OV7675 driver into the OV7670 driver + resolve initial comments + fixes for dual camera support. Signed-off-by: Michael Smorto <[email protected]>
1 parent 4a441e4 commit d2f5e51

File tree

5 files changed

+261
-77
lines changed

5 files changed

+261
-77
lines changed

drivers/video/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ zephyr_library_sources_ifdef(CONFIG_VIDEO_STM32_DCMI video_stm32_dcmi.c)
1818
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV5640 ov5640.c)
1919
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV7670 ov7670.c)
2020
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV9655 ov9655.c)
21+
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV7675 ov7670.c)
2122
zephyr_library_sources_ifdef(CONFIG_VIDEO_ESP32 video_esp32_dvp.c)
2223
zephyr_library_sources_ifdef(CONFIG_VIDEO_MCUX_SDMA video_mcux_smartdma.c)
2324
zephyr_library_sources_ifdef(CONFIG_VIDEO_EMUL_IMAGER video_emul_imager.c)

drivers/video/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ source "drivers/video/Kconfig.ov5640"
8080

8181
source "drivers/video/Kconfig.ov7670"
8282

83+
source "drivers/video/Kconfig.ov7675"
84+
8385
source "drivers/video/Kconfig.ov9655"
8486

8587
source "drivers/video/Kconfig.gc2145"

drivers/video/Kconfig.ov7675

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_OV7675
5+
bool "OV7675 CMOS digital image sensor"
6+
select I2C
7+
depends on DT_HAS_OVTI_OV7675_ENABLED
8+
default y
9+
help
10+
Enable driver for OV7675 CMOS digital image sensor device.

0 commit comments

Comments
 (0)