Re: [RFC] V4L2 API for flash devices

2011-05-02 Thread Sakari Ailus
Sakari Ailus wrote: Laurent Pinchart wrote: Hi Sakari, Hi Laurent, Hi Hans and Laurent, On Tuesday 29 March 2011 13:51:38 Sakari Ailus wrote: Sakari Ailus wrote: Hans Verkuil wrote: On Tuesday, March 29, 2011 11:35:19 Sakari Ailus wrote: Hi Hans, Many thanks for the comments! ...

Re: [RFC] V4L2 API for flash devices

2011-05-02 Thread Hans Verkuil
On Monday, May 02, 2011 18:04:18 Sakari Ailus wrote: Sakari Ailus wrote: Laurent Pinchart wrote: Hi Sakari, Hi Laurent, Hi Hans and Laurent, On Tuesday 29 March 2011 13:51:38 Sakari Ailus wrote: Sakari Ailus wrote: Hans Verkuil wrote: On Tuesday, March 29, 2011 11:35:19

Re: [RFC] V4L2 API for flash devices

2011-05-02 Thread Laurent Pinchart
Hi Hans, On Monday 02 May 2011 21:13:56 Hans Verkuil wrote: On Monday, May 02, 2011 18:04:18 Sakari Ailus wrote: Sakari Ailus wrote: Laurent Pinchart wrote: On Tuesday 29 March 2011 13:51:38 Sakari Ailus wrote: Sakari Ailus wrote: Hans Verkuil wrote: On Tuesday, March 29, 2011

Re: [RFC] V4L2 API for flash devices

2011-05-02 Thread Hans Verkuil
On Monday, May 02, 2011 21:32:46 Laurent Pinchart wrote: Hi Hans, On Monday 02 May 2011 21:13:56 Hans Verkuil wrote: On Monday, May 02, 2011 18:04:18 Sakari Ailus wrote: Sakari Ailus wrote: Laurent Pinchart wrote: On Tuesday 29 March 2011 13:51:38 Sakari Ailus wrote: Sakari

Re: [RFC] V4L2 API for flash devices

2011-04-14 Thread Laurent Pinchart
Hi Sakari, On Wednesday 13 April 2011 14:16:38 Sakari Ailus wrote: Sung Hee Park wrote: Here are two more use-cases for flash that might help inform the API design. Sakari encouraged me to post these. The person writing this is Andrew Adams, but I'm sending this from Sung Hee's account,

Re: [RFC] V4L2 API for flash devices

2011-04-14 Thread Sakari Ailus
Laurent Pinchart wrote: Hi Sakari, Heippa, On Wednesday 13 April 2011 14:16:38 Sakari Ailus wrote: Sung Hee Park wrote: Here are two more use-cases for flash that might help inform the API design. Sakari encouraged me to post these. The person writing this is Andrew Adams, but I'm sending

Re: [RFC] V4L2 API for flash devices

2011-04-13 Thread Sakari Ailus
Sung Hee Park wrote: Here are two more use-cases for flash that might help inform the API design. Sakari encouraged me to post these. The person writing this is Andrew Adams, but I'm sending this from Sung Hee's account, because I only just subscribed to linux-media and can't immediately

Re: [RFC] V4L2 API for flash devices

2011-04-12 Thread Sung Hee Park
Here are two more use-cases for flash that might help inform the API design. Sakari encouraged me to post these. The person writing this is Andrew Adams, but I'm sending this from Sung Hee's account, because I only just subscribed to linux-media and can't immediately figure out how to reply to

Re: [RFC] V4L2 API for flash devices

2011-04-06 Thread Sakari Ailus
David Cohen wrote: On Mon, Mar 28, 2011 at 3:55 PM, Sakari Ailus sakari.ai...@maxwell.research.nokia.com wrote: Hi, Hi Sakari, Thanks for the comments, David! [snip] This is a bitmask containing the fault information for the flash. This assumes the proposed V4L2 bit mask controls [5];

Re: [RFC] V4L2 API for flash devices

2011-04-05 Thread Sakari Ailus
Laurent Pinchart wrote: Hi Sakari, Hi Laurent, On Tuesday 29 March 2011 13:51:38 Sakari Ailus wrote: Sakari Ailus wrote: Hans Verkuil wrote: On Tuesday, March 29, 2011 11:35:19 Sakari Ailus wrote: Hi Hans, Many thanks for the comments! ... It occurred to me that an application might

Re: [RFC] V4L2 API for flash devices

2011-04-05 Thread Sakari Ailus
Hi Laurent, Sakari Ailus wrote: Laurent Pinchart wrote: On Wednesday 30 March 2011 13:05:54 Sakari Ailus wrote: Laurent Pinchart wrote: Hi Sakari, Hi Laurent, Thanks for the comments! On Monday 28 March 2011 14:55:40 Sakari Ailus wrote: [snip] V4L2_CID_FLASH_STROBE_MODE (menu;

Re: [RFC] V4L2 API for flash devices

2011-04-05 Thread Laurent Pinchart
Hi Sakari, On Tuesday 05 April 2011 12:23:51 Sakari Ailus wrote: Sakari Ailus wrote: Laurent Pinchart wrote: On Wednesday 30 March 2011 13:05:54 Sakari Ailus wrote: Laurent Pinchart wrote: On Monday 28 March 2011 14:55:40 Sakari Ailus wrote: [snip]

Re: [RFC] V4L2 API for flash devices

2011-04-05 Thread Sakari Ailus
Laurent Pinchart wrote: Hi Sakari, On Tuesday 05 April 2011 12:23:51 Sakari Ailus wrote: Sakari Ailus wrote: Laurent Pinchart wrote: On Wednesday 30 March 2011 13:05:54 Sakari Ailus wrote: Laurent Pinchart wrote: On Monday 28 March 2011 14:55:40 Sakari Ailus wrote: [snip]

Re: [RFC] V4L2 API for flash devices

2011-04-05 Thread Laurent Pinchart
Hi Sakari, On Tuesday 05 April 2011 13:21:03 Sakari Ailus wrote: Laurent Pinchart wrote: On Tuesday 05 April 2011 12:23:51 Sakari Ailus wrote: Sakari Ailus wrote: Laurent Pinchart wrote: On Wednesday 30 March 2011 13:05:54 Sakari Ailus wrote: Laurent Pinchart wrote: On Monday 28

Re: [RFC] V4L2 API for flash devices

2011-04-05 Thread David Cohen
On Mon, Mar 28, 2011 at 3:55 PM, Sakari Ailus sakari.ai...@maxwell.research.nokia.com wrote: Hi, Hi Sakari, [snip] This is a bitmask containing the fault information for the flash. This assumes the proposed V4L2 bit mask controls [5]; otherwise this would likely need to be a set of

Re: [RFC] V4L2 API for flash devices

2011-04-05 Thread Sakari Ailus
Laurent Pinchart wrote: Hi Sakari, Hi, On Tuesday 05 April 2011 13:21:03 Sakari Ailus wrote: Laurent Pinchart wrote: On Tuesday 05 April 2011 12:23:51 Sakari Ailus wrote: Sakari Ailus wrote: Laurent Pinchart wrote: On Wednesday 30 March 2011 13:05:54 Sakari Ailus wrote: Laurent Pinchart

Re: [RFC] V4L2 API for flash devices

2011-04-05 Thread Laurent Pinchart
Hi Nayden, On Tuesday 05 April 2011 17:07:41 Nayden Kanchev wrote: On 04/05/2011 04:35 PM, Sakari Ailus wrote: Laurent Pinchart wrote: On Tuesday 05 April 2011 13:21:03 Sakari Ailus wrote: Laurent Pinchart wrote: On Tuesday 05 April 2011 12:23:51 Sakari Ailus wrote: Sakari Ailus wrote:

Re: [RFC] V4L2 API for flash devices

2011-03-31 Thread Sakari Ailus
Laurent Pinchart wrote: Hi David, Salut, On Wednesday 30 March 2011 16:57:30 David Cohen wrote: On Wed, Mar 30, 2011 at 5:18 PM, Sakari Ailus wrote: On Wednesday 30 March 2011 14:44:25 Sakari Ailus wrote: ... But as I commented in the other e-mail, there likely isn't a need to be able to

Re: [RFC] V4L2 API for flash devices

2011-03-31 Thread Sakari Ailus
Laurent Pinchart wrote: On Wednesday 30 March 2011 13:05:54 Sakari Ailus wrote: Laurent Pinchart wrote: Hi Sakari, Hi Laurent, Thanks for the comments! On Monday 28 March 2011 14:55:40 Sakari Ailus wrote: [snip] V4L2_CID_FLASH_STROBE_MODE (menu; LED) Use hardware or software

Re: [RFC] V4L2 API for flash devices

2011-03-31 Thread Sakari Ailus
Kim HeungJun wrote: Hi Sakari, Hi, 2011. 3. 30., 오후 8:37, Sakari Ailus 작성: Kim, HeungJun wrote: Hi Sakari, Hi HeungJun, 2011-03-29 오후 11:41, Sakari Ailus 쓴 글: Kim, HeungJun wrote: [snip] I think it's not different method to turn on/off, whatever the mode name is. But, the mode

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Laurent Pinchart
Hi Sakari, On Tuesday 29 March 2011 13:51:38 Sakari Ailus wrote: Sakari Ailus wrote: Hans Verkuil wrote: On Tuesday, March 29, 2011 11:35:19 Sakari Ailus wrote: Hi Hans, Many thanks for the comments! ... It occurred to me that an application might want to turn off a flash

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Laurent Pinchart
Hi Sakari, On Tuesday 29 March 2011 11:35:19 Sakari Ailus wrote: Hans Verkuil wrote: On Monday, March 28, 2011 14:55:40 Sakari Ailus wrote: [snip] V4L2_CID_FLASH_TIMEOUT (integer; LED) The flash controller provides timeout functionality to shut down the led in case the host fails

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Laurent Pinchart
Hi Sakari, On Monday 28 March 2011 14:55:40 Sakari Ailus wrote: [snip] V4L2_CID_FLASH_STROBE_MODE (menu; LED) Use hardware or software strobe. If hardware strobe is selected, the flash controller is a slave in the system where the sensor produces the strobe signal to the flash.

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Sakari Ailus
Laurent Pinchart wrote: Hi Sakari, Hi Laurent, Thanks for the comments! On Monday 28 March 2011 14:55:40 Sakari Ailus wrote: [snip] V4L2_CID_FLASH_STROBE_MODE (menu; LED) Use hardware or software strobe. If hardware strobe is selected, the flash controller is a slave in the

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Sakari Ailus
Kim, HeungJun wrote: Hi Sakari, Hi HeungJun, 2011-03-29 오후 11:41, Sakari Ailus 쓴 글: Kim, HeungJun wrote: [snip] I think it's not different method to turn on/off, whatever the mode name is. But, the mode name DEDICATED is look more reasonable, because the reason which is devided FLASH and

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Sakari Ailus
Laurent Pinchart wrote: Hi Sakari, Hi Laurent, On Tuesday 29 March 2011 11:35:19 Sakari Ailus wrote: Hans Verkuil wrote: On Monday, March 28, 2011 14:55:40 Sakari Ailus wrote: [snip] V4L2_CID_FLASH_TIMEOUT (integer; LED) The flash controller provides timeout functionality to shut

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Laurent Pinchart
Hi Sakari, On Wednesday 30 March 2011 14:44:25 Sakari Ailus wrote: Laurent Pinchart wrote: On Tuesday 29 March 2011 11:35:19 Sakari Ailus wrote: Hans Verkuil wrote: On Monday, March 28, 2011 14:55:40 Sakari Ailus wrote: [snip] V4L2_CID_FLASH_TIMEOUT (integer; LED) The flash

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Laurent Pinchart
On Wednesday 30 March 2011 13:05:54 Sakari Ailus wrote: Laurent Pinchart wrote: Hi Sakari, Hi Laurent, Thanks for the comments! On Monday 28 March 2011 14:55:40 Sakari Ailus wrote: [snip] V4L2_CID_FLASH_STROBE_MODE (menu; LED) Use hardware or software strobe. If

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Sakari Ailus
Laurent Pinchart wrote: Hi Sakari, Heippa, On Wednesday 30 March 2011 14:44:25 Sakari Ailus wrote: Laurent Pinchart wrote: On Tuesday 29 March 2011 11:35:19 Sakari Ailus wrote: Hans Verkuil wrote: On Monday, March 28, 2011 14:55:40 Sakari Ailus wrote: [snip] V4L2_CID_FLASH_TIMEOUT

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread David Cohen
On Wed, Mar 30, 2011 at 5:18 PM, Sakari Ailus sakari.ai...@maxwell.research.nokia.com wrote: Laurent Pinchart wrote: Hi Sakari, Heippa, Hello, My 2 cents below. On Wednesday 30 March 2011 14:44:25 Sakari Ailus wrote: Laurent Pinchart wrote: On Tuesday 29 March 2011 11:35:19 Sakari Ailus

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Laurent Pinchart
Hi David, On Wednesday 30 March 2011 16:57:30 David Cohen wrote: On Wed, Mar 30, 2011 at 5:18 PM, Sakari Ailus wrote: On Wednesday 30 March 2011 14:44:25 Sakari Ailus wrote: Laurent Pinchart wrote: On Tuesday 29 March 2011 11:35:19 Sakari Ailus wrote: Hans Verkuil wrote: On Monday,

Re: [RFC] V4L2 API for flash devices

2011-03-30 Thread Kim HeungJun
Hi Sakari, 2011. 3. 30., 오후 8:37, Sakari Ailus 작성: Kim, HeungJun wrote: Hi Sakari, Hi HeungJun, 2011-03-29 오후 11:41, Sakari Ailus 쓴 글: Kim, HeungJun wrote: [snip] I think it's not different method to turn on/off, whatever the mode name is. But, the mode name DEDICATED is look more

Re: [RFC] V4L2 API for flash devices

2011-03-29 Thread Hans Verkuil
On Monday, March 28, 2011 14:55:40 Sakari Ailus wrote: Hi, This is a 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. Comments and questions are very,

Re: [RFC] V4L2 API for flash devices

2011-03-29 Thread Sakari Ailus
Hi Hans, Many thanks for the comments! Hans Verkuil wrote: On Monday, March 28, 2011 14:55:40 Sakari Ailus wrote: Hi, This is a 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

Re: [RFC] V4L2 API for flash devices

2011-03-29 Thread Hans Verkuil
On Tuesday, March 29, 2011 11:35:19 Sakari Ailus wrote: Hi Hans, Many thanks for the comments! Hans Verkuil wrote: On Monday, March 28, 2011 14:55:40 Sakari Ailus wrote: Hi, This is a proposal for an interface for controlling flash devices on the V4L2/v4l2_subdev APIs. My plan is

Re: [RFC] V4L2 API for flash devices

2011-03-29 Thread Kim, HeungJun
Hi Sakari, Here's my humble opinions about this RFC. Almost, this control may be also applied immediately in our case. But, I have some opinions about that. So, read comments plz and I wish this might be help to it. 2011-03-28 오후 9:55, Sakari Ailus 쓴 글: Hi, This is a proposal for an

Re: [RFC] V4L2 API for flash devices

2011-03-29 Thread Sakari Ailus
Hans Verkuil wrote: On Tuesday, March 29, 2011 11:35:19 Sakari Ailus wrote: Hi Hans, Many thanks for the comments! ... It occurred to me that an application might want to turn off a flash which has been strobed on software. That can't be done on a single button control.

Re: [RFC] V4L2 API for flash devices

2011-03-29 Thread Sakari Ailus
Sakari Ailus wrote: Hans Verkuil wrote: On Tuesday, March 29, 2011 11:35:19 Sakari Ailus wrote: Hi Hans, Many thanks for the comments! ... It occurred to me that an application might want to turn off a flash which has been strobed on software. That can't be done on a single button

Re: [RFC] V4L2 API for flash devices

2011-03-29 Thread Sakari Ailus
Kim, HeungJun wrote: Hi Sakari, Hi HeungJun, Thanks for the comments! Here's my humble opinions about this RFC. Almost, this control may be also applied immediately in our case. But, I have some opinions about that. So, read comments plz and I wish this might be help to it. 2011-03-28

Re: [RFC] V4L2 API for flash devices

2011-03-29 Thread Kim, HeungJun
Hi Sakari, 2011-03-29 오후 11:41, Sakari Ailus 쓴 글: Kim, HeungJun wrote: [snip] I think it's not different method to turn on/off, whatever the mode name is. But, the mode name DEDICATED is look more reasonable, because the reason which is devided FLASH and TORCH in the mode, is why only power

[RFC] V4L2 API for flash devices

2011-03-28 Thread Sakari Ailus
Hi, This is a 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. Comments and questions are very, very welcome! Scope = This RFC is focused mostly on the