From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Sakari Ailus <sakari.ailus@iki.fi>
Cc: linux-media <linux-media@vger.kernel.org>
Subject: adp1653 usage
Date: Wed, 10 Aug 2011 14:16:00 +0300 [thread overview]
Message-ID: <1312974960.2183.15.camel@smile> (raw)
Hello, Sakari.
I would like to understand how to use subdevice (like adp1653) in
current v4l2 framework from user space.
My understanding is following.
Kernel has two drivers (simplified view):
- camera device
- flash device
Kernel initializes a camera driver from a platform specific setup code.
The camera driver loads the subdevice drivers. Later I could access the
subdevice driver parts via IOCTL(s) on /dev/videoX device node.
What I have missed.
- if the subdevice creates device node /dev/v4l-subdevX, how the user
space will know the X is corresponding to let say flash device?
- if there is no v4l-subdevX device node, when and how the kernel runs
->open() and ->close() methods of v4l2_subdev_internal_ops?
--
Andy Shevchenko <andriy.shevchenko@intel.com>
Intel Finland Oy
next reply other threads:[~2011-08-10 11:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-10 11:16 Andy Shevchenko [this message]
2011-08-11 7:19 ` adp1653 usage Sakari Ailus
2011-08-11 11:33 ` Andy Shevchenko
2011-08-11 11:35 ` [PATCH] adp1653: set media entity type Andy Shevchenko
2011-08-17 11:35 ` Sakari Ailus
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=1312974960.2183.15.camel@smile \
--to=andriy.shevchenko@linux.intel.com \
--cc=linux-media@vger.kernel.org \
--cc=sakari.ailus@iki.fi \
/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