Kconfig 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442
  1. menuconfig NEW_LEDS
  2. bool "LED Support"
  3. help
  4. Say Y to enable Linux LED support. This allows control of supported
  5. LEDs from both userspace and optionally, by kernel events (triggers).
  6. This is not related to standard keyboard LEDs which are controlled
  7. via the input system.
  8. config LEDS_CLASS
  9. bool "LED Class Support"
  10. depends on NEW_LEDS
  11. help
  12. This option enables the led sysfs class in /sys/class/leds. You'll
  13. need this to do anything useful with LEDs. If unsure, say N.
  14. if NEW_LEDS
  15. comment "LED drivers"
  16. config LEDS_88PM860X
  17. tristate "LED Support for Marvell 88PM860x PMIC"
  18. depends on LEDS_CLASS
  19. depends on MFD_88PM860X
  20. help
  21. This option enables support for on-chip LED drivers found on Marvell
  22. Semiconductor 88PM8606 PMIC.
  23. config LEDS_ATMEL_PWM
  24. tristate "LED Support using Atmel PWM outputs"
  25. depends on LEDS_CLASS
  26. depends on ATMEL_PWM
  27. help
  28. This option enables support for LEDs driven using outputs
  29. of the dedicated PWM controller found on newer Atmel SOCs.
  30. config LEDS_LOCOMO
  31. tristate "LED Support for Locomo device"
  32. depends on LEDS_CLASS
  33. depends on SHARP_LOCOMO
  34. help
  35. This option enables support for the LEDs on Sharp Locomo.
  36. Zaurus models SL-5500 and SL-5600.
  37. config LEDS_MIKROTIK_RB532
  38. tristate "LED Support for Mikrotik Routerboard 532"
  39. depends on LEDS_CLASS
  40. depends on MIKROTIK_RB532
  41. help
  42. This option enables support for the so called "User LED" of
  43. Mikrotik's Routerboard 532.
  44. config LEDS_S3C24XX
  45. tristate "LED Support for Samsung S3C24XX GPIO LEDs"
  46. depends on LEDS_CLASS
  47. depends on ARCH_S3C2410
  48. help
  49. This option enables support for LEDs connected to GPIO lines
  50. on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
  51. config LEDS_AMS_DELTA
  52. tristate "LED Support for the Amstrad Delta (E3)"
  53. depends on LEDS_CLASS
  54. depends on 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
  60. depends on SCx200_GPIO
  61. help
  62. This option enables support for the Soekris net4801 and net4826 error
  63. LED.
  64. config LEDS_NET5501
  65. tristate "LED Support for Soekris net5501 series Error LED"
  66. depends on LEDS_TRIGGERS
  67. depends on X86 && LEDS_GPIO_PLATFORM && GPIO_CS5535
  68. select LEDS_TRIGGER_DEFAULT_ON
  69. default n
  70. help
  71. Add support for the Soekris net5501 board (detection, error led
  72. and GPIO).
  73. config LEDS_FSG
  74. tristate "LED Support for the Freecom FSG-3"
  75. depends on LEDS_CLASS
  76. depends on MACH_FSG
  77. help
  78. This option enables support for the LEDs on the Freecom FSG-3.
  79. config LEDS_WRAP
  80. tristate "LED Support for the WRAP series LEDs"
  81. depends on LEDS_CLASS
  82. depends on SCx200_GPIO
  83. help
  84. This option enables support for the PCEngines WRAP programmable LEDs.
  85. config LEDS_ALIX2
  86. tristate "LED Support for ALIX.2 and ALIX.3 series"
  87. depends on LEDS_CLASS
  88. depends on X86 && !GPIO_CS5535 && !CS5535_GPIO
  89. help
  90. This option enables support for the PCEngines ALIX.2 and ALIX.3 LEDs.
  91. You have to set leds-alix2.force=1 for boards with Award BIOS.
  92. config LEDS_H1940
  93. tristate "LED Support for iPAQ H1940 device"
  94. depends on LEDS_CLASS
  95. depends on ARCH_H1940
  96. help
  97. This option enables support for the LEDs on the h1940.
  98. config LEDS_COBALT_QUBE
  99. tristate "LED Support for the Cobalt Qube series front LED"
  100. depends on LEDS_CLASS
  101. depends on MIPS_COBALT
  102. help
  103. This option enables support for the front LED on Cobalt Qube series
  104. config LEDS_COBALT_RAQ
  105. bool "LED Support for the Cobalt Raq series"
  106. depends on LEDS_CLASS=y && MIPS_COBALT
  107. select LEDS_TRIGGERS
  108. help
  109. This option enables support for the Cobalt Raq series LEDs.
  110. config LEDS_SUNFIRE
  111. tristate "LED support for SunFire servers."
  112. depends on LEDS_CLASS
  113. depends on SPARC64
  114. select LEDS_TRIGGERS
  115. help
  116. This option enables support for the Left, Middle, and Right
  117. LEDs on the I/O and CPU boards of SunFire UltraSPARC servers.
  118. config LEDS_HP6XX
  119. tristate "LED Support for the HP Jornada 6xx"
  120. depends on LEDS_CLASS
  121. depends on SH_HP6XX
  122. help
  123. This option enables LED support for the handheld
  124. HP Jornada 620/660/680/690.
  125. config LEDS_PCA9532
  126. tristate "LED driver for PCA9532 dimmer"
  127. depends on LEDS_CLASS
  128. depends on I2C && INPUT && EXPERIMENTAL
  129. help
  130. This option enables support for NXP pca9532
  131. LED controller. It is generally only useful
  132. as a platform driver
  133. config LEDS_GPIO
  134. tristate "LED Support for GPIO connected LEDs"
  135. depends on LEDS_CLASS
  136. depends on GENERIC_GPIO
  137. help
  138. This option enables support for the LEDs connected to GPIO
  139. outputs. To be useful the particular board must have LEDs
  140. and they must be connected to the GPIO lines. The LEDs must be
  141. defined as platform devices and/or OpenFirmware platform devices.
  142. The code to use these bindings can be selected below.
  143. config LEDS_GPIO_PLATFORM
  144. bool "Platform device bindings for GPIO LEDs"
  145. depends on LEDS_GPIO
  146. default y
  147. help
  148. Let the leds-gpio driver drive LEDs which have been defined as
  149. platform devices. If you don't know what this means, say yes.
  150. config LEDS_GPIO_OF
  151. bool "OpenFirmware platform device bindings for GPIO LEDs"
  152. depends on LEDS_GPIO && OF_DEVICE
  153. default y
  154. help
  155. Let the leds-gpio driver drive LEDs which have been defined as
  156. of_platform devices. For instance, LEDs which are listed in a "dts"
  157. file.
  158. config LEDS_LP3944
  159. tristate "LED Support for N.S. LP3944 (Fun Light) I2C chip"
  160. depends on LEDS_CLASS
  161. depends on I2C
  162. help
  163. This option enables support for LEDs connected to the National
  164. Semiconductor LP3944 Lighting Management Unit (LMU) also known as
  165. Fun Light Chip.
  166. To compile this driver as a module, choose M here: the
  167. module will be called leds-lp3944.
  168. config LEDS_LP5521
  169. tristate "LED Support for N.S. LP5521 LED driver chip"
  170. depends on LEDS_CLASS && I2C
  171. help
  172. If you say yes here you get support for the National Semiconductor
  173. LP5521 LED driver. It is 3 channel chip with programmable engines.
  174. Driver provides direct control via LED class and interface for
  175. programming the engines.
  176. config LEDS_LP5523
  177. tristate "LED Support for N.S. LP5523 LED driver chip"
  178. depends on LEDS_CLASS && I2C
  179. help
  180. If you say yes here you get support for the National Semiconductor
  181. LP5523 LED driver. It is 9 channel chip with programmable engines.
  182. Driver provides direct control via LED class and interface for
  183. programming the engines.
  184. config LEDS_CLEVO_MAIL
  185. tristate "Mail LED on Clevo notebook"
  186. depends on LEDS_CLASS
  187. depends on X86 && SERIO_I8042 && DMI
  188. help
  189. This driver makes the mail LED accessible from userspace
  190. programs through the leds subsystem. This LED have three
  191. known mode: off, blink at 0.5Hz and blink at 1Hz.
  192. The driver supports two kinds of interface: using ledtrig-timer
  193. or through /sys/class/leds/clevo::mail/brightness. As this LED
  194. cannot change it's brightness it blinks instead. The brightness
  195. value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
  196. blink at 1Hz.
  197. This module can drive the mail LED for the following notebooks:
  198. Clevo D400P
  199. Clevo D410J
  200. Clevo D410V
  201. Clevo D400V/D470V (not tested, but might work)
  202. Clevo M540N
  203. Clevo M5x0N (not tested, but might work)
  204. Positivo Mobile (Clevo M5x0V)
  205. If your model is not listed here you can try the "nodetect"
  206. module parameter.
  207. To compile this driver as a module, choose M here: the
  208. module will be called leds-clevo-mail.
  209. config LEDS_PCA955X
  210. tristate "LED Support for PCA955x I2C chips"
  211. depends on LEDS_CLASS
  212. depends on I2C
  213. help
  214. This option enables support for LEDs connected to PCA955x
  215. LED driver chips accessed via the I2C bus. Supported
  216. devices include PCA9550, PCA9551, PCA9552, and PCA9553.
  217. config LEDS_WM831X_STATUS
  218. tristate "LED support for status LEDs on WM831x PMICs"
  219. depends on LEDS_CLASS
  220. depends on MFD_WM831X
  221. help
  222. This option enables support for the status LEDs of the WM831x
  223. series of PMICs.
  224. config LEDS_WM8350
  225. tristate "LED Support for WM8350 AudioPlus PMIC"
  226. depends on LEDS_CLASS
  227. depends on MFD_WM8350
  228. help
  229. This option enables support for LEDs driven by the Wolfson
  230. Microelectronics WM8350 AudioPlus PMIC.
  231. config LEDS_DA903X
  232. tristate "LED Support for DA9030/DA9034 PMIC"
  233. depends on LEDS_CLASS
  234. depends on PMIC_DA903X
  235. help
  236. This option enables support for on-chip LED drivers found
  237. on Dialog Semiconductor DA9030/DA9034 PMICs.
  238. config LEDS_DAC124S085
  239. tristate "LED Support for DAC124S085 SPI DAC"
  240. depends on LEDS_CLASS
  241. depends on SPI
  242. help
  243. This option enables support for DAC124S085 SPI DAC from NatSemi,
  244. which can be used to control up to four LEDs.
  245. config LEDS_PWM
  246. tristate "PWM driven LED Support"
  247. depends on LEDS_CLASS
  248. depends on HAVE_PWM
  249. help
  250. This option enables support for pwm driven LEDs
  251. config LEDS_REGULATOR
  252. tristate "REGULATOR driven LED support"
  253. depends on LEDS_CLASS
  254. depends on REGULATOR
  255. help
  256. This option enables support for regulator driven LEDs.
  257. config LEDS_BD2802
  258. tristate "LED driver for BD2802 RGB LED"
  259. depends on LEDS_CLASS
  260. depends on I2C
  261. help
  262. This option enables support for BD2802GU RGB LED driver chips
  263. accessed via the I2C bus.
  264. config LEDS_INTEL_SS4200
  265. tristate "LED driver for Intel NAS SS4200 series"
  266. depends on LEDS_CLASS
  267. depends on PCI && DMI
  268. help
  269. This option enables support for the Intel SS4200 series of
  270. Network Attached Storage servers. You may control the hard
  271. drive or power LEDs on the front panel. Using this driver
  272. can stop the front LED from blinking after startup.
  273. config LEDS_LT3593
  274. tristate "LED driver for LT3593 controllers"
  275. depends on LEDS_CLASS
  276. depends on GENERIC_GPIO
  277. help
  278. This option enables support for LEDs driven by a Linear Technology
  279. LT3593 controller. This controller uses a special one-wire pulse
  280. coding protocol to set the brightness.
  281. config LEDS_ADP5520
  282. tristate "LED Support for ADP5520/ADP5501 PMIC"
  283. depends on LEDS_CLASS
  284. depends on PMIC_ADP5520
  285. help
  286. This option enables support for on-chip LED drivers found
  287. on Analog Devices ADP5520/ADP5501 PMICs.
  288. To compile this driver as a module, choose M here: the module will
  289. be called leds-adp5520.
  290. config LEDS_DELL_NETBOOKS
  291. tristate "External LED on Dell Business Netbooks"
  292. depends on LEDS_CLASS
  293. depends on X86 && ACPI_WMI
  294. help
  295. This adds support for the Latitude 2100 and similar
  296. notebooks that have an external LED.
  297. config LEDS_MC13783
  298. tristate "LED Support for MC13783 PMIC"
  299. depends on LEDS_CLASS
  300. depends on MFD_MC13783
  301. help
  302. This option enable support for on-chip LED drivers found
  303. on Freescale Semiconductor MC13783 PMIC.
  304. config LEDS_NS2
  305. tristate "LED support for Network Space v2 GPIO LEDs"
  306. depends on LEDS_CLASS
  307. depends on MACH_NETSPACE_V2 || MACH_INETSPACE_V2 || MACH_NETSPACE_MAX_V2 || D2NET_V2
  308. default y
  309. help
  310. This option enable support for the dual-GPIO LED found on the
  311. Network Space v2 board (and parents). This include Internet Space v2,
  312. Network Space (Max) v2 and d2 Network v2 boards.
  313. config LEDS_NETXBIG
  314. tristate "LED support for Big Network series LEDs"
  315. depends on MACH_NET2BIG_V2 || MACH_NET5BIG_V2
  316. default y
  317. help
  318. This option enable support for LEDs found on the LaCie 2Big
  319. and 5Big Network v2 boards. The LEDs are wired to a CPLD and are
  320. controlled through a GPIO extension bus.
  321. config LEDS_TRIGGERS
  322. bool "LED Trigger support"
  323. depends on LEDS_CLASS
  324. help
  325. This option enables trigger support for the leds class.
  326. These triggers allow kernel events to drive the LEDs and can
  327. be configured via sysfs. If unsure, say Y.
  328. comment "LED Triggers"
  329. config LEDS_TRIGGER_TIMER
  330. tristate "LED Timer Trigger"
  331. depends on LEDS_TRIGGERS
  332. help
  333. This allows LEDs to be controlled by a programmable timer
  334. via sysfs. Some LED hardware can be programmed to start
  335. blinking the LED without any further software interaction.
  336. For more details read Documentation/leds-class.txt.
  337. If unsure, say Y.
  338. config LEDS_TRIGGER_IDE_DISK
  339. bool "LED IDE Disk Trigger"
  340. depends on IDE_GD_ATA
  341. depends on LEDS_TRIGGERS
  342. help
  343. This allows LEDs to be controlled by IDE disk activity.
  344. If unsure, say Y.
  345. config LEDS_TRIGGER_HEARTBEAT
  346. tristate "LED Heartbeat Trigger"
  347. depends on LEDS_TRIGGERS
  348. help
  349. This allows LEDs to be controlled by a CPU load average.
  350. The flash frequency is a hyperbolic function of the 1-minute
  351. load average.
  352. If unsure, say Y.
  353. config LEDS_TRIGGER_BACKLIGHT
  354. tristate "LED backlight Trigger"
  355. depends on LEDS_TRIGGERS
  356. help
  357. This allows LEDs to be controlled as a backlight device: they
  358. turn off and on when the display is blanked and unblanked.
  359. If unsure, say N.
  360. config LEDS_TRIGGER_GPIO
  361. tristate "LED GPIO Trigger"
  362. depends on LEDS_TRIGGERS
  363. depends on GPIOLIB
  364. help
  365. This allows LEDs to be controlled by gpio events. It's good
  366. when using gpios as switches and triggering the needed LEDs
  367. from there. One use case is n810's keypad LEDs that could
  368. be triggered by this trigger when user slides up to show
  369. keypad.
  370. If unsure, say N.
  371. config LEDS_TRIGGER_DEFAULT_ON
  372. tristate "LED Default ON Trigger"
  373. depends on LEDS_TRIGGERS
  374. help
  375. This allows LEDs to be initialised in the ON state.
  376. If unsure, say Y.
  377. comment "iptables trigger is under Netfilter config (LED target)"
  378. depends on LEDS_TRIGGERS
  379. endif # NEW_LEDS