Skip to content

Commit cd8dccf

Browse files
Alain Volmatkartben
authored andcommitted
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. Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
1 parent a3f9d52 commit cd8dccf

File tree

5 files changed

+1365
-0
lines changed

5 files changed

+1365
-0
lines changed

drivers/video/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,6 @@ zephyr_library_sources_ifdef(CONFIG_VIDEO_EMUL_IMAGER video_emul_imager.c)
2424
zephyr_library_sources_ifdef(CONFIG_VIDEO_EMUL_RX video_emul_rx.c)
2525
zephyr_library_sources_ifdef(CONFIG_VIDEO_IMX335 imx335.c)
2626
zephyr_library_sources_ifdef(CONFIG_VIDEO_ST_MIPID02 video_st_mipid02.c)
27+
zephyr_library_sources_ifdef(CONFIG_VIDEO_STM32_DCMIPP video_stm32_dcmipp.c)
2728

2829
zephyr_linker_sources(DATA_SECTIONS video.ld)

drivers/video/Kconfig

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

9595
source "drivers/video/Kconfig.st_mipid02"
9696

97+
source "drivers/video/Kconfig.stm32_dcmipp"
98+
9799
endif # VIDEO

drivers/video/Kconfig.stm32_dcmipp

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
select USE_STM32_HAL_RIF if SOC_SERIES_STM32N6X
12+
help
13+
Enable driver for STM32 Digital Camera Memory Interface Pixel Processor
14+
(DCMIPP) peripheral
15+
16+
if VIDEO_STM32_DCMIPP
17+
18+
config VIDEO_STM32_DCMIPP_SENSOR_WIDTH
19+
int "Width of the sensor frame"
20+
default 2592
21+
help
22+
Width of the sensor video frame.
23+
24+
config VIDEO_STM32_DCMIPP_SENSOR_HEIGHT
25+
int "Height of the sensor frame"
26+
default 1944
27+
help
28+
Height of the sensor video frame.
29+
30+
config VIDEO_STM32_DCMIPP_SENSOR_PIXEL_FORMAT
31+
string "Pixel format of the sensor frame"
32+
default "RG12"
33+
help
34+
Pixel format of the sensor video frame.
35+
36+
endif

0 commit comments

Comments
 (0)