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 13c72a1d60SRichard Purdie tristate "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 1824f51e81SBen Dookscomment "LED drivers" 19c3bc9956SRichard Purdie 20de5c9edeSDavid Brownellconfig LEDS_ATMEL_PWM 21de5c9edeSDavid Brownell tristate "LED Support using Atmel PWM outputs" 22de5c9edeSDavid Brownell depends on LEDS_CLASS && ATMEL_PWM 23de5c9edeSDavid Brownell help 24de5c9edeSDavid Brownell This option enables support for LEDs driven using outputs 25de5c9edeSDavid Brownell of the dedicated PWM controller found on newer Atmel SOCs. 26de5c9edeSDavid Brownell 274d3cb354SRichard Purdieconfig LEDS_LOCOMO 284d3cb354SRichard Purdie tristate "LED Support for Locomo device" 29bef1f402SRobert P. J. Day depends on LEDS_CLASS && SHARP_LOCOMO 304d3cb354SRichard Purdie help 314d3cb354SRichard Purdie This option enables support for the LEDs on Sharp Locomo. 324d3cb354SRichard Purdie Zaurus models SL-5500 and SL-5600. 334d3cb354SRichard Purdie 34ac67e23bSPhil Sutterconfig LEDS_MIKROTIK_RB532 35ac67e23bSPhil Sutter tristate "LED Support for Mikrotik Routerboard 532" 36ac67e23bSPhil Sutter depends on LEDS_CLASS && MIKROTIK_RB532 37ac67e23bSPhil Sutter help 38ac67e23bSPhil Sutter This option enables support for the so called "User LED" of 39ac67e23bSPhil Sutter Mikrotik's Routerboard 532. 40ac67e23bSPhil Sutter 4154bdc470SBen Dooksconfig LEDS_S3C24XX 4254bdc470SBen Dooks tristate "LED Support for Samsung S3C24XX GPIO LEDs" 4354bdc470SBen Dooks depends on LEDS_CLASS && ARCH_S3C2410 4454bdc470SBen Dooks help 4554bdc470SBen Dooks This option enables support for LEDs connected to GPIO lines 4654bdc470SBen Dooks on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440. 4754bdc470SBen Dooks 489becde79SJonathan McDowellconfig LEDS_AMS_DELTA 499becde79SJonathan McDowell tristate "LED Support for the Amstrad Delta (E3)" 50bef1f402SRobert P. J. Day depends on LEDS_CLASS && MACH_AMS_DELTA 519becde79SJonathan McDowell help 529becde79SJonathan McDowell This option enables support for the LEDs on Amstrad Delta (E3). 539becde79SJonathan McDowell 541a87d942SChris Bootconfig LEDS_NET48XX 551a87d942SChris Boot tristate "LED Support for Soekris net48xx series Error LED" 561a87d942SChris Boot depends on LEDS_CLASS && SCx200_GPIO 571a87d942SChris Boot help 581a87d942SChris Boot This option enables support for the Soekris net4801 and net4826 error 591a87d942SChris Boot LED. 601a87d942SChris Boot 613b2e46f8SRod Whitbyconfig LEDS_FSG 623b2e46f8SRod Whitby tristate "LED Support for the Freecom FSG-3" 633b2e46f8SRod Whitby depends on LEDS_CLASS && MACH_FSG 643b2e46f8SRod Whitby help 653b2e46f8SRod Whitby This option enables support for the LEDs on the Freecom FSG-3. 663b2e46f8SRod Whitby 670d75565fSKristian Kielhofnerconfig LEDS_WRAP 680d75565fSKristian Kielhofner tristate "LED Support for the WRAP series LEDs" 690d75565fSKristian Kielhofner depends on LEDS_CLASS && SCx200_GPIO 700d75565fSKristian Kielhofner help 710d75565fSKristian Kielhofner This option enables support for the PCEngines WRAP programmable LEDs. 720d75565fSKristian Kielhofner 73ec9a943cSConstantin Baranovconfig LEDS_ALIX2 74ec9a943cSConstantin Baranov tristate "LED Support for ALIX.2 and ALIX.3 series" 75ec9a943cSConstantin Baranov depends on LEDS_CLASS && X86 && EXPERIMENTAL 76ec9a943cSConstantin Baranov help 77ec9a943cSConstantin Baranov This option enables support for the PCEngines ALIX.2 and ALIX.3 LEDs. 78*2216c6e8STobias Mueller You have to set leds-alix2.force=1 for boards with Award BIOS. 79ec9a943cSConstantin Baranov 80bd4009afSArnaud Patardconfig LEDS_H1940 81bd4009afSArnaud Patard tristate "LED Support for iPAQ H1940 device" 82247537b9SAdrian Bunk depends on LEDS_CLASS && ARCH_H1940 83bd4009afSArnaud Patard help 84bd4009afSArnaud Patard This option enables support for the LEDs on the h1940. 85bd4009afSArnaud Patard 86f3b6b6cdSYoichi Yuasaconfig LEDS_COBALT_QUBE 87f3b6b6cdSYoichi Yuasa tristate "LED Support for the Cobalt Qube series front LED" 882fea6f35SFlorian Fainelli depends on LEDS_CLASS && MIPS_COBALT 892fea6f35SFlorian Fainelli help 90f3b6b6cdSYoichi Yuasa This option enables support for the front LED on Cobalt Qube series 912fea6f35SFlorian Fainelli 9297da7aafSYoichi Yuasaconfig LEDS_COBALT_RAQ 9397da7aafSYoichi Yuasa bool "LED Support for the Cobalt Raq series" 94ec149619SYoichi Yuasa depends on LEDS_CLASS=y && MIPS_COBALT 9597da7aafSYoichi Yuasa select LEDS_TRIGGERS 9697da7aafSYoichi Yuasa help 9797da7aafSYoichi Yuasa This option enables support for the Cobalt Raq series LEDs. 9897da7aafSYoichi Yuasa 995843492cSDavid S. Millerconfig LEDS_SUNFIRE 1005843492cSDavid S. Miller tristate "LED support for SunFire servers." 1015843492cSDavid S. Miller depends on LEDS_CLASS && SPARC64 1025843492cSDavid S. Miller select LEDS_TRIGGERS 1035843492cSDavid S. Miller help 1045843492cSDavid S. Miller This option enables support for the Left, Middle, and Right 1055843492cSDavid S. Miller LEDs on the I/O and CPU boards of SunFire UltraSPARC servers. 1065843492cSDavid S. Miller 107d39a7a63SKristoffer Ericsonconfig LEDS_HP6XX 108d39a7a63SKristoffer Ericson tristate "LED Support for the HP Jornada 6xx" 109d39a7a63SKristoffer Ericson depends on LEDS_CLASS && SH_HP6XX 110d39a7a63SKristoffer Ericson help 111692105b8SMatt LaPlante This option enables LED support for the handheld 112d39a7a63SKristoffer Ericson HP Jornada 620/660/680/690. 113d39a7a63SKristoffer Ericson 114e14fa824SRiku Voipioconfig LEDS_PCA9532 115e14fa824SRiku Voipio tristate "LED driver for PCA9532 dimmer" 116e14fa824SRiku Voipio depends on LEDS_CLASS && I2C && INPUT && EXPERIMENTAL 117e14fa824SRiku Voipio help 118e14fa824SRiku Voipio This option enables support for NXP pca9532 119692105b8SMatt LaPlante LED controller. It is generally only useful 120e14fa824SRiku Voipio as a platform driver 121e14fa824SRiku Voipio 12222e03f3bSRaphael Assenatconfig LEDS_GPIO 12322e03f3bSRaphael Assenat tristate "LED Support for GPIO connected LEDs" 12422e03f3bSRaphael Assenat depends on LEDS_CLASS && GENERIC_GPIO 12522e03f3bSRaphael Assenat help 12622e03f3bSRaphael Assenat This option enables support for the LEDs connected to GPIO 12722e03f3bSRaphael Assenat outputs. To be useful the particular board must have LEDs 128a7d878afSTrent Piepho and they must be connected to the GPIO lines. The LEDs must be 129a7d878afSTrent Piepho defined as platform devices and/or OpenFirmware platform devices. 130a7d878afSTrent Piepho The code to use these bindings can be selected below. 131a7d878afSTrent Piepho 132a7d878afSTrent Piephoconfig LEDS_GPIO_PLATFORM 133a7d878afSTrent Piepho bool "Platform device bindings for GPIO LEDs" 134a7d878afSTrent Piepho depends on LEDS_GPIO 135a7d878afSTrent Piepho default y 136a7d878afSTrent Piepho help 137a7d878afSTrent Piepho Let the leds-gpio driver drive LEDs which have been defined as 138a7d878afSTrent Piepho platform devices. If you don't know what this means, say yes. 139a7d878afSTrent Piepho 140a7d878afSTrent Piephoconfig LEDS_GPIO_OF 141a7d878afSTrent Piepho bool "OpenFirmware platform device bindings for GPIO LEDs" 142a7d878afSTrent Piepho depends on LEDS_GPIO && OF_DEVICE 143a7d878afSTrent Piepho default y 144a7d878afSTrent Piepho help 145a7d878afSTrent Piepho Let the leds-gpio driver drive LEDs which have been defined as 146a7d878afSTrent Piepho of_platform devices. For instance, LEDs which are listed in a "dts" 147a7d878afSTrent Piepho file. 14822e03f3bSRaphael Assenat 14967a32ec7SFelipe Balbiconfig LEDS_LP5521 15067a32ec7SFelipe Balbi tristate "LED Support for the LP5521 LEDs" 15167a32ec7SFelipe Balbi depends on LEDS_CLASS && I2C 15267a32ec7SFelipe Balbi help 15367a32ec7SFelipe Balbi If you say 'Y' here you get support for the National Semiconductor 15467a32ec7SFelipe Balbi LP5521 LED driver used in n8x0 boards. 15567a32ec7SFelipe Balbi 15667a32ec7SFelipe Balbi This driver can be built as a module by choosing 'M'. The module 15767a32ec7SFelipe Balbi will be called leds-lp5521. 15867a32ec7SFelipe Balbi 159cec035deSMárton Némethconfig LEDS_CLEVO_MAIL 16095dc5768SNémeth Márton tristate "Mail LED on Clevo notebook" 16195dc5768SNémeth Márton depends on LEDS_CLASS && X86 && SERIO_I8042 && DMI 162cec035deSMárton Németh help 163cec035deSMárton Németh This driver makes the mail LED accessible from userspace 164cec035deSMárton Németh programs through the leds subsystem. This LED have three 165cec035deSMárton Németh known mode: off, blink at 0.5Hz and blink at 1Hz. 166cec035deSMárton Németh 16792e015cbSMárton Németh The driver supports two kinds of interface: using ledtrig-timer 16892e015cbSMárton Németh or through /sys/class/leds/clevo::mail/brightness. As this LED 16992e015cbSMárton Németh cannot change it's brightness it blinks instead. The brightness 17092e015cbSMárton Németh value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means 17192e015cbSMárton Németh blink at 1Hz. 172cec035deSMárton Németh 173cec035deSMárton Németh This module can drive the mail LED for the following notebooks: 174cec035deSMárton Németh 175b3ba31f8SMrton Nmeth Clevo D400P 176cec035deSMárton Németh Clevo D410J 177cec035deSMárton Németh Clevo D410V 178cec035deSMárton Németh Clevo D400V/D470V (not tested, but might work) 179cec035deSMárton Németh Clevo M540N 180cec035deSMárton Németh Clevo M5x0N (not tested, but might work) 181cec035deSMárton Németh Positivo Mobile (Clevo M5x0V) 182cec035deSMárton Németh 183b3ba31f8SMrton Nmeth If your model is not listed here you can try the "nodetect" 184692105b8SMatt LaPlante module parameter. 185b3ba31f8SMrton Nmeth 186cec035deSMárton Németh To compile this driver as a module, choose M here: the 187cec035deSMárton Németh module will be called leds-clevo-mail. 188cec035deSMárton Németh 189f46e9203SNate Caseconfig LEDS_PCA955X 190f46e9203SNate Case tristate "LED Support for PCA955x I2C chips" 191f46e9203SNate Case depends on LEDS_CLASS && I2C 192f46e9203SNate Case help 193f46e9203SNate Case This option enables support for LEDs connected to PCA955x 194f46e9203SNate Case LED driver chips accessed via the I2C bus. Supported 195f46e9203SNate Case devices include PCA9550, PCA9551, PCA9552, and PCA9553. 196f46e9203SNate Case 1970081e802SMark Brownconfig LEDS_WM8350 1980081e802SMark Brown tristate "LED Support for WM8350 AudioPlus PMIC" 1990081e802SMark Brown depends on LEDS_CLASS && MFD_WM8350 2000081e802SMark Brown help 2010081e802SMark Brown This option enables support for LEDs driven by the Wolfson 2020081e802SMark Brown Microelectronics WM8350 AudioPlus PMIC. 2030081e802SMark Brown 2049e84561cSMike Rapoportconfig LEDS_DA903X 2059e84561cSMike Rapoport tristate "LED Support for DA9030/DA9034 PMIC" 2069e84561cSMike Rapoport depends on LEDS_CLASS && PMIC_DA903X 2079e84561cSMike Rapoport help 2089e84561cSMike Rapoport This option enables support for on-chip LED drivers found 2099e84561cSMike Rapoport on Dialog Semiconductor DA9030/DA9034 PMICs. 2109e84561cSMike Rapoport 211ac2dd0f1SGuennadi Liakhovetskiconfig LEDS_DAC124S085 212ac2dd0f1SGuennadi Liakhovetski tristate "LED Support for DAC124S085 SPI DAC" 213ac2dd0f1SGuennadi Liakhovetski depends on LEDS_CLASS && SPI 214ac2dd0f1SGuennadi Liakhovetski help 215ac2dd0f1SGuennadi Liakhovetski This option enables support for DAC124S085 SPI DAC from NatSemi, 216ac2dd0f1SGuennadi Liakhovetski which can be used to control up to four LEDs. 217ac2dd0f1SGuennadi Liakhovetski 21841c42ff5SLuotao Fuconfig LEDS_PWM 21941c42ff5SLuotao Fu tristate "PWM driven LED Support" 22041c42ff5SLuotao Fu depends on LEDS_CLASS && HAVE_PWM 22141c42ff5SLuotao Fu help 22241c42ff5SLuotao Fu This option enables support for pwm driven LEDs 22341c42ff5SLuotao Fu 2240b56129bSKim Kyuwonconfig LEDS_BD2802 2250b56129bSKim Kyuwon tristate "LED driver for BD2802 RGB LED" 2260b56129bSKim Kyuwon depends on LEDS_CLASS && I2C 2270b56129bSKim Kyuwon help 2280b56129bSKim Kyuwon This option enables support for BD2802GU RGB LED driver chips 2290b56129bSKim Kyuwon accessed via the I2C bus. 2300b56129bSKim Kyuwon 23124f51e81SBen Dookscomment "LED Triggers" 23224f51e81SBen Dooks 23324f51e81SBen Dooksconfig LEDS_TRIGGERS 23424f51e81SBen Dooks bool "LED Trigger support" 23524f51e81SBen Dooks help 23624f51e81SBen Dooks This option enables trigger support for the leds class. 23724f51e81SBen Dooks These triggers allow kernel events to drive the LEDs and can 23824f51e81SBen Dooks be configured via sysfs. If unsure, say Y. 23924f51e81SBen Dooks 2406655c6feSRichard Purdieconfig LEDS_TRIGGER_TIMER 2416655c6feSRichard Purdie tristate "LED Timer Trigger" 242bef1f402SRobert P. J. Day depends on LEDS_TRIGGERS 2436655c6feSRichard Purdie help 2446655c6feSRichard Purdie This allows LEDs to be controlled by a programmable timer 2454c79141dSMárton Németh via sysfs. Some LED hardware can be programmed to start 2464c79141dSMárton Németh blinking the LED without any further software interaction. 2474c79141dSMárton Németh For more details read Documentation/leds-class.txt. 2484c79141dSMárton Németh 2494c79141dSMárton Németh If unsure, say Y. 2506655c6feSRichard Purdie 2512bfb646cSRichard Purdieconfig LEDS_TRIGGER_IDE_DISK 252baa351eaSBen Dooks bool "LED IDE Disk Trigger" 253806f80a6SBartlomiej Zolnierkiewicz depends on LEDS_TRIGGERS && IDE_GD_ATA 2542bfb646cSRichard Purdie help 2552bfb646cSRichard Purdie This allows LEDs to be controlled by IDE disk activity. 2562bfb646cSRichard Purdie If unsure, say Y. 2572bfb646cSRichard Purdie 258891c668bSAtsushi Nemotoconfig LEDS_TRIGGER_HEARTBEAT 259891c668bSAtsushi Nemoto tristate "LED Heartbeat Trigger" 260bef1f402SRobert P. J. Day depends on LEDS_TRIGGERS 261891c668bSAtsushi Nemoto help 262891c668bSAtsushi Nemoto This allows LEDs to be controlled by a CPU load average. 263891c668bSAtsushi Nemoto The flash frequency is a hyperbolic function of the 1-minute 264891c668bSAtsushi Nemoto load average. 265891c668bSAtsushi Nemoto If unsure, say Y. 266891c668bSAtsushi Nemoto 267132e9306SRodolfo Giometticonfig LEDS_TRIGGER_BACKLIGHT 268132e9306SRodolfo Giometti tristate "LED backlight Trigger" 269132e9306SRodolfo Giometti depends on LEDS_TRIGGERS 270132e9306SRodolfo Giometti help 271132e9306SRodolfo Giometti This allows LEDs to be controlled as a backlight device: they 272132e9306SRodolfo Giometti turn off and on when the display is blanked and unblanked. 273132e9306SRodolfo Giometti 274132e9306SRodolfo Giometti If unsure, say N. 275132e9306SRodolfo Giometti 27617354bfeSFelipe Balbiconfig LEDS_TRIGGER_GPIO 27717354bfeSFelipe Balbi tristate "LED GPIO Trigger" 27817354bfeSFelipe Balbi depends on LEDS_TRIGGERS 27917354bfeSFelipe Balbi depends on GPIOLIB 28017354bfeSFelipe Balbi help 28117354bfeSFelipe Balbi This allows LEDs to be controlled by gpio events. It's good 28217354bfeSFelipe Balbi when using gpios as switches and triggering the needed LEDs 28317354bfeSFelipe Balbi from there. One use case is n810's keypad LEDs that could 28417354bfeSFelipe Balbi be triggered by this trigger when user slides up to show 28517354bfeSFelipe Balbi keypad. 28617354bfeSFelipe Balbi 28717354bfeSFelipe Balbi If unsure, say N. 28817354bfeSFelipe Balbi 289060856c7SNick Forbesconfig LEDS_TRIGGER_DEFAULT_ON 290060856c7SNick Forbes tristate "LED Default ON Trigger" 291060856c7SNick Forbes depends on LEDS_TRIGGERS 292060856c7SNick Forbes help 293060856c7SNick Forbes This allows LEDs to be initialised in the ON state. 294060856c7SNick Forbes If unsure, say Y. 295060856c7SNick Forbes 296268cb38eSAdam Nielsencomment "iptables trigger is under Netfilter config (LED target)" 297268cb38eSAdam Nielsen depends on LEDS_TRIGGERS 298268cb38eSAdam Nielsen 29966242f7eSJan Engelhardtendif # NEW_LEDS 300