aboutsummaryrefslogtreecommitdiff
path: root/drivers/leds/Kconfig
diff options
context:
space:
mode:
authorBrian Wood <brian.j.wood@intel.com>2015-10-20 15:40:06 -0700
committerBruce Beare <bruce.j.beare@intel.com>2015-10-23 20:15:17 -0700
commit85763d0bbafce79b499831872120ba7ecf08a00f (patch)
treeab1c0620b3882665ab5e0e1a1901848a73dba1c1 /drivers/leds/Kconfig
parentb4e573b8c3fd17c2eaac2e7b96e8dc9e82c9a03f (diff)
downloadedison-v3.10-85763d0bbafce79b499831872120ba7ecf08a00f.tar.gz
Adding GPIO request/free support for Intel Edison LED driver
This commit adds in support for request/free GPIO operations in the LED driver so that the GPIO pin can be freed for use by 3rd party libraries (like MRAA) that wish to control the GPIO pins directly for the LED. Also adding support for debug kernel configuration option (to print helpful debugging messages). Change-Id: If20f78721239fdfe605aeeb2095d123a4cc69807 Signed-off-by: Brian Wood <brian.j.wood@intel.com>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r--drivers/leds/Kconfig15
1 files changed, 12 insertions, 3 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index d5de750a515..17028bec910 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -360,13 +360,22 @@ config LEDS_INTEL_SS4200
can stop the front LED from blinking after startup.
config LEDS_INTEL_GPIO_FLASH
- tristate "Support for GPIO Flash LEDs"
+ tristate "LED driver for Intel Edison"
help
This driver supports the leds functionality of GPIO Flash LED. It
- includes flash mode and torch mode.
+ can be set to either on/off or delay_on/delay_off for flashing.
To compile this driver as a module, choose M here: the module will
- be called leds-gpio-flash.
+ be called leds-edison-gpio-flash.
+
+config LEDS_INTEL_GPIO_FLASH_DEBUG
+ bool "Enable Debug Support for Intel Edison LED driver"
+ depends on LEDS_INTEL_GPIO_FLASH
+ help
+ This option enables debugging support in the Intel Edison
+ LED driver. These kernel debugging messages can be quite
+ verbose, but are helpful when debugging and provides quite
+ a bit of information for generating bug reports.
config LEDS_LT3593
tristate "LED driver for LT3593 controllers"