Kconfig 18 KB

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