xref: /linux/drivers/leds/Kconfig (revision be5ce2f1c93295711be4ae5565f9194ed9776ea7)
1*be5ce2f1SUwe Kleine-Königconfig LEDS_GPIO_REGISTER
2*be5ce2f1SUwe Kleine-König	bool
3*be5ce2f1SUwe Kleine-König	help
4*be5ce2f1SUwe Kleine-König	  This option provides the function gpio_led_register_device.
5*be5ce2f1SUwe Kleine-König	  As this function is used by arch code it must not be compiled as a
6*be5ce2f1SUwe Kleine-König	  module.
7*be5ce2f1SUwe 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
17c72a1d60SRichard Purdieconfig LEDS_CLASS
185ada28bfSJohannes Berg	bool "LED Class Support"
190bae35e1SJohannes Berg	depends on NEW_LEDS
20c72a1d60SRichard Purdie	help
21c72a1d60SRichard Purdie	  This option enables the led sysfs class in /sys/class/leds.  You'll
22c72a1d60SRichard Purdie	  need this to do anything useful with LEDs.  If unsure, say N.
23c72a1d60SRichard Purdie
240bae35e1SJohannes Bergif NEW_LEDS
25d09e1666SH Hartley Sweeten
2624f51e81SBen Dookscomment "LED drivers"
27c3bc9956SRichard Purdie
280a2f915bSHaojian Zhuangconfig LEDS_88PM860X
290a2f915bSHaojian Zhuang	tristate "LED Support for Marvell 88PM860x PMIC"
300bae35e1SJohannes Berg	depends on LEDS_CLASS
3137814fdcSRichard Purdie	depends on MFD_88PM860X
320a2f915bSHaojian Zhuang	help
330a2f915bSHaojian Zhuang	  This option enables support for on-chip LED drivers found on Marvell
340a2f915bSHaojian Zhuang	  Semiconductor 88PM8606 PMIC.
350a2f915bSHaojian Zhuang
36de5c9edeSDavid Brownellconfig LEDS_ATMEL_PWM
37de5c9edeSDavid Brownell	tristate "LED Support using Atmel PWM outputs"
380bae35e1SJohannes Berg	depends on LEDS_CLASS
39d09e1666SH Hartley Sweeten	depends on ATMEL_PWM
40de5c9edeSDavid Brownell	help
41de5c9edeSDavid Brownell	  This option enables support for LEDs driven using outputs
42de5c9edeSDavid Brownell	  of the dedicated PWM controller found on newer Atmel SOCs.
43de5c9edeSDavid Brownell
44b1e6b706SShreshtha Kumar Sahuconfig LEDS_LM3530
45b1e6b706SShreshtha Kumar Sahu	tristate "LCD Backlight driver for LM3530"
46b1e6b706SShreshtha Kumar Sahu	depends on LEDS_CLASS
47b1e6b706SShreshtha Kumar Sahu	depends on I2C
48b1e6b706SShreshtha Kumar Sahu	help
49b1e6b706SShreshtha Kumar Sahu	  This option enables support for the LCD backlight using
50b1e6b706SShreshtha Kumar Sahu	  LM3530 ambient light sensor chip. This ALS chip can be
51b1e6b706SShreshtha Kumar Sahu	  controlled manually or using PWM input or using ambient
52b1e6b706SShreshtha Kumar Sahu	  light automatically.
53b1e6b706SShreshtha Kumar Sahu
544d3cb354SRichard Purdieconfig LEDS_LOCOMO
554d3cb354SRichard Purdie	tristate "LED Support for Locomo device"
560bae35e1SJohannes Berg	depends on LEDS_CLASS
57d09e1666SH Hartley Sweeten	depends on SHARP_LOCOMO
584d3cb354SRichard Purdie	help
594d3cb354SRichard Purdie	  This option enables support for the LEDs on Sharp Locomo.
604d3cb354SRichard Purdie	  Zaurus models SL-5500 and SL-5600.
614d3cb354SRichard Purdie
62ac67e23bSPhil Sutterconfig LEDS_MIKROTIK_RB532
63ac67e23bSPhil Sutter	tristate "LED Support for Mikrotik Routerboard 532"
640bae35e1SJohannes Berg	depends on LEDS_CLASS
65d09e1666SH Hartley Sweeten	depends on MIKROTIK_RB532
66ac67e23bSPhil Sutter	help
67ac67e23bSPhil Sutter	  This option enables support for the so called "User LED" of
68ac67e23bSPhil Sutter	  Mikrotik's Routerboard 532.
69ac67e23bSPhil Sutter
7054bdc470SBen Dooksconfig LEDS_S3C24XX
7154bdc470SBen Dooks	tristate "LED Support for Samsung S3C24XX GPIO LEDs"
720bae35e1SJohannes Berg	depends on LEDS_CLASS
73d09e1666SH Hartley Sweeten	depends on ARCH_S3C2410
7454bdc470SBen Dooks	help
7554bdc470SBen Dooks	  This option enables support for LEDs connected to GPIO lines
7654bdc470SBen Dooks	  on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
7754bdc470SBen Dooks
789becde79SJonathan McDowellconfig LEDS_AMS_DELTA
799becde79SJonathan McDowell	tristate "LED Support for the Amstrad Delta (E3)"
800bae35e1SJohannes Berg	depends on LEDS_CLASS
81d09e1666SH Hartley Sweeten	depends on MACH_AMS_DELTA
829becde79SJonathan McDowell	help
839becde79SJonathan McDowell	  This option enables support for the LEDs on Amstrad Delta (E3).
849becde79SJonathan McDowell
851a87d942SChris Bootconfig LEDS_NET48XX
861a87d942SChris Boot	tristate "LED Support for Soekris net48xx series Error LED"
870bae35e1SJohannes Berg	depends on LEDS_CLASS
88d09e1666SH Hartley Sweeten	depends on SCx200_GPIO
891a87d942SChris Boot	help
901a87d942SChris Boot	  This option enables support for the Soekris net4801 and net4826 error
911a87d942SChris Boot	  LED.
921a87d942SChris Boot
9314e40f64SBjarke Istrup Pedersenconfig LEDS_NET5501
9414e40f64SBjarke Istrup Pedersen	tristate "LED Support for Soekris net5501 series Error LED"
9537814fdcSRichard Purdie	depends on LEDS_TRIGGERS
9637814fdcSRichard Purdie	depends on X86 && LEDS_GPIO_PLATFORM && GPIO_CS5535
9714e40f64SBjarke Istrup Pedersen	select LEDS_TRIGGER_DEFAULT_ON
9814e40f64SBjarke Istrup Pedersen	default n
9914e40f64SBjarke Istrup Pedersen	help
10014e40f64SBjarke Istrup Pedersen	  Add support for the Soekris net5501 board (detection, error led
10114e40f64SBjarke Istrup Pedersen	  and GPIO).
10214e40f64SBjarke Istrup Pedersen
1033b2e46f8SRod Whitbyconfig LEDS_FSG
1043b2e46f8SRod Whitby	tristate "LED Support for the Freecom FSG-3"
1050bae35e1SJohannes Berg	depends on LEDS_CLASS
106d09e1666SH Hartley Sweeten	depends on MACH_FSG
1073b2e46f8SRod Whitby	help
1083b2e46f8SRod Whitby	  This option enables support for the LEDs on the Freecom FSG-3.
1093b2e46f8SRod Whitby
1100d75565fSKristian Kielhofnerconfig LEDS_WRAP
1110d75565fSKristian Kielhofner	tristate "LED Support for the WRAP series LEDs"
1120bae35e1SJohannes Berg	depends on LEDS_CLASS
113d09e1666SH Hartley Sweeten	depends on SCx200_GPIO
1140d75565fSKristian Kielhofner	help
1150d75565fSKristian Kielhofner	  This option enables support for the PCEngines WRAP programmable LEDs.
1160d75565fSKristian Kielhofner
117ec9a943cSConstantin Baranovconfig LEDS_ALIX2
118ec9a943cSConstantin Baranov	tristate "LED Support for ALIX.2 and ALIX.3 series"
1190bae35e1SJohannes Berg	depends on LEDS_CLASS
120d09e1666SH Hartley Sweeten	depends on X86 && !GPIO_CS5535 && !CS5535_GPIO
121ec9a943cSConstantin Baranov	help
122ec9a943cSConstantin Baranov	  This option enables support for the PCEngines ALIX.2 and ALIX.3 LEDs.
1232216c6e8STobias Mueller	  You have to set leds-alix2.force=1 for boards with Award BIOS.
124ec9a943cSConstantin Baranov
125f3b6b6cdSYoichi Yuasaconfig LEDS_COBALT_QUBE
126f3b6b6cdSYoichi Yuasa	tristate "LED Support for the Cobalt Qube series front LED"
1270bae35e1SJohannes Berg	depends on LEDS_CLASS
128d09e1666SH Hartley Sweeten	depends on MIPS_COBALT
1292fea6f35SFlorian Fainelli	help
130f3b6b6cdSYoichi Yuasa	  This option enables support for the front LED on Cobalt Qube series
1312fea6f35SFlorian Fainelli
13297da7aafSYoichi Yuasaconfig LEDS_COBALT_RAQ
13397da7aafSYoichi Yuasa	bool "LED Support for the Cobalt Raq series"
134ec149619SYoichi Yuasa	depends on LEDS_CLASS=y && MIPS_COBALT
13597da7aafSYoichi Yuasa	select LEDS_TRIGGERS
13697da7aafSYoichi Yuasa	help
13797da7aafSYoichi Yuasa	  This option enables support for the Cobalt Raq series LEDs.
13897da7aafSYoichi Yuasa
1395843492cSDavid S. Millerconfig LEDS_SUNFIRE
1405843492cSDavid S. Miller	tristate "LED support for SunFire servers."
1410bae35e1SJohannes Berg	depends on LEDS_CLASS
142d09e1666SH Hartley Sweeten	depends on SPARC64
1435843492cSDavid S. Miller	select LEDS_TRIGGERS
1445843492cSDavid S. Miller	help
1455843492cSDavid S. Miller	  This option enables support for the Left, Middle, and Right
1465843492cSDavid S. Miller	  LEDs on the I/O and CPU boards of SunFire UltraSPARC servers.
1475843492cSDavid S. Miller
148d39a7a63SKristoffer Ericsonconfig LEDS_HP6XX
149d39a7a63SKristoffer Ericson	tristate "LED Support for the HP Jornada 6xx"
1500bae35e1SJohannes Berg	depends on LEDS_CLASS
151d09e1666SH Hartley Sweeten	depends on SH_HP6XX
152d39a7a63SKristoffer Ericson	help
153692105b8SMatt LaPlante	  This option enables LED support for the handheld
154d39a7a63SKristoffer Ericson	  HP Jornada 620/660/680/690.
155d39a7a63SKristoffer Ericson
156e14fa824SRiku Voipioconfig LEDS_PCA9532
157e14fa824SRiku Voipio	tristate "LED driver for PCA9532 dimmer"
1580bae35e1SJohannes Berg	depends on LEDS_CLASS
159d09e1666SH Hartley Sweeten	depends on I2C && INPUT && EXPERIMENTAL
160e14fa824SRiku Voipio	help
161e14fa824SRiku Voipio	  This option enables support for NXP pca9532
162692105b8SMatt LaPlante	  LED controller. It is generally only useful
163e14fa824SRiku Voipio	  as a platform driver
164e14fa824SRiku Voipio
1653c1ab50dSJoachim Eastwoodconfig LEDS_PCA9532_GPIO
1663c1ab50dSJoachim Eastwood	bool "Enable GPIO support for PCA9532"
1673c1ab50dSJoachim Eastwood	depends on LEDS_PCA9532
1683c1ab50dSJoachim Eastwood	depends on GPIOLIB
1693c1ab50dSJoachim Eastwood	help
1703c1ab50dSJoachim Eastwood	  Allow unused pins on PCA9532 to be used as gpio.
1713c1ab50dSJoachim Eastwood
1723c1ab50dSJoachim Eastwood	  To use a pin as gpio pca9532_type in pca9532_platform data needs to
1733c1ab50dSJoachim Eastwood	  set to PCA9532_TYPE_GPIO.
1743c1ab50dSJoachim Eastwood
17522e03f3bSRaphael Assenatconfig LEDS_GPIO
17622e03f3bSRaphael Assenat	tristate "LED Support for GPIO connected LEDs"
1770bae35e1SJohannes Berg	depends on LEDS_CLASS
178d09e1666SH Hartley Sweeten	depends on GENERIC_GPIO
17922e03f3bSRaphael Assenat	help
18022e03f3bSRaphael Assenat	  This option enables support for the LEDs connected to GPIO
18122e03f3bSRaphael Assenat	  outputs. To be useful the particular board must have LEDs
182a7d878afSTrent Piepho	  and they must be connected to the GPIO lines.  The LEDs must be
183a7d878afSTrent Piepho	  defined as platform devices and/or OpenFirmware platform devices.
184a7d878afSTrent Piepho	  The code to use these bindings can be selected below.
185a7d878afSTrent Piepho
186a7d878afSTrent Piephoconfig LEDS_GPIO_PLATFORM
187a7d878afSTrent Piepho	bool "Platform device bindings for GPIO LEDs"
188a7d878afSTrent Piepho	depends on LEDS_GPIO
189a7d878afSTrent Piepho	default y
190a7d878afSTrent Piepho	help
191a7d878afSTrent Piepho	  Let the leds-gpio driver drive LEDs which have been defined as
192a7d878afSTrent Piepho	  platform devices.  If you don't know what this means, say yes.
193a7d878afSTrent Piepho
194a7d878afSTrent Piephoconfig LEDS_GPIO_OF
195a7d878afSTrent Piepho	bool "OpenFirmware platform device bindings for GPIO LEDs"
196a7d878afSTrent Piepho	depends on LEDS_GPIO && OF_DEVICE
197a7d878afSTrent Piepho	default y
198a7d878afSTrent Piepho	help
199a7d878afSTrent Piepho	  Let the leds-gpio driver drive LEDs which have been defined as
200a7d878afSTrent Piepho	  of_platform devices.  For instance, LEDs which are listed in a "dts"
201a7d878afSTrent Piepho	  file.
20222e03f3bSRaphael Assenat
2035054d39eSAntonio Ospiteconfig LEDS_LP3944
2045054d39eSAntonio Ospite	tristate "LED Support for N.S. LP3944 (Fun Light) I2C chip"
2050bae35e1SJohannes Berg	depends on LEDS_CLASS
206d09e1666SH Hartley Sweeten	depends on I2C
2075054d39eSAntonio Ospite	help
2085054d39eSAntonio Ospite	  This option enables support for LEDs connected to the National
2095054d39eSAntonio Ospite	  Semiconductor LP3944 Lighting Management Unit (LMU) also known as
2105054d39eSAntonio Ospite	  Fun Light Chip.
2115054d39eSAntonio Ospite
2125054d39eSAntonio Ospite	  To compile this driver as a module, choose M here: the
2135054d39eSAntonio Ospite	  module will be called leds-lp3944.
2145054d39eSAntonio Ospite
215f4920f67SSamu Onkaloconfig LEDS_LP5521
216f4920f67SSamu Onkalo	tristate "LED Support for N.S. LP5521 LED driver chip"
217f4920f67SSamu Onkalo	depends on LEDS_CLASS && I2C
218f4920f67SSamu Onkalo	help
219f4920f67SSamu Onkalo	  If you say yes here you get support for the National Semiconductor
220f4920f67SSamu Onkalo	  LP5521 LED driver. It is 3 channel chip with programmable engines.
221f4920f67SSamu Onkalo	  Driver provides direct control via LED class and interface for
222f4920f67SSamu Onkalo	  programming the engines.
223f4920f67SSamu Onkalo
224f4920f67SSamu Onkaloconfig LEDS_LP5523
225f4920f67SSamu Onkalo	tristate "LED Support for N.S. LP5523 LED driver chip"
226f4920f67SSamu Onkalo	depends on LEDS_CLASS && I2C
227f4920f67SSamu Onkalo	help
228f4920f67SSamu Onkalo	  If you say yes here you get support for the National Semiconductor
229f4920f67SSamu Onkalo	  LP5523 LED driver. It is 9 channel chip with programmable engines.
230f4920f67SSamu Onkalo	  Driver provides direct control via LED class and interface for
231f4920f67SSamu Onkalo	  programming the engines.
232f4920f67SSamu Onkalo
233cec035deSMárton Némethconfig LEDS_CLEVO_MAIL
23495dc5768SNémeth Márton	tristate "Mail LED on Clevo notebook"
2350bae35e1SJohannes Berg	depends on LEDS_CLASS
236d09e1666SH Hartley Sweeten	depends on X86 && SERIO_I8042 && DMI
237cec035deSMárton Németh	help
238cec035deSMárton Németh	  This driver makes the mail LED accessible from userspace
239cec035deSMárton Németh	  programs through the leds subsystem. This LED have three
240cec035deSMárton Németh	  known mode: off, blink at 0.5Hz and blink at 1Hz.
241cec035deSMárton Németh
24292e015cbSMárton Németh	  The driver supports two kinds of interface: using ledtrig-timer
24392e015cbSMárton Németh	  or through /sys/class/leds/clevo::mail/brightness. As this LED
24492e015cbSMárton Németh	  cannot change it's brightness it blinks instead. The brightness
24592e015cbSMárton Németh	  value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
24692e015cbSMárton Németh	  blink at 1Hz.
247cec035deSMárton Németh
248cec035deSMárton Németh	  This module can drive the mail LED for the following notebooks:
249cec035deSMárton Németh
250b3ba31f8SMrton Nmeth	  	Clevo D400P
251cec035deSMárton Németh	  	Clevo D410J
252cec035deSMárton Németh	  	Clevo D410V
253cec035deSMárton Németh	  	Clevo D400V/D470V (not tested, but might work)
254cec035deSMárton Németh	  	Clevo M540N
255cec035deSMárton Németh	  	Clevo M5x0N (not tested, but might work)
256cec035deSMárton Németh	  	Positivo Mobile (Clevo M5x0V)
257cec035deSMárton Németh
258b3ba31f8SMrton Nmeth	  If your model is not listed here you can try the "nodetect"
259692105b8SMatt LaPlante	  module parameter.
260b3ba31f8SMrton Nmeth
261cec035deSMárton Németh	  To compile this driver as a module, choose M here: the
262cec035deSMárton Németh	  module will be called leds-clevo-mail.
263cec035deSMárton Németh
264f46e9203SNate Caseconfig LEDS_PCA955X
265f46e9203SNate Case	tristate "LED Support for PCA955x I2C chips"
2660bae35e1SJohannes Berg	depends on LEDS_CLASS
267d09e1666SH Hartley Sweeten	depends on I2C
268f46e9203SNate Case	help
269f46e9203SNate Case	  This option enables support for LEDs connected to PCA955x
270f46e9203SNate Case	  LED driver chips accessed via the I2C bus.  Supported
271f46e9203SNate Case	  devices include PCA9550, PCA9551, PCA9552, and PCA9553.
272f46e9203SNate Case
273c746b551SMark Brownconfig LEDS_WM831X_STATUS
274c746b551SMark Brown	tristate "LED support for status LEDs on WM831x PMICs"
2750bae35e1SJohannes Berg	depends on LEDS_CLASS
276d09e1666SH Hartley Sweeten	depends on MFD_WM831X
277c746b551SMark Brown	help
278c746b551SMark Brown	  This option enables support for the status LEDs of the WM831x
279c746b551SMark Brown          series of PMICs.
280c746b551SMark Brown
2810081e802SMark Brownconfig LEDS_WM8350
2820081e802SMark Brown	tristate "LED Support for WM8350 AudioPlus PMIC"
2830bae35e1SJohannes Berg	depends on LEDS_CLASS
284d09e1666SH Hartley Sweeten	depends on MFD_WM8350
2850081e802SMark Brown	help
2860081e802SMark Brown	  This option enables support for LEDs driven by the Wolfson
2870081e802SMark Brown	  Microelectronics WM8350 AudioPlus PMIC.
2880081e802SMark Brown
2899e84561cSMike Rapoportconfig LEDS_DA903X
2909e84561cSMike Rapoport	tristate "LED Support for DA9030/DA9034 PMIC"
2910bae35e1SJohannes Berg	depends on LEDS_CLASS
292d09e1666SH Hartley Sweeten	depends on PMIC_DA903X
2939e84561cSMike Rapoport	help
2949e84561cSMike Rapoport	  This option enables support for on-chip LED drivers found
2959e84561cSMike Rapoport	  on Dialog Semiconductor DA9030/DA9034 PMICs.
2969e84561cSMike Rapoport
297ac2dd0f1SGuennadi Liakhovetskiconfig LEDS_DAC124S085
298ac2dd0f1SGuennadi Liakhovetski	tristate "LED Support for DAC124S085 SPI DAC"
2990bae35e1SJohannes Berg	depends on LEDS_CLASS
300d09e1666SH Hartley Sweeten	depends on SPI
301ac2dd0f1SGuennadi Liakhovetski	help
302ac2dd0f1SGuennadi Liakhovetski	  This option enables support for DAC124S085 SPI DAC from NatSemi,
303ac2dd0f1SGuennadi Liakhovetski	  which can be used to control up to four LEDs.
304ac2dd0f1SGuennadi Liakhovetski
30541c42ff5SLuotao Fuconfig LEDS_PWM
30641c42ff5SLuotao Fu	tristate "PWM driven LED Support"
3070bae35e1SJohannes Berg	depends on LEDS_CLASS
308d09e1666SH Hartley Sweeten	depends on HAVE_PWM
30941c42ff5SLuotao Fu	help
31041c42ff5SLuotao Fu	  This option enables support for pwm driven LEDs
31141c42ff5SLuotao Fu
312d4cc6a2eSAntonio Ospiteconfig LEDS_REGULATOR
313d4cc6a2eSAntonio Ospite	tristate "REGULATOR driven LED support"
3140bae35e1SJohannes Berg	depends on LEDS_CLASS
315d09e1666SH Hartley Sweeten	depends on REGULATOR
316d4cc6a2eSAntonio Ospite	help
317d4cc6a2eSAntonio Ospite	  This option enables support for regulator driven LEDs.
318d4cc6a2eSAntonio Ospite
3190b56129bSKim Kyuwonconfig LEDS_BD2802
3200b56129bSKim Kyuwon	tristate "LED driver for BD2802 RGB LED"
3210bae35e1SJohannes Berg	depends on LEDS_CLASS
322d09e1666SH Hartley Sweeten	depends on I2C
3230b56129bSKim Kyuwon	help
3240b56129bSKim Kyuwon	  This option enables support for BD2802GU RGB LED driver chips
3250b56129bSKim Kyuwon	  accessed via the I2C bus.
3260b56129bSKim Kyuwon
327a328e95bSDave Hansenconfig LEDS_INTEL_SS4200
328a328e95bSDave Hansen	tristate "LED driver for Intel NAS SS4200 series"
3290bae35e1SJohannes Berg	depends on LEDS_CLASS
330d09e1666SH Hartley Sweeten	depends on PCI && DMI
331a328e95bSDave Hansen	help
332a328e95bSDave Hansen	  This option enables support for the Intel SS4200 series of
333a328e95bSDave Hansen	  Network Attached Storage servers.  You may control the hard
334a328e95bSDave Hansen	  drive or power LEDs on the front panel.  Using this driver
335a328e95bSDave Hansen	  can stop the front LED from blinking after startup.
336a328e95bSDave Hansen
337a8dd18feSDaniel Mackconfig LEDS_LT3593
338a8dd18feSDaniel Mack	tristate "LED driver for LT3593 controllers"
3390bae35e1SJohannes Berg	depends on LEDS_CLASS
340d09e1666SH Hartley Sweeten	depends on GENERIC_GPIO
341a8dd18feSDaniel Mack	help
342a8dd18feSDaniel Mack	  This option enables support for LEDs driven by a Linear Technology
343a8dd18feSDaniel Mack	  LT3593 controller. This controller uses a special one-wire pulse
344a8dd18feSDaniel Mack	  coding protocol to set the brightness.
345a8dd18feSDaniel Mack
346ed4a10b4SMichael Hennerichconfig LEDS_ADP5520
347ed4a10b4SMichael Hennerich	tristate "LED Support for ADP5520/ADP5501 PMIC"
3480bae35e1SJohannes Berg	depends on LEDS_CLASS
349d09e1666SH Hartley Sweeten	depends on PMIC_ADP5520
350ed4a10b4SMichael Hennerich	help
351ed4a10b4SMichael Hennerich	  This option enables support for on-chip LED drivers found
352ed4a10b4SMichael Hennerich	  on Analog Devices ADP5520/ADP5501 PMICs.
353ed4a10b4SMichael Hennerich
354ed4a10b4SMichael Hennerich	  To compile this driver as a module, choose M here: the module will
355ed4a10b4SMichael Hennerich	  be called leds-adp5520.
356ed4a10b4SMichael Hennerich
35772dcd8d0SBob Rodgersconfig LEDS_DELL_NETBOOKS
35872dcd8d0SBob Rodgers	tristate "External LED on Dell Business Netbooks"
3590bae35e1SJohannes Berg	depends on LEDS_CLASS
36072dcd8d0SBob Rodgers	depends on X86 && ACPI_WMI
36172dcd8d0SBob Rodgers	help
36272dcd8d0SBob Rodgers	  This adds support for the Latitude 2100 and similar
36372dcd8d0SBob Rodgers	  notebooks that have an external LED.
36472dcd8d0SBob Rodgers
3657fdcef8aSPhilippe Rétornazconfig LEDS_MC13783
3667fdcef8aSPhilippe Rétornaz	tristate "LED Support for MC13783 PMIC"
3670bae35e1SJohannes Berg	depends on LEDS_CLASS
3687fdcef8aSPhilippe Rétornaz	depends on MFD_MC13783
3697fdcef8aSPhilippe Rétornaz	help
3707fdcef8aSPhilippe Rétornaz	  This option enable support for on-chip LED drivers found
3717fdcef8aSPhilippe Rétornaz	  on Freescale Semiconductor MC13783 PMIC.
3727fdcef8aSPhilippe Rétornaz
37311efe71fSSimon Guinotconfig LEDS_NS2
37411efe71fSSimon Guinot	tristate "LED support for Network Space v2 GPIO LEDs"
3750bae35e1SJohannes Berg	depends on LEDS_CLASS
37684712e9aSSimon Guinot	depends on MACH_NETSPACE_V2 || MACH_INETSPACE_V2 || MACH_NETSPACE_MAX_V2 || D2NET_V2
37711efe71fSSimon Guinot	default y
37811efe71fSSimon Guinot	help
37911efe71fSSimon Guinot	  This option enable support for the dual-GPIO LED found on the
38011efe71fSSimon Guinot	  Network Space v2 board (and parents). This include Internet Space v2,
38111efe71fSSimon Guinot	  Network Space (Max) v2 and d2 Network v2 boards.
38211efe71fSSimon Guinot
38324467832SSimon Guinotconfig LEDS_NETXBIG
38424467832SSimon Guinot	tristate "LED support for Big Network series LEDs"
38524467832SSimon Guinot	depends on MACH_NET2BIG_V2 || MACH_NET5BIG_V2
38624467832SSimon Guinot	default y
38724467832SSimon Guinot	help
38824467832SSimon Guinot	  This option enable support for LEDs found on the LaCie 2Big
38924467832SSimon Guinot	  and 5Big Network v2 boards. The LEDs are wired to a CPLD and are
39024467832SSimon Guinot	  controlled through a GPIO extension bus.
39124467832SSimon Guinot
3927d9e7e9fSPaul Parsonsconfig LEDS_ASIC3
3937d9e7e9fSPaul Parsons	bool "LED support for the HTC ASIC3"
3949d8f776bSAxel Lin	depends on LEDS_CLASS
3957d9e7e9fSPaul Parsons	depends on MFD_ASIC3
3967d9e7e9fSPaul Parsons	default y
3977d9e7e9fSPaul Parsons	help
3987d9e7e9fSPaul Parsons	  This option enables support for the LEDs on the HTC ASIC3. The HTC
3997d9e7e9fSPaul Parsons	  ASIC3 LED GPIOs are inputs, not outputs, thus the leds-gpio driver
4007d9e7e9fSPaul Parsons	  cannot be used. This driver supports hardware blinking with an on+off
4017d9e7e9fSPaul Parsons	  period from 62ms to 125s. Say Y to enable LEDs on the HP iPAQ hx4700.
4027d9e7e9fSPaul Parsons
40324f51e81SBen Dooksconfig LEDS_TRIGGERS
40424f51e81SBen Dooks	bool "LED Trigger support"
4050bae35e1SJohannes Berg	depends on LEDS_CLASS
40624f51e81SBen Dooks	help
40724f51e81SBen Dooks	  This option enables trigger support for the leds class.
40824f51e81SBen Dooks	  These triggers allow kernel events to drive the LEDs and can
40924f51e81SBen Dooks	  be configured via sysfs. If unsure, say Y.
41024f51e81SBen Dooks
411d09e1666SH Hartley Sweetencomment "LED Triggers"
412d09e1666SH Hartley Sweeten
4136655c6feSRichard Purdieconfig LEDS_TRIGGER_TIMER
4146655c6feSRichard Purdie	tristate "LED Timer Trigger"
4150bae35e1SJohannes Berg	depends on LEDS_TRIGGERS
4166655c6feSRichard Purdie	help
4176655c6feSRichard Purdie	  This allows LEDs to be controlled by a programmable timer
4184c79141dSMárton Németh	  via sysfs. Some LED hardware can be programmed to start
4194c79141dSMárton Németh	  blinking the LED without any further software interaction.
4204c79141dSMárton Németh	  For more details read Documentation/leds-class.txt.
4214c79141dSMárton Németh
4224c79141dSMárton Németh	  If unsure, say Y.
4236655c6feSRichard Purdie
4242bfb646cSRichard Purdieconfig LEDS_TRIGGER_IDE_DISK
425baa351eaSBen Dooks	bool "LED IDE Disk Trigger"
426d09e1666SH Hartley Sweeten	depends on IDE_GD_ATA
4270bae35e1SJohannes Berg	depends on LEDS_TRIGGERS
4282bfb646cSRichard Purdie	help
4292bfb646cSRichard Purdie	  This allows LEDs to be controlled by IDE disk activity.
4302bfb646cSRichard Purdie	  If unsure, say Y.
4312bfb646cSRichard Purdie
432891c668bSAtsushi Nemotoconfig LEDS_TRIGGER_HEARTBEAT
433891c668bSAtsushi Nemoto	tristate "LED Heartbeat Trigger"
4340bae35e1SJohannes Berg	depends on LEDS_TRIGGERS
435891c668bSAtsushi Nemoto	help
436891c668bSAtsushi Nemoto	  This allows LEDs to be controlled by a CPU load average.
437891c668bSAtsushi Nemoto	  The flash frequency is a hyperbolic function of the 1-minute
438891c668bSAtsushi Nemoto	  load average.
439891c668bSAtsushi Nemoto	  If unsure, say Y.
440891c668bSAtsushi Nemoto
441132e9306SRodolfo Giometticonfig LEDS_TRIGGER_BACKLIGHT
442132e9306SRodolfo Giometti	tristate "LED backlight Trigger"
4430bae35e1SJohannes Berg	depends on LEDS_TRIGGERS
444132e9306SRodolfo Giometti	help
445132e9306SRodolfo Giometti	  This allows LEDs to be controlled as a backlight device: they
446132e9306SRodolfo Giometti	  turn off and on when the display is blanked and unblanked.
447132e9306SRodolfo Giometti
448132e9306SRodolfo Giometti	  If unsure, say N.
449132e9306SRodolfo Giometti
45017354bfeSFelipe Balbiconfig LEDS_TRIGGER_GPIO
45117354bfeSFelipe Balbi	tristate "LED GPIO Trigger"
4520bae35e1SJohannes Berg	depends on LEDS_TRIGGERS
45317354bfeSFelipe Balbi	depends on GPIOLIB
45417354bfeSFelipe Balbi	help
45517354bfeSFelipe Balbi	  This allows LEDs to be controlled by gpio events. It's good
45617354bfeSFelipe Balbi	  when using gpios as switches and triggering the needed LEDs
45717354bfeSFelipe Balbi	  from there. One use case is n810's keypad LEDs that could
45817354bfeSFelipe Balbi	  be triggered by this trigger when user slides up to show
45917354bfeSFelipe Balbi	  keypad.
46017354bfeSFelipe Balbi
46117354bfeSFelipe Balbi	  If unsure, say N.
46217354bfeSFelipe Balbi
463060856c7SNick Forbesconfig LEDS_TRIGGER_DEFAULT_ON
464060856c7SNick Forbes	tristate "LED Default ON Trigger"
4650bae35e1SJohannes Berg	depends on LEDS_TRIGGERS
466060856c7SNick Forbes	help
467060856c7SNick Forbes	  This allows LEDs to be initialised in the ON state.
468060856c7SNick Forbes	  If unsure, say Y.
469060856c7SNick Forbes
470268cb38eSAdam Nielsencomment "iptables trigger is under Netfilter config (LED target)"
471268cb38eSAdam Nielsen	depends on LEDS_TRIGGERS
472268cb38eSAdam Nielsen
47366242f7eSJan Engelhardtendif # NEW_LEDS
474