leds: add a driver for syscon-based LEDs
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 21 May 2014 22:34:16 +0000 (00:34 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 25 Sep 2014 22:25:41 +0000 (00:25 +0200)
commit535f09cc1ca7788ecdaf27466b23887a4932ae73
treed48f9641e5bd97dbb09e13e05761387224f75de2
parent6839dbbb1627964518c417b07eb18f38aa8c8451
leds: add a driver for syscon-based LEDs

This makes it possible to create a set of LEDs from a syscon
MFD instance, which is lean mean and clean on the ARM
reference designs and can replace the Versatile LEDs driver
in the long run, as well as other custom syscon LEDs drivers.

Cc: Bryan Wu <cooloney@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
[Fixed cocinelle warnings]
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/leds/Kconfig
drivers/leds/Makefile
drivers/leds/leds-syscon.c [new file with mode: 0644]