Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 00/14] media: stm32: dcmipp: add support for MP2x pixel pipes
@ 2026-08-20  7:22 Alain Volmat
  2026-08-20  7:22 ` [PATCH v4 01/14] media: stm32: dcmipp: share struct dcmipp_device among subdevs Alain Volmat
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: Alain Volmat @ 2026-08-20  7:22 UTC (permalink / raw)
  To: Hans Verkuil, Hugues Fruchet, Alain Volmat, Mauro Carvalho Chehab,
	Maxime Coquelin, Alexandre Torgue
  Cc: linux-media, linux-stm32, linux-arm-kernel, linux-kernel

This series add support for the main & aux pixel pipes
available on the MP2x. In addition to the byte pipe
already available, the DCMIPP is able to process two
other streams in parallel, including ISP operations
such as demosaicing, exposure etc, post-processing operations
such as cropping, downscaling and various pixel formats
output.

This series introduces the whole DCMIPP pipelines including
static configuration of the ISP part (such as demosaicing).
Dynamic control of the ISP as well as statistic extraction
part will be added on top of this serie via usage of 2 other
video devices (input & output) for statistics extraction and
dynamic ISP parameter injection.

Changes in v4:
- Allocation of a ST DCMIPP specific user defined CID range
- Rename of the pixelproc control into V4L2_CID_DCMIPP_PIXELPROC_GAMMA_CORRECTION_ENABLE
- Rename of the pixelproc control as "Gamme Correction Enable"
- Addition of a new header file include/uapi/linux/media/st/dcmipp_config.h
- Link to v3: https://patch.msgid.link/20260724-stm32-dcmipp-pixel-pipes-support-v3-0-f77fe7e723d9@foss.st.com

Changes in v3:
- Rebased on top of kernel v7.2-rc4
- Fixed most of Sashiko review points
- Link to v2: https://lore.kernel.org/r/20260602-stm32-dcmipp-pixel-pipes-support-v2-0-3c76b5f93157@foss.st.com

Changes in v2:
- Rebased on top of kernel v7.1-rc6
- check-patch minor fixes
- replaced kzalloc(.., sizeof(..),) with kzalloc_obj
- Link to v1: https://lore.kernel.org/r/20260202-stm32-dcmipp-pixel-pipes-support-v1-0-8d8d51f5e014@foss.st.com

---
Alain Volmat (14):
      media: stm32: dcmipp: share struct dcmipp_device among subdevs
      media: stm32: dcmipp: make dcmipp_state & cmsr2 read common
      media: stm32: dcmipp: bytecap: protect CMIER register access
      media: stm32: dcmipp: move common structures in dcmipp-common.h
      media: stm32: dcmipp: correct swap in YUYV data with parallel input
      media: stm32: dcmipp: configure csi input of all pipes on stm32mp25
      media: stm32: dcmipp: introduce a dcmipp global media_pipeline
      media: stm32: dcmipp: add pixel pipes helper functions
      media: stm32: dcmipp: addition of a dcmipp-isp subdev
      media: uapi: Add controls for ST DCMIPP Driver
      media: stm32: dcmipp: pixelproc: addition of dcmipp-pixelproc subdev
      media: stm32: dcmipp: add pixel-pipe support in bytecap
      media: stm32: dcmipp: rename bytecap into capture
      media: stm32: dcmipp: instantiate & link stm32mp25 subdevs

 .../userspace-api/media/drivers/dcmipp.rst         |  14 +
 .../userspace-api/media/drivers/index.rst          |   1 +
 .../media/platform/st/stm32/stm32-dcmipp/Makefile  |   3 +-
 .../st/stm32/stm32-dcmipp/dcmipp-byteproc.c        |  27 +-
 .../{dcmipp-bytecap.c => dcmipp-capture.c}         | 600 +++++++++----
 .../platform/st/stm32/stm32-dcmipp/dcmipp-common.h |  98 ++-
 .../platform/st/stm32/stm32-dcmipp/dcmipp-core.c   | 124 ++-
 .../platform/st/stm32/stm32-dcmipp/dcmipp-input.c  | 124 ++-
 .../platform/st/stm32/stm32-dcmipp/dcmipp-isp.c    | 491 +++++++++++
 .../st/stm32/stm32-dcmipp/dcmipp-pixelcommon.c     | 180 ++++
 .../st/stm32/stm32-dcmipp/dcmipp-pixelcommon.h     |  41 +
 .../st/stm32/stm32-dcmipp/dcmipp-pixelproc.c       | 940 +++++++++++++++++++++
 include/uapi/linux/media/st/dcmipp_config.h        |  16 +
 include/uapi/linux/v4l2-controls.h                 |   6 +
 14 files changed, 2380 insertions(+), 285 deletions(-)
---
base-commit: 48a5a7ab8d6ab7090564339e039c421f315de912
change-id: 20251219-stm32-dcmipp-pixel-pipes-support-b42924c0b4e5

Best regards,
--  
Alain Volmat <alain.volmat@foss.st.com>



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2026-08-20  8:20 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-20  7:22 [PATCH v4 00/14] media: stm32: dcmipp: add support for MP2x pixel pipes Alain Volmat
2026-08-20  7:22 ` [PATCH v4 01/14] media: stm32: dcmipp: share struct dcmipp_device among subdevs Alain Volmat
2026-08-20  7:22 ` [PATCH v4 02/14] media: stm32: dcmipp: make dcmipp_state & cmsr2 read common Alain Volmat
2026-08-20  7:22 ` [PATCH v4 03/14] media: stm32: dcmipp: bytecap: protect CMIER register access Alain Volmat
2026-08-20  7:22 ` [PATCH v4 04/14] media: stm32: dcmipp: move common structures in dcmipp-common.h Alain Volmat
2026-08-20  7:22 ` [PATCH v4 05/14] media: stm32: dcmipp: correct swap in YUYV data with parallel input Alain Volmat
2026-08-20  7:22 ` [PATCH v4 06/14] media: stm32: dcmipp: configure csi input of all pipes on stm32mp25 Alain Volmat
2026-08-20  7:22 ` [PATCH v4 07/14] media: stm32: dcmipp: introduce a dcmipp global media_pipeline Alain Volmat
2026-08-20  7:22 ` [PATCH v4 08/14] media: stm32: dcmipp: add pixel pipes helper functions Alain Volmat
2026-08-20  7:22 ` [PATCH v4 09/14] media: stm32: dcmipp: addition of a dcmipp-isp subdev Alain Volmat
2026-08-20  7:22 ` [PATCH v4 10/14] media: uapi: Add controls for ST DCMIPP Driver Alain Volmat
2026-08-20  7:22 ` [PATCH v4 11/14] media: stm32: dcmipp: pixelproc: addition of dcmipp-pixelproc subdev Alain Volmat
2026-08-20  7:22 ` [PATCH v4 12/14] media: stm32: dcmipp: add pixel-pipe support in bytecap Alain Volmat
2026-08-20  7:22 ` [PATCH v4 13/14] media: stm32: dcmipp: rename bytecap into capture Alain Volmat
2026-08-20  7:22 ` [PATCH v4 14/14] media: stm32: dcmipp: instantiate & link stm32mp25 subdevs Alain Volmat
2026-08-20  7:34 ` [PATCH v4 00/14] media: stm32: dcmipp: add support for MP2x pixel pipes Alain Volmat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox