media: Multiplexed streams for R-Car CSI-2 and ADV748x
From: | Jacopo Mondi <jacopo+renesas-AT-jmondi.org> | |
To: | niklas.soderlund-AT-ragnatech.se, laurent.pinchart-AT-ideasonboard.com | |
Subject: | [PATCH v2 00/10] media: Multiplexed streams for R-Car CSI-2 and ADV748x | |
Date: | Wed, 16 Mar 2022 16:46:31 +0100 | |
Message-ID: | <20220316154641.511667-1-jacopo+renesas@jmondi.org> | |
Cc: | Jacopo Mondi <jacopo+renesas-AT-jmondi.org>, tomi.valkeinen-AT-ideasonboard.com, linux-media-AT-vger.kernel.org, linux-renesas-soc-AT-vger.kernel.org | |
Archive-link: | Article |
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