Skip to content

Commit 49671bc

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. Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
1 parent 2fefd53 commit 49671bc

File tree

5 files changed

+1366
-0
lines changed

5 files changed

+1366
-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: 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 || DT_HAS_ST_STM32MP13_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)