xref: /linux/drivers/leds/Kconfig (revision 5ada28bf76752e33dce3d807bf0dfbe6d1b943ad)
166242f7eSJan Engelhardtmenuconfig NEW_LEDS
2c72a1d60SRichard Purdie	bool "LED Support"
3c72a1d60SRichard Purdie	help
4a8d2e7d9SRichard Purdie	  Say Y to enable Linux LED support.  This allows control of supported
5a8d2e7d9SRichard Purdie	  LEDs from both userspace and optionally, by kernel events (triggers).
6a8d2e7d9SRichard Purdie
7a8d2e7d9SRichard Purdie	  This is not related to standard keyboard LEDs which are controlled
8a8d2e7d9SRichard Purdie	  via the input system.
9c72a1d60SRichard Purdie
1066242f7eSJan Engelhardtif NEW_LEDS
1166242f7eSJan Engelhardt
12c72a1d60SRichard Purdieconfig LEDS_CLASS
13*5ada28bfSJohannes Berg	bool "LED Class Support"
14c72a1d60SRichard Purdie	help
15c72a1d60SRichard Purdie	  This option enables the led sysfs class in /sys/class/leds.  You'll
16c72a1d60SRichard Purdie	  need this to do anything useful with LEDs.  If unsure, say N.
17c72a1d60SRichard Purdie
18d09e1666SH Hartley Sweetenif LEDS_CLASS
19d09e1666SH Hartley Sweeten
2024f51e81SBen Dookscomment "LED drivers"
21c3bc9956SRichard Purdie
220a2f915bSHaojian Zhuangconfig LEDS_88PM860X
230a2f915bSHaojian Zhuang	tristate "LED Support for Marvell 88PM860x PMIC"
2437814fdcSRichard Purdie	depends on MFD_88PM860X
250a2f915bSHaojian Zhuang	help
260a2f915bSHaojian Zhuang	  This option enables support for on-chip LED drivers found on Marvell
270a2f915bSHaojian Zhuang	  Semiconductor 88PM8606 PMIC.
280a2f915bSHaojian Zhuang
29de5c9edeSDavid Brownellconfig LEDS_ATMEL_PWM
30de5c9edeSDavid Brownell	tristate "LED Support using Atmel PWM outputs"
31d09e1666SH Hartley Sweeten	depends on ATMEL_PWM
32de5c9edeSDavid Brownell	help
33de5c9edeSDavid Brownell	  This option enables support for LEDs driven using outputs
34de5c9edeSDavid Brownell	  of the dedicated PWM controller found on newer Atmel SOCs.
35de5c9edeSDavid Brownell
364d3cb354SRichard Purdieconfig LEDS_LOCOMO
374d3cb354SRichard Purdie	tristate "LED Support for Locomo device"
38d09e1666SH Hartley Sweeten	depends on SHARP_LOCOMO
394d3cb354SRichard Purdie	help
404d3cb354SRichard Purdie	  This option enables support for the LEDs on Sharp Locomo.
414d3cb354SRichard Purdie	  Zaurus models SL-5500 and SL-5600.
424d3cb354SRichard Purdie
43ac67e23bSPhil Sutterconfig LEDS_MIKROTIK_RB532
44ac67e23bSPhil Sutter	tristate "LED Support for Mikrotik Routerboard 532"
45d09e1666SH Hartley Sweeten	depends on MIKROTIK_RB532
46ac67e23bSPhil Sutter	help
47ac67e23bSPhil Sutter	  This option enables support for the so called "User LED" of
48ac67e23bSPhil Sutter	  Mikrotik's Routerboard 532.
49ac67e23bSPhil Sutter
5054bdc470SBen Dooksconfig LEDS_S3C24XX
5154bdc470SBen Dooks	tristate "LED Support for Samsung S3C24XX GPIO LEDs"
52d09e1666SH Hartley Sweeten	depends on ARCH_S3C2410
5354bdc470SBen Dooks	help
5454bdc470SBen Dooks	  This option enables support for LEDs connected to GPIO lines
5554bdc470SBen Dooks	  on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
5654bdc470SBen Dooks
579becde79SJonathan McDowellconfig LEDS_AMS_DELTA
589becde79SJonathan McDowell	tristate "LED Support for the Amstrad Delta (E3)"
59d09e1666SH Hartley Sweeten	depends on MACH_AMS_DELTA
609becde79SJonathan McDowell	help
619becde79SJonathan McDowell	  This option enables support for the LEDs on Amstrad Delta (E3).
629becde79SJonathan McDowell
631a87d942SChris Bootconfig LEDS_NET48XX
641a87d942SChris Boot	tristate "LED Support for Soekris net48xx series Error LED"
65d09e1666SH Hartley Sweeten	depends on SCx200_GPIO
661a87d942SChris Boot	help
671a87d942SChris Boot	  This option enables support for the Soekris net4801 and net4826 error
681a87d942SChris Boot	  LED.
691a87d942SChris Boot
7014e40f64SBjarke Istrup Pedersenconfig LEDS_NET5501
7114e40f64SBjarke Istrup Pedersen	tristate "LED Support for Soekris net5501 series Error LED"
7237814fdcSRichard Purdie	depends on LEDS_TRIGGERS
7337814fdcSRichard Purdie	depends on X86 && LEDS_GPIO_PLATFORM && GPIO_CS5535
7414e40f64SBjarke Istrup Pedersen	select LEDS_TRIGGER_DEFAULT_ON
7514e40f64SBjarke Istrup Pedersen	default n
7614e40f64SBjarke Istrup Pedersen	help
7714e40f64SBjarke Istrup Pedersen	  Add support for the Soekris net5501 board (detection, error led
7814e40f64SBjarke Istrup Pedersen	  and GPIO).
7914e40f64SBjarke Istrup Pedersen
803b2e46f8SRod Whitbyconfig LEDS_FSG
813b2e46f8SRod Whitby	tristate "LED Support for the Freecom FSG-3"
82d09e1666SH Hartley Sweeten	depends on MACH_FSG
833b2e46f8SRod Whitby	help
843b2e46f8SRod Whitby	  This option enables support for the LEDs on the Freecom FSG-3.
853b2e46f8SRod Whitby
860d75565fSKristian Kielhofnerconfig LEDS_WRAP
870d75565fSKristian Kielhofner	tristate "LED Support for the WRAP series LEDs"
88d09e1666SH Hartley Sweeten	depends on SCx200_GPIO
890d75565fSKristian Kielhofner	help
900d75565fSKristian Kielhofner	  This option enables support for the PCEngines WRAP programmable LEDs.
910d75565fSKristian Kielhofner
92ec9a943cSConstantin Baranovconfig LEDS_ALIX2
93ec9a943cSConstantin Baranov	tristate "LED Support for ALIX.2 and ALIX.3 series"
94d09e1666SH Hartley Sweeten	depends on X86 && !GPIO_CS5535 && !CS5535_GPIO
95ec9a943cSConstantin Baranov	help
96ec9a943cSConstantin Baranov	  This option enables support for the PCEngines ALIX.2 and ALIX.3 LEDs.
972216c6e8STobias Mueller	  You have to set leds-alix2.force=1 for boards with Award BIOS.
98ec9a943cSConstantin Baranov
99bd4009afSArnaud Patardconfig LEDS_H1940
100bd4009afSArnaud Patard	tristate "LED Support for iPAQ H1940 device"
101d09e1666SH Hartley Sweeten	depends on ARCH_H1940
102bd4009afSArnaud Patard	help
103bd4009afSArnaud Patard	  This option enables support for the LEDs on the h1940.
104bd4009afSArnaud Patard
105f3b6b6cdSYoichi Yuasaconfig LEDS_COBALT_QUBE
106f3b6b6cdSYoichi Yuasa	tristate "LED Support for the Cobalt Qube series front LED"
107d09e1666SH Hartley Sweeten	depends on MIPS_COBALT
1082fea6f35SFlorian Fainelli	help
109f3b6b6cdSYoichi Yuasa	  This option enables support for the front LED on Cobalt Qube series
1102fea6f35SFlorian Fainelli
11197da7aafSYoichi Yuasaconfig LEDS_COBALT_RAQ
11297da7aafSYoichi Yuasa	bool "LED Support for the Cobalt Raq series"
113ec149619SYoichi Yuasa	depends on LEDS_CLASS=y && MIPS_COBALT
11497da7aafSYoichi Yuasa	select LEDS_TRIGGERS
11597da7aafSYoichi Yuasa	help
11697da7aafSYoichi Yuasa	  This option enables support for the Cobalt Raq series LEDs.
11797da7aafSYoichi Yuasa
1185843492cSDavid S. Millerconfig LEDS_SUNFIRE
1195843492cSDavid S. Miller	tristate "LED support for SunFire servers."
120d09e1666SH Hartley Sweeten	depends on SPARC64
1215843492cSDavid S. Miller	select LEDS_TRIGGERS
1225843492cSDavid S. Miller	help
1235843492cSDavid S. Miller	  This option enables support for the Left, Middle, and Right
1245843492cSDavid S. Miller	  LEDs on the I/O and CPU boards of SunFire UltraSPARC servers.
1255843492cSDavid S. Miller
126d39a7a63SKristoffer Ericsonconfig LEDS_HP6XX
127d39a7a63SKristoffer Ericson	tristate "LED Support for the HP Jornada 6xx"
128d09e1666SH Hartley Sweeten	depends on SH_HP6XX
129d39a7a63SKristoffer Ericson	help
130692105b8SMatt LaPlante	  This option enables LED support for the handheld
131d39a7a63SKristoffer Ericson	  HP Jornada 620/660/680/690.
132d39a7a63SKristoffer Ericson
133e14fa824SRiku Voipioconfig LEDS_PCA9532
134e14fa824SRiku Voipio	tristate "LED driver for PCA9532 dimmer"
135d09e1666SH Hartley Sweeten	depends on I2C && INPUT && EXPERIMENTAL
136e14fa824SRiku Voipio	help
137e14fa824SRiku Voipio	  This option enables support for NXP pca9532
138692105b8SMatt LaPlante	  LED controller. It is generally only useful
139e14fa824SRiku Voipio	  as a platform driver
140e14fa824SRiku Voipio
14122e03f3bSRaphael Assenatconfig LEDS_GPIO
14222e03f3bSRaphael Assenat	tristate "LED Support for GPIO connected LEDs"
143d09e1666SH Hartley Sweeten	depends on GENERIC_GPIO
14422e03f3bSRaphael Assenat	help
14522e03f3bSRaphael Assenat	  This option enables support for the LEDs connected to GPIO
14622e03f3bSRaphael Assenat	  outputs. To be useful the particular board must have LEDs
147a7d878afSTrent Piepho	  and they must be connected to the GPIO lines.  The LEDs must be
148a7d878afSTrent Piepho	  defined as platform devices and/or OpenFirmware platform devices.
149a7d878afSTrent Piepho	  The code to use these bindings can be selected below.
150a7d878afSTrent Piepho
151a7d878afSTrent Piephoconfig LEDS_GPIO_PLATFORM
152a7d878afSTrent Piepho	bool "Platform device bindings for GPIO LEDs"
153a7d878afSTrent Piepho	depends on LEDS_GPIO
154a7d878afSTrent Piepho	default y
155a7d878afSTrent Piepho	help
156a7d878afSTrent Piepho	  Let the leds-gpio driver drive LEDs which have been defined as
157a7d878afSTrent Piepho	  platform devices.  If you don't know what this means, say yes.
158a7d878afSTrent Piepho
159a7d878afSTrent Piephoconfig LEDS_GPIO_OF
160a7d878afSTrent Piepho	bool "OpenFirmware platform device bindings for GPIO LEDs"
161a7d878afSTrent Piepho	depends on LEDS_GPIO && OF_DEVICE
162a7d878afSTrent Piepho	default y
163a7d878afSTrent Piepho	help
164a7d878afSTrent Piepho	  Let the leds-gpio driver drive LEDs which have been defined as
165a7d878afSTrent Piepho	  of_platform devices.  For instance, LEDs which are listed in a "dts"
166a7d878afSTrent Piepho	  file.
16722e03f3bSRaphael Assenat
1685054d39eSAntonio Ospiteconfig LEDS_LP3944
1695054d39eSAntonio Ospite	tristate "LED Support for N.S. LP3944 (Fun Light) I2C chip"
170d09e1666SH Hartley Sweeten	depends on I2C
1715054d39eSAntonio Ospite	help
1725054d39eSAntonio Ospite	  This option enables support for LEDs connected to the National
1735054d39eSAntonio Ospite	  Semiconductor LP3944 Lighting Management Unit (LMU) also known as
1745054d39eSAntonio Ospite	  Fun Light Chip.
1755054d39eSAntonio Ospite
1765054d39eSAntonio Ospite	  To compile this driver as a module, choose M here: the
1775054d39eSAntonio Ospite	  module will be called leds-lp3944.
1785054d39eSAntonio Ospite
179cec035deSMárton Némethconfig LEDS_CLEVO_MAIL
18095dc5768SNémeth Márton	tristate "Mail LED on Clevo notebook"
181d09e1666SH Hartley Sweeten	depends on X86 && SERIO_I8042 && DMI
182cec035deSMárton Németh	help
183cec035deSMárton Németh	  This driver makes the mail LED accessible from userspace
184cec035deSMárton Németh	  programs through the leds subsystem. This LED have three
185cec035deSMárton Németh	  known mode: off, blink at 0.5Hz and blink at 1Hz.
186cec035deSMárton Németh
18792e015cbSMárton Németh	  The driver supports two kinds of interface: using ledtrig-timer
18892e015cbSMárton Németh	  or through /sys/class/leds/clevo::mail/brightness. As this LED
18992e015cbSMárton Németh	  cannot change it's brightness it blinks instead. The brightness
19092e015cbSMárton Németh	  value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
19192e015cbSMárton Németh	  blink at 1Hz.
192cec035deSMárton Németh
193cec035deSMárton Németh	  This module can drive the mail LED for the following notebooks:
194cec035deSMárton Németh
195b3ba31f8SMrton Nmeth	  	Clevo D400P
196cec035deSMárton Németh	  	Clevo D410J
197cec035deSMárton Németh	  	Clevo D410V
198cec035deSMárton Németh	  	Clevo D400V/D470V (not tested, but might work)
199cec035deSMárton Németh	  	Clevo M540N
200cec035deSMárton Németh	  	Clevo M5x0N (not tested, but might work)
201cec035deSMárton Németh	  	Positivo Mobile (Clevo M5x0V)
202cec035deSMárton Németh
203b3ba31f8SMrton Nmeth	  If your model is not listed here you can try the "nodetect"
204692105b8SMatt LaPlante	  module parameter.
205b3ba31f8SMrton Nmeth
206cec035deSMárton Németh	  To compile this driver as a module, choose M here: the
207cec035deSMárton Németh	  module will be called leds-clevo-mail.
208cec035deSMárton Németh
209f46e9203SNate Caseconfig LEDS_PCA955X
210f46e9203SNate Case	tristate "LED Support for PCA955x I2C chips"
211d09e1666SH Hartley Sweeten	depends on I2C
212f46e9203SNate Case	help
213f46e9203SNate Case	  This option enables support for LEDs connected to PCA955x
214f46e9203SNate Case	  LED driver chips accessed via the I2C bus.  Supported
215f46e9203SNate Case	  devices include PCA9550, PCA9551, PCA9552, and PCA9553.
216f46e9203SNate Case
217c746b551SMark Brownconfig LEDS_WM831X_STATUS
218c746b551SMark Brown	tristate "LED support for status LEDs on WM831x PMICs"
219d09e1666SH Hartley Sweeten	depends on MFD_WM831X
220c746b551SMark Brown	help
221c746b551SMark Brown	  This option enables support for the status LEDs of the WM831x
222c746b551SMark Brown          series of PMICs.
223c746b551SMark Brown
2240081e802SMark Brownconfig LEDS_WM8350
2250081e802SMark Brown	tristate "LED Support for WM8350 AudioPlus PMIC"
226d09e1666SH Hartley Sweeten	depends on MFD_WM8350
2270081e802SMark Brown	help
2280081e802SMark Brown	  This option enables support for LEDs driven by the Wolfson
2290081e802SMark Brown	  Microelectronics WM8350 AudioPlus PMIC.
2300081e802SMark Brown
2319e84561cSMike Rapoportconfig LEDS_DA903X
2329e84561cSMike Rapoport	tristate "LED Support for DA9030/DA9034 PMIC"
233d09e1666SH Hartley Sweeten	depends on PMIC_DA903X
2349e84561cSMike Rapoport	help
2359e84561cSMike Rapoport	  This option enables support for on-chip LED drivers found
2369e84561cSMike Rapoport	  on Dialog Semiconductor DA9030/DA9034 PMICs.
2379e84561cSMike Rapoport
238ac2dd0f1SGuennadi Liakhovetskiconfig LEDS_DAC124S085
239ac2dd0f1SGuennadi Liakhovetski	tristate "LED Support for DAC124S085 SPI DAC"
240d09e1666SH Hartley Sweeten	depends on SPI
241ac2dd0f1SGuennadi Liakhovetski	help
242ac2dd0f1SGuennadi Liakhovetski	  This option enables support for DAC124S085 SPI DAC from NatSemi,
243ac2dd0f1SGuennadi Liakhovetski	  which can be used to control up to four LEDs.
244ac2dd0f1SGuennadi Liakhovetski
24541c42ff5SLuotao Fuconfig LEDS_PWM
24641c42ff5SLuotao Fu	tristate "PWM driven LED Support"
247d09e1666SH Hartley Sweeten	depends on HAVE_PWM
24841c42ff5SLuotao Fu	help
24941c42ff5SLuotao Fu	  This option enables support for pwm driven LEDs
25041c42ff5SLuotao Fu
251d4cc6a2eSAntonio Ospiteconfig LEDS_REGULATOR
252d4cc6a2eSAntonio Ospite	tristate "REGULATOR driven LED support"
253d09e1666SH Hartley Sweeten	depends on REGULATOR
254d4cc6a2eSAntonio Ospite	help
255d4cc6a2eSAntonio Ospite	  This option enables support for regulator driven LEDs.
256d4cc6a2eSAntonio Ospite
2570b56129bSKim Kyuwonconfig LEDS_BD2802
2580b56129bSKim Kyuwon	tristate "LED driver for BD2802 RGB LED"
259d09e1666SH Hartley Sweeten	depends on I2C
2600b56129bSKim Kyuwon	help
2610b56129bSKim Kyuwon	  This option enables support for BD2802GU RGB LED driver chips
2620b56129bSKim Kyuwon	  accessed via the I2C bus.
2630b56129bSKim Kyuwon
264a328e95bSDave Hansenconfig LEDS_INTEL_SS4200
265a328e95bSDave Hansen	tristate "LED driver for Intel NAS SS4200 series"
266d09e1666SH Hartley Sweeten	depends on PCI && DMI
267a328e95bSDave Hansen	help
268a328e95bSDave Hansen	  This option enables support for the Intel SS4200 series of
269a328e95bSDave Hansen	  Network Attached Storage servers.  You may control the hard
270a328e95bSDave Hansen	  drive or power LEDs on the front panel.  Using this driver
271a328e95bSDave Hansen	  can stop the front LED from blinking after startup.
272a328e95bSDave Hansen
273a8dd18feSDaniel Mackconfig LEDS_LT3593
274a8dd18feSDaniel Mack	tristate "LED driver for LT3593 controllers"
275d09e1666SH Hartley Sweeten	depends on GENERIC_GPIO
276a8dd18feSDaniel Mack	help
277a8dd18feSDaniel Mack	  This option enables support for LEDs driven by a Linear Technology
278a8dd18feSDaniel Mack	  LT3593 controller. This controller uses a special one-wire pulse
279a8dd18feSDaniel Mack	  coding protocol to set the brightness.
280a8dd18feSDaniel Mack
281ed4a10b4SMichael Hennerichconfig LEDS_ADP5520
282ed4a10b4SMichael Hennerich	tristate "LED Support for ADP5520/ADP5501 PMIC"
283d09e1666SH Hartley Sweeten	depends on PMIC_ADP5520
284ed4a10b4SMichael Hennerich	help
285ed4a10b4SMichael Hennerich	  This option enables support for on-chip LED drivers found
286ed4a10b4SMichael Hennerich	  on Analog Devices ADP5520/ADP5501 PMICs.
287ed4a10b4SMichael Hennerich
288ed4a10b4SMichael Hennerich	  To compile this driver as a module, choose M here: the module will
289ed4a10b4SMichael Hennerich	  be called leds-adp5520.
290ed4a10b4SMichael Hennerich
29172dcd8d0SBob Rodgersconfig LEDS_DELL_NETBOOKS
29272dcd8d0SBob Rodgers	tristate "External LED on Dell Business Netbooks"
29372dcd8d0SBob Rodgers	depends on X86 && ACPI_WMI
29472dcd8d0SBob Rodgers	help
29572dcd8d0SBob Rodgers	  This adds support for the Latitude 2100 and similar
29672dcd8d0SBob Rodgers	  notebooks that have an external LED.
29772dcd8d0SBob Rodgers
2987fdcef8aSPhilippe Rétornazconfig LEDS_MC13783
2997fdcef8aSPhilippe Rétornaz	tristate "LED Support for MC13783 PMIC"
3007fdcef8aSPhilippe Rétornaz	depends on MFD_MC13783
3017fdcef8aSPhilippe Rétornaz	help
3027fdcef8aSPhilippe Rétornaz	  This option enable support for on-chip LED drivers found
3037fdcef8aSPhilippe Rétornaz	  on Freescale Semiconductor MC13783 PMIC.
3047fdcef8aSPhilippe Rétornaz
30511efe71fSSimon Guinotconfig LEDS_NS2
30611efe71fSSimon Guinot	tristate "LED support for Network Space v2 GPIO LEDs"
30784712e9aSSimon Guinot	depends on MACH_NETSPACE_V2 || MACH_INETSPACE_V2 || MACH_NETSPACE_MAX_V2 || D2NET_V2
30811efe71fSSimon Guinot	default y
30911efe71fSSimon Guinot	help
31011efe71fSSimon Guinot	  This option enable support for the dual-GPIO LED found on the
31111efe71fSSimon Guinot	  Network Space v2 board (and parents). This include Internet Space v2,
31211efe71fSSimon Guinot	  Network Space (Max) v2 and d2 Network v2 boards.
31311efe71fSSimon Guinot
31424467832SSimon Guinotconfig LEDS_NETXBIG
31524467832SSimon Guinot	tristate "LED support for Big Network series LEDs"
31624467832SSimon Guinot	depends on MACH_NET2BIG_V2 || MACH_NET5BIG_V2
31724467832SSimon Guinot	default y
31824467832SSimon Guinot	help
31924467832SSimon Guinot	  This option enable support for LEDs found on the LaCie 2Big
32024467832SSimon Guinot	  and 5Big Network v2 boards. The LEDs are wired to a CPLD and are
32124467832SSimon Guinot	  controlled through a GPIO extension bus.
32224467832SSimon Guinot
32324f51e81SBen Dooksconfig LEDS_TRIGGERS
32424f51e81SBen Dooks	bool "LED Trigger support"
32524f51e81SBen Dooks	help
32624f51e81SBen Dooks	  This option enables trigger support for the leds class.
32724f51e81SBen Dooks	  These triggers allow kernel events to drive the LEDs and can
32824f51e81SBen Dooks	  be configured via sysfs. If unsure, say Y.
32924f51e81SBen Dooks
330d09e1666SH Hartley Sweetenif LEDS_TRIGGERS
331d09e1666SH Hartley Sweeten
332d09e1666SH Hartley Sweetencomment "LED Triggers"
333d09e1666SH Hartley Sweeten
3346655c6feSRichard Purdieconfig LEDS_TRIGGER_TIMER
3356655c6feSRichard Purdie	tristate "LED Timer Trigger"
3366655c6feSRichard Purdie	help
3376655c6feSRichard Purdie	  This allows LEDs to be controlled by a programmable timer
3384c79141dSMárton Németh	  via sysfs. Some LED hardware can be programmed to start
3394c79141dSMárton Németh	  blinking the LED without any further software interaction.
3404c79141dSMárton Németh	  For more details read Documentation/leds-class.txt.
3414c79141dSMárton Németh
3424c79141dSMárton Németh	  If unsure, say Y.
3436655c6feSRichard Purdie
3442bfb646cSRichard Purdieconfig LEDS_TRIGGER_IDE_DISK
345baa351eaSBen Dooks	bool "LED IDE Disk Trigger"
346d09e1666SH Hartley Sweeten	depends on IDE_GD_ATA
3472bfb646cSRichard Purdie	help
3482bfb646cSRichard Purdie	  This allows LEDs to be controlled by IDE disk activity.
3492bfb646cSRichard Purdie	  If unsure, say Y.
3502bfb646cSRichard Purdie
351891c668bSAtsushi Nemotoconfig LEDS_TRIGGER_HEARTBEAT
352891c668bSAtsushi Nemoto	tristate "LED Heartbeat Trigger"
353891c668bSAtsushi Nemoto	help
354891c668bSAtsushi Nemoto	  This allows LEDs to be controlled by a CPU load average.
355891c668bSAtsushi Nemoto	  The flash frequency is a hyperbolic function of the 1-minute
356891c668bSAtsushi Nemoto	  load average.
357891c668bSAtsushi Nemoto	  If unsure, say Y.
358891c668bSAtsushi Nemoto
359132e9306SRodolfo Giometticonfig LEDS_TRIGGER_BACKLIGHT
360132e9306SRodolfo Giometti	tristate "LED backlight Trigger"
361132e9306SRodolfo Giometti	help
362132e9306SRodolfo Giometti	  This allows LEDs to be controlled as a backlight device: they
363132e9306SRodolfo Giometti	  turn off and on when the display is blanked and unblanked.
364132e9306SRodolfo Giometti
365132e9306SRodolfo Giometti	  If unsure, say N.
366132e9306SRodolfo Giometti
36717354bfeSFelipe Balbiconfig LEDS_TRIGGER_GPIO
36817354bfeSFelipe Balbi	tristate "LED GPIO Trigger"
36917354bfeSFelipe Balbi	depends on GPIOLIB
37017354bfeSFelipe Balbi	help
37117354bfeSFelipe Balbi	  This allows LEDs to be controlled by gpio events. It's good
37217354bfeSFelipe Balbi	  when using gpios as switches and triggering the needed LEDs
37317354bfeSFelipe Balbi	  from there. One use case is n810's keypad LEDs that could
37417354bfeSFelipe Balbi	  be triggered by this trigger when user slides up to show
37517354bfeSFelipe Balbi	  keypad.
37617354bfeSFelipe Balbi
37717354bfeSFelipe Balbi	  If unsure, say N.
37817354bfeSFelipe Balbi
379060856c7SNick Forbesconfig LEDS_TRIGGER_DEFAULT_ON
380060856c7SNick Forbes	tristate "LED Default ON Trigger"
381060856c7SNick Forbes	help
382060856c7SNick Forbes	  This allows LEDs to be initialised in the ON state.
383060856c7SNick Forbes	  If unsure, say Y.
384060856c7SNick Forbes
385268cb38eSAdam Nielsencomment "iptables trigger is under Netfilter config (LED target)"
386268cb38eSAdam Nielsen	depends on LEDS_TRIGGERS
387268cb38eSAdam Nielsen
388d09e1666SH Hartley Sweetenendif # LEDS_TRIGGERS
389d09e1666SH Hartley Sweeten
390d09e1666SH Hartley Sweetenendif # LEDS_CLASS
391d09e1666SH Hartley Sweeten
39266242f7eSJan Engelhardtendif # NEW_LEDS
393