blob: 6e3a998f337096bf09588df53924d15e499279d0 [file] [log] [blame]
Uwe Kleine-Königbe5ce2f2011-06-15 15:08:31 -07001config 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
Jan Engelhardt66242f72007-05-10 10:44:11 +01008menuconfig NEW_LEDS
Richard Purdiec72a1d62006-03-31 02:31:04 -08009 bool "LED Support"
10 help
Richard Purdiea8d2e7d2006-05-15 09:44:14 -070011 Say Y to enable Linux LED support. This allows control of supported
12 LEDs from both userspace and optionally, by kernel events (triggers).
13
Eric Miao45d16f02011-06-15 15:08:40 -070014if NEW_LEDS
15
Richard Purdiec72a1d62006-03-31 02:31:04 -080016config LEDS_CLASS
Bryan Wua403d932012-03-23 15:02:14 -070017 tristate "LED Class Support"
Richard Purdiec72a1d62006-03-31 02:31:04 -080018 help
19 This option enables the led sysfs class in /sys/class/leds. You'll
20 need this to do anything useful with LEDs. If unsure, say N.
21
Jacek Anaszewski7aea8382015-01-09 07:22:51 -080022config LEDS_CLASS_FLASH
23 tristate "LED Flash Class Support"
24 depends on LEDS_CLASS
25 help
26 This option enables the flash led sysfs class in /sys/class/leds.
27 It wrapps LED Class and adds flash LEDs specific sysfs attributes
28 and kernel internal API to it. You'll need this to provide support
29 for the flash related features of a LED device. It can be built
30 as a module.
31
Hans de Goede0cb8eb32017-01-29 14:42:52 +010032config LEDS_BRIGHTNESS_HW_CHANGED
33 bool "LED Class brightness_hw_changed attribute support"
34 depends on LEDS_CLASS
35 help
36 This option enables support for the brightness_hw_changed attribute
37 for led sysfs class devices under /sys/class/leds.
38
39 See Documentation/ABI/testing/sysfs-class-led for details.
40
Ben Dooks24f51e82006-04-10 22:54:01 -070041comment "LED drivers"
Richard Purdiec3bc9952006-03-31 02:31:05 -080042
Haojian Zhuang0a2f9152010-01-06 17:10:09 -050043config LEDS_88PM860X
44 tristate "LED Support for Marvell 88PM860x PMIC"
Johannes Berg0bae35e2010-12-02 14:31:14 -080045 depends on LEDS_CLASS
Richard Purdie37814fd2010-05-27 13:08:33 +010046 depends on MFD_88PM860X
Haojian Zhuang0a2f9152010-01-06 17:10:09 -050047 help
48 This option enables support for on-chip LED drivers found on Marvell
49 Semiconductor 88PM8606 PMIC.
50
Jacek Anaszewski49c34b82015-04-30 03:34:57 -070051config LEDS_AAT1290
52 tristate "LED support for the AAT1290"
53 depends on LEDS_CLASS_FLASH
Randy Dunlap58d18092015-06-26 12:00:20 -070054 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
Geert Uytterhoeven6e3956c2015-07-06 15:42:34 +020055 depends on GPIOLIB || COMPILE_TEST
Jacek Anaszewski49c34b82015-04-30 03:34:57 -070056 depends on OF
Jacek Anaszewskiac69b902015-06-19 00:33:22 -070057 depends on PINCTRL
Jacek Anaszewski49c34b82015-04-30 03:34:57 -070058 help
59 This option enables support for the LEDs on the AAT1290.
Alan Mizrahi3faee942017-11-03 10:38:07 +090060config LEDS_APU
61 tristate "Front panel LED support for PC Engines APU/APU2 boards"
62 depends on LEDS_CLASS
63 depends on X86 && DMI
64 help
65 This driver makes the PC Engines APU/APU2 front panel LEDs
66 accessible from userspace programs through the LED subsystem.
67
68 To compile this driver as a module, choose M here: the
69 module will be called leds-apu.
Jacek Anaszewski49c34b82015-04-30 03:34:57 -070070
Sakari Ailusa56ba8f2015-04-26 17:56:54 -040071config LEDS_AS3645A
Pavel Machek6204f032018-02-01 21:26:34 +010072 tristate "AS3645A and LM3555 LED flash controllers support"
Sakari Ailusa56ba8f2015-04-26 17:56:54 -040073 depends on I2C && LEDS_CLASS_FLASH
Arnd Bergmann1efdf172017-09-05 09:13:20 +020074 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
Sakari Ailusa56ba8f2015-04-26 17:56:54 -040075 help
76 Enable LED flash class support for AS3645A LED flash
77 controller. V4L2 flash API is provided as well if
78 CONFIG_V4L2_FLASH_API is enabled.
79
Álvaro Fernández Rojasfd7b0252015-04-28 09:50:50 -070080config LEDS_BCM6328
81 tristate "LED Support for Broadcom BCM6328"
82 depends on LEDS_CLASS
Vegard Nossum522f17e2016-01-02 14:05:49 +010083 depends on HAS_IOMEM
Álvaro Fernández Rojasfd7b0252015-04-28 09:50:50 -070084 depends on OF
85 help
86 This option enables support for LEDs connected to the BCM6328
87 LED HW controller accessed via MMIO registers.
88
Álvaro Fernández Rojas589fca12015-05-21 10:11:10 -070089config LEDS_BCM6358
90 tristate "LED Support for Broadcom BCM6358"
91 depends on LEDS_CLASS
Vegard Nossum522f17e2016-01-02 14:05:49 +010092 depends on HAS_IOMEM
Álvaro Fernández Rojas589fca12015-05-21 10:11:10 -070093 depends on OF
94 help
95 This option enables support for LEDs connected to the BCM6358
96 LED HW controller accessed via MMIO registers.
97
Sebastian Reichelcd3b0b052017-03-24 09:47:32 +010098config LEDS_CPCAP
99 tristate "LED Support for Motorola CPCAP"
100 depends on LEDS_CLASS
101 depends on MFD_CPCAP
102 depends on OF
103 help
104 This option enables support for LEDs offered by Motorola's
105 CPCAP PMIC.
106
Oleh Kravchenko9e50d5f2018-04-02 15:53:50 +0300107config LEDS_CR0014114
108 tristate "LED Support for Crane CR0014114"
109 depends on LEDS_CLASS
110 depends on SPI
111 depends on OF
112 help
113 This option enables support for CR0014114 LED Board which
114 is widely used in vending machines produced by
115 Crane Merchandising Systems.
116
117 To compile this driver as a module, choose M here: the module
118 will be called leds-cr0014114.
119
Shreshtha Kumar Sahub1e6b702011-03-22 16:30:16 -0700120config LEDS_LM3530
121 tristate "LCD Backlight driver for LM3530"
122 depends on LEDS_CLASS
123 depends on I2C
124 help
125 This option enables support for the LCD backlight using
126 LM3530 ambient light sensor chip. This ALS chip can be
127 controlled manually or using PWM input or using ambient
128 light automatically.
129
Johan Hovold401dea72012-05-29 15:07:31 -0700130config LEDS_LM3533
131 tristate "LED support for LM3533"
132 depends on LEDS_CLASS
133 depends on MFD_LM3533
134 help
135 This option enables support for the LEDs on National Semiconductor /
136 TI LM3533 Lighting Power chips.
137
138 The LEDs can be controlled directly, through PWM input, or by the
139 ambient-light-sensor interface. The chip supports
140 hardware-accelerated blinking with maximum on and off periods of 9.8
141 and 77 seconds respectively.
142
G.Shark Jeong8b7cfbe2012-09-12 20:05:50 +0800143config LEDS_LM3642
144 tristate "LED support for LM3642 Chip"
145 depends on LEDS_CLASS && I2C
146 select REGMAP_I2C
147 help
148 This option enables support for LEDs connected to LM3642.
149 The LM3642 is a 4MHz fixed-frequency synchronous boost
150 converter plus 1.5A constant current driver for a high-current
151 white LED.
152
Dan Murphy9699cb62017-12-12 12:15:50 -0600153config LEDS_LM3692X
154 tristate "LED support for LM3692x Chips"
155 depends on LEDS_CLASS && I2C && OF
156 select REGMAP_I2C
157 help
158 This option enables support for the TI LM3692x family
159 of white LED string drivers used for backlighting.
G.Shark Jeong8b7cfbe2012-09-12 20:05:50 +0800160
Dan Murphy57a53292018-05-23 06:51:29 -0500161config LEDS_LM3601X
162 tristate "LED support for LM3601x Chips"
163 depends on LEDS_CLASS && I2C
164 depends on LEDS_CLASS_FLASH
165 select REGMAP_I2C
166 help
167 This option enables support for the TI LM3601x family
168 of flash, torch and indicator classes.
169
Richard Purdie4d3cb352006-03-31 02:31:10 -0800170config LEDS_LOCOMO
171 tristate "LED Support for Locomo device"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800172 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700173 depends on SHARP_LOCOMO
Richard Purdie4d3cb352006-03-31 02:31:10 -0800174 help
175 This option enables support for the LEDs on Sharp Locomo.
176 Zaurus models SL-5500 and SL-5600.
177
Phil Sutterac67e232009-01-22 19:35:48 +0100178config LEDS_MIKROTIK_RB532
179 tristate "LED Support for Mikrotik Routerboard 532"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800180 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700181 depends on MIKROTIK_RB532
Phil Sutterac67e232009-01-22 19:35:48 +0100182 help
183 This option enables support for the so called "User LED" of
184 Mikrotik's Routerboard 532.
185
Sean Wang216ec6c2017-03-20 14:47:26 +0800186config LEDS_MT6323
187 tristate "LED Support for Mediatek MT6323 PMIC"
188 depends on LEDS_CLASS
189 depends on MFD_MT6397
190 help
191 This option enables support for on-chip LED drivers found on
192 Mediatek MT6323 PMIC.
193
Ben Dooks54bdc472006-04-10 22:54:00 -0700194config LEDS_S3C24XX
195 tristate "LED Support for Samsung S3C24XX GPIO LEDs"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800196 depends on LEDS_CLASS
Kukjin Kimb130d5c2012-02-03 14:29:23 +0900197 depends on ARCH_S3C24XX
Ben Dooks54bdc472006-04-10 22:54:00 -0700198 help
199 This option enables support for LEDs connected to GPIO lines
200 on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
201
Chris Boot1a87d942006-07-10 04:45:34 -0700202config LEDS_NET48XX
203 tristate "LED Support for Soekris net48xx series Error LED"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800204 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700205 depends on SCx200_GPIO
Chris Boot1a87d942006-07-10 04:45:34 -0700206 help
207 This option enables support for the Soekris net4801 and net4826 error
208 LED.
209
Rod Whitby3b2e46f2008-04-24 23:43:09 +0100210config LEDS_FSG
211 tristate "LED Support for the Freecom FSG-3"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800212 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700213 depends on MACH_FSG
Rod Whitby3b2e46f2008-04-24 23:43:09 +0100214 help
215 This option enables support for the LEDs on the Freecom FSG-3.
216
Kristian Kielhofner0d755652006-12-06 20:37:28 -0800217config LEDS_WRAP
218 tristate "LED Support for the WRAP series LEDs"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800219 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700220 depends on SCx200_GPIO
Kristian Kielhofner0d755652006-12-06 20:37:28 -0800221 help
222 This option enables support for the PCEngines WRAP programmable LEDs.
223
Yoichi Yuasaf3b6b6c2007-09-21 00:02:47 +0100224config LEDS_COBALT_QUBE
225 tristate "LED Support for the Cobalt Qube series front LED"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800226 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700227 depends on MIPS_COBALT
Florian Fainelli2fea6f32007-02-12 23:16:27 +0000228 help
Yoichi Yuasaf3b6b6c2007-09-21 00:02:47 +0100229 This option enables support for the front LED on Cobalt Qube series
Florian Fainelli2fea6f32007-02-12 23:16:27 +0000230
Yoichi Yuasa97da7aa2007-09-27 17:51:05 +0900231config LEDS_COBALT_RAQ
232 bool "LED Support for the Cobalt Raq series"
Yoichi Yuasaec149612008-12-03 08:09:28 +0000233 depends on LEDS_CLASS=y && MIPS_COBALT
Yoichi Yuasa97da7aa2007-09-27 17:51:05 +0900234 select LEDS_TRIGGERS
235 help
236 This option enables support for the Cobalt Raq series LEDs.
237
David S. Miller58434922008-08-31 20:26:48 -0700238config LEDS_SUNFIRE
239 tristate "LED support for SunFire servers."
Johannes Berg0bae35e2010-12-02 14:31:14 -0800240 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700241 depends on SPARC64
David S. Miller58434922008-08-31 20:26:48 -0700242 select LEDS_TRIGGERS
243 help
244 This option enables support for the Left, Middle, and Right
245 LEDs on the I/O and CPU boards of SunFire UltraSPARC servers.
246
Linus Walleij4da498fc2014-07-23 05:36:00 -0700247config LEDS_IPAQ_MICRO
248 tristate "LED Support for the Compaq iPAQ h3xxx"
Jacek Anaszewski35bfe452015-09-07 17:06:05 +0200249 depends on LEDS_CLASS
Linus Walleij4da498fc2014-07-23 05:36:00 -0700250 depends on MFD_IPAQ_MICRO
251 help
252 Choose this option if you want to use the notification LED on
253 Compaq/HP iPAQ h3100 and h3600.
254
Kristoffer Ericsond39a7a62008-02-07 10:10:28 +0000255config LEDS_HP6XX
256 tristate "LED Support for the HP Jornada 6xx"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800257 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700258 depends on SH_HP6XX
Kristoffer Ericsond39a7a62008-02-07 10:10:28 +0000259 help
Matt LaPlante692105b2009-01-26 11:12:25 +0100260 This option enables LED support for the handheld
Kristoffer Ericsond39a7a62008-02-07 10:10:28 +0000261 HP Jornada 620/660/680/690.
262
Riku Voipioe14fa822008-05-31 14:43:41 +0100263config LEDS_PCA9532
264 tristate "LED driver for PCA9532 dimmer"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800265 depends on LEDS_CLASS
Kees Cook5e0b0802013-01-16 18:53:41 -0800266 depends on I2C && INPUT
Riku Voipioe14fa822008-05-31 14:43:41 +0100267 help
268 This option enables support for NXP pca9532
Matt LaPlante692105b2009-01-26 11:12:25 +0100269 LED controller. It is generally only useful
Riku Voipioe14fa822008-05-31 14:43:41 +0100270 as a platform driver
271
Joachim Eastwood3c1ab502011-05-24 17:13:23 -0700272config LEDS_PCA9532_GPIO
273 bool "Enable GPIO support for PCA9532"
274 depends on LEDS_PCA9532
275 depends on GPIOLIB
276 help
277 Allow unused pins on PCA9532 to be used as gpio.
278
279 To use a pin as gpio pca9532_type in pca9532_platform data needs to
280 set to PCA9532_TYPE_GPIO.
281
Raphael Assenat22e03f32007-02-27 19:49:53 +0000282config LEDS_GPIO
283 tristate "LED Support for GPIO connected LEDs"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800284 depends on LEDS_CLASS
Geert Uytterhoeven9ab19632015-05-07 01:08:10 -0700285 depends on GPIOLIB || COMPILE_TEST
Raphael Assenat22e03f32007-02-27 19:49:53 +0000286 help
287 This option enables support for the LEDs connected to GPIO
288 outputs. To be useful the particular board must have LEDs
Trent Piephoa7d878a2009-01-10 17:26:01 +0000289 and they must be connected to the GPIO lines. The LEDs must be
290 defined as platform devices and/or OpenFirmware platform devices.
291 The code to use these bindings can be selected below.
292
Antonio Ospite5054d392009-06-19 13:55:42 +0200293config LEDS_LP3944
294 tristate "LED Support for N.S. LP3944 (Fun Light) I2C chip"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800295 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700296 depends on I2C
Antonio Ospite5054d392009-06-19 13:55:42 +0200297 help
Antonio Ospite7f1be812009-07-03 16:18:45 +0200298 This option enables support for LEDs connected to the National
299 Semiconductor LP3944 Lighting Management Unit (LMU) also known as
300 Fun Light Chip.
Antonio Ospite5054d392009-06-19 13:55:42 +0200301
302 To compile this driver as a module, choose M here: the
303 module will be called leds-lp3944.
304
Tony Makkield966c942016-07-11 11:48:49 +0100305config LEDS_LP3952
306 tristate "LED Support for TI LP3952 2 channel LED driver"
307 depends on LEDS_CLASS
308 depends on I2C
Tony Makkield966c942016-07-11 11:48:49 +0100309 depends on GPIOLIB
310 select REGMAP_I2C
311 help
312 This option enables support for LEDs connected to the Texas
313 Instruments LP3952 LED driver.
314
315 To compile this driver as a module, choose M here: the
316 module will be called leds-lp3952.
317
Milo(Woogyom) Kimc93d08f2013-02-05 18:01:23 +0900318config LEDS_LP55XX_COMMON
Kim, Milo33b3a562013-07-09 02:11:37 -0700319 tristate "Common Driver for TI/National LP5521/5523/55231/5562/8501"
320 depends on LEDS_LP5521 || LEDS_LP5523 || LEDS_LP5562 || LEDS_LP8501
Milo(Woogyom) Kim10c06d12013-02-05 19:17:20 +0900321 select FW_LOADER
Takashi Iwai2338f732015-09-07 14:25:01 +0200322 select FW_LOADER_USER_HELPER
Milo(Woogyom) Kimc93d08f2013-02-05 18:01:23 +0900323 help
Kim, Milo33b3a562013-07-09 02:11:37 -0700324 This option supports common operations for LP5521/5523/55231/5562/8501
Milo(Woogyom) Kimc93d08f2013-02-05 18:01:23 +0900325 devices.
326
Samu Onkalof4920f62010-11-11 14:05:23 -0800327config LEDS_LP5521
328 tristate "LED Support for N.S. LP5521 LED driver chip"
329 depends on LEDS_CLASS && I2C
Milo(Woogyom) Kimc93d08f2013-02-05 18:01:23 +0900330 select LEDS_LP55XX_COMMON
Samu Onkalof4920f62010-11-11 14:05:23 -0800331 help
332 If you say yes here you get support for the National Semiconductor
333 LP5521 LED driver. It is 3 channel chip with programmable engines.
334 Driver provides direct control via LED class and interface for
335 programming the engines.
336
337config LEDS_LP5523
Kim, Miloca705322012-09-04 15:06:11 +0800338 tristate "LED Support for TI/National LP5523/55231 LED driver chip"
Samu Onkalof4920f62010-11-11 14:05:23 -0800339 depends on LEDS_CLASS && I2C
Milo(Woogyom) Kimc93d08f2013-02-05 18:01:23 +0900340 select LEDS_LP55XX_COMMON
Samu Onkalof4920f62010-11-11 14:05:23 -0800341 help
Kim, Miloca705322012-09-04 15:06:11 +0800342 If you say yes here you get support for TI/National Semiconductor
343 LP5523/55231 LED driver.
344 It is 9 channel chip with programmable engines.
Samu Onkalof4920f62010-11-11 14:05:23 -0800345 Driver provides direct control via LED class and interface for
346 programming the engines.
347
Kim, Miloff45262a2013-02-18 21:10:14 -0800348config LEDS_LP5562
349 tristate "LED Support for TI LP5562 LED driver chip"
350 depends on LEDS_CLASS && I2C
351 select LEDS_LP55XX_COMMON
352 help
353 If you say yes here you get support for TI LP5562 LED driver.
354 It is 4 channels chip with programmable engines.
355 Driver provides direct control via LED class and interface for
356 programming the engines.
357
Kim, Milo33b3a562013-07-09 02:11:37 -0700358config LEDS_LP8501
359 tristate "LED Support for TI LP8501 LED driver chip"
360 depends on LEDS_CLASS && I2C
361 select LEDS_LP55XX_COMMON
362 help
363 If you say yes here you get support for TI LP8501 LED driver.
364 It is 9 channel chip with programmable engines.
365 Driver provides direct control via LED class and interface for
366 programming the engines.
367 It is similar as LP5523, but output power selection is available.
368 And register layout and engine program schemes are different.
369
Kim, Miloeb804112012-07-20 16:43:59 +0800370config LEDS_LP8788
371 tristate "LED support for the TI LP8788 PMIC"
372 depends on LEDS_CLASS
373 depends on MFD_LP8788
374 help
375 This option enables support for the Keyboard LEDs on the LP8788 PMIC.
376
Dan Murphy7a8685a2014-11-19 04:48:35 -0800377config LEDS_LP8860
378 tristate "LED support for the TI LP8860 4 channel LED driver"
Dan Murphya2169c92017-12-18 14:23:07 -0600379 depends on LEDS_CLASS && I2C && OF
Axel Lin2969bb12014-11-21 05:48:26 -0800380 select REGMAP_I2C
Dan Murphy7a8685a2014-11-19 04:48:35 -0800381 help
382 If you say yes here you get support for the TI LP8860 4 channel
383 LED driver.
384 This option enables support for the display cluster LEDs
385 on the LP8860 4 channel LED driver using the I2C communication
386 bus.
387
Márton Némethcec035d2007-10-31 11:46:41 +0100388config LEDS_CLEVO_MAIL
Németh Márton95dc5762009-04-03 07:42:47 +0200389 tristate "Mail LED on Clevo notebook"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800390 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700391 depends on X86 && SERIO_I8042 && DMI
Márton Némethcec035d2007-10-31 11:46:41 +0100392 help
393 This driver makes the mail LED accessible from userspace
394 programs through the leds subsystem. This LED have three
395 known mode: off, blink at 0.5Hz and blink at 1Hz.
396
Márton Németh92e015c2007-10-31 15:09:05 +0100397 The driver supports two kinds of interface: using ledtrig-timer
398 or through /sys/class/leds/clevo::mail/brightness. As this LED
399 cannot change it's brightness it blinks instead. The brightness
400 value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
401 blink at 1Hz.
Márton Némethcec035d2007-10-31 11:46:41 +0100402
403 This module can drive the mail LED for the following notebooks:
404
Mrton Nmethb3ba31f2008-03-09 20:47:59 +0000405 Clevo D400P
Márton Némethcec035d2007-10-31 11:46:41 +0100406 Clevo D410J
407 Clevo D410V
408 Clevo D400V/D470V (not tested, but might work)
409 Clevo M540N
410 Clevo M5x0N (not tested, but might work)
411 Positivo Mobile (Clevo M5x0V)
412
Mrton Nmethb3ba31f2008-03-09 20:47:59 +0000413 If your model is not listed here you can try the "nodetect"
Matt LaPlante692105b2009-01-26 11:12:25 +0100414 module parameter.
Mrton Nmethb3ba31f2008-03-09 20:47:59 +0000415
Márton Némethcec035d2007-10-31 11:46:41 +0100416 To compile this driver as a module, choose M here: the
417 module will be called leds-clevo-mail.
418
Nate Casef46e9202008-07-16 22:49:55 +0100419config LEDS_PCA955X
420 tristate "LED Support for PCA955x I2C chips"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800421 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700422 depends on I2C
Nate Casef46e9202008-07-16 22:49:55 +0100423 help
424 This option enables support for LEDs connected to PCA955x
425 LED driver chips accessed via the I2C bus. Supported
426 devices include PCA9550, PCA9551, PCA9552, and PCA9553.
427
Cédric Le Goater561099a12017-08-08 15:42:39 +0200428config LEDS_PCA955X_GPIO
429 bool "Enable GPIO support for PCA955X"
430 depends on LEDS_PCA955X
431 depends on GPIOLIB
432 help
433 Allow unused pins on PCA955X to be used as gpio.
434
435 To use a pin as gpio the pin type should be set to
436 PCA955X_TYPE_GPIO in the device tree.
437
438
Ricardo Ribalda Delgado56a17402013-08-14 14:23:50 -0700439config LEDS_PCA963X
Ricardo Ribalda Delgadoaf673842013-08-14 14:23:47 -0700440 tristate "LED support for PCA963x I2C chip"
Peter Meerwald75cb2e12012-03-23 15:02:10 -0700441 depends on LEDS_CLASS
442 depends on I2C
443 help
Ricardo Ribalda Delgadoaf673842013-08-14 14:23:47 -0700444 This option enables support for LEDs connected to the PCA963x
445 LED driver chip accessed via the I2C bus. Supported
446 devices include PCA9633 and PCA9634
Peter Meerwald75cb2e12012-03-23 15:02:10 -0700447
Mark Brownc746b552009-09-05 14:09:21 +0100448config LEDS_WM831X_STATUS
449 tristate "LED support for status LEDs on WM831x PMICs"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800450 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700451 depends on MFD_WM831X
Mark Brownc746b552009-09-05 14:09:21 +0100452 help
453 This option enables support for the status LEDs of the WM831x
454 series of PMICs.
455
Mark Brown0081e802008-12-04 16:52:33 +0000456config LEDS_WM8350
457 tristate "LED Support for WM8350 AudioPlus PMIC"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800458 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700459 depends on MFD_WM8350
Mark Brown0081e802008-12-04 16:52:33 +0000460 help
461 This option enables support for LEDs driven by the Wolfson
462 Microelectronics WM8350 AudioPlus PMIC.
463
Mike Rapoport9e845612008-10-13 09:06:10 +0100464config LEDS_DA903X
465 tristate "LED Support for DA9030/DA9034 PMIC"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800466 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700467 depends on PMIC_DA903X
Mike Rapoport9e845612008-10-13 09:06:10 +0100468 help
469 This option enables support for on-chip LED drivers found
470 on Dialog Semiconductor DA9030/DA9034 PMICs.
471
David Dajun Chen5ba73632012-05-29 15:07:26 -0700472config LEDS_DA9052
473 tristate "Dialog DA9052/DA9053 LEDS"
474 depends on LEDS_CLASS
475 depends on PMIC_DA9052
476 help
477 This option enables support for on-chip LED drivers found
478 on Dialog Semiconductor DA9052-BC and DA9053-AA/Bx PMICs.
479
Guennadi Liakhovetskiac2dd0f2009-01-10 18:58:28 +0000480config LEDS_DAC124S085
481 tristate "LED Support for DAC124S085 SPI DAC"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800482 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700483 depends on SPI
Guennadi Liakhovetskiac2dd0f2009-01-10 18:58:28 +0000484 help
485 This option enables support for DAC124S085 SPI DAC from NatSemi,
486 which can be used to control up to four LEDs.
487
Luotao Fu41c42ff2009-02-11 13:24:40 -0800488config LEDS_PWM
489 tristate "PWM driven LED Support"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800490 depends on LEDS_CLASS
Peter Ujfalusiad0ba852013-01-23 00:35:04 -0800491 depends on PWM
Luotao Fu41c42ff2009-02-11 13:24:40 -0800492 help
493 This option enables support for pwm driven LEDs
494
Antonio Ospited4cc6a22009-12-07 15:08:13 +0100495config LEDS_REGULATOR
496 tristate "REGULATOR driven LED support"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800497 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700498 depends on REGULATOR
Antonio Ospited4cc6a22009-12-07 15:08:13 +0100499 help
500 This option enables support for regulator driven LEDs.
501
Kim Kyuwon0b561292009-03-04 11:59:29 -0800502config LEDS_BD2802
503 tristate "LED driver for BD2802 RGB LED"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800504 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700505 depends on I2C
Kim Kyuwon0b561292009-03-04 11:59:29 -0800506 help
507 This option enables support for BD2802GU RGB LED driver chips
508 accessed via the I2C bus.
509
Dave Hansena328e952009-10-01 15:43:32 -0700510config LEDS_INTEL_SS4200
511 tristate "LED driver for Intel NAS SS4200 series"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800512 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700513 depends on PCI && DMI
Martin Dummerfe15ee42016-04-17 13:27:52 +0200514 depends on X86
Dave Hansena328e952009-10-01 15:43:32 -0700515 help
516 This option enables support for the Intel SS4200 series of
Martin Dummerfe15ee42016-04-17 13:27:52 +0200517 Network Attached Storage servers. You may control the hard
518 drive or power LEDs on the front panel. Using this driver
Dave Hansena328e952009-10-01 15:43:32 -0700519 can stop the front LED from blinking after startup.
520
Daniel Macka8dd18f2009-10-15 02:59:35 +0200521config LEDS_LT3593
522 tristate "LED driver for LT3593 controllers"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800523 depends on LEDS_CLASS
Geert Uytterhoeven82322742015-05-05 18:32:25 +0200524 depends on GPIOLIB || COMPILE_TEST
Daniel Macka8dd18f2009-10-15 02:59:35 +0200525 help
526 This option enables support for LEDs driven by a Linear Technology
527 LT3593 controller. This controller uses a special one-wire pulse
528 coding protocol to set the brightness.
529
Michael Henneriched4a10b2009-10-08 04:00:19 -0400530config LEDS_ADP5520
531 tristate "LED Support for ADP5520/ADP5501 PMIC"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800532 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700533 depends on PMIC_ADP5520
Michael Henneriched4a10b2009-10-08 04:00:19 -0400534 help
535 This option enables support for on-chip LED drivers found
536 on Analog Devices ADP5520/ADP5501 PMICs.
537
538 To compile this driver as a module, choose M here: the module will
539 be called leds-adp5520.
540
Philippe Rétornaz7fdcef82010-05-19 09:24:31 +0200541config LEDS_MC13783
Alexander Shiyanae6cdb02013-06-10 09:59:31 -0700542 tristate "LED Support for MC13XXX PMIC"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800543 depends on LEDS_CLASS
Alexander Shiyanae6cdb02013-06-10 09:59:31 -0700544 depends on MFD_MC13XXX
Philippe Rétornaz7fdcef82010-05-19 09:24:31 +0200545 help
Vadim Pasternak54b6c122018-02-15 18:11:37 +0000546 This option enables support for on-chip LED drivers found
Alexander Shiyana59ce652014-01-31 22:36:28 -0800547 on Freescale Semiconductor MC13783/MC13892/MC34708 PMIC.
Philippe Rétornaz7fdcef82010-05-19 09:24:31 +0200548
Simon Guinot11efe712010-07-06 16:08:46 +0200549config LEDS_NS2
550 tristate "LED support for Network Space v2 GPIO LEDs"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800551 depends on LEDS_CLASS
Simon Guinot259f5ba2015-07-02 19:56:43 +0200552 depends on MACH_KIRKWOOD || MACH_ARMADA_370
Simon Guinot11efe712010-07-06 16:08:46 +0200553 default y
554 help
Simon Guinot259f5ba2015-07-02 19:56:43 +0200555 This option enables support for the dual-GPIO LEDs found on the
556 following LaCie/Seagate boards:
557
558 Network Space v2 (and parents: Max, Mini)
559 Internet Space v2
560 d2 Network v2
561 n090401 (Seagate NAS 4-Bay)
Simon Guinot11efe712010-07-06 16:08:46 +0200562
Simon Guinot24467832010-10-07 16:38:49 +0200563config LEDS_NETXBIG
564 tristate "LED support for Big Network series LEDs"
Axel Lin2504f6da2011-07-25 17:13:16 -0700565 depends on LEDS_CLASS
Andrew Lunn1093d8c2014-08-30 18:46:09 +0200566 depends on MACH_KIRKWOOD
Simon Guinot24467832010-10-07 16:38:49 +0200567 default y
568 help
Vadim Pasternak54b6c122018-02-15 18:11:37 +0000569 This option enables support for LEDs found on the LaCie 2Big
Simon Guinot24467832010-10-07 16:38:49 +0200570 and 5Big Network v2 boards. The LEDs are wired to a CPLD and are
571 controlled through a GPIO extension bus.
572
Paul Parsons7d9e7e92011-05-13 18:52:56 +0000573config LEDS_ASIC3
574 bool "LED support for the HTC ASIC3"
Axel Lin9473c4c2012-06-09 07:41:42 +0800575 depends on LEDS_CLASS=y
Paul Parsons7d9e7e92011-05-13 18:52:56 +0000576 depends on MFD_ASIC3
577 default y
578 help
579 This option enables support for the LEDs on the HTC ASIC3. The HTC
580 ASIC3 LED GPIOs are inputs, not outputs, thus the leds-gpio driver
581 cannot be used. This driver supports hardware blinking with an on+off
582 period from 62ms to 125s. Say Y to enable LEDs on the HP iPAQ hx4700.
583
NeilBrowna6d511e2012-01-10 15:09:40 -0800584config LEDS_TCA6507
585 tristate "LED Support for TCA6507 I2C chip"
586 depends on LEDS_CLASS && I2C
587 help
588 This option enables support for LEDs connected to TC6507
589 LED driver chips accessed via the I2C bus.
590 Driver support brightness control and hardware-assisted blinking.
591
Andrew Lunne370d012015-03-17 15:08:27 -0700592config LEDS_TLC591XX
593 tristate "LED driver for TLC59108 and TLC59116 controllers"
594 depends on LEDS_CLASS && I2C
595 select REGMAP_I2C
596 help
597 This option enables support for Texas Instruments TLC59108
598 and TLC59116 LED controllers.
599
Jacek Anaszewskia43f6a82015-04-30 03:35:10 -0700600config LEDS_MAX77693
601 tristate "LED support for MAX77693 Flash"
602 depends on LEDS_CLASS_FLASH
Jacek Anaszewski10c19c92015-06-29 07:45:23 -0700603 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
Jacek Anaszewskia43f6a82015-04-30 03:35:10 -0700604 depends on MFD_MAX77693
605 depends on OF
606 help
607 This option enables support for the flash part of the MAX77693
608 multifunction device. It has build in control for two leds in flash
609 and torch mode.
610
Donggeun Kim8584cb82011-12-14 18:23:56 +0900611config LEDS_MAX8997
612 tristate "LED support for MAX8997 PMIC"
613 depends on LEDS_CLASS && MFD_MAX8997
614 help
615 This option enables support for on-chip LED drivers on
616 MAXIM MAX8997 PMIC.
617
G.Shark Jeongb98d13c2012-09-05 15:05:58 +0800618config LEDS_LM355x
Pavel Machek6204f032018-02-01 21:26:34 +0100619 tristate "LED support for LM3554 and LM3556 chips"
G.Shark Jeong32abb4782012-06-22 08:12:06 +0800620 depends on LEDS_CLASS && I2C
621 select REGMAP_I2C
622 help
Pavel Machek6204f032018-02-01 21:26:34 +0100623 This option enables support for LEDs connected to LM3554
624 and LM3556. It includes Torch, Flash and Indicator functions.
G.Shark Jeong32abb4782012-06-22 08:12:06 +0800625
Sebastian Andrzej Siewiore9a45932012-01-20 14:33:59 -0800626config LEDS_OT200
627 tristate "LED support for the Bachmann OT200"
Jean Delvared9e89282014-03-11 09:30:53 -0700628 depends on LEDS_CLASS && HAS_IOMEM && (X86_32 || COMPILE_TEST)
Sebastian Andrzej Siewiore9a45932012-01-20 14:33:59 -0800629 help
630 This option enables support for the LEDs on the Bachmann OT200.
631 Say Y to enable LEDs on the Bachmann OT200.
632
Andreas Werner38433632014-08-27 19:52:36 +0200633config LEDS_MENF21BMC
634 tristate "LED support for the MEN 14F021P00 BMC"
635 depends on LEDS_CLASS && MFD_MENF21BMC
636 help
637 Say Y here to include support for the MEN 14F021P00 BMC LEDs.
638
639 This driver can also be built as a module. If so the module
640 will be called leds-menf21bmc.
641
Ingi Kimb7da8c5c2015-05-12 01:37:57 -0700642config LEDS_KTD2692
643 tristate "LED support for KTD2692 flash LED controller"
Geert Uytterhoeven6e3956c2015-07-06 15:42:34 +0200644 depends on LEDS_CLASS_FLASH && OF
645 depends on GPIOLIB || COMPILE_TEST
Ingi Kimb7da8c5c2015-05-12 01:37:57 -0700646 help
647 This option enables support for KTD2692 LED flash connected
648 through ExpressWire interface.
649
650 Say Y to enable this driver.
651
H. Nikolaus Schaller8c40b7d2016-07-19 13:47:30 +0200652config LEDS_IS31FL319X
653 tristate "LED Support for ISSI IS31FL319x I2C LED controller family"
654 depends on LEDS_CLASS && I2C && OF
655 select REGMAP_I2C
656 help
657 This option enables support for LEDs connected to ISSI IS31FL319x
658 fancy LED driver chips accessed via the I2C bus.
659 Driver supports individual PWM brightness control for each channel.
660
661 This driver can also be built as a module. If so the module will be
662 called leds-is31fl319x.
663
David Rivshin9d7cffa2016-03-07 19:57:15 -0500664config LEDS_IS31FL32XX
665 tristate "LED support for ISSI IS31FL32XX I2C LED controller family"
666 depends on LEDS_CLASS && I2C && OF
667 help
David Rivshine0442d7d2016-03-07 19:57:16 -0500668 Say Y here to include support for ISSI IS31FL32XX and Si-En SN32xx
669 LED controllers. They are I2C devices with multiple constant-current
670 channels, each with independent 256-level PWM control.
David Rivshin9d7cffa2016-03-07 19:57:15 -0500671
Baolin Wange081c492018-05-14 14:34:51 +0800672config LEDS_SC27XX_BLTC
673 tristate "LED support for the SC27xx breathing light controller"
674 depends on LEDS_CLASS && MFD_SC27XX_PMIC
675 depends on OF
676 help
677 Say Y here to include support for the SC27xx breathing light controller
678 LEDs.
679
680 This driver can also be built as a module. If so the module will be
681 called leds-sc27xx-bltc.
682
Vivien Didelotf70ed8a2014-04-14 16:50:19 -0400683comment "LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)"
684
Jan-Simon Möllerb54cf352012-07-20 16:49:06 +0800685config LEDS_BLINKM
686 tristate "LED support for the BlinkM I2C RGB LED"
687 depends on LEDS_CLASS
688 depends on I2C
689 help
690 This option enables support for the BlinkM RGB LED connected
691 through I2C. Say Y to enable support for the BlinkM LED.
692
Vasant Hegde84ad6e52015-08-19 22:19:54 +0530693config LEDS_POWERNV
694 tristate "LED support for PowerNV Platform"
695 depends on LEDS_CLASS
696 depends on PPC_POWERNV
697 depends on OF
698 help
699 This option enables support for the system LEDs present on
700 PowerNV platforms. Say 'y' to enable this support in kernel.
701 To compile this driver as a module, choose 'm' here: the module
702 will be called leds-powernv.
703
Linus Walleij535f09c2014-05-22 00:34:16 +0200704config LEDS_SYSCON
705 bool "LED support for LEDs on system controllers"
706 depends on LEDS_CLASS=y
707 depends on MFD_SYSCON
708 depends on OF
709 help
Vadim Pasternak54b6c122018-02-15 18:11:37 +0000710 This option enables support for the LEDs on syscon type
Linus Walleij535f09c2014-05-22 00:34:16 +0200711 devices. This will only work with device tree enabled
712 devices.
713
Linus Walleij7f866982016-08-16 11:25:10 +0200714config LEDS_PM8058
715 tristate "LED Support for the Qualcomm PM8058 PMIC"
Linus Walleij40a3a0f2016-11-19 16:15:18 +0100716 depends on MFD_PM8XXX
Linus Walleij7f866982016-08-16 11:25:10 +0200717 depends on LEDS_CLASS
718 help
719 Choose this option if you want to use the LED drivers in
720 the Qualcomm PM8058 PMIC.
721
Vadim Pasternakbe4fdf92016-09-08 07:25:53 +0000722config LEDS_MLXCPLD
723 tristate "LED support for the Mellanox boards"
Vadim Pasternak8f886de2018-02-01 08:10:34 +0000724 depends on X86 && DMI
Vadim Pasternakbe4fdf92016-09-08 07:25:53 +0000725 depends on LEDS_CLASS
726 help
Vadim Pasternak54b6c122018-02-15 18:11:37 +0000727 This option enables support for the LEDs on the Mellanox
728 boards. Say Y to enable these.
Vadim Pasternakbe4fdf92016-09-08 07:25:53 +0000729
Vadim Pasternak386570d2018-02-15 23:37:50 +0000730config LEDS_MLXREG
731 tristate "LED support for the Mellanox switches management control"
732 depends on LEDS_CLASS
733 help
734 This option enables support for the LEDs on the Mellanox Ethernet and
735 InfiniBand switches. The driver can be activated by the platform device
736 device add call. Say Y to enable these. To compile this driver as a
737 module, choose 'M' here: the module will be called leds-mlxreg.
738
David Lechnere3813222016-09-16 14:16:48 -0500739config LEDS_USER
740 tristate "Userspace LED support"
741 depends on LEDS_CLASS
742 help
743 This option enables support for userspace LEDs. Say 'y' to enable this
744 support in kernel. To compile this driver as a module, choose 'm' here:
745 the module will be called uleds.
746
Hui Chun Ong8338eab2016-11-04 13:31:47 +0800747config LEDS_NIC78BX
748 tristate "LED support for NI PXI NIC78bx devices"
749 depends on LEDS_CLASS
750 depends on X86 && ACPI
751 help
752 This option enables support for the User1 and User2 LEDs on NI
753 PXI NIC78bx devices.
754
755 To compile this driver as a module, choose M here: the module
756 will be called leds-nic78bx.
757
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700758comment "LED Triggers"
Kim, Milof07fb522013-02-20 00:36:01 -0800759source "drivers/leds/trigger/Kconfig"
Shuah Khan44e1e9f2012-05-29 15:07:30 -0700760
Jan Engelhardt66242f72007-05-10 10:44:11 +0100761endif # NEW_LEDS