public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
To: Hans Petter Selasky <hselasky@c2i.net>
Cc: "linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
	Nayden Kanchev <nkanchev@mm-sol.com>,
	Guennadi Liakhovetski <g.liakhovetski@gmx.de>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Hans Verkuil <hverkuil@xs4all.nl>,
	Cohen David Abraham <david.cohen@nokia.com>,
	Kim HeungJun <riverful@gmail.com>,
	andrew.b.adams@gmail.com, Sung Hee Park <shpark7@stanford.edu>
Subject: Re: [RFC v3] V4L2 API for flash devices
Date: Fri, 15 Apr 2011 12:11:38 +0300	[thread overview]
Message-ID: <4DA80BCA.5020708@maxwell.research.nokia.com> (raw)
In-Reply-To: <201104151047.19658.hselasky@c2i.net>

Hans Petter Selasky wrote:
> On Friday 15 April 2011 09:37:17 Sakari Ailus wrote:
>> Hi,
>>
>> This is a third proposal for an interface for controlling flash devices
>> on the V4L2/v4l2_subdev APIs. My plan is to use the interface in the
>> ADP1653 driver, the flash controller used in the Nokia N900.
>>
>> Thanks to everyone who commented the previous version of this RFC! I
>> hope I managed to factor in everyone's comments. Please bug me if you
>> think I missed something. :-)
>>
>> Comments and questions are very, very welcome as always. There are still
>> many open questions which I would like to resolve. I've written my
>> proposal on the two last ones below the question itself.
>>
> 
> Hi,
> 
> I looked through your specification and did not find the answer to my 
> question. Do you support more than one flasher per webcam/camera?

Hi Hans,

You probably didn't find it since it's not there. :-)

When this interface is provided directly by the flash driver (a V4L2
subdev), it takes no stance to that. (The interface can also be provided
by the video node, but then it is up to the bridge driver to handle that
control. That could be the case e.g. for a web camera with flash in it.)
In case you have multiple flash chips they would be controlled
separately from each other through a different V4L2 subdev device node.

This would allow hardware which e.g. has two flash controllers connected
to a single sensor with strobe output, for example.

Regards,

-- 
Sakari Ailus
sakari.ailus@maxwell.research.nokia.com

      reply	other threads:[~2011-04-15  9:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-15  7:37 [RFC v3] V4L2 API for flash devices Sakari Ailus
2011-04-15  8:47 ` Hans Petter Selasky
2011-04-15  9:11   ` Sakari Ailus [this message]

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=4DA80BCA.5020708@maxwell.research.nokia.com \
    --to=sakari.ailus@maxwell.research.nokia.com \
    --cc=andrew.b.adams@gmail.com \
    --cc=david.cohen@nokia.com \
    --cc=g.liakhovetski@gmx.de \
    --cc=hselasky@c2i.net \
    --cc=hverkuil@xs4all.nl \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=nkanchev@mm-sol.com \
    --cc=riverful@gmail.com \
    --cc=shpark7@stanford.edu \
    /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