Kconfig 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. menuconfig LEDS_TRIGGERS
  2. bool "LED Trigger support"
  3. depends on LEDS_CLASS
  4. help
  5. This option enables trigger support for the leds class.
  6. These triggers allow kernel events to drive the LEDs and can
  7. be configured via sysfs. If unsure, say Y.
  8. if LEDS_TRIGGERS
  9. config LEDS_TRIGGER_TIMER
  10. tristate "LED Timer Trigger"
  11. depends on LEDS_TRIGGERS
  12. help
  13. This allows LEDs to be controlled by a programmable timer
  14. via sysfs. Some LED hardware can be programmed to start
  15. blinking the LED without any further software interaction.
  16. For more details read Documentation/leds/leds-class.txt.
  17. If unsure, say Y.
  18. config LEDS_TRIGGER_ONESHOT
  19. tristate "LED One-shot Trigger"
  20. depends on LEDS_TRIGGERS
  21. help
  22. This allows LEDs to blink in one-shot pulses with parameters
  23. controlled via sysfs. It's useful to notify the user on
  24. sporadic events, when there are no clear begin and end trap points,
  25. or on dense events, where this blinks the LED at constant rate if
  26. rearmed continuously.
  27. It also shows how to use the led_blink_set_oneshot() function.
  28. If unsure, say Y.
  29. config LEDS_TRIGGER_IDE_DISK
  30. bool "LED IDE Disk Trigger"
  31. depends on IDE_GD_ATA
  32. depends on LEDS_TRIGGERS
  33. help
  34. This allows LEDs to be controlled by IDE disk activity.
  35. If unsure, say Y.
  36. config LEDS_TRIGGER_HEARTBEAT
  37. tristate "LED Heartbeat Trigger"
  38. depends on LEDS_TRIGGERS
  39. help
  40. This allows LEDs to be controlled by a CPU load average.
  41. The flash frequency is a hyperbolic function of the 1-minute
  42. load average.
  43. If unsure, say Y.
  44. config LEDS_TRIGGER_BACKLIGHT
  45. tristate "LED backlight Trigger"
  46. depends on LEDS_TRIGGERS
  47. help
  48. This allows LEDs to be controlled as a backlight device: they
  49. turn off and on when the display is blanked and unblanked.
  50. If unsure, say N.
  51. config LEDS_TRIGGER_CPU
  52. bool "LED CPU Trigger"
  53. depends on LEDS_TRIGGERS
  54. help
  55. This allows LEDs to be controlled by active CPUs. This shows
  56. the active CPUs across an array of LEDs so you can see which
  57. CPUs are active on the system at any given moment.
  58. If unsure, say N.
  59. config LEDS_TRIGGER_GPIO
  60. tristate "LED GPIO Trigger"
  61. depends on LEDS_TRIGGERS
  62. depends on GPIOLIB || COMPILE_TEST
  63. help
  64. This allows LEDs to be controlled by gpio events. It's good
  65. when using gpios as switches and triggering the needed LEDs
  66. from there. One use case is n810's keypad LEDs that could
  67. be triggered by this trigger when user slides up to show
  68. keypad.
  69. If unsure, say N.
  70. config LEDS_TRIGGER_DEFAULT_ON
  71. tristate "LED Default ON Trigger"
  72. depends on LEDS_TRIGGERS
  73. help
  74. This allows LEDs to be initialised in the ON state.
  75. If unsure, say Y.
  76. comment "iptables trigger is under Netfilter config (LED target)"
  77. depends on LEDS_TRIGGERS
  78. config LEDS_TRIGGER_TRANSIENT
  79. tristate "LED Transient Trigger"
  80. depends on LEDS_TRIGGERS
  81. help
  82. This allows one time activation of a transient state on
  83. GPIO/PWM based hardware.
  84. If unsure, say Y.
  85. config LEDS_TRIGGER_CAMERA
  86. tristate "LED Camera Flash/Torch Trigger"
  87. depends on LEDS_TRIGGERS
  88. help
  89. This allows LEDs to be controlled as a camera flash/torch device.
  90. This enables direct flash/torch on/off by the driver, kernel space.
  91. If unsure, say Y.
  92. endif # LEDS_TRIGGERS