diff options
author | Ilya Petrov <ilya.muromec@gmail.com> | 2011-09-27 19:00:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-09-29 17:40:38 -0700 |
commit | 97cc26576fa2b0eb1aad1b29515bb0a32f86c45c (patch) | |
tree | 1c1aa0ce04a6ed04f1ed4fc2397aec5668c4905f /drivers/staging/nvec/Kconfig | |
parent | 6dca320c8f16b464bb762494b509b2b02897054e (diff) |
staging: nvec: add LED support
This patch adds support for LEDs connect to a nvec. A single brightness
property is exported to sysfs. LEDs are selected via bitfields in the
brightness value. Also the blinking behavior is selected through this
method. Vendors may use different values for different HW designs.
Signed-off-by: Ilya Petrov <ilya.muromec@gmail.com>
Signed-off-by: Marc Dietrich <marvin24@gmx.de>
[jak@jak-linux.org: Fixed checkpatch warnings]
Signed-off-by: Julian Andres Klode <jak@jak-linux.org>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/nvec/Kconfig')
-rw-r--r-- | drivers/staging/nvec/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/staging/nvec/Kconfig b/drivers/staging/nvec/Kconfig index 987ad48ff939..a86cf27ae244 100644 --- a/drivers/staging/nvec/Kconfig +++ b/drivers/staging/nvec/Kconfig @@ -25,3 +25,9 @@ config NVEC_POWER help Say Y to enable support for battery and charger interface for nVidia compliant embedded controllers. + +config NVEC_LEDS + bool "NVEC leds" + depends on MFD_NVEC && LEDS_CLASS + help + Say Y to enable yellow side leds on AC100 or other nVidia tegra nvec leds |