[PATCH 0/5] media: vimc: add RGB/YUV input entity and improve pipeline support

From: Pavan Bobba

Date: Thu Nov 20 2025 - 03:49:39 EST


This series extends the vimc test driver with a new RGB/YUV input entity,
pipeline enhancements, and documentation updates.

Patch 1 adds an RGB/YUV input entity that can be used to simulate pipelines
starting after a real debayer stage.

Patch 2 adds V4L2_FIELD_ALTERNATE support to vimc-sensor, allowing it to
simulate interlaced sources.

Patch 3 extends the debayer to support multiple RGB output formats.

Patch 4 allows vimc-capture to accept custom bytesperline values so users can
exercise padded strides when testing the RGB/YUV path.

Patch 5 updates the vimc documentation with the RGB/YUV input entity and
revised media-ctl/v4l2-ctl examples.

Tested with:
- vimc.0 on x86_64 using media-ctl and v4l2-ctl pipelines

Pavan Bobba (5):
media: vimc: add RGB/YUV input entity implementation
media: vimc: add support for V4L2_FIELD_ALTERNATE in vimc-sensor
media: vimc: debayer: add support for multiple RGB formats
media: vimc: capture: support custom bytesperline values
docs: media: vimc: document RGB/YUV input entity

Documentation/admin-guide/media/vimc.rst | 39 +++-
drivers/media/test-drivers/vimc/Makefile | 3 +-
.../media/test-drivers/vimc/vimc-capture.c | 15 +-
drivers/media/test-drivers/vimc/vimc-common.h | 1 +
drivers/media/test-drivers/vimc/vimc-core.c | 3 +-
.../media/test-drivers/vimc/vimc-debayer.c | 113 ++++++++--
drivers/media/test-drivers/vimc/vimc-input.c | 210 ++++++++++++++++++
drivers/media/test-drivers/vimc/vimc-sensor.c | 9 +-
8 files changed, 352 insertions(+), 41 deletions(-)
create mode 100644 drivers/media/test-drivers/vimc/vimc-input.c

--
2.43.0