Kconfig 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483
  1. config LEDS_GPIO_REGISTER
  2. bool
  3. help
  4. This option provides the function gpio_led_register_device.
  5. As this function is used by arch code it must not be compiled as a
  6. module.
  7. menuconfig NEW_LEDS
  8. bool "LED Support"
  9. help
  10. Say Y to enable Linux LED support. This allows control of supported
  11. LEDs from both userspace and optionally, by kernel events (triggers).
  12. This is not related to standard keyboard LEDs which are controlled
  13. via the input system.
  14. if NEW_LEDS
  15. config LEDS_CLASS
  16. tristate "LED Class Support"
  17. help
  18. This option enables the led sysfs class in /sys/class/leds. You'll
  19. need this to do anything useful with LEDs. If unsure, say N.
  20. comment "LED drivers"
  21. config LEDS_88PM860X
  22. tristate "LED Support for Marvell 88PM860x PMIC"
  23. depends on LEDS_CLASS
  24. depends on MFD_88PM860X
  25. help
  26. This option enables support for on-chip LED drivers found on Marvell
  27. Semiconductor 88PM8606 PMIC.
  28. config LEDS_ATMEL_PWM
  29. tristate "LED Support using Atmel PWM outputs"
  30. depends on LEDS_CLASS
  31. depends on ATMEL_PWM
  32. help
  33. This option enables support for LEDs driven using outputs
  34. of the dedicated PWM controller found on newer Atmel SOCs.
  35. config LEDS_LM3530
  36. tristate "LCD Backlight driver for LM3530"
  37. depends on LEDS_CLASS
  38. depends on I2C
  39. help
  40. This option enables support for the LCD backlight using
  41. LM3530 ambient light sensor chip. This ALS chip can be
  42. controlled manually or using PWM input or using ambient
  43. light automatically.
  44. config LEDS_LM3533
  45. tristate "LED support for LM3533"
  46. depends on LEDS_CLASS
  47. depends on MFD_LM3533
  48. help
  49. This option enables support for the LEDs on National Semiconductor /
  50. TI LM3533 Lighting Power chips.
  51. The LEDs can be controlled directly, through PWM input, or by the
  52. ambient-light-sensor interface. The chip supports
  53. hardware-accelerated blinking with maximum on and off periods of 9.8
  54. and 77 seconds respectively.
  55. config LEDS_LM3642
  56. tristate "LED support for LM3642 Chip"
  57. depends on LEDS_CLASS && I2C
  58. select REGMAP_I2C
  59. help
  60. This option enables support for LEDs connected to LM3642.
  61. The LM3642 is a 4MHz fixed-frequency synchronous boost
  62. converter plus 1.5A constant current driver for a high-current
  63. white LED.
  64. config LEDS_LOCOMO
  65. tristate "LED Support for Locomo device"
  66. depends on LEDS_CLASS
  67. depends on SHARP_LOCOMO
  68. help
  69. This option enables support for the LEDs on Sharp Locomo.
  70. Zaurus models SL-5500 and SL-5600.
  71. config LEDS_MIKROTIK_RB532
  72. tristate "LED Support for Mikrotik Routerboard 532"
  73. depends on LEDS_CLASS
  74. depends on MIKROTIK_RB532
  75. help
  76. This option enables support for the so called "User LED" of
  77. Mikrotik's Routerboard 532.
  78. config LEDS_S3C24XX
  79. tristate "LED Support for Samsung S3C24XX GPIO LEDs"
  80. depends on LEDS_CLASS
  81. depends on ARCH_S3C24XX
  82. help
  83. This option enables support for LEDs connected to GPIO lines
  84. on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
  85. config LEDS_NET48XX
  86. tristate "LED Support for Soekris net48xx series Error LED"
  87. depends on LEDS_CLASS
  88. depends on SCx200_GPIO
  89. help
  90. This option enables support for the Soekris net4801 and net4826 error
  91. LED.
  92. config LEDS_FSG
  93. tristate "LED Support for the Freecom FSG-3"
  94. depends on LEDS_CLASS
  95. depends on MACH_FSG
  96. help
  97. This option enables support for the LEDs on the Freecom FSG-3.
  98. config LEDS_WRAP
  99. tristate "LED Support for the WRAP series LEDs"
  100. depends on LEDS_CLASS
  101. depends on SCx200_GPIO
  102. help
  103. This option enables support for the PCEngines WRAP programmable LEDs.
  104. config LEDS_COBALT_QUBE
  105. tristate "LED Support for the Cobalt Qube series front LED"
  106. depends on LEDS_CLASS
  107. depends on MIPS_COBALT
  108. help
  109. This option enables support for the front LED on Cobalt Qube series
  110. config LEDS_COBALT_RAQ
  111. bool "LED Support for the Cobalt Raq series"
  112. depends on LEDS_CLASS=y && MIPS_COBALT
  113. select LEDS_TRIGGERS
  114. help
  115. This option enables support for the Cobalt Raq series LEDs.
  116. config LEDS_SUNFIRE
  117. tristate "LED support for SunFire servers."
  118. depends on LEDS_CLASS
  119. depends on SPARC64
  120. select LEDS_TRIGGERS
  121. help
  122. This option enables support for the Left, Middle, and Right
  123. LEDs on the I/O and CPU boards of SunFire UltraSPARC servers.
  124. config LEDS_HP6XX
  125. tristate "LED Support for the HP Jornada 6xx"
  126. depends on LEDS_CLASS
  127. depends on SH_HP6XX
  128. help
  129. This option enables LED support for the handheld
  130. HP Jornada 620/660/680/690.
  131. config LEDS_PCA9532
  132. tristate "LED driver for PCA9532 dimmer"
  133. depends on LEDS_CLASS
  134. depends on I2C && INPUT
  135. help
  136. This option enables support for NXP pca9532
  137. LED controller. It is generally only useful
  138. as a platform driver
  139. config LEDS_PCA9532_GPIO
  140. bool "Enable GPIO support for PCA9532"
  141. depends on LEDS_PCA9532
  142. depends on GPIOLIB
  143. help
  144. Allow unused pins on PCA9532 to be used as gpio.
  145. To use a pin as gpio pca9532_type in pca9532_platform data needs to
  146. set to PCA9532_TYPE_GPIO.
  147. config LEDS_GPIO
  148. tristate "LED Support for GPIO connected LEDs"
  149. depends on LEDS_CLASS
  150. depends on GPIOLIB
  151. help
  152. This option enables support for the LEDs connected to GPIO
  153. outputs. To be useful the particular board must have LEDs
  154. and they must be connected to the GPIO lines. The LEDs must be
  155. defined as platform devices and/or OpenFirmware platform devices.
  156. The code to use these bindings can be selected below.
  157. config LEDS_LP3944
  158. tristate "LED Support for N.S. LP3944 (Fun Light) I2C chip"
  159. depends on LEDS_CLASS
  160. depends on I2C
  161. help
  162. This option enables support for LEDs connected to the National
  163. Semiconductor LP3944 Lighting Management Unit (LMU) also known as
  164. Fun Light Chip.
  165. To compile this driver as a module, choose M here: the
  166. module will be called leds-lp3944.
  167. config LEDS_LP55XX_COMMON
  168. tristate "Common Driver for TI/National LP5521/5523/55231/5562/8501"
  169. depends on LEDS_LP5521 || LEDS_LP5523 || LEDS_LP5562 || LEDS_LP8501
  170. select FW_LOADER
  171. help
  172. This option supports common operations for LP5521/5523/55231/5562/8501
  173. devices.
  174. config LEDS_LP5521
  175. tristate "LED Support for N.S. LP5521 LED driver chip"
  176. depends on LEDS_CLASS && I2C
  177. select LEDS_LP55XX_COMMON
  178. help
  179. If you say yes here you get support for the National Semiconductor
  180. LP5521 LED driver. It is 3 channel chip with programmable engines.
  181. Driver provides direct control via LED class and interface for
  182. programming the engines.
  183. config LEDS_LP5523
  184. tristate "LED Support for TI/National LP5523/55231 LED driver chip"
  185. depends on LEDS_CLASS && I2C
  186. select LEDS_LP55XX_COMMON
  187. help
  188. If you say yes here you get support for TI/National Semiconductor
  189. LP5523/55231 LED driver.
  190. It is 9 channel chip with programmable engines.
  191. Driver provides direct control via LED class and interface for
  192. programming the engines.
  193. config LEDS_LP5562
  194. tristate "LED Support for TI LP5562 LED driver chip"
  195. depends on LEDS_CLASS && I2C
  196. select LEDS_LP55XX_COMMON
  197. help
  198. If you say yes here you get support for TI LP5562 LED driver.
  199. It is 4 channels chip with programmable engines.
  200. Driver provides direct control via LED class and interface for
  201. programming the engines.
  202. config LEDS_LP8501
  203. tristate "LED Support for TI LP8501 LED driver chip"
  204. depends on LEDS_CLASS && I2C
  205. select LEDS_LP55XX_COMMON
  206. help
  207. If you say yes here you get support for TI LP8501 LED driver.
  208. It is 9 channel chip with programmable engines.
  209. Driver provides direct control via LED class and interface for
  210. programming the engines.
  211. It is similar as LP5523, but output power selection is available.
  212. And register layout and engine program schemes are different.
  213. config LEDS_LP8788
  214. tristate "LED support for the TI LP8788 PMIC"
  215. depends on LEDS_CLASS
  216. depends on MFD_LP8788
  217. help
  218. This option enables support for the Keyboard LEDs on the LP8788 PMIC.
  219. config LEDS_CLEVO_MAIL
  220. tristate "Mail LED on Clevo notebook"
  221. depends on LEDS_CLASS
  222. depends on X86 && SERIO_I8042 && DMI
  223. help
  224. This driver makes the mail LED accessible from userspace
  225. programs through the leds subsystem. This LED have three
  226. known mode: off, blink at 0.5Hz and blink at 1Hz.
  227. The driver supports two kinds of interface: using ledtrig-timer
  228. or through /sys/class/leds/clevo::mail/brightness. As this LED
  229. cannot change it's brightness it blinks instead. The brightness
  230. value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
  231. blink at 1Hz.
  232. This module can drive the mail LED for the following notebooks:
  233. Clevo D400P
  234. Clevo D410J
  235. Clevo D410V
  236. Clevo D400V/D470V (not tested, but might work)
  237. Clevo M540N
  238. Clevo M5x0N (not tested, but might work)
  239. Positivo Mobile (Clevo M5x0V)
  240. If your model is not listed here you can try the "nodetect"
  241. module parameter.
  242. To compile this driver as a module, choose M here: the
  243. module will be called leds-clevo-mail.
  244. config LEDS_PCA955X
  245. tristate "LED Support for PCA955x I2C chips"
  246. depends on LEDS_CLASS
  247. depends on I2C
  248. help
  249. This option enables support for LEDs connected to PCA955x
  250. LED driver chips accessed via the I2C bus. Supported
  251. devices include PCA9550, PCA9551, PCA9552, and PCA9553.
  252. config LEDS_PCA963X
  253. tristate "LED support for PCA963x I2C chip"
  254. depends on LEDS_CLASS
  255. depends on I2C
  256. help
  257. This option enables support for LEDs connected to the PCA963x
  258. LED driver chip accessed via the I2C bus. Supported
  259. devices include PCA9633 and PCA9634
  260. config LEDS_WM831X_STATUS
  261. tristate "LED support for status LEDs on WM831x PMICs"
  262. depends on LEDS_CLASS
  263. depends on MFD_WM831X
  264. help
  265. This option enables support for the status LEDs of the WM831x
  266. series of PMICs.
  267. config LEDS_WM8350
  268. tristate "LED Support for WM8350 AudioPlus PMIC"
  269. depends on LEDS_CLASS
  270. depends on MFD_WM8350
  271. help
  272. This option enables support for LEDs driven by the Wolfson
  273. Microelectronics WM8350 AudioPlus PMIC.
  274. config LEDS_DA903X
  275. tristate "LED Support for DA9030/DA9034 PMIC"
  276. depends on LEDS_CLASS
  277. depends on PMIC_DA903X
  278. help
  279. This option enables support for on-chip LED drivers found
  280. on Dialog Semiconductor DA9030/DA9034 PMICs.
  281. config LEDS_DA9052
  282. tristate "Dialog DA9052/DA9053 LEDS"
  283. depends on LEDS_CLASS
  284. depends on PMIC_DA9052
  285. help
  286. This option enables support for on-chip LED drivers found
  287. on Dialog Semiconductor DA9052-BC and DA9053-AA/Bx PMICs.
  288. config LEDS_DAC124S085
  289. tristate "LED Support for DAC124S085 SPI DAC"
  290. depends on LEDS_CLASS
  291. depends on SPI
  292. help
  293. This option enables support for DAC124S085 SPI DAC from NatSemi,
  294. which can be used to control up to four LEDs.
  295. config LEDS_PWM
  296. tristate "PWM driven LED Support"
  297. depends on LEDS_CLASS
  298. depends on PWM
  299. help
  300. This option enables support for pwm driven LEDs
  301. config LEDS_REGULATOR
  302. tristate "REGULATOR driven LED support"
  303. depends on LEDS_CLASS
  304. depends on REGULATOR
  305. help
  306. This option enables support for regulator driven LEDs.
  307. config LEDS_BD2802
  308. tristate "LED driver for BD2802 RGB LED"
  309. depends on LEDS_CLASS
  310. depends on I2C
  311. help
  312. This option enables support for BD2802GU RGB LED driver chips
  313. accessed via the I2C bus.
  314. config LEDS_INTEL_SS4200
  315. tristate "LED driver for Intel NAS SS4200 series"
  316. depends on LEDS_CLASS
  317. depends on PCI && DMI
  318. help
  319. This option enables support for the Intel SS4200 series of
  320. Network Attached Storage servers. You may control the hard
  321. drive or power LEDs on the front panel. Using this driver
  322. can stop the front LED from blinking after startup.
  323. config LEDS_LT3593
  324. tristate "LED driver for LT3593 controllers"
  325. depends on LEDS_CLASS
  326. depends on GPIOLIB
  327. help
  328. This option enables support for LEDs driven by a Linear Technology
  329. LT3593 controller. This controller uses a special one-wire pulse
  330. coding protocol to set the brightness.
  331. config LEDS_ADP5520
  332. tristate "LED Support for ADP5520/ADP5501 PMIC"
  333. depends on LEDS_CLASS
  334. depends on PMIC_ADP5520
  335. help
  336. This option enables support for on-chip LED drivers found
  337. on Analog Devices ADP5520/ADP5501 PMICs.
  338. To compile this driver as a module, choose M here: the module will
  339. be called leds-adp5520.
  340. config LEDS_DELL_NETBOOKS
  341. tristate "External LED on Dell Business Netbooks"
  342. depends on LEDS_CLASS
  343. depends on X86 && ACPI_WMI
  344. help
  345. This adds support for the Latitude 2100 and similar
  346. notebooks that have an external LED.
  347. config LEDS_MC13783
  348. tristate "LED Support for MC13XXX PMIC"
  349. depends on LEDS_CLASS
  350. depends on MFD_MC13XXX
  351. help
  352. This option enable support for on-chip LED drivers found
  353. on Freescale Semiconductor MC13783/MC13892 PMIC.
  354. config LEDS_NS2
  355. tristate "LED support for Network Space v2 GPIO LEDs"
  356. depends on LEDS_CLASS
  357. depends on ARCH_KIRKWOOD
  358. default y
  359. help
  360. This option enable support for the dual-GPIO LED found on the
  361. Network Space v2 board (and parents). This include Internet Space v2,
  362. Network Space (Max) v2 and d2 Network v2 boards.
  363. config LEDS_NETXBIG
  364. tristate "LED support for Big Network series LEDs"
  365. depends on LEDS_CLASS
  366. depends on ARCH_KIRKWOOD
  367. default y
  368. help
  369. This option enable support for LEDs found on the LaCie 2Big
  370. and 5Big Network v2 boards. The LEDs are wired to a CPLD and are
  371. controlled through a GPIO extension bus.
  372. config LEDS_ASIC3
  373. bool "LED support for the HTC ASIC3"
  374. depends on LEDS_CLASS=y
  375. depends on MFD_ASIC3
  376. default y
  377. help
  378. This option enables support for the LEDs on the HTC ASIC3. The HTC
  379. ASIC3 LED GPIOs are inputs, not outputs, thus the leds-gpio driver
  380. cannot be used. This driver supports hardware blinking with an on+off
  381. period from 62ms to 125s. Say Y to enable LEDs on the HP iPAQ hx4700.
  382. config LEDS_TCA6507
  383. tristate "LED Support for TCA6507 I2C chip"
  384. depends on LEDS_CLASS && I2C
  385. help
  386. This option enables support for LEDs connected to TC6507
  387. LED driver chips accessed via the I2C bus.
  388. Driver support brightness control and hardware-assisted blinking.
  389. config LEDS_MAX8997
  390. tristate "LED support for MAX8997 PMIC"
  391. depends on LEDS_CLASS && MFD_MAX8997
  392. help
  393. This option enables support for on-chip LED drivers on
  394. MAXIM MAX8997 PMIC.
  395. config LEDS_LM355x
  396. tristate "LED support for LM355x Chips, LM3554 and LM3556"
  397. depends on LEDS_CLASS && I2C
  398. select REGMAP_I2C
  399. help
  400. This option enables support for LEDs connected to LM355x.
  401. LM355x includes Torch, Flash and Indicator functions.
  402. config LEDS_OT200
  403. tristate "LED support for the Bachmann OT200"
  404. depends on LEDS_CLASS && HAS_IOMEM
  405. help
  406. This option enables support for the LEDs on the Bachmann OT200.
  407. Say Y to enable LEDs on the Bachmann OT200.
  408. config LEDS_BLINKM
  409. tristate "LED support for the BlinkM I2C RGB LED"
  410. depends on LEDS_CLASS
  411. depends on I2C
  412. help
  413. This option enables support for the BlinkM RGB LED connected
  414. through I2C. Say Y to enable support for the BlinkM LED.
  415. comment "LED Triggers"
  416. source "drivers/leds/trigger/Kconfig"
  417. endif # NEW_LEDS