diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-05-22 00:34:16 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-09-26 00:25:41 +0200 |
commit | 535f09cc1ca7788ecdaf27466b23887a4932ae73 (patch) | |
tree | d48f9641e5bd97dbb09e13e05761387224f75de2 /drivers/leds/Kconfig | |
parent | 6839dbbb1627964518c417b07eb18f38aa8c8451 (diff) | |
download | talos-op-linux-535f09cc1ca7788ecdaf27466b23887a4932ae73.tar.gz talos-op-linux-535f09cc1ca7788ecdaf27466b23887a4932ae73.zip |
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>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r-- | drivers/leds/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index 8c96e2ddf43b..dc588b4f5905 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig @@ -478,6 +478,16 @@ config LEDS_BLINKM This option enables support for the BlinkM RGB LED connected through I2C. Say Y to enable support for the BlinkM LED. +config LEDS_SYSCON + bool "LED support for LEDs on system controllers" + depends on LEDS_CLASS=y + depends on MFD_SYSCON + depends on OF + help + This option enabled support for the LEDs on syscon type + devices. This will only work with device tree enabled + devices. + config LEDS_VERSATILE tristate "LED support for the ARM Versatile and RealView" depends on ARCH_REALVIEW || ARCH_VERSATILE |