Skip to content

Commit 95657e3

Browse files
ngphibangMaureenHelm
authored andcommitted
drivers: video: Add ov5640 camera driver
Add driver to support ov5640 camera sensor Signed-off-by: Phi Bang Nguyen <[email protected]>
1 parent e987321 commit 95657e3

File tree

4 files changed

+713
-0
lines changed

4 files changed

+713
-0
lines changed

drivers/video/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ zephyr_library_sources_ifdef(CONFIG_VIDEO_MT9M114 mt9m114.c)
1010
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV7725 ov7725.c)
1111
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV2640 ov2640.c)
1212
zephyr_library_sources_ifdef(CONFIG_VIDEO_STM32_DCMI video_stm32_dcmi.c)
13+
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV5640 ov5640.c)

drivers/video/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,6 @@ source "drivers/video/Kconfig.ov2640"
4343

4444
source "drivers/video/Kconfig.stm32_dcmi"
4545

46+
source "drivers/video/Kconfig.ov5640"
47+
4648
endif # VIDEO

drivers/video/Kconfig.ov5640

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# OV5640
2+
3+
# Copyright 2024 NXP
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
config VIDEO_OV5640
7+
bool "OV5640 CMOS digital image sensor"
8+
select I2C
9+
depends on DT_HAS_OVTI_OV5640_ENABLED
10+
default y
11+
help
12+
Enable driver for OV5640 CMOS digital image sensor device

0 commit comments

Comments
 (0)