All of lore.kernel.org
 help / color / mirror / Atom feed
* v4l2: Adding support for multiple MIPI CSI-2 virtual channels
@ 2017-02-17 13:57 Thomas Axelsson
  2017-02-21  5:56 ` Ajay kumar
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Axelsson @ 2017-02-17 13:57 UTC (permalink / raw)
  To: linux-media

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?

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.

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

end of thread, other threads:[~2017-02-23 15:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2017-02-23 10:07       ` Thomas Axelsson
2017-02-23 15:09         ` Niklas Söderlund

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.