Kconfig 16 KB

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