mbox series

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

Message ID 20220216210447.481006-1-jacopo+renesas@jmondi.org (mailing list archive)
Headers show
Series media: Multiplexed streams for R-Car CSI-2 and ADV748x | expand

Message

Jacopo Mondi Feb. 16, 2022, 9:04 p.m. UTC
Hello,
   this series build up several other branches:

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

Both rebased on the most recent media-master.

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.

Need more testing but I've been able to capture each VC on the corresponding VIN
(vc x -> CSI2:x + 1 -> VINx)

Niklas:
I have an additional script for vin-tests if interested.

A branch for testing is available at
https://git.sr.ht/~jmondi_/linux multistream/media-master/tomba-v10/niklas/adv748x

Thanks
   j

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 multiplexed transmitters

 drivers/media/i2c/adv748x/adv748x-afe.c     |   2 +-
 drivers/media/i2c/adv748x/adv748x-core.c    |   4 +-
 drivers/media/i2c/adv748x/adv748x-csi2.c    | 292 ++++++++++++++----
 drivers/media/i2c/adv748x/adv748x-hdmi.c    |   2 +-
 drivers/media/i2c/adv748x/adv748x.h         |   6 +-
 drivers/media/platform/rcar-vin/rcar-csi2.c | 312 ++++++++++++++++----
 drivers/media/platform/rcar-vin/rcar-dma.c  |   3 +-
 7 files changed, 497 insertions(+), 124 deletions(-)

--
2.35.0