[PATCH 00/11] media: stm32: dcmipp: addition of ISP params & statistics
From: Alain Volmat
Date: Fri Dec 04 2026 - 06:12:19 EST
The series adds two video devices connected to the isp subdev
of the dcmipp. The param video device is used in order to inject
controls into the isp for image processing such as demosaicing
filter, exposure, contrast, color conversion etc as well as
control the way statistics are produced.
A stats video device allows to extract statistics produced by
the dcmipp on each frame.
First part of the series rework existing code in order to help
addition of those video devices, such as in order to allow
synchronization of the sequence numbers of capture / stats
and params.
Signed-off-by: Alain Volmat <alain.volmat@xxxxxxxxxxx>
---
Alain Volmat (11):
media: stm32: dcmipp: add entity pointers into dcmipp-common.h
media: stm32: dcmipp: add enum to name ISP subdev pads
media: stm32: dcmipp: isp: keep a frame sequence counter at isp level
media: stm32: dcmipp: capture: use ISP frame sequence for main & aux pipes
media: uapi: st: dcmipp: add description of ISP stats & param buffers
media: uapi: add STM32 DCMIPP ISP META formats
media: stm32: dcmipp: isp: expose active sink format & compose
media: stm32: dcmipp: addition of a statistics capture device
media: stm32: dcmipp: addition of isp param output device
media: stm32: dcmipp: isp: add 2 pads to be connected to isp-params & stats
media: stm32: dcmipp: core: add isp-params & stats devices
.../userspace-api/media/v4l/meta-formats.rst | 1 +
.../userspace-api/media/v4l/metafmt-st-dcmipp.rst | 74 ++
MAINTAINERS | 2 +
drivers/media/platform/st/stm32/Kconfig | 2 +
.../media/platform/st/stm32/stm32-dcmipp/Makefile | 2 +-
.../st/stm32/stm32-dcmipp/dcmipp-byteproc.c | 9 +-
.../st/stm32/stm32-dcmipp/dcmipp-capture.c | 66 +-
.../platform/st/stm32/stm32-dcmipp/dcmipp-common.h | 180 +++++
.../platform/st/stm32/stm32-dcmipp/dcmipp-core.c | 16 +
.../platform/st/stm32/stm32-dcmipp/dcmipp-input.c | 9 +-
.../st/stm32/stm32-dcmipp/dcmipp-isp-params.c | 860 +++++++++++++++++++++
.../platform/st/stm32/stm32-dcmipp/dcmipp-isp.c | 135 +++-
.../st/stm32/stm32-dcmipp/dcmipp-pixelproc.c | 14 +-
.../st/stm32/stm32-dcmipp/dcmipp-statcap.c | 773 ++++++++++++++++++
drivers/media/v4l2-core/v4l2-ioctl.c | 2 +
include/uapi/linux/media/st/dcmipp_config.h | 313 ++++++++
include/uapi/linux/videodev2.h | 4 +
17 files changed, 2354 insertions(+), 108 deletions(-)
---
base-commit: 4926041f4195fcacef0f84c0e388c3be2ddb2b71
change-id: 20261112-stm32mp-dcmipp-isp-stat-ctrls-513394b9235f
Best regards,
--
Alain Volmat <alain.volmat@xxxxxxxxxxx>