leds: lm3697: Switch to use fwnode_property_count_uXX()
[linux-block.git] / drivers / leds / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
be5ce2f1
UKK
2config LEDS_GPIO_REGISTER
3 bool
4 help
5 This option provides the function gpio_led_register_device.
6 As this function is used by arch code it must not be compiled as a
7 module.
8
66242f7e 9menuconfig NEW_LEDS
c72a1d60
RP
10 bool "LED Support"
11 help
a8d2e7d9
RP
12 Say Y to enable Linux LED support. This allows control of supported
13 LEDs from both userspace and optionally, by kernel events (triggers).
14
45d16f09
EM
15if NEW_LEDS
16
c72a1d60 17config LEDS_CLASS
a403d930 18 tristate "LED Class Support"
c72a1d60
RP
19 help
20 This option enables the led sysfs class in /sys/class/leds. You'll
21 need this to do anything useful with LEDs. If unsure, say N.
22
7aea8389
JA
23config LEDS_CLASS_FLASH
24 tristate "LED Flash Class Support"
25 depends on LEDS_CLASS
26 help
6e6c214f
DM
27 This option enables the flash LED sysfs class in /sys/class/leds.
28 It wraps LED Class and adds flash LEDs specific sysfs attributes
7aea8389
JA
29 and kernel internal API to it. You'll need this to provide support
30 for the flash related features of a LED device. It can be built
31 as a module.
32
0cb8eb30
HG
33config LEDS_BRIGHTNESS_HW_CHANGED
34 bool "LED Class brightness_hw_changed attribute support"
35 depends on LEDS_CLASS
36 help
37 This option enables support for the brightness_hw_changed attribute
38 for led sysfs class devices under /sys/class/leds.
39
40 See Documentation/ABI/testing/sysfs-class-led for details.
41
24f51e81 42comment "LED drivers"
c3bc9956 43
0a2f915b
HZ
44config LEDS_88PM860X
45 tristate "LED Support for Marvell 88PM860x PMIC"
0bae35e1 46 depends on LEDS_CLASS
37814fdc 47 depends on MFD_88PM860X
0a2f915b
HZ
48 help
49 This option enables support for on-chip LED drivers found on Marvell
50 Semiconductor 88PM8606 PMIC.
51
49c34b8e
JA
52config LEDS_AAT1290
53 tristate "LED support for the AAT1290"
54 depends on LEDS_CLASS_FLASH
58d1809b 55 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
6e3956cd 56 depends on GPIOLIB || COMPILE_TEST
49c34b8e 57 depends on OF
ac69b903 58 depends on PINCTRL
49c34b8e 59 help
0eae6058 60 This option enables support for the LEDs on the AAT1290.
8cb21086 61
2d00f35c
SS
62config LEDS_AN30259A
63 tristate "LED support for Panasonic AN30259A"
64 depends on LEDS_CLASS && I2C && OF
65 help
66 This option enables support for the AN30259A 3-channel
67 LED driver.
68
69 To compile this driver as a module, choose M here: the module
70 will be called leds-an30259a.
71
3faee942 72config LEDS_APU
8cb21086 73 tristate "Front panel LED support for PC Engines APU/APU2/APU3 boards"
3faee942
AM
74 depends on LEDS_CLASS
75 depends on X86 && DMI
76 help
0344e616 77 This driver makes the PC Engines APU1 front panel LEDs
3faee942
AM
78 accessible from userspace programs through the LED subsystem.
79
0344e616
EW
80 If you're looking for APU2/3, use the pcengines-apu2 driver.
81 (symbol CONFIG_PCENGINES_APU2)
82
3faee942
AM
83 To compile this driver as a module, choose M here: the
84 module will be called leds-apu.
49c34b8e 85
a56ba8fb 86config LEDS_AS3645A
6204f03d 87 tristate "AS3645A and LM3555 LED flash controllers support"
a56ba8fb 88 depends on I2C && LEDS_CLASS_FLASH
1efdf177 89 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
a56ba8fb
SA
90 help
91 Enable LED flash class support for AS3645A LED flash
92 controller. V4L2 flash API is provided as well if
93 CONFIG_V4L2_FLASH_API is enabled.
94
fd7b025a
ÁFR
95config LEDS_BCM6328
96 tristate "LED Support for Broadcom BCM6328"
97 depends on LEDS_CLASS
522f17e1 98 depends on HAS_IOMEM
fd7b025a
ÁFR
99 depends on OF
100 help
101 This option enables support for LEDs connected to the BCM6328
102 LED HW controller accessed via MMIO registers.
103
589fca16
ÁFR
104config LEDS_BCM6358
105 tristate "LED Support for Broadcom BCM6358"
106 depends on LEDS_CLASS
522f17e1 107 depends on HAS_IOMEM
589fca16
ÁFR
108 depends on OF
109 help
110 This option enables support for LEDs connected to the BCM6358
111 LED HW controller accessed via MMIO registers.
112
cd3b0b05
SR
113config LEDS_CPCAP
114 tristate "LED Support for Motorola CPCAP"
115 depends on LEDS_CLASS
116 depends on MFD_CPCAP
117 depends on OF
118 help
119 This option enables support for LEDs offered by Motorola's
120 CPCAP PMIC.
121
9e50d5fb
OK
122config LEDS_CR0014114
123 tristate "LED Support for Crane CR0014114"
124 depends on LEDS_CLASS
125 depends on SPI
126 depends on OF
127 help
128 This option enables support for CR0014114 LED Board which
129 is widely used in vending machines produced by
130 Crane Merchandising Systems.
131
132 To compile this driver as a module, choose M here: the module
133 will be called leds-cr0014114.
134
b1e6b706
SKS
135config LEDS_LM3530
136 tristate "LCD Backlight driver for LM3530"
137 depends on LEDS_CLASS
138 depends on I2C
139 help
140 This option enables support for the LCD backlight using
141 LM3530 ambient light sensor chip. This ALS chip can be
142 controlled manually or using PWM input or using ambient
143 light automatically.
144
bc1b8492
DM
145config LEDS_LM3532
146 tristate "LCD Backlight driver for LM3532"
147 depends on LEDS_CLASS
148 depends on I2C
149 help
150 This option enables support for the LCD backlight using
151 LM3532 ambient light sensor chip. This ALS chip can be
152 controlled manually or using PWM input or using ambient
153 light automatically.
154
401dea7f
JH
155config LEDS_LM3533
156 tristate "LED support for LM3533"
157 depends on LEDS_CLASS
158 depends on MFD_LM3533
159 help
160 This option enables support for the LEDs on National Semiconductor /
161 TI LM3533 Lighting Power chips.
162
163 The LEDs can be controlled directly, through PWM input, or by the
164 ambient-light-sensor interface. The chip supports
165 hardware-accelerated blinking with maximum on and off periods of 9.8
166 and 77 seconds respectively.
167
8b7cfbec
SJ
168config LEDS_LM3642
169 tristate "LED support for LM3642 Chip"
170 depends on LEDS_CLASS && I2C
171 select REGMAP_I2C
172 help
173 This option enables support for LEDs connected to LM3642.
174 The LM3642 is a 4MHz fixed-frequency synchronous boost
175 converter plus 1.5A constant current driver for a high-current
176 white LED.
177
9699cb6b
DM
178config LEDS_LM3692X
179 tristate "LED support for LM3692x Chips"
180 depends on LEDS_CLASS && I2C && OF
181 select REGMAP_I2C
182 help
183 This option enables support for the TI LM3692x family
184 of white LED string drivers used for backlighting.
8b7cfbec 185
57a53297
DM
186config LEDS_LM3601X
187 tristate "LED support for LM3601x Chips"
188 depends on LEDS_CLASS && I2C
189 depends on LEDS_CLASS_FLASH
190 select REGMAP_I2C
191 help
192 This option enables support for the TI LM3601x family
193 of flash, torch and indicator classes.
194
4d3cb354
RP
195config LEDS_LOCOMO
196 tristate "LED Support for Locomo device"
0bae35e1 197 depends on LEDS_CLASS
d09e1666 198 depends on SHARP_LOCOMO
4d3cb354
RP
199 help
200 This option enables support for the LEDs on Sharp Locomo.
201 Zaurus models SL-5500 and SL-5600.
202
ac67e23b
PS
203config LEDS_MIKROTIK_RB532
204 tristate "LED Support for Mikrotik Routerboard 532"
0bae35e1 205 depends on LEDS_CLASS
d09e1666 206 depends on MIKROTIK_RB532
ac67e23b
PS
207 help
208 This option enables support for the so called "User LED" of
209 Mikrotik's Routerboard 532.
210
216ec6cc
SW
211config LEDS_MT6323
212 tristate "LED Support for Mediatek MT6323 PMIC"
213 depends on LEDS_CLASS
214 depends on MFD_MT6397
215 help
216 This option enables support for on-chip LED drivers found on
217 Mediatek MT6323 PMIC.
218
54bdc470
BD
219config LEDS_S3C24XX
220 tristate "LED Support for Samsung S3C24XX GPIO LEDs"
0bae35e1 221 depends on LEDS_CLASS
b130d5c2 222 depends on ARCH_S3C24XX
54bdc470
BD
223 help
224 This option enables support for LEDs connected to GPIO lines
225 on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
226
1a87d942
CB
227config LEDS_NET48XX
228 tristate "LED Support for Soekris net48xx series Error LED"
0bae35e1 229 depends on LEDS_CLASS
d09e1666 230 depends on SCx200_GPIO
1a87d942
CB
231 help
232 This option enables support for the Soekris net4801 and net4826 error
233 LED.
234
3b2e46f8
RW
235config LEDS_FSG
236 tristate "LED Support for the Freecom FSG-3"
0bae35e1 237 depends on LEDS_CLASS
d09e1666 238 depends on MACH_FSG
3b2e46f8
RW
239 help
240 This option enables support for the LEDs on the Freecom FSG-3.
241
0d75565f
KK
242config LEDS_WRAP
243 tristate "LED Support for the WRAP series LEDs"
0bae35e1 244 depends on LEDS_CLASS
d09e1666 245 depends on SCx200_GPIO
0d75565f
KK
246 help
247 This option enables support for the PCEngines WRAP programmable LEDs.
248
f3b6b6cd
YY
249config LEDS_COBALT_QUBE
250 tristate "LED Support for the Cobalt Qube series front LED"
0bae35e1 251 depends on LEDS_CLASS
d09e1666 252 depends on MIPS_COBALT
2fea6f35 253 help
f3b6b6cd 254 This option enables support for the front LED on Cobalt Qube series
2fea6f35 255
97da7aaf
YY
256config LEDS_COBALT_RAQ
257 bool "LED Support for the Cobalt Raq series"
ec149619 258 depends on LEDS_CLASS=y && MIPS_COBALT
97da7aaf
YY
259 select LEDS_TRIGGERS
260 help
261 This option enables support for the Cobalt Raq series LEDs.
262
5843492c
DM
263config LEDS_SUNFIRE
264 tristate "LED support for SunFire servers."
0bae35e1 265 depends on LEDS_CLASS
d09e1666 266 depends on SPARC64
5843492c
DM
267 select LEDS_TRIGGERS
268 help
269 This option enables support for the Left, Middle, and Right
270 LEDs on the I/O and CPU boards of SunFire UltraSPARC servers.
271
4da498fc
LW
272config LEDS_IPAQ_MICRO
273 tristate "LED Support for the Compaq iPAQ h3xxx"
35bfe456 274 depends on LEDS_CLASS
4da498fc
LW
275 depends on MFD_IPAQ_MICRO
276 help
277 Choose this option if you want to use the notification LED on
278 Compaq/HP iPAQ h3100 and h3600.
279
d39a7a63
KE
280config LEDS_HP6XX
281 tristate "LED Support for the HP Jornada 6xx"
0bae35e1 282 depends on LEDS_CLASS
d09e1666 283 depends on SH_HP6XX
d39a7a63 284 help
692105b8 285 This option enables LED support for the handheld
d39a7a63
KE
286 HP Jornada 620/660/680/690.
287
e14fa824
RV
288config LEDS_PCA9532
289 tristate "LED driver for PCA9532 dimmer"
0bae35e1 290 depends on LEDS_CLASS
5e0b080d 291 depends on I2C && INPUT
e14fa824
RV
292 help
293 This option enables support for NXP pca9532
692105b8 294 LED controller. It is generally only useful
e14fa824
RV
295 as a platform driver
296
3c1ab50d
JE
297config LEDS_PCA9532_GPIO
298 bool "Enable GPIO support for PCA9532"
299 depends on LEDS_PCA9532
300 depends on GPIOLIB
301 help
302 Allow unused pins on PCA9532 to be used as gpio.
303
304 To use a pin as gpio pca9532_type in pca9532_platform data needs to
305 set to PCA9532_TYPE_GPIO.
306
22e03f3b
RA
307config LEDS_GPIO
308 tristate "LED Support for GPIO connected LEDs"
0bae35e1 309 depends on LEDS_CLASS
9ab1963d 310 depends on GPIOLIB || COMPILE_TEST
22e03f3b
RA
311 help
312 This option enables support for the LEDs connected to GPIO
313 outputs. To be useful the particular board must have LEDs
a7d878af
TP
314 and they must be connected to the GPIO lines. The LEDs must be
315 defined as platform devices and/or OpenFirmware platform devices.
316 The code to use these bindings can be selected below.
317
5054d39e
AO
318config LEDS_LP3944
319 tristate "LED Support for N.S. LP3944 (Fun Light) I2C chip"
0bae35e1 320 depends on LEDS_CLASS
d09e1666 321 depends on I2C
5054d39e 322 help
7f1be819
AO
323 This option enables support for LEDs connected to the National
324 Semiconductor LP3944 Lighting Management Unit (LMU) also known as
325 Fun Light Chip.
5054d39e
AO
326
327 To compile this driver as a module, choose M here: the
328 module will be called leds-lp3944.
329
d966c943
TM
330config LEDS_LP3952
331 tristate "LED Support for TI LP3952 2 channel LED driver"
332 depends on LEDS_CLASS
333 depends on I2C
d966c943
TM
334 depends on GPIOLIB
335 select REGMAP_I2C
336 help
337 This option enables support for LEDs connected to the Texas
338 Instruments LP3952 LED driver.
339
340 To compile this driver as a module, choose M here: the
341 module will be called leds-lp3952.
342
c93d08fa 343config LEDS_LP55XX_COMMON
33b3a561
KM
344 tristate "Common Driver for TI/National LP5521/5523/55231/5562/8501"
345 depends on LEDS_LP5521 || LEDS_LP5523 || LEDS_LP5562 || LEDS_LP8501
10c06d17 346 select FW_LOADER
2338f73d 347 select FW_LOADER_USER_HELPER
c93d08fa 348 help
33b3a561 349 This option supports common operations for LP5521/5523/55231/5562/8501
c93d08fa
MWK
350 devices.
351
f4920f67
SO
352config LEDS_LP5521
353 tristate "LED Support for N.S. LP5521 LED driver chip"
354 depends on LEDS_CLASS && I2C
c93d08fa 355 select LEDS_LP55XX_COMMON
f4920f67
SO
356 help
357 If you say yes here you get support for the National Semiconductor
358 LP5521 LED driver. It is 3 channel chip with programmable engines.
359 Driver provides direct control via LED class and interface for
360 programming the engines.
361
362config LEDS_LP5523
ca705321 363 tristate "LED Support for TI/National LP5523/55231 LED driver chip"
f4920f67 364 depends on LEDS_CLASS && I2C
c93d08fa 365 select LEDS_LP55XX_COMMON
f4920f67 366 help
ca705321
KM
367 If you say yes here you get support for TI/National Semiconductor
368 LP5523/55231 LED driver.
369 It is 9 channel chip with programmable engines.
f4920f67
SO
370 Driver provides direct control via LED class and interface for
371 programming the engines.
372
ff45262a
KM
373config LEDS_LP5562
374 tristate "LED Support for TI LP5562 LED driver chip"
375 depends on LEDS_CLASS && I2C
376 select LEDS_LP55XX_COMMON
377 help
378 If you say yes here you get support for TI LP5562 LED driver.
379 It is 4 channels chip with programmable engines.
380 Driver provides direct control via LED class and interface for
381 programming the engines.
382
33b3a561
KM
383config LEDS_LP8501
384 tristate "LED Support for TI LP8501 LED driver chip"
385 depends on LEDS_CLASS && I2C
386 select LEDS_LP55XX_COMMON
387 help
388 If you say yes here you get support for TI LP8501 LED driver.
389 It is 9 channel chip with programmable engines.
390 Driver provides direct control via LED class and interface for
391 programming the engines.
392 It is similar as LP5523, but output power selection is available.
393 And register layout and engine program schemes are different.
394
eb80411b
KM
395config LEDS_LP8788
396 tristate "LED support for the TI LP8788 PMIC"
397 depends on LEDS_CLASS
398 depends on MFD_LP8788
399 help
400 This option enables support for the Keyboard LEDs on the LP8788 PMIC.
401
7a8685ac
DM
402config LEDS_LP8860
403 tristate "LED support for the TI LP8860 4 channel LED driver"
a2169c9b 404 depends on LEDS_CLASS && I2C && OF
2969bb18 405 select REGMAP_I2C
7a8685ac
DM
406 help
407 If you say yes here you get support for the TI LP8860 4 channel
408 LED driver.
409 This option enables support for the display cluster LEDs
410 on the LP8860 4 channel LED driver using the I2C communication
411 bus.
412
cec035de 413config LEDS_CLEVO_MAIL
95dc5768 414 tristate "Mail LED on Clevo notebook"
0bae35e1 415 depends on LEDS_CLASS
d09e1666 416 depends on X86 && SERIO_I8042 && DMI
cec035de
MN
417 help
418 This driver makes the mail LED accessible from userspace
419 programs through the leds subsystem. This LED have three
420 known mode: off, blink at 0.5Hz and blink at 1Hz.
421
92e015cb
MN
422 The driver supports two kinds of interface: using ledtrig-timer
423 or through /sys/class/leds/clevo::mail/brightness. As this LED
424 cannot change it's brightness it blinks instead. The brightness
425 value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
426 blink at 1Hz.
cec035de
MN
427
428 This module can drive the mail LED for the following notebooks:
429
0eae6058
EWI
430 Clevo D400P
431 Clevo D410J
432 Clevo D410V
433 Clevo D400V/D470V (not tested, but might work)
434 Clevo M540N
435 Clevo M5x0N (not tested, but might work)
436 Positivo Mobile (Clevo M5x0V)
cec035de 437
b3ba31f8 438 If your model is not listed here you can try the "nodetect"
692105b8 439 module parameter.
b3ba31f8 440
cec035de
MN
441 To compile this driver as a module, choose M here: the
442 module will be called leds-clevo-mail.
443
f46e9203
NC
444config LEDS_PCA955X
445 tristate "LED Support for PCA955x I2C chips"
0bae35e1 446 depends on LEDS_CLASS
d09e1666 447 depends on I2C
f46e9203
NC
448 help
449 This option enables support for LEDs connected to PCA955x
450 LED driver chips accessed via the I2C bus. Supported
451 devices include PCA9550, PCA9551, PCA9552, and PCA9553.
452
561099a1
CLG
453config LEDS_PCA955X_GPIO
454 bool "Enable GPIO support for PCA955X"
455 depends on LEDS_PCA955X
456 depends on GPIOLIB
457 help
458 Allow unused pins on PCA955X to be used as gpio.
459
460 To use a pin as gpio the pin type should be set to
461 PCA955X_TYPE_GPIO in the device tree.
462
463
56a1740c 464config LEDS_PCA963X
af67384f 465 tristate "LED support for PCA963x I2C chip"
75cb2e1d
PM
466 depends on LEDS_CLASS
467 depends on I2C
468 help
af67384f
RRD
469 This option enables support for LEDs connected to the PCA963x
470 LED driver chip accessed via the I2C bus. Supported
471 devices include PCA9633 and PCA9634
75cb2e1d 472
c746b551
MB
473config LEDS_WM831X_STATUS
474 tristate "LED support for status LEDs on WM831x PMICs"
0bae35e1 475 depends on LEDS_CLASS
d09e1666 476 depends on MFD_WM831X
c746b551
MB
477 help
478 This option enables support for the status LEDs of the WM831x
0eae6058 479 series of PMICs.
c746b551 480
0081e802
MB
481config LEDS_WM8350
482 tristate "LED Support for WM8350 AudioPlus PMIC"
0bae35e1 483 depends on LEDS_CLASS
d09e1666 484 depends on MFD_WM8350
0081e802
MB
485 help
486 This option enables support for LEDs driven by the Wolfson
487 Microelectronics WM8350 AudioPlus PMIC.
488
9e84561c
MR
489config LEDS_DA903X
490 tristate "LED Support for DA9030/DA9034 PMIC"
0bae35e1 491 depends on LEDS_CLASS
d09e1666 492 depends on PMIC_DA903X
9e84561c
MR
493 help
494 This option enables support for on-chip LED drivers found
495 on Dialog Semiconductor DA9030/DA9034 PMICs.
496
5ba73631
DDC
497config LEDS_DA9052
498 tristate "Dialog DA9052/DA9053 LEDS"
499 depends on LEDS_CLASS
500 depends on PMIC_DA9052
501 help
502 This option enables support for on-chip LED drivers found
503 on Dialog Semiconductor DA9052-BC and DA9053-AA/Bx PMICs.
504
ac2dd0f1
GL
505config LEDS_DAC124S085
506 tristate "LED Support for DAC124S085 SPI DAC"
0bae35e1 507 depends on LEDS_CLASS
d09e1666 508 depends on SPI
ac2dd0f1
GL
509 help
510 This option enables support for DAC124S085 SPI DAC from NatSemi,
511 which can be used to control up to four LEDs.
512
41c42ff5
LF
513config LEDS_PWM
514 tristate "PWM driven LED Support"
0bae35e1 515 depends on LEDS_CLASS
ad0ba85f 516 depends on PWM
41c42ff5
LF
517 help
518 This option enables support for pwm driven LEDs
519
d4cc6a2e
AO
520config LEDS_REGULATOR
521 tristate "REGULATOR driven LED support"
0bae35e1 522 depends on LEDS_CLASS
d09e1666 523 depends on REGULATOR
d4cc6a2e
AO
524 help
525 This option enables support for regulator driven LEDs.
526
0b56129b
KK
527config LEDS_BD2802
528 tristate "LED driver for BD2802 RGB LED"
0bae35e1 529 depends on LEDS_CLASS
d09e1666 530 depends on I2C
0b56129b
KK
531 help
532 This option enables support for BD2802GU RGB LED driver chips
533 accessed via the I2C bus.
534
a328e95b
DH
535config LEDS_INTEL_SS4200
536 tristate "LED driver for Intel NAS SS4200 series"
0bae35e1 537 depends on LEDS_CLASS
d09e1666 538 depends on PCI && DMI
fe15ee47 539 depends on X86
a328e95b
DH
540 help
541 This option enables support for the Intel SS4200 series of
fe15ee47
MD
542 Network Attached Storage servers. You may control the hard
543 drive or power LEDs on the front panel. Using this driver
a328e95b
DH
544 can stop the front LED from blinking after startup.
545
a8dd18fe
DM
546config LEDS_LT3593
547 tristate "LED driver for LT3593 controllers"
0bae35e1 548 depends on LEDS_CLASS
82322741 549 depends on GPIOLIB || COMPILE_TEST
dd08e136 550 depends on OF
a8dd18fe
DM
551 help
552 This option enables support for LEDs driven by a Linear Technology
553 LT3593 controller. This controller uses a special one-wire pulse
554 coding protocol to set the brightness.
555
ed4a10b4
MH
556config LEDS_ADP5520
557 tristate "LED Support for ADP5520/ADP5501 PMIC"
0bae35e1 558 depends on LEDS_CLASS
d09e1666 559 depends on PMIC_ADP5520
ed4a10b4
MH
560 help
561 This option enables support for on-chip LED drivers found
562 on Analog Devices ADP5520/ADP5501 PMICs.
563
564 To compile this driver as a module, choose M here: the module will
565 be called leds-adp5520.
566
7fdcef8a 567config LEDS_MC13783
ae6cdb03 568 tristate "LED Support for MC13XXX PMIC"
0bae35e1 569 depends on LEDS_CLASS
ae6cdb03 570 depends on MFD_MC13XXX
7fdcef8a 571 help
54b6c127 572 This option enables support for on-chip LED drivers found
a59ce658 573 on Freescale Semiconductor MC13783/MC13892/MC34708 PMIC.
7fdcef8a 574
11efe71f
SG
575config LEDS_NS2
576 tristate "LED support for Network Space v2 GPIO LEDs"
0bae35e1 577 depends on LEDS_CLASS
259f5ba3 578 depends on MACH_KIRKWOOD || MACH_ARMADA_370
11efe71f
SG
579 default y
580 help
259f5ba3
SG
581 This option enables support for the dual-GPIO LEDs found on the
582 following LaCie/Seagate boards:
583
584 Network Space v2 (and parents: Max, Mini)
585 Internet Space v2
586 d2 Network v2
587 n090401 (Seagate NAS 4-Bay)
11efe71f 588
24467832
SG
589config LEDS_NETXBIG
590 tristate "LED support for Big Network series LEDs"
2504f6da 591 depends on LEDS_CLASS
1093d8ca 592 depends on MACH_KIRKWOOD
24467832
SG
593 default y
594 help
54b6c127 595 This option enables support for LEDs found on the LaCie 2Big
24467832
SG
596 and 5Big Network v2 boards. The LEDs are wired to a CPLD and are
597 controlled through a GPIO extension bus.
598
7d9e7e9f
PP
599config LEDS_ASIC3
600 bool "LED support for the HTC ASIC3"
9473c4c1 601 depends on LEDS_CLASS=y
7d9e7e9f
PP
602 depends on MFD_ASIC3
603 default y
604 help
605 This option enables support for the LEDs on the HTC ASIC3. The HTC
606 ASIC3 LED GPIOs are inputs, not outputs, thus the leds-gpio driver
607 cannot be used. This driver supports hardware blinking with an on+off
608 period from 62ms to 125s. Say Y to enable LEDs on the HP iPAQ hx4700.
609
a6d511e5
N
610config LEDS_TCA6507
611 tristate "LED Support for TCA6507 I2C chip"
612 depends on LEDS_CLASS && I2C
613 help
614 This option enables support for LEDs connected to TC6507
615 LED driver chips accessed via the I2C bus.
616 Driver support brightness control and hardware-assisted blinking.
617
e370d010
AL
618config LEDS_TLC591XX
619 tristate "LED driver for TLC59108 and TLC59116 controllers"
620 depends on LEDS_CLASS && I2C
621 select REGMAP_I2C
622 help
623 This option enables support for Texas Instruments TLC59108
624 and TLC59116 LED controllers.
625
5be102eb
BG
626config LEDS_MAX77650
627 tristate "LED support for Maxim MAX77650 PMIC"
628 depends on LEDS_CLASS && MFD_MAX77650
629 help
630 LEDs driver for MAX77650 family of PMICs from Maxim Integrated.
631
a43f6a86
JA
632config LEDS_MAX77693
633 tristate "LED support for MAX77693 Flash"
634 depends on LEDS_CLASS_FLASH
10c19c9e 635 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
a43f6a86
JA
636 depends on MFD_MAX77693
637 depends on OF
638 help
639 This option enables support for the flash part of the MAX77693
640 multifunction device. It has build in control for two leds in flash
641 and torch mode.
642
8584cb82
DK
643config LEDS_MAX8997
644 tristate "LED support for MAX8997 PMIC"
645 depends on LEDS_CLASS && MFD_MAX8997
646 help
647 This option enables support for on-chip LED drivers on
648 MAXIM MAX8997 PMIC.
649
b98d13c7 650config LEDS_LM355x
6204f03d 651 tristate "LED support for LM3554 and LM3556 chips"
32abb478
SJ
652 depends on LEDS_CLASS && I2C
653 select REGMAP_I2C
654 help
6204f03d
PM
655 This option enables support for LEDs connected to LM3554
656 and LM3556. It includes Torch, Flash and Indicator functions.
32abb478 657
e9a4593c
SAS
658config LEDS_OT200
659 tristate "LED support for the Bachmann OT200"
d9e8928f 660 depends on LEDS_CLASS && HAS_IOMEM && (X86_32 || COMPILE_TEST)
e9a4593c
SAS
661 help
662 This option enables support for the LEDs on the Bachmann OT200.
663 Say Y to enable LEDs on the Bachmann OT200.
664
38433639
AW
665config LEDS_MENF21BMC
666 tristate "LED support for the MEN 14F021P00 BMC"
667 depends on LEDS_CLASS && MFD_MENF21BMC
668 help
669 Say Y here to include support for the MEN 14F021P00 BMC LEDs.
670
671 This driver can also be built as a module. If so the module
672 will be called leds-menf21bmc.
673
b7da8c5c
IK
674config LEDS_KTD2692
675 tristate "LED support for KTD2692 flash LED controller"
6e3956cd
GU
676 depends on LEDS_CLASS_FLASH && OF
677 depends on GPIOLIB || COMPILE_TEST
b7da8c5c
IK
678 help
679 This option enables support for KTD2692 LED flash connected
680 through ExpressWire interface.
681
682 Say Y to enable this driver.
683
8c40b7d0
NS
684config LEDS_IS31FL319X
685 tristate "LED Support for ISSI IS31FL319x I2C LED controller family"
686 depends on LEDS_CLASS && I2C && OF
687 select REGMAP_I2C
688 help
689 This option enables support for LEDs connected to ISSI IS31FL319x
690 fancy LED driver chips accessed via the I2C bus.
691 Driver supports individual PWM brightness control for each channel.
692
693 This driver can also be built as a module. If so the module will be
694 called leds-is31fl319x.
695
9d7cffaf
DR
696config LEDS_IS31FL32XX
697 tristate "LED support for ISSI IS31FL32XX I2C LED controller family"
698 depends on LEDS_CLASS && I2C && OF
699 help
e0442d7d
DR
700 Say Y here to include support for ISSI IS31FL32XX and Si-En SN32xx
701 LED controllers. They are I2C devices with multiple constant-current
702 channels, each with independent 256-level PWM control.
9d7cffaf 703
e081c49e
BW
704config LEDS_SC27XX_BLTC
705 tristate "LED support for the SC27xx breathing light controller"
706 depends on LEDS_CLASS && MFD_SC27XX_PMIC
707 depends on OF
708 help
709 Say Y here to include support for the SC27xx breathing light controller
710 LEDs.
711
712 This driver can also be built as a module. If so the module will be
713 called leds-sc27xx-bltc.
714
f70ed8a6
VD
715comment "LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)"
716
b54cf35a
JSM
717config LEDS_BLINKM
718 tristate "LED support for the BlinkM I2C RGB LED"
719 depends on LEDS_CLASS
720 depends on I2C
721 help
722 This option enables support for the BlinkM RGB LED connected
723 through I2C. Say Y to enable support for the BlinkM LED.
724
84ad6e5c
VH
725config LEDS_POWERNV
726 tristate "LED support for PowerNV Platform"
727 depends on LEDS_CLASS
728 depends on PPC_POWERNV
729 depends on OF
730 help
731 This option enables support for the system LEDs present on
732 PowerNV platforms. Say 'y' to enable this support in kernel.
733 To compile this driver as a module, choose 'm' here: the module
734 will be called leds-powernv.
735
535f09cc
LW
736config LEDS_SYSCON
737 bool "LED support for LEDs on system controllers"
738 depends on LEDS_CLASS=y
739 depends on MFD_SYSCON
740 depends on OF
741 help
54b6c127 742 This option enables support for the LEDs on syscon type
535f09cc
LW
743 devices. This will only work with device tree enabled
744 devices.
745
7f866986
LW
746config LEDS_PM8058
747 tristate "LED Support for the Qualcomm PM8058 PMIC"
40a3a0f2 748 depends on MFD_PM8XXX
7f866986
LW
749 depends on LEDS_CLASS
750 help
751 Choose this option if you want to use the LED drivers in
752 the Qualcomm PM8058 PMIC.
753
be4fdf99
VP
754config LEDS_MLXCPLD
755 tristate "LED support for the Mellanox boards"
8f886de1 756 depends on X86 && DMI
be4fdf99
VP
757 depends on LEDS_CLASS
758 help
54b6c127
VP
759 This option enables support for the LEDs on the Mellanox
760 boards. Say Y to enable these.
be4fdf99 761
386570d7
VP
762config LEDS_MLXREG
763 tristate "LED support for the Mellanox switches management control"
764 depends on LEDS_CLASS
765 help
766 This option enables support for the LEDs on the Mellanox Ethernet and
767 InfiniBand switches. The driver can be activated by the platform device
768 device add call. Say Y to enable these. To compile this driver as a
769 module, choose 'M' here: the module will be called leds-mlxreg.
770
e381322b
DL
771config LEDS_USER
772 tristate "Userspace LED support"
773 depends on LEDS_CLASS
774 help
775 This option enables support for userspace LEDs. Say 'y' to enable this
776 support in kernel. To compile this driver as a module, choose 'm' here:
777 the module will be called uleds.
778
8338eab5
HCO
779config LEDS_NIC78BX
780 tristate "LED support for NI PXI NIC78bx devices"
781 depends on LEDS_CLASS
782 depends on X86 && ACPI
783 help
784 This option enables support for the User1 and User2 LEDs on NI
785 PXI NIC78bx devices.
786
787 To compile this driver as a module, choose M here: the module
788 will be called leds-nic78bx.
789
e9a804d7
CM
790config LEDS_SPI_BYTE
791 tristate "LED support for SPI LED controller with a single byte"
792 depends on LEDS_CLASS
793 depends on SPI
794 depends on OF
795 help
796 This option enables support for LED controller which use a single byte
797 for controlling the brightness. Currently the following controller is
798 supported: Ubiquiti airCube ISP microcontroller based LED controller.
799
3fce8e1e
DM
800config LEDS_TI_LMU_COMMON
801 tristate "LED driver for TI LMU"
802 depends on LEDS_CLASS
803 depends on REGMAP
804 help
805 Say Y to enable the LED driver for TI LMU devices.
806 This supports common features between the TI LM3532, LM3631, LM3632,
807 LM3633, LM3695 and LM3697.
808
5c1d824c
DM
809config LEDS_LM3697
810 tristate "LED driver for LM3697"
811 depends on LEDS_TI_LMU_COMMON
812 depends on I2C && OF
813 help
814 Say Y to enable the LM3697 LED driver for TI LMU devices.
815 This supports the LED device LM3697.
816
11e1bbc1
DM
817config LEDS_LM36274
818 tristate "LED driver for LM36274"
819 depends on LEDS_TI_LMU_COMMON
820 depends on MFD_TI_LMU
821 help
822 Say Y to enable the LM36274 LED driver for TI LMU devices.
823 This supports the LED device LM36274.
824
d09e1666 825comment "LED Triggers"
f07fb521 826source "drivers/leds/trigger/Kconfig"
44e1e9f8 827
66242f7e 828endif # NEW_LEDS