devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] Add Input Video Control Block driver for RZ/V2H
@ 2025-07-04 11:20 Daniel Scally
  2025-07-04 11:20 ` [PATCH v3 1/5] media: mc: entity: Add pipeline_started/stopped ops Daniel Scally
                   ` (4 more replies)
  0 siblings, 5 replies; 21+ messages in thread
From: Daniel Scally @ 2025-07-04 11:20 UTC (permalink / raw)
  To: linux-media, devicetree, linux-renesas-soc
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Geert Uytterhoeven, Magnus Damm, Philipp Zabel, jacopo.mondi,
	biju.das.jz, Daniel Scally

Hello all

This series adds a driver for the Input Video Control Block in the
RZ/V2H SoC. The IVC block transmits input image data from memory to
the ISP core (on this SoC, a Mali-C55 ISP). The driver registers an
output video device for userspace to queue image buffers to. One
noteworthy feature is that - because it is not a part of the main ISP
drive - the IVC driver also registers a subdevice, which connects to
the media device created by the ISP driver through the usual v4l2
async framework. This requires delaying the registration of the video
device until the .registered() callback of the subdevice, so that the
struct v4l2_dev pointer the subdevice connected to can be set to the
video device.

This version of the driver drops the reliance on the new media
framework that was posted recently [1], so can be merged without it
and updated later. One patch from that series is retained here though
(since it's used independently of the new framework) and another new
patch added to add a new helper in V4L2. The series is also based on
top of the latest version of the Mali-C55 driver [2] and some updates
to rzg2l-cru [3].

Thanks
Dan

[1] https://lore.kernel.org/linux-media/20250624-media-jobs-v2-0-8e649b069a96@ideasonboard.com/T/#t
[2] https://lore.kernel.org/linux-media/20250624-c55-v10-0-54f3d4196990@ideasonboard.com/T/#t
[3] https://lore.kernel.org/linux-media/20250625-rzg2l-cru-v6-0-a9099ed26c14@ideasonboard.com/T

---
Changes in v3:
- Added two new patches that create helpers in V4L2 and mc core that
  the driver then consumes.

- Link to v2: https://lore.kernel.org/r/20250624-ivc-v2-0-e4ecdddb0a96@ideasonboard.com

---
Daniel Scally (5):
      media: mc: entity: Add pipeline_started/stopped ops
      media: v4l2-dev: Add helpers to run media_pipeline_[started|stopped]()
      dt-bindings: media: Add bindings for the RZ/V2H IVC block
      media: platform: Add Renesas Input Video Control block driver
      MAINTAINERS: Add entry for rzv2h-ivc driver

 .../bindings/media/renesas,r9a09g057-ivc.yaml      | 103 ++++
 MAINTAINERS                                        |   7 +
 drivers/media/mc/mc-entity.c                       |  46 ++
 drivers/media/platform/renesas/Kconfig             |   2 +
 drivers/media/platform/renesas/Makefile            |   1 +
 drivers/media/platform/renesas/rzv2h-ivc/Kconfig   |  16 +
 drivers/media/platform/renesas/rzv2h-ivc/Makefile  |   5 +
 .../platform/renesas/rzv2h-ivc/rzv2h-ivc-dev.c     | 228 +++++++++
 .../platform/renesas/rzv2h-ivc/rzv2h-ivc-subdev.c  | 376 ++++++++++++++
 .../platform/renesas/rzv2h-ivc/rzv2h-ivc-video.c   | 568 +++++++++++++++++++++
 .../media/platform/renesas/rzv2h-ivc/rzv2h-ivc.h   | 131 +++++
 drivers/media/v4l2-core/v4l2-dev.c                 |  57 +++
 include/media/media-entity.h                       |  29 ++
 include/media/v4l2-dev.h                           |  36 ++
 14 files changed, 1605 insertions(+)
---
base-commit: 19272b37aa4f83ca52bdf9c16d5d81bdd1354494
change-id: 20250624-ivc-833d24376167
prerequisite-patch-id: ae1f5045379f5944df15d0f62eaca9803654ae33
prerequisite-patch-id: ff9cfd027783e4943f1281d793dcaf447964c724
prerequisite-patch-id: a8de5362397c6a4b1d8f43acb123ebbdc4102192
prerequisite-patch-id: df748b118c52fd426b2701079da8fc0001a71807
prerequisite-patch-id: a2e584a5b189b97973aab601073c6af0e760ca18
prerequisite-patch-id: 256864ec0ddbfc3a6e7eb5aec15ad3cbe2dbe477
prerequisite-patch-id: ecc5483454fc52289c093e711d5423e1cdd8bc3b
prerequisite-patch-id: 1aea6316a2a4a7b56316dbef3ca6034de6ec1672

Best regards,
-- 
Daniel Scally <dan.scally@ideasonboard.com>


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

end of thread, other threads:[~2025-07-14  6:37 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-04 11:20 [PATCH v3 0/5] Add Input Video Control Block driver for RZ/V2H Daniel Scally
2025-07-04 11:20 ` [PATCH v3 1/5] media: mc: entity: Add pipeline_started/stopped ops Daniel Scally
2025-07-08 13:29   ` Jacopo Mondi
2025-07-11 13:24     ` Dan Scally
2025-07-04 11:20 ` [PATCH v3 2/5] media: v4l2-dev: Add helpers to run media_pipeline_[started|stopped]() Daniel Scally
2025-07-08 13:10   ` Jacopo Mondi
2025-07-11 11:51     ` Dan Scally
2025-07-11 12:43       ` Dan Scally
2025-07-11 13:39         ` Jacopo Mondi
2025-07-14  6:37           ` Dan Scally
2025-07-04 11:20 ` [PATCH v3 3/5] dt-bindings: media: Add bindings for the RZ/V2H IVC block Daniel Scally
2025-07-07  6:39   ` Krzysztof Kozlowski
2025-07-04 11:20 ` [PATCH v3 4/5] media: platform: Add Renesas Input Video Control block driver Daniel Scally
2025-07-08 14:49   ` Jacopo Mondi
2025-07-08 14:57     ` Dan Scally
2025-07-08 15:51       ` Jacopo Mondi
2025-07-09  8:13         ` Dan Scally
2025-07-09  8:22           ` Jacopo Mondi
2025-07-09  9:12             ` Geert Uytterhoeven
2025-07-11 11:17               ` Dan Scally
2025-07-04 11:20 ` [PATCH v3 5/5] MAINTAINERS: Add entry for rzv2h-ivc driver Daniel Scally

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).