]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit992541bf744ceebe6e2f9ef3e0f1ad8ad1714c84
treed48f9641e5bd97dbb09e13e05761387224f75de2
parent179f35dc6633f98e52959fbe5534ec9b7d9c4d24
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]