mbox series

[v2,00/10] media: Multiplexed streams for R-Car CSI-2 and ADV748x

Message ID 20220316154641.511667-1-jacopo+renesas@jmondi.org
Headers show
Series media: Multiplexed streams for R-Car CSI-2 and ADV748x | expand

Message

Jacopo Mondi March 16, 2022, 3:46 p.m. UTC
Hello,
   this series build up several other branches:

- Tomi's tomba/multistream/work-v11
- Niklas' CHSEL rework:
  "media: rcar-{csi2,vin}: Move to full Virtual Channel routing per CSI-2 IP"

The series makes adv748x a fully multiplexed device which can direct the video
stream on different source pad streams which select the virtual channel.

The CSI-2 support was sent already, but this time has been rebased on Niklas'
chsel rework. The CSI-2 is a multiplexed receiver with a fixed routing table
as the routing towards VIN is controlled by link enablement.

Finally VIN needs a little adjustment to support multiplexed transmitters.

v1 -> v2:
- rebased on Tomi's v11
- Modified R-Car CSI-2 VC handling as suggested by Niklas. Now I can capture
  all CSI-2 Virtual Channel from every VIN instance freely \o/

Jacopo Mondi (10):
  media: adv748x: Add flags to adv748x_subdev_init()
  media: adv748x: Add support for v4l2_subdev_state
  media: adv748x: Move format to subdev state
  media: adv748x: Implement .get_frame_desc()
  media: adv748x: Implement set_routing
  media: rcar-csi2: Add support for multiplexed streams
  media: rcar-csi2: Move format to subdev state
  media: rcar-csi2: Config by using the remote frame_desc
  media: rcar-csi2: Implement set_routing
  media: rcar-vin: Support state-aware transmitters

 drivers/media/i2c/adv748x/adv748x-afe.c     |   2 +-
 drivers/media/i2c/adv748x/adv748x-core.c    |   4 +-
 drivers/media/i2c/adv748x/adv748x-csi2.c    | 265 +++++++++++++++----
 drivers/media/i2c/adv748x/adv748x-hdmi.c    |   2 +-
 drivers/media/i2c/adv748x/adv748x.h         |   6 +-
 drivers/media/platform/rcar-vin/rcar-csi2.c | 279 ++++++++++++++++----
 drivers/media/platform/rcar-vin/rcar-dma.c  |   3 +-
 7 files changed, 445 insertions(+), 116 deletions(-)

--
2.35.1