Skip to content

Commit 5086bee

Browse files
author
Alain Volmat
committed
drivers: video: introduction of the stm32 DCMIPP driver
The STM32 Digital Camera Memory Interface Pixel Processor (DCMIPP) is a multi-pipeline camera interface allowing to capture and process frames from parallel or CSI interfaces depending on its version. Current commit introduces the support of the 3 pipes version with CSI input. Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
1 parent 5cf3130 commit 5086bee

File tree

5 files changed

+1307
-0
lines changed

5 files changed

+1307
-0
lines changed

drivers/video/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ zephyr_library_sources_ifdef(CONFIG_VIDEO_ESP32 video_esp32_dvp.c)
2020
zephyr_library_sources_ifdef(CONFIG_VIDEO_MCUX_SDMA video_mcux_smartdma.c)
2121
zephyr_library_sources_ifdef(CONFIG_VIDEO_EMUL_IMAGER video_emul_imager.c)
2222
zephyr_library_sources_ifdef(CONFIG_VIDEO_EMUL_RX video_emul_rx.c)
23+
zephyr_library_sources_ifdef(CONFIG_VIDEO_STM32_DCMIPP video_stm32_dcmipp.c)
2324

2425
zephyr_linker_sources(DATA_SECTIONS video.ld)

drivers/video/Kconfig

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

7979
source "drivers/video/Kconfig.emul_rx"
8080

81+
source "drivers/video/Kconfig.stm32_dcmipp"
82+
8183
endif # VIDEO

drivers/video/Kconfig.stm32_dcmipp

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# STM32 DCMIPP driver configuration options
2+
3+
# Copyright (c) 2025 STMicroelectronics.
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
config VIDEO_STM32_DCMIPP
7+
bool "STM32 Digital Camera Memory Interface Pixel Processor (DCMIPP) driver"
8+
default y
9+
depends on DT_HAS_ST_STM32_DCMIPP_ENABLED
10+
select USE_STM32_HAL_DCMIPP
11+
help
12+
Enable driver for STM32 Digital Camera Memory Interface Pixel Processor
13+
(DCMIPP) peripheral
14+
15+
if VIDEO_STM32_DCMIPP
16+
17+
config VIDEO_STM32_DCMIPP_SENSOR_WIDTH
18+
int "Width of the sensor frame"
19+
default 0
20+
help
21+
Width of the sensor video frame.
22+
23+
config VIDEO_STM32_DCMIPP_SENSOR_HEIGHT
24+
int "Height of the sensor frame"
25+
default 0
26+
help
27+
Height of the sensor video frame.
28+
29+
config VIDEO_STM32_DCMIPP_SENSOR_PIXEL_FORMAT
30+
string "Pixel format of the sensor frame"
31+
help
32+
Pixel format of the sensor video frame.
33+
34+
endif

0 commit comments

Comments
 (0)