From: Jacek Anaszewski <j.anaszewski@samsung.com>
To: linux-leds@vger.kernel.org, linux-media@vger.kernel.org
Cc: kyungmin.park@samsung.com, pavel@ucw.cz, cooloney@gmail.com,
rpurdie@rpsys.net, sakari.ailus@iki.fi, s.nawrocki@samsung.com,
Jacek Anaszewski <j.anaszewski@samsung.com>
Subject: [PATCH v10 0/8] LED / flash API integration
Date: Mon, 08 Jun 2015 11:02:17 +0200 [thread overview]
Message-ID: <1433754145-12765-1-git-send-email-j.anaszewski@samsung.com> (raw)
This is tenth non-RFC version of LED / flash API integration
series [1]. It is based on linux_next-20150605 with patch [2].
================
Changes since v9
================
- improved v4l2_flash_open and v4l2_flash_close functions of
v4l2-flash-led-class wrapper, to lock/unlock also the sysfs interface
of indicator LED flash class device
- improved slightly LED subsystem documentation for V4L2 flash wrapper
- used proper function for getting the size of array of phandles in
the exynos4-is media device driver and switched over to only raising
a warning when a sensor phandle related to a flash phandle is not known
to the media device controller
================
Changes since v8
================
- switched from samsung,flash-leds to samsun,camera-flashes DT property
- improved async sub-devices matching for exynos4-is media device
- modified v4l2-flash-led-class wrapper to incorporate indicator
LED class deviecs
================
Changes since v7
================
- Merged patches from Sakari for v4l2-flash-led-class and V4L2 related
patches for leds-max77693 and leds-aat1290 drivers
- applied minor modifications to the both led drivers related patches
- modified exynos4-is media device to parse new samsung,flash-led
property, instead of 'flashes' array
- added DT documentation for samsung,flash-led property
================
Changes since v5
================
- renamed v4l2-flash module to v4l2-flash-led-class and applied
other related modifications spotted by Sakari
- fixed not released of_node reference in max77693-led driver
================
Changes since v4
================
- adapted leds-max77693 and leds-aat1290 drivers to the recent
modifications in leds/common.txt bindings documentation and
changed the behaviour when properties are missing
- modified DT bindings documenation for the aforementioned
drivers
- removed unjustified use of goto in the leds-aat1290 driver
- fixed lack of of_node_put in leds-aat1290 driver, after parsing
DT child node
- removed patch adding 'skyworks' vendor prefix, as the entry
has been recently added
================
Changes since v2
================
- improved leds/common DT bindings documentation
- improved max77693-led DT documentation
- fixed validation of DT confguration for leds-max77693 by
minimal values in joint iouts case
- removed trigger-type property from leds-max77693 bindings
and adjusted the driver accordingly
- improved LED Flash class documentation related to v4l2-flash sub-device
initialization
- excluded from leds-aat1290 DT bindings documentation the part
related to handling external strobe sources
================
Changes since v1
================
- excluded exynos4-is media device related patches, as there is
consenus required related to flash devices handling in media device
DT bindings
- modifications around LED Flash class settings and v4l2 flash config
initialization in LED Flash class drivers and v4l2-flash wrapper
- switched to using DT node name as a device name for leds-max77693
and leds-aat1290 drivers, in case DT 'label' property is absent
- dropped OF dependecy for v4l2-flash wrapper
- moved LED_FAULTS definitions from led-class-flash.h to uapi/linux/leds.h
- allowed for multiple clients of v4l2-flash sub-device
======================
Changes since RFC v13:
======================
- reduced number of patches - some of them have been merged
- slightly modified max77693-led device naming
- fixed issues in v4l2-flash helpers detected with yavta
- cleaned up AAT1290 device tree documentation
- added GPIOLIB dependecy to AAT1290 related entry in Kconfig
Thanks,
Jacek Anaszewski
[1] http://www.spinics.net/lists/kernel/msg1944538.html
[2] http://www.spinics.net/lists/linux-media/msg89839.html
Jacek Anaszewski (8):
Documentation: leds: Add description of v4l2-flash sub-device
media: Add registration helpers for V4L2 flash sub-devices
leds: max77693: add support for V4L2 Flash sub-device
DT: aat1290: Document handling external strobe sources
leds: aat1290: add support for V4L2 Flash sub-device
exynos4-is: Improve the mechanism of async subdevs verification
DT: Add documentation for exynos4-is 'flashes' property
exynos4-is: Add support for v4l2-flash subdevs
.../devicetree/bindings/leds/leds-aat1290.txt | 36 +-
.../devicetree/bindings/media/samsung-fimc.txt | 10 +
Documentation/leds/leds-class-flash.txt | 51 ++
drivers/leds/Kconfig | 1 +
drivers/leds/leds-aat1290.c | 137 +++-
drivers/leds/leds-max77693.c | 129 +++-
drivers/media/platform/exynos4-is/media-dev.c | 105 ++-
drivers/media/platform/exynos4-is/media-dev.h | 12 +-
drivers/media/v4l2-core/Kconfig | 11 +
drivers/media/v4l2-core/Makefile | 2 +
drivers/media/v4l2-core/v4l2-flash-led-class.c | 708 ++++++++++++++++++++
include/media/v4l2-flash-led-class.h | 148 ++++
12 files changed, 1326 insertions(+), 24 deletions(-)
create mode 100644 drivers/media/v4l2-core/v4l2-flash-led-class.c
create mode 100644 include/media/v4l2-flash-led-class.h
--
1.7.9.5
next reply other threads:[~2015-06-08 9:02 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-08 9:02 Jacek Anaszewski [this message]
2015-06-08 9:02 ` [PATCH v10 1/8] Documentation: leds: Add description of v4l2-flash sub-device Jacek Anaszewski
2015-06-10 18:21 ` Bryan Wu
2015-06-08 9:02 ` [PATCH v10 2/8] media: Add registration helpers for V4L2 flash sub-devices Jacek Anaszewski
2015-06-10 17:57 ` Bryan Wu
2015-06-10 18:01 ` Bryan Wu
2015-06-10 18:12 ` Bryan Wu
2015-06-10 18:29 ` Pavel Machek
2015-06-10 21:34 ` Sakari Ailus
2015-06-10 21:39 ` Bryan Wu
2015-06-10 21:55 ` Sakari Ailus
2015-06-08 9:02 ` [PATCH v10 3/8] leds: max77693: add support for V4L2 Flash sub-device Jacek Anaszewski
2015-06-10 18:12 ` Bryan Wu
2015-06-08 9:02 ` [PATCH v10 4/8] DT: aat1290: Document handling external strobe sources Jacek Anaszewski
2015-06-10 18:12 ` Bryan Wu
2015-06-08 9:02 ` [PATCH v10 5/8] leds: aat1290: add support for V4L2 Flash sub-device Jacek Anaszewski
2015-06-10 18:12 ` Bryan Wu
2015-06-08 9:02 ` [PATCH v10 6/8] exynos4-is: Improve the mechanism of async subdevs verification Jacek Anaszewski
2015-06-10 18:17 ` Bryan Wu
2015-06-08 9:02 ` [PATCH v10 7/8] DT: Add documentation for exynos4-is 'flashes' property Jacek Anaszewski
[not found] ` <1433754145-12765-8-git-send-email-j.anaszewski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2015-06-10 18:18 ` Bryan Wu
2015-06-08 9:02 ` [PATCH v10 8/8] exynos4-is: Add support for v4l2-flash subdevs Jacek Anaszewski
2015-06-10 18:18 ` Bryan Wu
2015-06-09 8:59 ` [PATCH v10 0/8] LED / flash API integration 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=1433754145-12765-1-git-send-email-j.anaszewski@samsung.com \
--to=j.anaszewski@samsung.com \
--cc=cooloney@gmail.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-leds@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=rpurdie@rpsys.net \
--cc=s.nawrocki@samsung.com \
--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;
as well as URLs for NNTP newsgroup(s).