Kconfig 16 KB

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