1 # SPDX-License-Identifier: GPL-2.0-only
2 config LEDS_GPIO_REGISTER
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
12 Say Y to enable Linux LED support. This allows control of supported
13 LEDs from both userspace and optionally, by kernel events (triggers).
18 tristate "LED Class Support"
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.
23 config LEDS_CLASS_FLASH
24 tristate "LED Flash Class Support"
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
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
33 config LEDS_BRIGHTNESS_HW_CHANGED
34 bool "LED Class brightness_hw_changed attribute support"
37 This option enables support for the brightness_hw_changed attribute
38 for led sysfs class devices under /sys/class/leds.
40 See Documentation/ABI/testing/sysfs-class-led for details.
45 tristate "LED Support for Marvell 88PM860x PMIC"
47 depends on MFD_88PM860X
49 This option enables support for on-chip LED drivers found on Marvell
50 Semiconductor 88PM8606 PMIC.
53 tristate "LED support for the AAT1290"
54 depends on LEDS_CLASS_FLASH
55 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
56 depends on GPIOLIB || COMPILE_TEST
60 This option enables support for the LEDs on the AAT1290.
63 tristate "LED support for Panasonic AN30259A"
64 depends on LEDS_CLASS && I2C && OF
66 This option enables support for the AN30259A 3-channel
69 To compile this driver as a module, choose M here: the module
70 will be called leds-an30259a.
73 tristate "Front panel LED support for PC Engines APU/APU2/APU3 boards"
77 This driver makes the PC Engines APU/APU2/APU3 front panel LEDs
78 accessible from userspace programs through the LED subsystem.
80 To compile this driver as a module, choose M here: the
81 module will be called leds-apu.
84 tristate "AS3645A and LM3555 LED flash controllers support"
85 depends on I2C && LEDS_CLASS_FLASH
86 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
88 Enable LED flash class support for AS3645A LED flash
89 controller. V4L2 flash API is provided as well if
90 CONFIG_V4L2_FLASH_API is enabled.
93 tristate "LED Support for Broadcom BCM6328"
98 This option enables support for LEDs connected to the BCM6328
99 LED HW controller accessed via MMIO registers.
102 tristate "LED Support for Broadcom BCM6358"
103 depends on LEDS_CLASS
107 This option enables support for LEDs connected to the BCM6358
108 LED HW controller accessed via MMIO registers.
111 tristate "LED Support for Motorola CPCAP"
112 depends on LEDS_CLASS
116 This option enables support for LEDs offered by Motorola's
119 config LEDS_CR0014114
120 tristate "LED Support for Crane CR0014114"
121 depends on LEDS_CLASS
125 This option enables support for CR0014114 LED Board which
126 is widely used in vending machines produced by
127 Crane Merchandising Systems.
129 To compile this driver as a module, choose M here: the module
130 will be called leds-cr0014114.
133 tristate "LCD Backlight driver for LM3530"
134 depends on LEDS_CLASS
137 This option enables support for the LCD backlight using
138 LM3530 ambient light sensor chip. This ALS chip can be
139 controlled manually or using PWM input or using ambient
143 tristate "LCD Backlight driver for LM3532"
144 depends on LEDS_CLASS
147 This option enables support for the LCD backlight using
148 LM3532 ambient light sensor chip. This ALS chip can be
149 controlled manually or using PWM input or using ambient
153 tristate "LED support for LM3533"
154 depends on LEDS_CLASS
155 depends on MFD_LM3533
157 This option enables support for the LEDs on National Semiconductor /
158 TI LM3533 Lighting Power chips.
160 The LEDs can be controlled directly, through PWM input, or by the
161 ambient-light-sensor interface. The chip supports
162 hardware-accelerated blinking with maximum on and off periods of 9.8
163 and 77 seconds respectively.
166 tristate "LED support for LM3642 Chip"
167 depends on LEDS_CLASS && I2C
170 This option enables support for LEDs connected to LM3642.
171 The LM3642 is a 4MHz fixed-frequency synchronous boost
172 converter plus 1.5A constant current driver for a high-current
176 tristate "LED support for LM3692x Chips"
177 depends on LEDS_CLASS && I2C && OF
180 This option enables support for the TI LM3692x family
181 of white LED string drivers used for backlighting.
184 tristate "LED support for LM3601x Chips"
185 depends on LEDS_CLASS && I2C
186 depends on LEDS_CLASS_FLASH
189 This option enables support for the TI LM3601x family
190 of flash, torch and indicator classes.
193 tristate "LED Support for Locomo device"
194 depends on LEDS_CLASS
195 depends on SHARP_LOCOMO
197 This option enables support for the LEDs on Sharp Locomo.
198 Zaurus models SL-5500 and SL-5600.
200 config LEDS_MIKROTIK_RB532
201 tristate "LED Support for Mikrotik Routerboard 532"
202 depends on LEDS_CLASS
203 depends on MIKROTIK_RB532
205 This option enables support for the so called "User LED" of
206 Mikrotik's Routerboard 532.
209 tristate "LED Support for Mediatek MT6323 PMIC"
210 depends on LEDS_CLASS
211 depends on MFD_MT6397
213 This option enables support for on-chip LED drivers found on
214 Mediatek MT6323 PMIC.
217 tristate "LED Support for Samsung S3C24XX GPIO LEDs"
218 depends on LEDS_CLASS
219 depends on ARCH_S3C24XX
221 This option enables support for LEDs connected to GPIO lines
222 on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
225 tristate "LED Support for Soekris net48xx series Error LED"
226 depends on LEDS_CLASS
227 depends on SCx200_GPIO
229 This option enables support for the Soekris net4801 and net4826 error
233 tristate "LED Support for the Freecom FSG-3"
234 depends on LEDS_CLASS
237 This option enables support for the LEDs on the Freecom FSG-3.
240 tristate "LED Support for the WRAP series LEDs"
241 depends on LEDS_CLASS
242 depends on SCx200_GPIO
244 This option enables support for the PCEngines WRAP programmable LEDs.
246 config LEDS_COBALT_QUBE
247 tristate "LED Support for the Cobalt Qube series front LED"
248 depends on LEDS_CLASS
249 depends on MIPS_COBALT
251 This option enables support for the front LED on Cobalt Qube series
253 config LEDS_COBALT_RAQ
254 bool "LED Support for the Cobalt Raq series"
255 depends on LEDS_CLASS=y && MIPS_COBALT
258 This option enables support for the Cobalt Raq series LEDs.
261 tristate "LED support for SunFire servers."
262 depends on LEDS_CLASS
266 This option enables support for the Left, Middle, and Right
267 LEDs on the I/O and CPU boards of SunFire UltraSPARC servers.
269 config LEDS_IPAQ_MICRO
270 tristate "LED Support for the Compaq iPAQ h3xxx"
271 depends on LEDS_CLASS
272 depends on MFD_IPAQ_MICRO
274 Choose this option if you want to use the notification LED on
275 Compaq/HP iPAQ h3100 and h3600.
278 tristate "LED Support for the HP Jornada 6xx"
279 depends on LEDS_CLASS
282 This option enables LED support for the handheld
283 HP Jornada 620/660/680/690.
286 tristate "LED driver for PCA9532 dimmer"
287 depends on LEDS_CLASS
288 depends on I2C && INPUT
290 This option enables support for NXP pca9532
291 LED controller. It is generally only useful
294 config LEDS_PCA9532_GPIO
295 bool "Enable GPIO support for PCA9532"
296 depends on LEDS_PCA9532
299 Allow unused pins on PCA9532 to be used as gpio.
301 To use a pin as gpio pca9532_type in pca9532_platform data needs to
302 set to PCA9532_TYPE_GPIO.
305 tristate "LED Support for GPIO connected LEDs"
306 depends on LEDS_CLASS
307 depends on GPIOLIB || COMPILE_TEST
309 This option enables support for the LEDs connected to GPIO
310 outputs. To be useful the particular board must have LEDs
311 and they must be connected to the GPIO lines. The LEDs must be
312 defined as platform devices and/or OpenFirmware platform devices.
313 The code to use these bindings can be selected below.
316 tristate "LED Support for N.S. LP3944 (Fun Light) I2C chip"
317 depends on LEDS_CLASS
320 This option enables support for LEDs connected to the National
321 Semiconductor LP3944 Lighting Management Unit (LMU) also known as
324 To compile this driver as a module, choose M here: the
325 module will be called leds-lp3944.
328 tristate "LED Support for TI LP3952 2 channel LED driver"
329 depends on LEDS_CLASS
334 This option enables support for LEDs connected to the Texas
335 Instruments LP3952 LED driver.
337 To compile this driver as a module, choose M here: the
338 module will be called leds-lp3952.
340 config LEDS_LP55XX_COMMON
341 tristate "Common Driver for TI/National LP5521/5523/55231/5562/8501"
342 depends on LEDS_LP5521 || LEDS_LP5523 || LEDS_LP5562 || LEDS_LP8501
344 select FW_LOADER_USER_HELPER
346 This option supports common operations for LP5521/5523/55231/5562/8501
350 tristate "LED Support for N.S. LP5521 LED driver chip"
351 depends on LEDS_CLASS && I2C
352 select LEDS_LP55XX_COMMON
354 If you say yes here you get support for the National Semiconductor
355 LP5521 LED driver. It is 3 channel chip with programmable engines.
356 Driver provides direct control via LED class and interface for
357 programming the engines.
360 tristate "LED Support for TI/National LP5523/55231 LED driver chip"
361 depends on LEDS_CLASS && I2C
362 select LEDS_LP55XX_COMMON
364 If you say yes here you get support for TI/National Semiconductor
365 LP5523/55231 LED driver.
366 It is 9 channel chip with programmable engines.
367 Driver provides direct control via LED class and interface for
368 programming the engines.
371 tristate "LED Support for TI LP5562 LED driver chip"
372 depends on LEDS_CLASS && I2C
373 select LEDS_LP55XX_COMMON
375 If you say yes here you get support for TI LP5562 LED driver.
376 It is 4 channels chip with programmable engines.
377 Driver provides direct control via LED class and interface for
378 programming the engines.
381 tristate "LED Support for TI LP8501 LED driver chip"
382 depends on LEDS_CLASS && I2C
383 select LEDS_LP55XX_COMMON
385 If you say yes here you get support for TI LP8501 LED driver.
386 It is 9 channel chip with programmable engines.
387 Driver provides direct control via LED class and interface for
388 programming the engines.
389 It is similar as LP5523, but output power selection is available.
390 And register layout and engine program schemes are different.
393 tristate "LED support for the TI LP8788 PMIC"
394 depends on LEDS_CLASS
395 depends on MFD_LP8788
397 This option enables support for the Keyboard LEDs on the LP8788 PMIC.
400 tristate "LED support for the TI LP8860 4 channel LED driver"
401 depends on LEDS_CLASS && I2C && OF
404 If you say yes here you get support for the TI LP8860 4 channel
406 This option enables support for the display cluster LEDs
407 on the LP8860 4 channel LED driver using the I2C communication
410 config LEDS_CLEVO_MAIL
411 tristate "Mail LED on Clevo notebook"
412 depends on LEDS_CLASS
413 depends on X86 && SERIO_I8042 && DMI
415 This driver makes the mail LED accessible from userspace
416 programs through the leds subsystem. This LED have three
417 known mode: off, blink at 0.5Hz and blink at 1Hz.
419 The driver supports two kinds of interface: using ledtrig-timer
420 or through /sys/class/leds/clevo::mail/brightness. As this LED
421 cannot change it's brightness it blinks instead. The brightness
422 value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
425 This module can drive the mail LED for the following notebooks:
430 Clevo D400V/D470V (not tested, but might work)
432 Clevo M5x0N (not tested, but might work)
433 Positivo Mobile (Clevo M5x0V)
435 If your model is not listed here you can try the "nodetect"
438 To compile this driver as a module, choose M here: the
439 module will be called leds-clevo-mail.
442 tristate "LED Support for PCA955x I2C chips"
443 depends on LEDS_CLASS
446 This option enables support for LEDs connected to PCA955x
447 LED driver chips accessed via the I2C bus. Supported
448 devices include PCA9550, PCA9551, PCA9552, and PCA9553.
450 config LEDS_PCA955X_GPIO
451 bool "Enable GPIO support for PCA955X"
452 depends on LEDS_PCA955X
455 Allow unused pins on PCA955X to be used as gpio.
457 To use a pin as gpio the pin type should be set to
458 PCA955X_TYPE_GPIO in the device tree.
462 tristate "LED support for PCA963x I2C chip"
463 depends on LEDS_CLASS
466 This option enables support for LEDs connected to the PCA963x
467 LED driver chip accessed via the I2C bus. Supported
468 devices include PCA9633 and PCA9634
470 config LEDS_WM831X_STATUS
471 tristate "LED support for status LEDs on WM831x PMICs"
472 depends on LEDS_CLASS
473 depends on MFD_WM831X
475 This option enables support for the status LEDs of the WM831x
479 tristate "LED Support for WM8350 AudioPlus PMIC"
480 depends on LEDS_CLASS
481 depends on MFD_WM8350
483 This option enables support for LEDs driven by the Wolfson
484 Microelectronics WM8350 AudioPlus PMIC.
487 tristate "LED Support for DA9030/DA9034 PMIC"
488 depends on LEDS_CLASS
489 depends on PMIC_DA903X
491 This option enables support for on-chip LED drivers found
492 on Dialog Semiconductor DA9030/DA9034 PMICs.
495 tristate "Dialog DA9052/DA9053 LEDS"
496 depends on LEDS_CLASS
497 depends on PMIC_DA9052
499 This option enables support for on-chip LED drivers found
500 on Dialog Semiconductor DA9052-BC and DA9053-AA/Bx PMICs.
502 config LEDS_DAC124S085
503 tristate "LED Support for DAC124S085 SPI DAC"
504 depends on LEDS_CLASS
507 This option enables support for DAC124S085 SPI DAC from NatSemi,
508 which can be used to control up to four LEDs.
511 tristate "PWM driven LED Support"
512 depends on LEDS_CLASS
515 This option enables support for pwm driven LEDs
517 config LEDS_REGULATOR
518 tristate "REGULATOR driven LED support"
519 depends on LEDS_CLASS
522 This option enables support for regulator driven LEDs.
525 tristate "LED driver for BD2802 RGB LED"
526 depends on LEDS_CLASS
529 This option enables support for BD2802GU RGB LED driver chips
530 accessed via the I2C bus.
532 config LEDS_INTEL_SS4200
533 tristate "LED driver for Intel NAS SS4200 series"
534 depends on LEDS_CLASS
535 depends on PCI && DMI
538 This option enables support for the Intel SS4200 series of
539 Network Attached Storage servers. You may control the hard
540 drive or power LEDs on the front panel. Using this driver
541 can stop the front LED from blinking after startup.
544 tristate "LED driver for LT3593 controllers"
545 depends on LEDS_CLASS
546 depends on GPIOLIB || COMPILE_TEST
549 This option enables support for LEDs driven by a Linear Technology
550 LT3593 controller. This controller uses a special one-wire pulse
551 coding protocol to set the brightness.
554 tristate "LED Support for ADP5520/ADP5501 PMIC"
555 depends on LEDS_CLASS
556 depends on PMIC_ADP5520
558 This option enables support for on-chip LED drivers found
559 on Analog Devices ADP5520/ADP5501 PMICs.
561 To compile this driver as a module, choose M here: the module will
562 be called leds-adp5520.
565 tristate "LED Support for MC13XXX PMIC"
566 depends on LEDS_CLASS
567 depends on MFD_MC13XXX
569 This option enables support for on-chip LED drivers found
570 on Freescale Semiconductor MC13783/MC13892/MC34708 PMIC.
573 tristate "LED support for Network Space v2 GPIO LEDs"
574 depends on LEDS_CLASS
575 depends on MACH_KIRKWOOD || MACH_ARMADA_370
578 This option enables support for the dual-GPIO LEDs found on the
579 following LaCie/Seagate boards:
581 Network Space v2 (and parents: Max, Mini)
584 n090401 (Seagate NAS 4-Bay)
587 tristate "LED support for Big Network series LEDs"
588 depends on LEDS_CLASS
589 depends on MACH_KIRKWOOD
592 This option enables support for LEDs found on the LaCie 2Big
593 and 5Big Network v2 boards. The LEDs are wired to a CPLD and are
594 controlled through a GPIO extension bus.
597 bool "LED support for the HTC ASIC3"
598 depends on LEDS_CLASS=y
602 This option enables support for the LEDs on the HTC ASIC3. The HTC
603 ASIC3 LED GPIOs are inputs, not outputs, thus the leds-gpio driver
604 cannot be used. This driver supports hardware blinking with an on+off
605 period from 62ms to 125s. Say Y to enable LEDs on the HP iPAQ hx4700.
608 tristate "LED Support for TCA6507 I2C chip"
609 depends on LEDS_CLASS && I2C
611 This option enables support for LEDs connected to TC6507
612 LED driver chips accessed via the I2C bus.
613 Driver support brightness control and hardware-assisted blinking.
616 tristate "LED driver for TLC59108 and TLC59116 controllers"
617 depends on LEDS_CLASS && I2C
620 This option enables support for Texas Instruments TLC59108
621 and TLC59116 LED controllers.
624 tristate "LED support for Maxim MAX77650 PMIC"
625 depends on LEDS_CLASS && MFD_MAX77650
627 LEDs driver for MAX77650 family of PMICs from Maxim Integrated.
630 tristate "LED support for MAX77693 Flash"
631 depends on LEDS_CLASS_FLASH
632 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
633 depends on MFD_MAX77693
636 This option enables support for the flash part of the MAX77693
637 multifunction device. It has build in control for two leds in flash
641 tristate "LED support for MAX8997 PMIC"
642 depends on LEDS_CLASS && MFD_MAX8997
644 This option enables support for on-chip LED drivers on
648 tristate "LED support for LM3554 and LM3556 chips"
649 depends on LEDS_CLASS && I2C
652 This option enables support for LEDs connected to LM3554
653 and LM3556. It includes Torch, Flash and Indicator functions.
656 tristate "LED support for the Bachmann OT200"
657 depends on LEDS_CLASS && HAS_IOMEM && (X86_32 || COMPILE_TEST)
659 This option enables support for the LEDs on the Bachmann OT200.
660 Say Y to enable LEDs on the Bachmann OT200.
662 config LEDS_MENF21BMC
663 tristate "LED support for the MEN 14F021P00 BMC"
664 depends on LEDS_CLASS && MFD_MENF21BMC
666 Say Y here to include support for the MEN 14F021P00 BMC LEDs.
668 This driver can also be built as a module. If so the module
669 will be called leds-menf21bmc.
672 tristate "LED support for KTD2692 flash LED controller"
673 depends on LEDS_CLASS_FLASH && OF
674 depends on GPIOLIB || COMPILE_TEST
676 This option enables support for KTD2692 LED flash connected
677 through ExpressWire interface.
679 Say Y to enable this driver.
681 config LEDS_IS31FL319X
682 tristate "LED Support for ISSI IS31FL319x I2C LED controller family"
683 depends on LEDS_CLASS && I2C && OF
686 This option enables support for LEDs connected to ISSI IS31FL319x
687 fancy LED driver chips accessed via the I2C bus.
688 Driver supports individual PWM brightness control for each channel.
690 This driver can also be built as a module. If so the module will be
691 called leds-is31fl319x.
693 config LEDS_IS31FL32XX
694 tristate "LED support for ISSI IS31FL32XX I2C LED controller family"
695 depends on LEDS_CLASS && I2C && OF
697 Say Y here to include support for ISSI IS31FL32XX and Si-En SN32xx
698 LED controllers. They are I2C devices with multiple constant-current
699 channels, each with independent 256-level PWM control.
701 config LEDS_SC27XX_BLTC
702 tristate "LED support for the SC27xx breathing light controller"
703 depends on LEDS_CLASS && MFD_SC27XX_PMIC
706 Say Y here to include support for the SC27xx breathing light controller
709 This driver can also be built as a module. If so the module will be
710 called leds-sc27xx-bltc.
712 comment "LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)"
715 tristate "LED support for the BlinkM I2C RGB LED"
716 depends on LEDS_CLASS
719 This option enables support for the BlinkM RGB LED connected
720 through I2C. Say Y to enable support for the BlinkM LED.
723 tristate "LED support for PowerNV Platform"
724 depends on LEDS_CLASS
725 depends on PPC_POWERNV
728 This option enables support for the system LEDs present on
729 PowerNV platforms. Say 'y' to enable this support in kernel.
730 To compile this driver as a module, choose 'm' here: the module
731 will be called leds-powernv.
734 bool "LED support for LEDs on system controllers"
735 depends on LEDS_CLASS=y
736 depends on MFD_SYSCON
739 This option enables support for the LEDs on syscon type
740 devices. This will only work with device tree enabled
744 tristate "LED Support for the Qualcomm PM8058 PMIC"
745 depends on MFD_PM8XXX
746 depends on LEDS_CLASS
748 Choose this option if you want to use the LED drivers in
749 the Qualcomm PM8058 PMIC.
752 tristate "LED support for the Mellanox boards"
753 depends on X86 && DMI
754 depends on LEDS_CLASS
756 This option enables support for the LEDs on the Mellanox
757 boards. Say Y to enable these.
760 tristate "LED support for the Mellanox switches management control"
761 depends on LEDS_CLASS
763 This option enables support for the LEDs on the Mellanox Ethernet and
764 InfiniBand switches. The driver can be activated by the platform device
765 device add call. Say Y to enable these. To compile this driver as a
766 module, choose 'M' here: the module will be called leds-mlxreg.
769 tristate "Userspace LED support"
770 depends on LEDS_CLASS
772 This option enables support for userspace LEDs. Say 'y' to enable this
773 support in kernel. To compile this driver as a module, choose 'm' here:
774 the module will be called uleds.
777 tristate "LED support for NI PXI NIC78bx devices"
778 depends on LEDS_CLASS
779 depends on X86 && ACPI
781 This option enables support for the User1 and User2 LEDs on NI
784 To compile this driver as a module, choose M here: the module
785 will be called leds-nic78bx.
787 comment "LED Triggers"
788 source "drivers/leds/trigger/Kconfig"