xref: /linux/drivers/leds/Kconfig (revision 5ba736311bf6fea25c97e868b7de6d3de8800aba)
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
534d3cb354SRichard Purdieconfig LEDS_LOCOMO
544d3cb354SRichard Purdie	tristate "LED Support for Locomo device"
550bae35e1SJohannes Berg	depends on LEDS_CLASS
56d09e1666SH Hartley Sweeten	depends on SHARP_LOCOMO
574d3cb354SRichard Purdie	help
584d3cb354SRichard Purdie	  This option enables support for the LEDs on Sharp Locomo.
594d3cb354SRichard Purdie	  Zaurus models SL-5500 and SL-5600.
604d3cb354SRichard Purdie
61ac67e23bSPhil Sutterconfig LEDS_MIKROTIK_RB532
62ac67e23bSPhil Sutter	tristate "LED Support for Mikrotik Routerboard 532"
630bae35e1SJohannes Berg	depends on LEDS_CLASS
64d09e1666SH Hartley Sweeten	depends on MIKROTIK_RB532
65ac67e23bSPhil Sutter	help
66ac67e23bSPhil Sutter	  This option enables support for the so called "User LED" of
67ac67e23bSPhil Sutter	  Mikrotik's Routerboard 532.
68ac67e23bSPhil Sutter
6954bdc470SBen Dooksconfig LEDS_S3C24XX
7054bdc470SBen Dooks	tristate "LED Support for Samsung S3C24XX GPIO LEDs"
710bae35e1SJohannes Berg	depends on LEDS_CLASS
72b130d5c2SKukjin Kim	depends on ARCH_S3C24XX
7354bdc470SBen Dooks	help
7454bdc470SBen Dooks	  This option enables support for LEDs connected to GPIO lines
7554bdc470SBen Dooks	  on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
7654bdc470SBen Dooks
771a87d942SChris Bootconfig LEDS_NET48XX
781a87d942SChris Boot	tristate "LED Support for Soekris net48xx series Error LED"
790bae35e1SJohannes Berg	depends on LEDS_CLASS
80d09e1666SH Hartley Sweeten	depends on SCx200_GPIO
811a87d942SChris Boot	help
821a87d942SChris Boot	  This option enables support for the Soekris net4801 and net4826 error
831a87d942SChris Boot	  LED.
841a87d942SChris Boot
853b2e46f8SRod Whitbyconfig LEDS_FSG
863b2e46f8SRod Whitby	tristate "LED Support for the Freecom FSG-3"
870bae35e1SJohannes Berg	depends on LEDS_CLASS
88d09e1666SH Hartley Sweeten	depends on MACH_FSG
893b2e46f8SRod Whitby	help
903b2e46f8SRod Whitby	  This option enables support for the LEDs on the Freecom FSG-3.
913b2e46f8SRod Whitby
920d75565fSKristian Kielhofnerconfig LEDS_WRAP
930d75565fSKristian Kielhofner	tristate "LED Support for the WRAP series LEDs"
940bae35e1SJohannes Berg	depends on LEDS_CLASS
95d09e1666SH Hartley Sweeten	depends on SCx200_GPIO
960d75565fSKristian Kielhofner	help
970d75565fSKristian Kielhofner	  This option enables support for the PCEngines WRAP programmable LEDs.
980d75565fSKristian Kielhofner
99f3b6b6cdSYoichi Yuasaconfig LEDS_COBALT_QUBE
100f3b6b6cdSYoichi Yuasa	tristate "LED Support for the Cobalt Qube series front LED"
1010bae35e1SJohannes Berg	depends on LEDS_CLASS
102d09e1666SH Hartley Sweeten	depends on MIPS_COBALT
1032fea6f35SFlorian Fainelli	help
104f3b6b6cdSYoichi Yuasa	  This option enables support for the front LED on Cobalt Qube series
1052fea6f35SFlorian Fainelli
10697da7aafSYoichi Yuasaconfig LEDS_COBALT_RAQ
10797da7aafSYoichi Yuasa	bool "LED Support for the Cobalt Raq series"
108ec149619SYoichi Yuasa	depends on LEDS_CLASS=y && MIPS_COBALT
10997da7aafSYoichi Yuasa	select LEDS_TRIGGERS
11097da7aafSYoichi Yuasa	help
11197da7aafSYoichi Yuasa	  This option enables support for the Cobalt Raq series LEDs.
11297da7aafSYoichi Yuasa
1135843492cSDavid S. Millerconfig LEDS_SUNFIRE
1145843492cSDavid S. Miller	tristate "LED support for SunFire servers."
1150bae35e1SJohannes Berg	depends on LEDS_CLASS
116d09e1666SH Hartley Sweeten	depends on SPARC64
1175843492cSDavid S. Miller	select LEDS_TRIGGERS
1185843492cSDavid S. Miller	help
1195843492cSDavid S. Miller	  This option enables support for the Left, Middle, and Right
1205843492cSDavid S. Miller	  LEDs on the I/O and CPU boards of SunFire UltraSPARC servers.
1215843492cSDavid S. Miller
122d39a7a63SKristoffer Ericsonconfig LEDS_HP6XX
123d39a7a63SKristoffer Ericson	tristate "LED Support for the HP Jornada 6xx"
1240bae35e1SJohannes Berg	depends on LEDS_CLASS
125d09e1666SH Hartley Sweeten	depends on SH_HP6XX
126d39a7a63SKristoffer Ericson	help
127692105b8SMatt LaPlante	  This option enables LED support for the handheld
128d39a7a63SKristoffer Ericson	  HP Jornada 620/660/680/690.
129d39a7a63SKristoffer Ericson
130e14fa824SRiku Voipioconfig LEDS_PCA9532
131e14fa824SRiku Voipio	tristate "LED driver for PCA9532 dimmer"
1320bae35e1SJohannes Berg	depends on LEDS_CLASS
133d09e1666SH Hartley Sweeten	depends on I2C && INPUT && EXPERIMENTAL
134e14fa824SRiku Voipio	help
135e14fa824SRiku Voipio	  This option enables support for NXP pca9532
136692105b8SMatt LaPlante	  LED controller. It is generally only useful
137e14fa824SRiku Voipio	  as a platform driver
138e14fa824SRiku Voipio
1393c1ab50dSJoachim Eastwoodconfig LEDS_PCA9532_GPIO
1403c1ab50dSJoachim Eastwood	bool "Enable GPIO support for PCA9532"
1413c1ab50dSJoachim Eastwood	depends on LEDS_PCA9532
1423c1ab50dSJoachim Eastwood	depends on GPIOLIB
1433c1ab50dSJoachim Eastwood	help
1443c1ab50dSJoachim Eastwood	  Allow unused pins on PCA9532 to be used as gpio.
1453c1ab50dSJoachim Eastwood
1463c1ab50dSJoachim Eastwood	  To use a pin as gpio pca9532_type in pca9532_platform data needs to
1473c1ab50dSJoachim Eastwood	  set to PCA9532_TYPE_GPIO.
1483c1ab50dSJoachim Eastwood
14922e03f3bSRaphael Assenatconfig LEDS_GPIO
15022e03f3bSRaphael Assenat	tristate "LED Support for GPIO connected LEDs"
1510bae35e1SJohannes Berg	depends on LEDS_CLASS
152d09e1666SH Hartley Sweeten	depends on GENERIC_GPIO
15322e03f3bSRaphael Assenat	help
15422e03f3bSRaphael Assenat	  This option enables support for the LEDs connected to GPIO
15522e03f3bSRaphael Assenat	  outputs. To be useful the particular board must have LEDs
156a7d878afSTrent Piepho	  and they must be connected to the GPIO lines.  The LEDs must be
157a7d878afSTrent Piepho	  defined as platform devices and/or OpenFirmware platform devices.
158a7d878afSTrent Piepho	  The code to use these bindings can be selected below.
159a7d878afSTrent Piepho
1605054d39eSAntonio Ospiteconfig LEDS_LP3944
1615054d39eSAntonio Ospite	tristate "LED Support for N.S. LP3944 (Fun Light) I2C chip"
1620bae35e1SJohannes Berg	depends on LEDS_CLASS
163d09e1666SH Hartley Sweeten	depends on I2C
1645054d39eSAntonio Ospite	help
1655054d39eSAntonio Ospite	  This option enables support for LEDs connected to the National
1665054d39eSAntonio Ospite	  Semiconductor LP3944 Lighting Management Unit (LMU) also known as
1675054d39eSAntonio Ospite	  Fun Light Chip.
1685054d39eSAntonio Ospite
1695054d39eSAntonio Ospite	  To compile this driver as a module, choose M here: the
1705054d39eSAntonio Ospite	  module will be called leds-lp3944.
1715054d39eSAntonio Ospite
172f4920f67SSamu Onkaloconfig LEDS_LP5521
173f4920f67SSamu Onkalo	tristate "LED Support for N.S. LP5521 LED driver chip"
174f4920f67SSamu Onkalo	depends on LEDS_CLASS && I2C
175f4920f67SSamu Onkalo	help
176f4920f67SSamu Onkalo	  If you say yes here you get support for the National Semiconductor
177f4920f67SSamu Onkalo	  LP5521 LED driver. It is 3 channel chip with programmable engines.
178f4920f67SSamu Onkalo	  Driver provides direct control via LED class and interface for
179f4920f67SSamu Onkalo	  programming the engines.
180f4920f67SSamu Onkalo
181f4920f67SSamu Onkaloconfig LEDS_LP5523
182f4920f67SSamu Onkalo	tristate "LED Support for N.S. LP5523 LED driver chip"
183f4920f67SSamu Onkalo	depends on LEDS_CLASS && I2C
184f4920f67SSamu Onkalo	help
185f4920f67SSamu Onkalo	  If you say yes here you get support for the National Semiconductor
186f4920f67SSamu Onkalo	  LP5523 LED driver. It is 9 channel chip with programmable engines.
187f4920f67SSamu Onkalo	  Driver provides direct control via LED class and interface for
188f4920f67SSamu Onkalo	  programming the engines.
189f4920f67SSamu Onkalo
190cec035deSMárton Némethconfig LEDS_CLEVO_MAIL
19195dc5768SNémeth Márton	tristate "Mail LED on Clevo notebook"
1920bae35e1SJohannes Berg	depends on LEDS_CLASS
193d09e1666SH Hartley Sweeten	depends on X86 && SERIO_I8042 && DMI
194cec035deSMárton Németh	help
195cec035deSMárton Németh	  This driver makes the mail LED accessible from userspace
196cec035deSMárton Németh	  programs through the leds subsystem. This LED have three
197cec035deSMárton Németh	  known mode: off, blink at 0.5Hz and blink at 1Hz.
198cec035deSMárton Németh
19992e015cbSMárton Németh	  The driver supports two kinds of interface: using ledtrig-timer
20092e015cbSMárton Németh	  or through /sys/class/leds/clevo::mail/brightness. As this LED
20192e015cbSMárton Németh	  cannot change it's brightness it blinks instead. The brightness
20292e015cbSMárton Németh	  value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
20392e015cbSMárton Németh	  blink at 1Hz.
204cec035deSMárton Németh
205cec035deSMárton Németh	  This module can drive the mail LED for the following notebooks:
206cec035deSMárton Németh
207b3ba31f8SMrton Nmeth	  	Clevo D400P
208cec035deSMárton Németh	  	Clevo D410J
209cec035deSMárton Németh	  	Clevo D410V
210cec035deSMárton Németh	  	Clevo D400V/D470V (not tested, but might work)
211cec035deSMárton Németh	  	Clevo M540N
212cec035deSMárton Németh	  	Clevo M5x0N (not tested, but might work)
213cec035deSMárton Németh	  	Positivo Mobile (Clevo M5x0V)
214cec035deSMárton Németh
215b3ba31f8SMrton Nmeth	  If your model is not listed here you can try the "nodetect"
216692105b8SMatt LaPlante	  module parameter.
217b3ba31f8SMrton Nmeth
218cec035deSMárton Németh	  To compile this driver as a module, choose M here: the
219cec035deSMárton Németh	  module will be called leds-clevo-mail.
220cec035deSMárton Németh
221f46e9203SNate Caseconfig LEDS_PCA955X
222f46e9203SNate Case	tristate "LED Support for PCA955x I2C chips"
2230bae35e1SJohannes Berg	depends on LEDS_CLASS
224d09e1666SH Hartley Sweeten	depends on I2C
225f46e9203SNate Case	help
226f46e9203SNate Case	  This option enables support for LEDs connected to PCA955x
227f46e9203SNate Case	  LED driver chips accessed via the I2C bus.  Supported
228f46e9203SNate Case	  devices include PCA9550, PCA9551, PCA9552, and PCA9553.
229f46e9203SNate Case
23075cb2e1dSPeter Meerwaldconfig LEDS_PCA9633
23175cb2e1dSPeter Meerwald	tristate "LED support for PCA9633 I2C chip"
23275cb2e1dSPeter Meerwald	depends on LEDS_CLASS
23375cb2e1dSPeter Meerwald	depends on I2C
23475cb2e1dSPeter Meerwald	help
23575cb2e1dSPeter Meerwald	  This option enables support for LEDs connected to the PCA9633
23675cb2e1dSPeter Meerwald	  LED driver chip accessed via the I2C bus.
23775cb2e1dSPeter Meerwald
238c746b551SMark Brownconfig LEDS_WM831X_STATUS
239c746b551SMark Brown	tristate "LED support for status LEDs on WM831x PMICs"
2400bae35e1SJohannes Berg	depends on LEDS_CLASS
241d09e1666SH Hartley Sweeten	depends on MFD_WM831X
242c746b551SMark Brown	help
243c746b551SMark Brown	  This option enables support for the status LEDs of the WM831x
244c746b551SMark Brown          series of PMICs.
245c746b551SMark Brown
2460081e802SMark Brownconfig LEDS_WM8350
2470081e802SMark Brown	tristate "LED Support for WM8350 AudioPlus PMIC"
2480bae35e1SJohannes Berg	depends on LEDS_CLASS
249d09e1666SH Hartley Sweeten	depends on MFD_WM8350
2500081e802SMark Brown	help
2510081e802SMark Brown	  This option enables support for LEDs driven by the Wolfson
2520081e802SMark Brown	  Microelectronics WM8350 AudioPlus PMIC.
2530081e802SMark Brown
2549e84561cSMike Rapoportconfig LEDS_DA903X
2559e84561cSMike Rapoport	tristate "LED Support for DA9030/DA9034 PMIC"
2560bae35e1SJohannes Berg	depends on LEDS_CLASS
257d09e1666SH Hartley Sweeten	depends on PMIC_DA903X
2589e84561cSMike Rapoport	help
2599e84561cSMike Rapoport	  This option enables support for on-chip LED drivers found
2609e84561cSMike Rapoport	  on Dialog Semiconductor DA9030/DA9034 PMICs.
2619e84561cSMike Rapoport
262*5ba73631SDavid Dajun Chenconfig LEDS_DA9052
263*5ba73631SDavid Dajun Chen	tristate "Dialog DA9052/DA9053 LEDS"
264*5ba73631SDavid Dajun Chen	depends on LEDS_CLASS
265*5ba73631SDavid Dajun Chen	depends on PMIC_DA9052
266*5ba73631SDavid Dajun Chen	help
267*5ba73631SDavid Dajun Chen	  This option enables support for on-chip LED drivers found
268*5ba73631SDavid Dajun Chen	  on Dialog Semiconductor DA9052-BC and DA9053-AA/Bx PMICs.
269*5ba73631SDavid Dajun Chen
270ac2dd0f1SGuennadi Liakhovetskiconfig LEDS_DAC124S085
271ac2dd0f1SGuennadi Liakhovetski	tristate "LED Support for DAC124S085 SPI DAC"
2720bae35e1SJohannes Berg	depends on LEDS_CLASS
273d09e1666SH Hartley Sweeten	depends on SPI
274ac2dd0f1SGuennadi Liakhovetski	help
275ac2dd0f1SGuennadi Liakhovetski	  This option enables support for DAC124S085 SPI DAC from NatSemi,
276ac2dd0f1SGuennadi Liakhovetski	  which can be used to control up to four LEDs.
277ac2dd0f1SGuennadi Liakhovetski
27841c42ff5SLuotao Fuconfig LEDS_PWM
27941c42ff5SLuotao Fu	tristate "PWM driven LED Support"
2800bae35e1SJohannes Berg	depends on LEDS_CLASS
281d09e1666SH Hartley Sweeten	depends on HAVE_PWM
28241c42ff5SLuotao Fu	help
28341c42ff5SLuotao Fu	  This option enables support for pwm driven LEDs
28441c42ff5SLuotao Fu
285d4cc6a2eSAntonio Ospiteconfig LEDS_REGULATOR
286d4cc6a2eSAntonio Ospite	tristate "REGULATOR driven LED support"
2870bae35e1SJohannes Berg	depends on LEDS_CLASS
288d09e1666SH Hartley Sweeten	depends on REGULATOR
289d4cc6a2eSAntonio Ospite	help
290d4cc6a2eSAntonio Ospite	  This option enables support for regulator driven LEDs.
291d4cc6a2eSAntonio Ospite
2920b56129bSKim Kyuwonconfig LEDS_BD2802
2930b56129bSKim Kyuwon	tristate "LED driver for BD2802 RGB LED"
2940bae35e1SJohannes Berg	depends on LEDS_CLASS
295d09e1666SH Hartley Sweeten	depends on I2C
2960b56129bSKim Kyuwon	help
2970b56129bSKim Kyuwon	  This option enables support for BD2802GU RGB LED driver chips
2980b56129bSKim Kyuwon	  accessed via the I2C bus.
2990b56129bSKim Kyuwon
300a328e95bSDave Hansenconfig LEDS_INTEL_SS4200
301a328e95bSDave Hansen	tristate "LED driver for Intel NAS SS4200 series"
3020bae35e1SJohannes Berg	depends on LEDS_CLASS
303d09e1666SH Hartley Sweeten	depends on PCI && DMI
304a328e95bSDave Hansen	help
305a328e95bSDave Hansen	  This option enables support for the Intel SS4200 series of
306a328e95bSDave Hansen	  Network Attached Storage servers.  You may control the hard
307a328e95bSDave Hansen	  drive or power LEDs on the front panel.  Using this driver
308a328e95bSDave Hansen	  can stop the front LED from blinking after startup.
309a328e95bSDave Hansen
310a8dd18feSDaniel Mackconfig LEDS_LT3593
311a8dd18feSDaniel Mack	tristate "LED driver for LT3593 controllers"
3120bae35e1SJohannes Berg	depends on LEDS_CLASS
313d09e1666SH Hartley Sweeten	depends on GENERIC_GPIO
314a8dd18feSDaniel Mack	help
315a8dd18feSDaniel Mack	  This option enables support for LEDs driven by a Linear Technology
316a8dd18feSDaniel Mack	  LT3593 controller. This controller uses a special one-wire pulse
317a8dd18feSDaniel Mack	  coding protocol to set the brightness.
318a8dd18feSDaniel Mack
319ed4a10b4SMichael Hennerichconfig LEDS_ADP5520
320ed4a10b4SMichael Hennerich	tristate "LED Support for ADP5520/ADP5501 PMIC"
3210bae35e1SJohannes Berg	depends on LEDS_CLASS
322d09e1666SH Hartley Sweeten	depends on PMIC_ADP5520
323ed4a10b4SMichael Hennerich	help
324ed4a10b4SMichael Hennerich	  This option enables support for on-chip LED drivers found
325ed4a10b4SMichael Hennerich	  on Analog Devices ADP5520/ADP5501 PMICs.
326ed4a10b4SMichael Hennerich
327ed4a10b4SMichael Hennerich	  To compile this driver as a module, choose M here: the module will
328ed4a10b4SMichael Hennerich	  be called leds-adp5520.
329ed4a10b4SMichael Hennerich
33072dcd8d0SBob Rodgersconfig LEDS_DELL_NETBOOKS
33172dcd8d0SBob Rodgers	tristate "External LED on Dell Business Netbooks"
3320bae35e1SJohannes Berg	depends on LEDS_CLASS
33372dcd8d0SBob Rodgers	depends on X86 && ACPI_WMI
33472dcd8d0SBob Rodgers	help
33572dcd8d0SBob Rodgers	  This adds support for the Latitude 2100 and similar
33672dcd8d0SBob Rodgers	  notebooks that have an external LED.
33772dcd8d0SBob Rodgers
3387fdcef8aSPhilippe Rétornazconfig LEDS_MC13783
3397fdcef8aSPhilippe Rétornaz	tristate "LED Support for MC13783 PMIC"
3400bae35e1SJohannes Berg	depends on LEDS_CLASS
3417fdcef8aSPhilippe Rétornaz	depends on MFD_MC13783
3427fdcef8aSPhilippe Rétornaz	help
3437fdcef8aSPhilippe Rétornaz	  This option enable support for on-chip LED drivers found
3447fdcef8aSPhilippe Rétornaz	  on Freescale Semiconductor MC13783 PMIC.
3457fdcef8aSPhilippe Rétornaz
34611efe71fSSimon Guinotconfig LEDS_NS2
34711efe71fSSimon Guinot	tristate "LED support for Network Space v2 GPIO LEDs"
3480bae35e1SJohannes Berg	depends on LEDS_CLASS
349b12e2c12SPaul Bolle	depends on MACH_NETSPACE_V2 || MACH_INETSPACE_V2 || \
350b12e2c12SPaul Bolle		   MACH_NETSPACE_MAX_V2 || MACH_D2NET_V2
35111efe71fSSimon Guinot	default y
35211efe71fSSimon Guinot	help
35311efe71fSSimon Guinot	  This option enable support for the dual-GPIO LED found on the
35411efe71fSSimon Guinot	  Network Space v2 board (and parents). This include Internet Space v2,
35511efe71fSSimon Guinot	  Network Space (Max) v2 and d2 Network v2 boards.
35611efe71fSSimon Guinot
35724467832SSimon Guinotconfig LEDS_NETXBIG
35824467832SSimon Guinot	tristate "LED support for Big Network series LEDs"
35924467832SSimon Guinot	depends on MACH_NET2BIG_V2 || MACH_NET5BIG_V2
3602504f6daSAxel Lin	depends on LEDS_CLASS
36124467832SSimon Guinot	default y
36224467832SSimon Guinot	help
36324467832SSimon Guinot	  This option enable support for LEDs found on the LaCie 2Big
36424467832SSimon Guinot	  and 5Big Network v2 boards. The LEDs are wired to a CPLD and are
36524467832SSimon Guinot	  controlled through a GPIO extension bus.
36624467832SSimon Guinot
3677d9e7e9fSPaul Parsonsconfig LEDS_ASIC3
3687d9e7e9fSPaul Parsons	bool "LED support for the HTC ASIC3"
3699d8f776bSAxel Lin	depends on LEDS_CLASS
3707d9e7e9fSPaul Parsons	depends on MFD_ASIC3
3717d9e7e9fSPaul Parsons	default y
3727d9e7e9fSPaul Parsons	help
3737d9e7e9fSPaul Parsons	  This option enables support for the LEDs on the HTC ASIC3. The HTC
3747d9e7e9fSPaul Parsons	  ASIC3 LED GPIOs are inputs, not outputs, thus the leds-gpio driver
3757d9e7e9fSPaul Parsons	  cannot be used. This driver supports hardware blinking with an on+off
3767d9e7e9fSPaul Parsons	  period from 62ms to 125s. Say Y to enable LEDs on the HP iPAQ hx4700.
3777d9e7e9fSPaul Parsons
378f59b6f9fSMagnus Dammconfig LEDS_RENESAS_TPU
379f59b6f9fSMagnus Damm	bool "LED support for Renesas TPU"
380f59b6f9fSMagnus Damm	depends on LEDS_CLASS && HAVE_CLK && GENERIC_GPIO
381f59b6f9fSMagnus Damm	help
382f59b6f9fSMagnus Damm	  This option enables build of the LED TPU platform driver,
383f59b6f9fSMagnus Damm	  suitable to drive any TPU channel on newer Renesas SoCs.
384f59b6f9fSMagnus Damm	  The driver controls the GPIO pin connected to the LED via
385f59b6f9fSMagnus Damm	  the GPIO framework and expects the LED to be connected to
386f59b6f9fSMagnus Damm	  a pin that can be driven in both GPIO mode and using TPU
387f59b6f9fSMagnus Damm	  pin function. The latter to support brightness control.
388f59b6f9fSMagnus Damm	  Brightness control is supported but hardware blinking is not.
389f59b6f9fSMagnus Damm
390a6d511e5SNeilBrownconfig LEDS_TCA6507
391a6d511e5SNeilBrown	tristate "LED Support for TCA6507 I2C chip"
392a6d511e5SNeilBrown	depends on LEDS_CLASS && I2C
393a6d511e5SNeilBrown	help
394a6d511e5SNeilBrown	  This option enables support for LEDs connected to TC6507
395a6d511e5SNeilBrown	  LED driver chips accessed via the I2C bus.
396a6d511e5SNeilBrown	  Driver support brightness control and hardware-assisted blinking.
397a6d511e5SNeilBrown
3988584cb82SDonggeun Kimconfig LEDS_MAX8997
3998584cb82SDonggeun Kim	tristate "LED support for MAX8997 PMIC"
4008584cb82SDonggeun Kim	depends on LEDS_CLASS && MFD_MAX8997
4018584cb82SDonggeun Kim	help
4028584cb82SDonggeun Kim	  This option enables support for on-chip LED drivers on
4038584cb82SDonggeun Kim	  MAXIM MAX8997 PMIC.
4048584cb82SDonggeun Kim
405e9a4593cSSebastian Andrzej Siewiorconfig LEDS_OT200
406e9a4593cSSebastian Andrzej Siewior	tristate "LED support for the Bachmann OT200"
407e9a4593cSSebastian Andrzej Siewior	depends on LEDS_CLASS && HAS_IOMEM
408e9a4593cSSebastian Andrzej Siewior	help
409e9a4593cSSebastian Andrzej Siewior	  This option enables support for the LEDs on the Bachmann OT200.
410e9a4593cSSebastian Andrzej Siewior	  Say Y to enable LEDs on the Bachmann OT200.
411e9a4593cSSebastian Andrzej Siewior
41224f51e81SBen Dooksconfig LEDS_TRIGGERS
41324f51e81SBen Dooks	bool "LED Trigger support"
4140bae35e1SJohannes Berg	depends on LEDS_CLASS
41524f51e81SBen Dooks	help
41624f51e81SBen Dooks	  This option enables trigger support for the leds class.
41724f51e81SBen Dooks	  These triggers allow kernel events to drive the LEDs and can
41824f51e81SBen Dooks	  be configured via sysfs. If unsure, say Y.
41924f51e81SBen Dooks
420d09e1666SH Hartley Sweetencomment "LED Triggers"
421d09e1666SH Hartley Sweeten
4226655c6feSRichard Purdieconfig LEDS_TRIGGER_TIMER
4236655c6feSRichard Purdie	tristate "LED Timer Trigger"
4240bae35e1SJohannes Berg	depends on LEDS_TRIGGERS
4256655c6feSRichard Purdie	help
4266655c6feSRichard Purdie	  This allows LEDs to be controlled by a programmable timer
4274c79141dSMárton Németh	  via sysfs. Some LED hardware can be programmed to start
4284c79141dSMárton Németh	  blinking the LED without any further software interaction.
429395cf969SPaul Bolle	  For more details read Documentation/leds/leds-class.txt.
4304c79141dSMárton Németh
4314c79141dSMárton Németh	  If unsure, say Y.
4326655c6feSRichard Purdie
4332bfb646cSRichard Purdieconfig LEDS_TRIGGER_IDE_DISK
434baa351eaSBen Dooks	bool "LED IDE Disk Trigger"
435d09e1666SH Hartley Sweeten	depends on IDE_GD_ATA
4360bae35e1SJohannes Berg	depends on LEDS_TRIGGERS
4372bfb646cSRichard Purdie	help
4382bfb646cSRichard Purdie	  This allows LEDs to be controlled by IDE disk activity.
4392bfb646cSRichard Purdie	  If unsure, say Y.
4402bfb646cSRichard Purdie
441891c668bSAtsushi Nemotoconfig LEDS_TRIGGER_HEARTBEAT
442891c668bSAtsushi Nemoto	tristate "LED Heartbeat Trigger"
4430bae35e1SJohannes Berg	depends on LEDS_TRIGGERS
444891c668bSAtsushi Nemoto	help
445891c668bSAtsushi Nemoto	  This allows LEDs to be controlled by a CPU load average.
446891c668bSAtsushi Nemoto	  The flash frequency is a hyperbolic function of the 1-minute
447891c668bSAtsushi Nemoto	  load average.
448891c668bSAtsushi Nemoto	  If unsure, say Y.
449891c668bSAtsushi Nemoto
450132e9306SRodolfo Giometticonfig LEDS_TRIGGER_BACKLIGHT
451132e9306SRodolfo Giometti	tristate "LED backlight Trigger"
4520bae35e1SJohannes Berg	depends on LEDS_TRIGGERS
453132e9306SRodolfo Giometti	help
454132e9306SRodolfo Giometti	  This allows LEDs to be controlled as a backlight device: they
455132e9306SRodolfo Giometti	  turn off and on when the display is blanked and unblanked.
456132e9306SRodolfo Giometti
457132e9306SRodolfo Giometti	  If unsure, say N.
458132e9306SRodolfo Giometti
45917354bfeSFelipe Balbiconfig LEDS_TRIGGER_GPIO
46017354bfeSFelipe Balbi	tristate "LED GPIO Trigger"
4610bae35e1SJohannes Berg	depends on LEDS_TRIGGERS
46217354bfeSFelipe Balbi	depends on GPIOLIB
46317354bfeSFelipe Balbi	help
46417354bfeSFelipe Balbi	  This allows LEDs to be controlled by gpio events. It's good
46517354bfeSFelipe Balbi	  when using gpios as switches and triggering the needed LEDs
46617354bfeSFelipe Balbi	  from there. One use case is n810's keypad LEDs that could
46717354bfeSFelipe Balbi	  be triggered by this trigger when user slides up to show
46817354bfeSFelipe Balbi	  keypad.
46917354bfeSFelipe Balbi
47017354bfeSFelipe Balbi	  If unsure, say N.
47117354bfeSFelipe Balbi
472060856c7SNick Forbesconfig LEDS_TRIGGER_DEFAULT_ON
473060856c7SNick Forbes	tristate "LED Default ON Trigger"
4740bae35e1SJohannes Berg	depends on LEDS_TRIGGERS
475060856c7SNick Forbes	help
476060856c7SNick Forbes	  This allows LEDs to be initialised in the ON state.
477060856c7SNick Forbes	  If unsure, say Y.
478060856c7SNick Forbes
479268cb38eSAdam Nielsencomment "iptables trigger is under Netfilter config (LED target)"
480268cb38eSAdam Nielsen	depends on LEDS_TRIGGERS
481268cb38eSAdam Nielsen
48266242f7eSJan Engelhardtendif # NEW_LEDS
483