public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/3] V4L2 API for flash devices and the adp1653 flash controller driver
@ 2011-05-16 13:00 Sakari Ailus
  2011-05-16 13:00 ` [PATCH 1/3] v4l: Add a class and a set of controls for flash devices Sakari Ailus
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Sakari Ailus @ 2011-05-16 13:00 UTC (permalink / raw)
  To: linux-media@vger.kernel.org
  Cc: Nayden Kanchev, Guennadi Liakhovetski, Laurent Pinchart,
	Hans Verkuil, David Cohen, Kim HeungJun, andrew.b.adams,
	Sung Hee Park

Hi,

This is a patchset which implements RFC v4 of V4L2 API for flash devices
[1], with minor modifications, and adds the adp1653 flash controller driver.

What was changed was that the V4L2_CID_FLASH_STROBE_MODE control was
renamed to V4L2_CID_FLASH_STROBE_SOURCE. Also the related enum has been
renamed correspondingly.

Laurent: I didn't add the text from the RFC to the flash controls
documentation since I'm inclined to think it doesn't actually belong
there. Much of it is suggesting what could be done in future or defining
the scope of the interface. Both are mostly related to further
development activities. That said, there definitely is important
information in the RFC although much of it isn't directly related to the
flash controls. If we want to add (some of) that to the V4L2
documentation, where should it be put?

[1] http://www.spinics.net/lists/linux-media/msg32030.html

Cheers,

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

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [PATCH 0/3] V4L2 API for flash devices and the adp1653 flash controller driver
@ 2011-05-19 10:41 Sakari Ailus
  2011-05-19 10:41 ` [PATCH 3/3] adp1653: Add driver for LED flash controller Sakari Ailus
  0 siblings, 1 reply; 15+ messages in thread
From: Sakari Ailus @ 2011-05-19 10:41 UTC (permalink / raw)
  To: linux-media@vger.kernel.org
  Cc: Nayden Kanchev, Guennadi Liakhovetski, Laurent Pinchart,
	Hans Verkuil, David Cohen, Kim HeungJun, andrew.b.adams,
	Sung Hee Park

Hi,


This patchset implements RFC v4 of V4L2 API for flash devices [1], with
minor modifications, and adds the adp1653 flash controller driver.

This patchset depends on the bitmask controls patch [4].

Changes since v2 [3] of the RFC patchset:

- Improved flash control documentation in general.

- Faults may change the LED mode to none. This is now documented.

- adp1653 is returned to sane after faults are detected.

- Proper error handling for adp1653_get_fault() in adp1653_strobe().

- Remove useless function: adp1653_registered() and the corresponding
  callback. Controls are now initialised in adp1653_probe().

- Improved fault handling in adp1653_init_device().

Changes since v1 [2] of the RFC patchset:

- Faults on the flash LED are allowed to make the LED unusable before
the faults are read. This is implemented in the adp1653 driver.

- Intensities are using standard units; mA for flash / torch and uA for
the indicator.


Thanks to those who have given their feedback so far in the process!


[1] http://www.spinics.net/lists/linux-media/msg32030.html

[2] http://www.spinics.net/lists/linux-media/msg32396.html

[3] http://www.spinics.net/lists/linux-media/msg32436.html

[4] http://www.spinics.net/lists/linux-media/msg31001.html

Cheers,

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

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

end of thread, other threads:[~2011-06-10  8:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-16 13:00 [RFC 0/3] V4L2 API for flash devices and the adp1653 flash controller driver Sakari Ailus
2011-05-16 13:00 ` [PATCH 1/3] v4l: Add a class and a set of controls for flash devices Sakari Ailus
2011-05-16 13:00 ` [PATCH 2/3] v4l: Add flash control documentation Sakari Ailus
2011-05-16 13:00 ` [PATCH 3/3] adp1653: Add driver for LED flash controller Sakari Ailus
2011-05-16 20:31   ` Laurent Pinchart
2011-05-17  5:38     ` Sakari Ailus
2011-05-17  7:23       ` Laurent Pinchart
2011-05-17 10:47         ` Sakari Ailus
2011-05-17 10:51           ` Laurent Pinchart
2011-06-09 15:10   ` Laurent Pinchart
2011-06-10  8:20     ` Sakari Ailus
2011-05-16 16:48 ` [RFC 0/3] V4L2 API for flash devices and the adp1653 flash controller driver Sakari Ailus
  -- strict thread matches above, loose matches on Subject: below --
2011-05-19 10:41 [PATCH " Sakari Ailus
2011-05-19 10:41 ` [PATCH 3/3] adp1653: Add driver for LED flash controller Sakari Ailus
2011-05-21 11:57   ` Mauro Carvalho Chehab
2011-05-22 12:39     ` Sakari Ailus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox