Kconfig 5.1 KB

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