This is ninth non-RFC version of LED / flash API integration series [1]. It is based on linux_next-20150519 with patch [2]. ================ 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 | 50 ++ drivers/leds/Kconfig | 1 + drivers/leds/leds-aat1290.c | 137 +++- drivers/leds/leds-max77693.c | 129 +++- drivers/media/platform/exynos4-is/media-dev.c | 94 ++- 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 | 671 ++++++++++++++++++++ include/media/v4l2-flash-led-class.h | 148 +++++ 12 files changed, 1277 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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html