xref: /linux/drivers/leds/Kconfig (revision 5e0b080d487d5e1f6e7b82d04d35af76bbd58ea8)
1be5ce2f1SUwe Kleine-Königconfig LEDS_GPIO_REGISTER
2be5ce2f1SUwe Kleine-König	bool
3be5ce2f1SUwe Kleine-König	help
4be5ce2f1SUwe Kleine-König	  This option provides the function gpio_led_register_device.
5be5ce2f1SUwe Kleine-König	  As this function is used by arch code it must not be compiled as a
6be5ce2f1SUwe Kleine-König	  module.
7be5ce2f1SUwe Kleine-König
866242f7eSJan Engelhardtmenuconfig NEW_LEDS
9c72a1d60SRichard Purdie	bool "LED Support"
10c72a1d60SRichard Purdie	help
11a8d2e7d9SRichard Purdie	  Say Y to enable Linux LED support.  This allows control of supported
12a8d2e7d9SRichard Purdie	  LEDs from both userspace and optionally, by kernel events (triggers).
13a8d2e7d9SRichard Purdie
14a8d2e7d9SRichard Purdie	  This is not related to standard keyboard LEDs which are controlled
15a8d2e7d9SRichard Purdie	  via the input system.
16c72a1d60SRichard Purdie
1745d16f09SEric Miaoif NEW_LEDS
1845d16f09SEric Miao
19c72a1d60SRichard Purdieconfig LEDS_CLASS
20a403d930SBryan Wu	tristate "LED Class Support"
21c72a1d60SRichard Purdie	help
22c72a1d60SRichard Purdie	  This option enables the led sysfs class in /sys/class/leds.  You'll
23c72a1d60SRichard Purdie	  need this to do anything useful with LEDs.  If unsure, say N.
24c72a1d60SRichard Purdie
2524f51e81SBen Dookscomment "LED drivers"
26c3bc9956SRichard Purdie
270a2f915bSHaojian Zhuangconfig LEDS_88PM860X
280a2f915bSHaojian Zhuang	tristate "LED Support for Marvell 88PM860x PMIC"
290bae35e1SJohannes Berg	depends on LEDS_CLASS
3037814fdcSRichard Purdie	depends on MFD_88PM860X
310a2f915bSHaojian Zhuang	help
320a2f915bSHaojian Zhuang	  This option enables support for on-chip LED drivers found on Marvell
330a2f915bSHaojian Zhuang	  Semiconductor 88PM8606 PMIC.
340a2f915bSHaojian Zhuang
35de5c9edeSDavid Brownellconfig LEDS_ATMEL_PWM
36de5c9edeSDavid Brownell	tristate "LED Support using Atmel PWM outputs"
370bae35e1SJohannes Berg	depends on LEDS_CLASS
38d09e1666SH Hartley Sweeten	depends on ATMEL_PWM
39de5c9edeSDavid Brownell	help
40de5c9edeSDavid Brownell	  This option enables support for LEDs driven using outputs
41de5c9edeSDavid Brownell	  of the dedicated PWM controller found on newer Atmel SOCs.
42de5c9edeSDavid Brownell
43b1e6b706SShreshtha Kumar Sahuconfig LEDS_LM3530
44b1e6b706SShreshtha Kumar Sahu	tristate "LCD Backlight driver for LM3530"
45b1e6b706SShreshtha Kumar Sahu	depends on LEDS_CLASS
46b1e6b706SShreshtha Kumar Sahu	depends on I2C
47b1e6b706SShreshtha Kumar Sahu	help
48b1e6b706SShreshtha Kumar Sahu	  This option enables support for the LCD backlight using
49b1e6b706SShreshtha Kumar Sahu	  LM3530 ambient light sensor chip. This ALS chip can be
50b1e6b706SShreshtha Kumar Sahu	  controlled manually or using PWM input or using ambient
51b1e6b706SShreshtha Kumar Sahu	  light automatically.
52b1e6b706SShreshtha Kumar Sahu
53401dea7fSJohan Hovoldconfig LEDS_LM3533
54401dea7fSJohan Hovold	tristate "LED support for LM3533"
55401dea7fSJohan Hovold	depends on LEDS_CLASS
56401dea7fSJohan Hovold	depends on MFD_LM3533
57401dea7fSJohan Hovold	help
58401dea7fSJohan Hovold	  This option enables support for the LEDs on National Semiconductor /
59401dea7fSJohan Hovold	  TI LM3533 Lighting Power chips.
60401dea7fSJohan Hovold
61401dea7fSJohan Hovold	  The LEDs can be controlled directly, through PWM input, or by the
62401dea7fSJohan Hovold	  ambient-light-sensor interface. The chip supports
63401dea7fSJohan Hovold	  hardware-accelerated blinking with maximum on and off periods of 9.8
64401dea7fSJohan Hovold	  and 77 seconds respectively.
65401dea7fSJohan Hovold
668b7cfbecSG.Shark Jeongconfig LEDS_LM3642
678b7cfbecSG.Shark Jeong	tristate "LED support for LM3642 Chip"
688b7cfbecSG.Shark Jeong	depends on LEDS_CLASS && I2C
698b7cfbecSG.Shark Jeong	select REGMAP_I2C
708b7cfbecSG.Shark Jeong	help
718b7cfbecSG.Shark Jeong	  This option enables support for LEDs connected to LM3642.
728b7cfbecSG.Shark Jeong	  The LM3642 is a 4MHz fixed-frequency synchronous boost
738b7cfbecSG.Shark Jeong	  converter plus 1.5A constant current driver for a high-current
748b7cfbecSG.Shark Jeong	  white LED.
758b7cfbecSG.Shark Jeong
768b7cfbecSG.Shark Jeong
774d3cb354SRichard Purdieconfig LEDS_LOCOMO
784d3cb354SRichard Purdie	tristate "LED Support for Locomo device"
790bae35e1SJohannes Berg	depends on LEDS_CLASS
80d09e1666SH Hartley Sweeten	depends on SHARP_LOCOMO
814d3cb354SRichard Purdie	help
824d3cb354SRichard Purdie	  This option enables support for the LEDs on Sharp Locomo.
834d3cb354SRichard Purdie	  Zaurus models SL-5500 and SL-5600.
844d3cb354SRichard Purdie
85ac67e23bSPhil Sutterconfig LEDS_MIKROTIK_RB532
86ac67e23bSPhil Sutter	tristate "LED Support for Mikrotik Routerboard 532"
870bae35e1SJohannes Berg	depends on LEDS_CLASS
88d09e1666SH Hartley Sweeten	depends on MIKROTIK_RB532
89ac67e23bSPhil Sutter	help
90ac67e23bSPhil Sutter	  This option enables support for the so called "User LED" of
91ac67e23bSPhil Sutter	  Mikrotik's Routerboard 532.
92ac67e23bSPhil Sutter
9354bdc470SBen Dooksconfig LEDS_S3C24XX
9454bdc470SBen Dooks	tristate "LED Support for Samsung S3C24XX GPIO LEDs"
950bae35e1SJohannes Berg	depends on LEDS_CLASS
96b130d5c2SKukjin Kim	depends on ARCH_S3C24XX
9754bdc470SBen Dooks	help
9854bdc470SBen Dooks	  This option enables support for LEDs connected to GPIO lines
9954bdc470SBen Dooks	  on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
10054bdc470SBen Dooks
1011a87d942SChris Bootconfig LEDS_NET48XX
1021a87d942SChris Boot	tristate "LED Support for Soekris net48xx series Error LED"
1030bae35e1SJohannes Berg	depends on LEDS_CLASS
104d09e1666SH Hartley Sweeten	depends on SCx200_GPIO
1051a87d942SChris Boot	help
1061a87d942SChris Boot	  This option enables support for the Soekris net4801 and net4826 error
1071a87d942SChris Boot	  LED.
1081a87d942SChris Boot
1093b2e46f8SRod Whitbyconfig LEDS_FSG
1103b2e46f8SRod Whitby	tristate "LED Support for the Freecom FSG-3"
1110bae35e1SJohannes Berg	depends on LEDS_CLASS
112d09e1666SH Hartley Sweeten	depends on MACH_FSG
1133b2e46f8SRod Whitby	help
1143b2e46f8SRod Whitby	  This option enables support for the LEDs on the Freecom FSG-3.
1153b2e46f8SRod Whitby
1160d75565fSKristian Kielhofnerconfig LEDS_WRAP
1170d75565fSKristian Kielhofner	tristate "LED Support for the WRAP series LEDs"
1180bae35e1SJohannes Berg	depends on LEDS_CLASS
119d09e1666SH Hartley Sweeten	depends on SCx200_GPIO
1200d75565fSKristian Kielhofner	help
1210d75565fSKristian Kielhofner	  This option enables support for the PCEngines WRAP programmable LEDs.
1220d75565fSKristian Kielhofner
123f3b6b6cdSYoichi Yuasaconfig LEDS_COBALT_QUBE
124f3b6b6cdSYoichi Yuasa	tristate "LED Support for the Cobalt Qube series front LED"
1250bae35e1SJohannes Berg	depends on LEDS_CLASS
126d09e1666SH Hartley Sweeten	depends on MIPS_COBALT
1272fea6f35SFlorian Fainelli	help
128f3b6b6cdSYoichi Yuasa	  This option enables support for the front LED on Cobalt Qube series
1292fea6f35SFlorian Fainelli
13097da7aafSYoichi Yuasaconfig LEDS_COBALT_RAQ
13197da7aafSYoichi Yuasa	bool "LED Support for the Cobalt Raq series"
132ec149619SYoichi Yuasa	depends on LEDS_CLASS=y && MIPS_COBALT
13397da7aafSYoichi Yuasa	select LEDS_TRIGGERS
13497da7aafSYoichi Yuasa	help
13597da7aafSYoichi Yuasa	  This option enables support for the Cobalt Raq series LEDs.
13697da7aafSYoichi Yuasa
1375843492cSDavid S. Millerconfig LEDS_SUNFIRE
1385843492cSDavid S. Miller	tristate "LED support for SunFire servers."
1390bae35e1SJohannes Berg	depends on LEDS_CLASS
140d09e1666SH Hartley Sweeten	depends on SPARC64
1415843492cSDavid S. Miller	select LEDS_TRIGGERS
1425843492cSDavid S. Miller	help
1435843492cSDavid S. Miller	  This option enables support for the Left, Middle, and Right
1445843492cSDavid S. Miller	  LEDs on the I/O and CPU boards of SunFire UltraSPARC servers.
1455843492cSDavid S. Miller
146d39a7a63SKristoffer Ericsonconfig LEDS_HP6XX
147d39a7a63SKristoffer Ericson	tristate "LED Support for the HP Jornada 6xx"
1480bae35e1SJohannes Berg	depends on LEDS_CLASS
149d09e1666SH Hartley Sweeten	depends on SH_HP6XX
150d39a7a63SKristoffer Ericson	help
151692105b8SMatt LaPlante	  This option enables LED support for the handheld
152d39a7a63SKristoffer Ericson	  HP Jornada 620/660/680/690.
153d39a7a63SKristoffer Ericson
154e14fa824SRiku Voipioconfig LEDS_PCA9532
155e14fa824SRiku Voipio	tristate "LED driver for PCA9532 dimmer"
1560bae35e1SJohannes Berg	depends on LEDS_CLASS
157*5e0b080dSKees Cook	depends on I2C && INPUT
158e14fa824SRiku Voipio	help
159e14fa824SRiku Voipio	  This option enables support for NXP pca9532
160692105b8SMatt LaPlante	  LED controller. It is generally only useful
161e14fa824SRiku Voipio	  as a platform driver
162e14fa824SRiku Voipio
1633c1ab50dSJoachim Eastwoodconfig LEDS_PCA9532_GPIO
1643c1ab50dSJoachim Eastwood	bool "Enable GPIO support for PCA9532"
1653c1ab50dSJoachim Eastwood	depends on LEDS_PCA9532
1663c1ab50dSJoachim Eastwood	depends on GPIOLIB
1673c1ab50dSJoachim Eastwood	help
1683c1ab50dSJoachim Eastwood	  Allow unused pins on PCA9532 to be used as gpio.
1693c1ab50dSJoachim Eastwood
1703c1ab50dSJoachim Eastwood	  To use a pin as gpio pca9532_type in pca9532_platform data needs to
1713c1ab50dSJoachim Eastwood	  set to PCA9532_TYPE_GPIO.
1723c1ab50dSJoachim Eastwood
17322e03f3bSRaphael Assenatconfig LEDS_GPIO
17422e03f3bSRaphael Assenat	tristate "LED Support for GPIO connected LEDs"
1750bae35e1SJohannes Berg	depends on LEDS_CLASS
176d09e1666SH Hartley Sweeten	depends on GENERIC_GPIO
17722e03f3bSRaphael Assenat	help
17822e03f3bSRaphael Assenat	  This option enables support for the LEDs connected to GPIO
17922e03f3bSRaphael Assenat	  outputs. To be useful the particular board must have LEDs
180a7d878afSTrent Piepho	  and they must be connected to the GPIO lines.  The LEDs must be
181a7d878afSTrent Piepho	  defined as platform devices and/or OpenFirmware platform devices.
182a7d878afSTrent Piepho	  The code to use these bindings can be selected below.
183a7d878afSTrent Piepho
1845054d39eSAntonio Ospiteconfig LEDS_LP3944
1855054d39eSAntonio Ospite	tristate "LED Support for N.S. LP3944 (Fun Light) I2C chip"
1860bae35e1SJohannes Berg	depends on LEDS_CLASS
187d09e1666SH Hartley Sweeten	depends on I2C
1885054d39eSAntonio Ospite	help
1895054d39eSAntonio Ospite	  This option enables support for LEDs connected to the National
1905054d39eSAntonio Ospite	  Semiconductor LP3944 Lighting Management Unit (LMU) also known as
1915054d39eSAntonio Ospite	  Fun Light Chip.
1925054d39eSAntonio Ospite
1935054d39eSAntonio Ospite	  To compile this driver as a module, choose M here: the
1945054d39eSAntonio Ospite	  module will be called leds-lp3944.
1955054d39eSAntonio Ospite
196f4920f67SSamu Onkaloconfig LEDS_LP5521
197f4920f67SSamu Onkalo	tristate "LED Support for N.S. LP5521 LED driver chip"
198f4920f67SSamu Onkalo	depends on LEDS_CLASS && I2C
199f4920f67SSamu Onkalo	help
200f4920f67SSamu Onkalo	  If you say yes here you get support for the National Semiconductor
201f4920f67SSamu Onkalo	  LP5521 LED driver. It is 3 channel chip with programmable engines.
202f4920f67SSamu Onkalo	  Driver provides direct control via LED class and interface for
203f4920f67SSamu Onkalo	  programming the engines.
204f4920f67SSamu Onkalo
205f4920f67SSamu Onkaloconfig LEDS_LP5523
206ca705321SKim, Milo	tristate "LED Support for TI/National LP5523/55231 LED driver chip"
207f4920f67SSamu Onkalo	depends on LEDS_CLASS && I2C
208f4920f67SSamu Onkalo	help
209ca705321SKim, Milo	  If you say yes here you get support for TI/National Semiconductor
210ca705321SKim, Milo	  LP5523/55231 LED driver.
211ca705321SKim, Milo	  It is 9 channel chip with programmable engines.
212f4920f67SSamu Onkalo	  Driver provides direct control via LED class and interface for
213f4920f67SSamu Onkalo	  programming the engines.
214f4920f67SSamu Onkalo
215eb80411bSKim, Miloconfig LEDS_LP8788
216eb80411bSKim, Milo	tristate "LED support for the TI LP8788 PMIC"
217eb80411bSKim, Milo	depends on LEDS_CLASS
218eb80411bSKim, Milo	depends on MFD_LP8788
219eb80411bSKim, Milo	help
220eb80411bSKim, Milo	  This option enables support for the Keyboard LEDs on the LP8788 PMIC.
221eb80411bSKim, Milo
222cec035deSMárton Némethconfig LEDS_CLEVO_MAIL
22395dc5768SNémeth Márton	tristate "Mail LED on Clevo notebook"
2240bae35e1SJohannes Berg	depends on LEDS_CLASS
225d09e1666SH Hartley Sweeten	depends on X86 && SERIO_I8042 && DMI
226cec035deSMárton Németh	help
227cec035deSMárton Németh	  This driver makes the mail LED accessible from userspace
228cec035deSMárton Németh	  programs through the leds subsystem. This LED have three
229cec035deSMárton Németh	  known mode: off, blink at 0.5Hz and blink at 1Hz.
230cec035deSMárton Németh
23192e015cbSMárton Németh	  The driver supports two kinds of interface: using ledtrig-timer
23292e015cbSMárton Németh	  or through /sys/class/leds/clevo::mail/brightness. As this LED
23392e015cbSMárton Németh	  cannot change it's brightness it blinks instead. The brightness
23492e015cbSMárton Németh	  value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
23592e015cbSMárton Németh	  blink at 1Hz.
236cec035deSMárton Németh
237cec035deSMárton Németh	  This module can drive the mail LED for the following notebooks:
238cec035deSMárton Németh
239b3ba31f8SMrton Nmeth	  	Clevo D400P
240cec035deSMárton Németh	  	Clevo D410J
241cec035deSMárton Németh	  	Clevo D410V
242cec035deSMárton Németh	  	Clevo D400V/D470V (not tested, but might work)
243cec035deSMárton Németh	  	Clevo M540N
244cec035deSMárton Németh	  	Clevo M5x0N (not tested, but might work)
245cec035deSMárton Németh	  	Positivo Mobile (Clevo M5x0V)
246cec035deSMárton Németh
247b3ba31f8SMrton Nmeth	  If your model is not listed here you can try the "nodetect"
248692105b8SMatt LaPlante	  module parameter.
249b3ba31f8SMrton Nmeth
250cec035deSMárton Németh	  To compile this driver as a module, choose M here: the
251cec035deSMárton Németh	  module will be called leds-clevo-mail.
252cec035deSMárton Németh
253f46e9203SNate Caseconfig LEDS_PCA955X
254f46e9203SNate Case	tristate "LED Support for PCA955x I2C chips"
2550bae35e1SJohannes Berg	depends on LEDS_CLASS
256d09e1666SH Hartley Sweeten	depends on I2C
257f46e9203SNate Case	help
258f46e9203SNate Case	  This option enables support for LEDs connected to PCA955x
259f46e9203SNate Case	  LED driver chips accessed via the I2C bus.  Supported
260f46e9203SNate Case	  devices include PCA9550, PCA9551, PCA9552, and PCA9553.
261f46e9203SNate Case
26275cb2e1dSPeter Meerwaldconfig LEDS_PCA9633
26375cb2e1dSPeter Meerwald	tristate "LED support for PCA9633 I2C chip"
26475cb2e1dSPeter Meerwald	depends on LEDS_CLASS
26575cb2e1dSPeter Meerwald	depends on I2C
26675cb2e1dSPeter Meerwald	help
26775cb2e1dSPeter Meerwald	  This option enables support for LEDs connected to the PCA9633
26875cb2e1dSPeter Meerwald	  LED driver chip accessed via the I2C bus.
26975cb2e1dSPeter Meerwald
270c746b551SMark Brownconfig LEDS_WM831X_STATUS
271c746b551SMark Brown	tristate "LED support for status LEDs on WM831x PMICs"
2720bae35e1SJohannes Berg	depends on LEDS_CLASS
273d09e1666SH Hartley Sweeten	depends on MFD_WM831X
274c746b551SMark Brown	help
275c746b551SMark Brown	  This option enables support for the status LEDs of the WM831x
276c746b551SMark Brown          series of PMICs.
277c746b551SMark Brown
2780081e802SMark Brownconfig LEDS_WM8350
2790081e802SMark Brown	tristate "LED Support for WM8350 AudioPlus PMIC"
2800bae35e1SJohannes Berg	depends on LEDS_CLASS
281d09e1666SH Hartley Sweeten	depends on MFD_WM8350
2820081e802SMark Brown	help
2830081e802SMark Brown	  This option enables support for LEDs driven by the Wolfson
2840081e802SMark Brown	  Microelectronics WM8350 AudioPlus PMIC.
2850081e802SMark Brown
2869e84561cSMike Rapoportconfig LEDS_DA903X
2879e84561cSMike Rapoport	tristate "LED Support for DA9030/DA9034 PMIC"
2880bae35e1SJohannes Berg	depends on LEDS_CLASS
289d09e1666SH Hartley Sweeten	depends on PMIC_DA903X
2909e84561cSMike Rapoport	help
2919e84561cSMike Rapoport	  This option enables support for on-chip LED drivers found
2929e84561cSMike Rapoport	  on Dialog Semiconductor DA9030/DA9034 PMICs.
2939e84561cSMike Rapoport
2945ba73631SDavid Dajun Chenconfig LEDS_DA9052
2955ba73631SDavid Dajun Chen	tristate "Dialog DA9052/DA9053 LEDS"
2965ba73631SDavid Dajun Chen	depends on LEDS_CLASS
2975ba73631SDavid Dajun Chen	depends on PMIC_DA9052
2985ba73631SDavid Dajun Chen	help
2995ba73631SDavid Dajun Chen	  This option enables support for on-chip LED drivers found
3005ba73631SDavid Dajun Chen	  on Dialog Semiconductor DA9052-BC and DA9053-AA/Bx PMICs.
3015ba73631SDavid Dajun Chen
302ac2dd0f1SGuennadi Liakhovetskiconfig LEDS_DAC124S085
303ac2dd0f1SGuennadi Liakhovetski	tristate "LED Support for DAC124S085 SPI DAC"
3040bae35e1SJohannes Berg	depends on LEDS_CLASS
305d09e1666SH Hartley Sweeten	depends on SPI
306ac2dd0f1SGuennadi Liakhovetski	help
307ac2dd0f1SGuennadi Liakhovetski	  This option enables support for DAC124S085 SPI DAC from NatSemi,
308ac2dd0f1SGuennadi Liakhovetski	  which can be used to control up to four LEDs.
309ac2dd0f1SGuennadi Liakhovetski
31041c42ff5SLuotao Fuconfig LEDS_PWM
31141c42ff5SLuotao Fu	tristate "PWM driven LED Support"
3120bae35e1SJohannes Berg	depends on LEDS_CLASS
313d09e1666SH Hartley Sweeten	depends on HAVE_PWM
31441c42ff5SLuotao Fu	help
31541c42ff5SLuotao Fu	  This option enables support for pwm driven LEDs
31641c42ff5SLuotao Fu
317d4cc6a2eSAntonio Ospiteconfig LEDS_REGULATOR
318d4cc6a2eSAntonio Ospite	tristate "REGULATOR driven LED support"
3190bae35e1SJohannes Berg	depends on LEDS_CLASS
320d09e1666SH Hartley Sweeten	depends on REGULATOR
321d4cc6a2eSAntonio Ospite	help
322d4cc6a2eSAntonio Ospite	  This option enables support for regulator driven LEDs.
323d4cc6a2eSAntonio Ospite
3240b56129bSKim Kyuwonconfig LEDS_BD2802
3250b56129bSKim Kyuwon	tristate "LED driver for BD2802 RGB LED"
3260bae35e1SJohannes Berg	depends on LEDS_CLASS
327d09e1666SH Hartley Sweeten	depends on I2C
3280b56129bSKim Kyuwon	help
3290b56129bSKim Kyuwon	  This option enables support for BD2802GU RGB LED driver chips
3300b56129bSKim Kyuwon	  accessed via the I2C bus.
3310b56129bSKim Kyuwon
332a328e95bSDave Hansenconfig LEDS_INTEL_SS4200
333a328e95bSDave Hansen	tristate "LED driver for Intel NAS SS4200 series"
3340bae35e1SJohannes Berg	depends on LEDS_CLASS
335d09e1666SH Hartley Sweeten	depends on PCI && DMI
336a328e95bSDave Hansen	help
337a328e95bSDave Hansen	  This option enables support for the Intel SS4200 series of
338a328e95bSDave Hansen	  Network Attached Storage servers.  You may control the hard
339a328e95bSDave Hansen	  drive or power LEDs on the front panel.  Using this driver
340a328e95bSDave Hansen	  can stop the front LED from blinking after startup.
341a328e95bSDave Hansen
342a8dd18feSDaniel Mackconfig LEDS_LT3593
343a8dd18feSDaniel Mack	tristate "LED driver for LT3593 controllers"
3440bae35e1SJohannes Berg	depends on LEDS_CLASS
345d09e1666SH Hartley Sweeten	depends on GENERIC_GPIO
346a8dd18feSDaniel Mack	help
347a8dd18feSDaniel Mack	  This option enables support for LEDs driven by a Linear Technology
348a8dd18feSDaniel Mack	  LT3593 controller. This controller uses a special one-wire pulse
349a8dd18feSDaniel Mack	  coding protocol to set the brightness.
350a8dd18feSDaniel Mack
351ed4a10b4SMichael Hennerichconfig LEDS_ADP5520
352ed4a10b4SMichael Hennerich	tristate "LED Support for ADP5520/ADP5501 PMIC"
3530bae35e1SJohannes Berg	depends on LEDS_CLASS
354d09e1666SH Hartley Sweeten	depends on PMIC_ADP5520
355ed4a10b4SMichael Hennerich	help
356ed4a10b4SMichael Hennerich	  This option enables support for on-chip LED drivers found
357ed4a10b4SMichael Hennerich	  on Analog Devices ADP5520/ADP5501 PMICs.
358ed4a10b4SMichael Hennerich
359ed4a10b4SMichael Hennerich	  To compile this driver as a module, choose M here: the module will
360ed4a10b4SMichael Hennerich	  be called leds-adp5520.
361ed4a10b4SMichael Hennerich
36272dcd8d0SBob Rodgersconfig LEDS_DELL_NETBOOKS
36372dcd8d0SBob Rodgers	tristate "External LED on Dell Business Netbooks"
3640bae35e1SJohannes Berg	depends on LEDS_CLASS
36572dcd8d0SBob Rodgers	depends on X86 && ACPI_WMI
36672dcd8d0SBob Rodgers	help
36772dcd8d0SBob Rodgers	  This adds support for the Latitude 2100 and similar
36872dcd8d0SBob Rodgers	  notebooks that have an external LED.
36972dcd8d0SBob Rodgers
3707fdcef8aSPhilippe Rétornazconfig LEDS_MC13783
3717fdcef8aSPhilippe Rétornaz	tristate "LED Support for MC13783 PMIC"
3720bae35e1SJohannes Berg	depends on LEDS_CLASS
3737fdcef8aSPhilippe Rétornaz	depends on MFD_MC13783
3747fdcef8aSPhilippe Rétornaz	help
3757fdcef8aSPhilippe Rétornaz	  This option enable support for on-chip LED drivers found
3767fdcef8aSPhilippe Rétornaz	  on Freescale Semiconductor MC13783 PMIC.
3777fdcef8aSPhilippe Rétornaz
37811efe71fSSimon Guinotconfig LEDS_NS2
37911efe71fSSimon Guinot	tristate "LED support for Network Space v2 GPIO LEDs"
3800bae35e1SJohannes Berg	depends on LEDS_CLASS
381b12e2c12SPaul Bolle	depends on MACH_NETSPACE_V2 || MACH_INETSPACE_V2 || \
382ecee1e47SSimon Guinot		   MACH_NETSPACE_MAX_V2 || MACH_D2NET_V2 || \
383ecee1e47SSimon Guinot		   MACH_NETSPACE_V2_DT || MACH_INETSPACE_V2_DT || \
3847f9871d9SSimon Guinot		   MACH_NETSPACE_MAX_V2_DT || MACH_NETSPACE_MINI_V2_DT
38511efe71fSSimon Guinot	default y
38611efe71fSSimon Guinot	help
38711efe71fSSimon Guinot	  This option enable support for the dual-GPIO LED found on the
38811efe71fSSimon Guinot	  Network Space v2 board (and parents). This include Internet Space v2,
38911efe71fSSimon Guinot	  Network Space (Max) v2 and d2 Network v2 boards.
39011efe71fSSimon Guinot
39124467832SSimon Guinotconfig LEDS_NETXBIG
39224467832SSimon Guinot	tristate "LED support for Big Network series LEDs"
39324467832SSimon Guinot	depends on MACH_NET2BIG_V2 || MACH_NET5BIG_V2
3942504f6daSAxel Lin	depends on LEDS_CLASS
39524467832SSimon Guinot	default y
39624467832SSimon Guinot	help
39724467832SSimon Guinot	  This option enable support for LEDs found on the LaCie 2Big
39824467832SSimon Guinot	  and 5Big Network v2 boards. The LEDs are wired to a CPLD and are
39924467832SSimon Guinot	  controlled through a GPIO extension bus.
40024467832SSimon Guinot
4017d9e7e9fSPaul Parsonsconfig LEDS_ASIC3
4027d9e7e9fSPaul Parsons	bool "LED support for the HTC ASIC3"
4039473c4c1SAxel Lin	depends on LEDS_CLASS=y
4047d9e7e9fSPaul Parsons	depends on MFD_ASIC3
4057d9e7e9fSPaul Parsons	default y
4067d9e7e9fSPaul Parsons	help
4077d9e7e9fSPaul Parsons	  This option enables support for the LEDs on the HTC ASIC3. The HTC
4087d9e7e9fSPaul Parsons	  ASIC3 LED GPIOs are inputs, not outputs, thus the leds-gpio driver
4097d9e7e9fSPaul Parsons	  cannot be used. This driver supports hardware blinking with an on+off
4107d9e7e9fSPaul Parsons	  period from 62ms to 125s. Say Y to enable LEDs on the HP iPAQ hx4700.
4117d9e7e9fSPaul Parsons
412f59b6f9fSMagnus Dammconfig LEDS_RENESAS_TPU
413f59b6f9fSMagnus Damm	bool "LED support for Renesas TPU"
4149473c4c1SAxel Lin	depends on LEDS_CLASS=y && HAVE_CLK && GENERIC_GPIO
415f59b6f9fSMagnus Damm	help
416f59b6f9fSMagnus Damm	  This option enables build of the LED TPU platform driver,
417f59b6f9fSMagnus Damm	  suitable to drive any TPU channel on newer Renesas SoCs.
418f59b6f9fSMagnus Damm	  The driver controls the GPIO pin connected to the LED via
419f59b6f9fSMagnus Damm	  the GPIO framework and expects the LED to be connected to
420f59b6f9fSMagnus Damm	  a pin that can be driven in both GPIO mode and using TPU
421f59b6f9fSMagnus Damm	  pin function. The latter to support brightness control.
422f59b6f9fSMagnus Damm	  Brightness control is supported but hardware blinking is not.
423f59b6f9fSMagnus Damm
424a6d511e5SNeilBrownconfig LEDS_TCA6507
425a6d511e5SNeilBrown	tristate "LED Support for TCA6507 I2C chip"
426a6d511e5SNeilBrown	depends on LEDS_CLASS && I2C
427a6d511e5SNeilBrown	help
428a6d511e5SNeilBrown	  This option enables support for LEDs connected to TC6507
429a6d511e5SNeilBrown	  LED driver chips accessed via the I2C bus.
430a6d511e5SNeilBrown	  Driver support brightness control and hardware-assisted blinking.
431a6d511e5SNeilBrown
4328584cb82SDonggeun Kimconfig LEDS_MAX8997
4338584cb82SDonggeun Kim	tristate "LED support for MAX8997 PMIC"
4348584cb82SDonggeun Kim	depends on LEDS_CLASS && MFD_MAX8997
4358584cb82SDonggeun Kim	help
4368584cb82SDonggeun Kim	  This option enables support for on-chip LED drivers on
4378584cb82SDonggeun Kim	  MAXIM MAX8997 PMIC.
4388584cb82SDonggeun Kim
439b98d13c7SG.Shark Jeongconfig LEDS_LM355x
440b98d13c7SG.Shark Jeong	tristate "LED support for LM355x Chips, LM3554 and LM3556"
44132abb478SG.Shark Jeong	depends on LEDS_CLASS && I2C
44232abb478SG.Shark Jeong	select REGMAP_I2C
44332abb478SG.Shark Jeong	help
444b98d13c7SG.Shark Jeong	  This option enables support for LEDs connected to LM355x.
445b98d13c7SG.Shark Jeong	  LM355x includes Torch, Flash and Indicator functions.
44632abb478SG.Shark Jeong
447e9a4593cSSebastian Andrzej Siewiorconfig LEDS_OT200
448e9a4593cSSebastian Andrzej Siewior	tristate "LED support for the Bachmann OT200"
449e9a4593cSSebastian Andrzej Siewior	depends on LEDS_CLASS && HAS_IOMEM
450e9a4593cSSebastian Andrzej Siewior	help
451e9a4593cSSebastian Andrzej Siewior	  This option enables support for the LEDs on the Bachmann OT200.
452e9a4593cSSebastian Andrzej Siewior	  Say Y to enable LEDs on the Bachmann OT200.
453e9a4593cSSebastian Andrzej Siewior
454b54cf35aSJan-Simon Möllerconfig LEDS_BLINKM
455b54cf35aSJan-Simon Möller	tristate "LED support for the BlinkM I2C RGB LED"
456b54cf35aSJan-Simon Möller	depends on LEDS_CLASS
457b54cf35aSJan-Simon Möller	depends on I2C
458b54cf35aSJan-Simon Möller	help
459b54cf35aSJan-Simon Möller	  This option enables support for the BlinkM RGB LED connected
460b54cf35aSJan-Simon Möller	  through I2C. Say Y to enable support for the BlinkM LED.
461b54cf35aSJan-Simon Möller
46224f51e81SBen Dooksconfig LEDS_TRIGGERS
46324f51e81SBen Dooks	bool "LED Trigger support"
4640bae35e1SJohannes Berg	depends on LEDS_CLASS
46524f51e81SBen Dooks	help
46624f51e81SBen Dooks	  This option enables trigger support for the leds class.
46724f51e81SBen Dooks	  These triggers allow kernel events to drive the LEDs and can
46824f51e81SBen Dooks	  be configured via sysfs. If unsure, say Y.
46924f51e81SBen Dooks
470d09e1666SH Hartley Sweetencomment "LED Triggers"
471d09e1666SH Hartley Sweeten
4726655c6feSRichard Purdieconfig LEDS_TRIGGER_TIMER
4736655c6feSRichard Purdie	tristate "LED Timer Trigger"
4740bae35e1SJohannes Berg	depends on LEDS_TRIGGERS
4756655c6feSRichard Purdie	help
4766655c6feSRichard Purdie	  This allows LEDs to be controlled by a programmable timer
4774c79141dSMárton Németh	  via sysfs. Some LED hardware can be programmed to start
4784c79141dSMárton Németh	  blinking the LED without any further software interaction.
479395cf969SPaul Bolle	  For more details read Documentation/leds/leds-class.txt.
4804c79141dSMárton Németh
4814c79141dSMárton Németh	  If unsure, say Y.
4826655c6feSRichard Purdie
4835e417281SFabio Baltiericonfig LEDS_TRIGGER_ONESHOT
4845e417281SFabio Baltieri	tristate "LED One-shot Trigger"
4855e417281SFabio Baltieri	depends on LEDS_TRIGGERS
4865e417281SFabio Baltieri	help
4875e417281SFabio Baltieri	  This allows LEDs to blink in one-shot pulses with parameters
4885e417281SFabio Baltieri	  controlled via sysfs.  It's useful to notify the user on
4895e417281SFabio Baltieri	  sporadic events, when there are no clear begin and end trap points,
4905e417281SFabio Baltieri	  or on dense events, where this blinks the LED at constant rate if
4915e417281SFabio Baltieri	  rearmed continuously.
4925e417281SFabio Baltieri
4935e417281SFabio Baltieri	  It also shows how to use the led_blink_set_oneshot() function.
4945e417281SFabio Baltieri
4955e417281SFabio Baltieri	  If unsure, say Y.
4965e417281SFabio Baltieri
4972bfb646cSRichard Purdieconfig LEDS_TRIGGER_IDE_DISK
498baa351eaSBen Dooks	bool "LED IDE Disk Trigger"
499d09e1666SH Hartley Sweeten	depends on IDE_GD_ATA
5000bae35e1SJohannes Berg	depends on LEDS_TRIGGERS
5012bfb646cSRichard Purdie	help
5022bfb646cSRichard Purdie	  This allows LEDs to be controlled by IDE disk activity.
5032bfb646cSRichard Purdie	  If unsure, say Y.
5042bfb646cSRichard Purdie
505891c668bSAtsushi Nemotoconfig LEDS_TRIGGER_HEARTBEAT
506891c668bSAtsushi Nemoto	tristate "LED Heartbeat Trigger"
5070bae35e1SJohannes Berg	depends on LEDS_TRIGGERS
508891c668bSAtsushi Nemoto	help
509891c668bSAtsushi Nemoto	  This allows LEDs to be controlled by a CPU load average.
510891c668bSAtsushi Nemoto	  The flash frequency is a hyperbolic function of the 1-minute
511891c668bSAtsushi Nemoto	  load average.
512891c668bSAtsushi Nemoto	  If unsure, say Y.
513891c668bSAtsushi Nemoto
514132e9306SRodolfo Giometticonfig LEDS_TRIGGER_BACKLIGHT
515132e9306SRodolfo Giometti	tristate "LED backlight Trigger"
5160bae35e1SJohannes Berg	depends on LEDS_TRIGGERS
517132e9306SRodolfo Giometti	help
518132e9306SRodolfo Giometti	  This allows LEDs to be controlled as a backlight device: they
519132e9306SRodolfo Giometti	  turn off and on when the display is blanked and unblanked.
520132e9306SRodolfo Giometti
521132e9306SRodolfo Giometti	  If unsure, say N.
522132e9306SRodolfo Giometti
5238f88731dSBryan Wuconfig LEDS_TRIGGER_CPU
5248f88731dSBryan Wu	bool "LED CPU Trigger"
5258f88731dSBryan Wu	depends on LEDS_TRIGGERS
5268f88731dSBryan Wu	help
5278f88731dSBryan Wu	  This allows LEDs to be controlled by active CPUs. This shows
5288f88731dSBryan Wu	  the active CPUs across an array of LEDs so you can see which
5298f88731dSBryan Wu	  CPUs are active on the system at any given moment.
5308f88731dSBryan Wu
5318f88731dSBryan Wu	  If unsure, say N.
5328f88731dSBryan Wu
53317354bfeSFelipe Balbiconfig LEDS_TRIGGER_GPIO
53417354bfeSFelipe Balbi	tristate "LED GPIO Trigger"
5350bae35e1SJohannes Berg	depends on LEDS_TRIGGERS
53617354bfeSFelipe Balbi	depends on GPIOLIB
53717354bfeSFelipe Balbi	help
53817354bfeSFelipe Balbi	  This allows LEDs to be controlled by gpio events. It's good
53917354bfeSFelipe Balbi	  when using gpios as switches and triggering the needed LEDs
54017354bfeSFelipe Balbi	  from there. One use case is n810's keypad LEDs that could
54117354bfeSFelipe Balbi	  be triggered by this trigger when user slides up to show
54217354bfeSFelipe Balbi	  keypad.
54317354bfeSFelipe Balbi
54417354bfeSFelipe Balbi	  If unsure, say N.
54517354bfeSFelipe Balbi
546060856c7SNick Forbesconfig LEDS_TRIGGER_DEFAULT_ON
547060856c7SNick Forbes	tristate "LED Default ON Trigger"
5480bae35e1SJohannes Berg	depends on LEDS_TRIGGERS
549060856c7SNick Forbes	help
550060856c7SNick Forbes	  This allows LEDs to be initialised in the ON state.
551060856c7SNick Forbes	  If unsure, say Y.
552060856c7SNick Forbes
553268cb38eSAdam Nielsencomment "iptables trigger is under Netfilter config (LED target)"
554268cb38eSAdam Nielsen	depends on LEDS_TRIGGERS
555268cb38eSAdam Nielsen
55644e1e9f8SShuah Khanconfig LEDS_TRIGGER_TRANSIENT
55744e1e9f8SShuah Khan	tristate "LED Transient Trigger"
55844e1e9f8SShuah Khan	depends on LEDS_TRIGGERS
55944e1e9f8SShuah Khan	help
56044e1e9f8SShuah Khan	  This allows one time activation of a transient state on
561dff67758SJesper Dangaard Brouer	  GPIO/PWM based hardware.
56244e1e9f8SShuah Khan	  If unsure, say Y.
56344e1e9f8SShuah Khan
56466242f7eSJan Engelhardtendif # NEW_LEDS
565