Kconfig 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. menuconfig NEW_LEDS
  2. bool "LED Support"
  3. depends on HAS_IOMEM
  4. help
  5. Say Y to enable Linux LED support. This allows control of supported
  6. LEDs from both userspace and optionally, by kernel events (triggers).
  7. This is not related to standard keyboard LEDs which are controlled
  8. via the input system.
  9. if NEW_LEDS
  10. config LEDS_CLASS
  11. tristate "LED Class Support"
  12. help
  13. This option enables the led sysfs class in /sys/class/leds. You'll
  14. need this to do anything useful with LEDs. If unsure, say N.
  15. comment "LED drivers"
  16. config LEDS_ATMEL_PWM
  17. tristate "LED Support using Atmel PWM outputs"
  18. depends on LEDS_CLASS && ATMEL_PWM
  19. help
  20. This option enables support for LEDs driven using outputs
  21. of the dedicated PWM controller found on newer Atmel SOCs.
  22. config LEDS_CORGI
  23. tristate "LED Support for the Sharp SL-C7x0 series"
  24. depends on LEDS_CLASS && PXA_SHARP_C7xx
  25. help
  26. This option enables support for the LEDs on Sharp Zaurus
  27. SL-C7x0 series (C700, C750, C760, C860).
  28. config LEDS_LOCOMO
  29. tristate "LED Support for Locomo device"
  30. depends on LEDS_CLASS && SHARP_LOCOMO
  31. help
  32. This option enables support for the LEDs on Sharp Locomo.
  33. Zaurus models SL-5500 and SL-5600.
  34. config LEDS_SPITZ
  35. tristate "LED Support for the Sharp SL-Cxx00 series"
  36. depends on LEDS_CLASS && PXA_SHARP_Cxx00
  37. help
  38. This option enables support for the LEDs on Sharp Zaurus
  39. SL-Cxx00 series (C1000, C3000, C3100).
  40. config LEDS_TOSA
  41. tristate "LED Support for the Sharp SL-6000 series"
  42. depends on LEDS_CLASS && PXA_SHARPSL
  43. help
  44. This option enables support for the LEDs on Sharp Zaurus
  45. SL-6000 series.
  46. config LEDS_S3C24XX
  47. tristate "LED Support for Samsung S3C24XX GPIO LEDs"
  48. depends on LEDS_CLASS && ARCH_S3C2410
  49. help
  50. This option enables support for LEDs connected to GPIO lines
  51. on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
  52. config LEDS_AMS_DELTA
  53. tristate "LED Support for the Amstrad Delta (E3)"
  54. depends on LEDS_CLASS && MACH_AMS_DELTA
  55. help
  56. This option enables support for the LEDs on Amstrad Delta (E3).
  57. config LEDS_NET48XX
  58. tristate "LED Support for Soekris net48xx series Error LED"
  59. depends on LEDS_CLASS && SCx200_GPIO
  60. help
  61. This option enables support for the Soekris net4801 and net4826 error
  62. LED.
  63. config LEDS_WRAP
  64. tristate "LED Support for the WRAP series LEDs"
  65. depends on LEDS_CLASS && SCx200_GPIO
  66. help
  67. This option enables support for the PCEngines WRAP programmable LEDs.
  68. config LEDS_H1940
  69. tristate "LED Support for iPAQ H1940 device"
  70. depends on LEDS_CLASS && ARCH_H1940
  71. help
  72. This option enables support for the LEDs on the h1940.
  73. config LEDS_COBALT_QUBE
  74. tristate "LED Support for the Cobalt Qube series front LED"
  75. depends on LEDS_CLASS && MIPS_COBALT
  76. help
  77. This option enables support for the front LED on Cobalt Qube series
  78. config LEDS_COBALT_RAQ
  79. bool "LED Support for the Cobalt Raq series"
  80. depends on LEDS_CLASS && MIPS_COBALT
  81. select LEDS_TRIGGERS
  82. help
  83. This option enables support for the Cobalt Raq series LEDs.
  84. config LEDS_HP6XX
  85. tristate "LED Support for the HP Jornada 6xx"
  86. depends on LEDS_CLASS && SH_HP6XX
  87. help
  88. This option enables led support for the handheld
  89. HP Jornada 620/660/680/690.
  90. config LEDS_GPIO
  91. tristate "LED Support for GPIO connected LEDs"
  92. depends on LEDS_CLASS && GENERIC_GPIO
  93. help
  94. This option enables support for the LEDs connected to GPIO
  95. outputs. To be useful the particular board must have LEDs
  96. and they must be connected to the GPIO lines.
  97. config LEDS_CM_X270
  98. tristate "LED Support for the CM-X270 LEDs"
  99. depends on LEDS_CLASS && MACH_ARMCORE
  100. help
  101. This option enables support for the CM-X270 LEDs.
  102. config LEDS_CLEVO_MAIL
  103. tristate "Mail LED on Clevo notebook (EXPERIMENTAL)"
  104. depends on LEDS_CLASS && X86 && SERIO_I8042 && DMI && EXPERIMENTAL
  105. help
  106. This driver makes the mail LED accessible from userspace
  107. programs through the leds subsystem. This LED have three
  108. known mode: off, blink at 0.5Hz and blink at 1Hz.
  109. The driver supports two kinds of interface: using ledtrig-timer
  110. or through /sys/class/leds/clevo::mail/brightness. As this LED
  111. cannot change it's brightness it blinks instead. The brightness
  112. value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
  113. blink at 1Hz.
  114. This module can drive the mail LED for the following notebooks:
  115. Clevo D410J
  116. Clevo D410V
  117. Clevo D400V/D470V (not tested, but might work)
  118. Clevo M540N
  119. Clevo M5x0N (not tested, but might work)
  120. Positivo Mobile (Clevo M5x0V)
  121. To compile this driver as a module, choose M here: the
  122. module will be called leds-clevo-mail.
  123. comment "LED Triggers"
  124. config LEDS_TRIGGERS
  125. bool "LED Trigger support"
  126. help
  127. This option enables trigger support for the leds class.
  128. These triggers allow kernel events to drive the LEDs and can
  129. be configured via sysfs. If unsure, say Y.
  130. config LEDS_TRIGGER_TIMER
  131. tristate "LED Timer Trigger"
  132. depends on LEDS_TRIGGERS
  133. help
  134. This allows LEDs to be controlled by a programmable timer
  135. via sysfs. Some LED hardware can be programmed to start
  136. blinking the LED without any further software interaction.
  137. For more details read Documentation/leds-class.txt.
  138. If unsure, say Y.
  139. config LEDS_TRIGGER_IDE_DISK
  140. bool "LED IDE Disk Trigger"
  141. depends on LEDS_TRIGGERS && BLK_DEV_IDEDISK
  142. help
  143. This allows LEDs to be controlled by IDE disk activity.
  144. If unsure, say Y.
  145. config LEDS_TRIGGER_HEARTBEAT
  146. tristate "LED Heartbeat Trigger"
  147. depends on LEDS_TRIGGERS
  148. help
  149. This allows LEDs to be controlled by a CPU load average.
  150. The flash frequency is a hyperbolic function of the 1-minute
  151. load average.
  152. If unsure, say Y.
  153. endif # NEW_LEDS