From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: "Ajay kumar" <ajaynumb@gmail.com>,
"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
"Marek Szyprowski" <m.szyprowski@samsung.com>,
"Sylwester Nawrocki" <sylvester.nawrocki@gmail.com>,
"Andrzej Hajda" <a.hajda@samsung.com>,
"Thomas Axelsson" <Thomas.Axelsson@cybercom.com>,
"Sakari Ailus" <sakari.ailus@iki.fi>,
"Niklas Söderlund" <niklas.soderlund@ragnatech.se>
Subject: Re: v4l2: Adding support for multiple MIPI CSI-2 virtual channels
Date: Wed, 22 Feb 2017 21:33:16 +0200 [thread overview]
Message-ID: <2309653.TxoyDJYOYi@avalon> (raw)
In-Reply-To: <Pine.LNX.4.64.1702221822080.6242@axis700.grange>
Hi Guennadi,
On Wednesday 22 Feb 2017 18:54:20 Guennadi Liakhovetski wrote:
> On Tue, 21 Feb 2017, Ajay kumar wrote:
> > On Fri, Feb 17, 2017 at 7:27 PM, Thomas Axelsson wrote:
> >> Hi,
> >>
> >> I have a v4l2_subdev that provides multiple MIPI CSI-2 Virtual
> >> Channels. I want to configure each virtual channel individually (e.g.
> >> set_fmt), but the v4l2 interface does not seem to have a clear way to
> >> access configuration on a virtual channel level, but only the
> >> v4l2_subdev as a whole. Using one v4l2_subdev for multiple virtual
> >> channels by extending the "reg" tag to be an array looks like the
> >> correct way to do it, based on the mipi-dsi-bus.txt document and
> >> current device tree endpoint structure.
> >>
> >> However, I cannot figure out how to extend e.g. set_fmt/get_fmt subdev
> >> ioctls to specify which virtual channel the call applies to. Does
> >> anyone have any advice on how to handle this case?
> >
> > This would be helpful for my project as well since even I need to
> > support multiple streams using Virtual Channels.
> > Can anyone point out to some V4L2 driver, if this kind of support is
> > already implemented?
>
> My understanding is, that MIPI CSI virtual channel handling requires
> extensions to the V4L2 subdev API. These extensions have been discussed at
> a media mini-summit almost a year ago, slides are available at [1], but as
> my priorities shifted away from this work, don't think those extensions
> ever got implemented.
We've also discussed the topic last week in a face to face meeting with Niklas
(CC'ed) and Sakari. Niklas will start working on upstreaming the necessary
V4L2 API extensions for CSI-2 virtual channel support. The current plan is to
start the work at the beginning of April.
> [1]
> https://linuxtv.org/downloads/presentations/media_summit_2016_san_diego/v4l
> 2-multistream.pdf
>
> >> Previous thread: "Device Tree formatting for multiple virtual channels
> >> in ti-vpe/cal driver?"
> >>
> >> Best Regards,
> >> Thomas Axelsson
> >>
> >> PS. First e-mail seems to have gotten caught in the spam filter. I
> >> apologize if this is a duplicate.
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2017-02-22 19:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-17 13:57 v4l2: Adding support for multiple MIPI CSI-2 virtual channels Thomas Axelsson
2017-02-21 5:56 ` Ajay kumar
2017-02-22 17:54 ` Guennadi Liakhovetski
2017-02-22 19:33 ` Laurent Pinchart [this message]
2017-02-23 10:07 ` Thomas Axelsson
2017-02-23 15:09 ` Niklas Söderlund
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2309653.TxoyDJYOYi@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=Thomas.Axelsson@cybercom.com \
--cc=a.hajda@samsung.com \
--cc=ajaynumb@gmail.com \
--cc=g.liakhovetski@gmx.de \
--cc=linux-media@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=niklas.soderlund@ragnatech.se \
--cc=sakari.ailus@iki.fi \
--cc=sylvester.nawrocki@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox