From: Benoit Parrot <bparrot@ti.com>
To: <linux-media@vger.kernel.org>, <hverkuil@xs4all.nl>
Cc: <prabhakar.csengg@gmail.com>
Subject: dual-duty capture driver bridge and sub-device
Date: Fri, 10 Apr 2015 15:40:29 -0500 [thread overview]
Message-ID: <20150410204029.GD24270@ti.com> (raw)
Hi,
I am wondering if there already example of V4L2 capture drivers which
can be used as either stand-alone bridge driver or as a sub-device to
another bridge driver based on configuration.
I am looking for some example I could use as a starting point.
Given the following entities:
- S :: CSI2 sensor
- Cs :: CSI2 capture engine
- Cp :: Parallel capture engine
Here is the scenarios I have:
Case #1:
S => Cs
Here Cs connect to S. Cs advertises video node.
Driver Connectivity is established through DT using the
v4l2-asynchronous registration method.
Case #2:
S => Cs => Cp
Here Cs connect to S and Cp connects to Cs.
Cp advertises a video node.
In this case Cs appears as a "sensor" to Cp.
Driver Connectivity is established through DT using the
v4l2-asynchronous registration method.
I would guess that the difficulty here would be within the Cs driver
to setup the appropriate V4L2 device registration based on how DT
is setup.
If anyone as any example of this type, I would appreciate a few
pointers/ideas or examples.
Regards,
Benoit
reply other threads:[~2015-04-10 20:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20150410204029.GD24270@ti.com \
--to=bparrot@ti.com \
--cc=hverkuil@xs4all.nl \
--cc=linux-media@vger.kernel.org \
--cc=prabhakar.csengg@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 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.