Skip to content

V4L2 API for flash devices and the adp1653 flash controller driver

Sakari Ailus linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3v4l: Add a class and a set of controls for flash devices.drivers/media/video/v4l2-ctrls.c include/linux/videodev2.h+81 -00 replies
2/3v4l: Add flash control documentationDocumentation/DocBook/v4l/controls.xml Documentation/DocBook/v4l/vidioc-g-ext-ctrls.xml+282 -00 replies
3/3adp1653: Add driver for LED flash controllerdrivers/media/video/Kconfig drivers/media/video/Makefile drivers/media/video/adp1653.c +1 more+616 -02 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSakari AilusLaurent Pinchart
SeriesA-b A-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] V4L2 API for flash devices and the adp1653 flash controller driver

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,

Signature · 2 lines
Sakari Ailus
[email protected]