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 18*d09e1666SH Hartley Sweetenif LEDS_CLASS 19*d09e1666SH Hartley Sweeten 2024f51e81SBen Dookscomment "LED drivers" 21c3bc9956SRichard Purdie 220a2f915bSHaojian Zhuangconfig LEDS_88PM860X 230a2f915bSHaojian Zhuang tristate "LED Support for Marvell 88PM860x PMIC" 240a2f915bSHaojian Zhuang depends on LEDS_CLASS && 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" 31*d09e1666SH 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" 38*d09e1666SH 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" 45*d09e1666SH 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" 52*d09e1666SH 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)" 59*d09e1666SH 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" 65*d09e1666SH 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 703b2e46f8SRod Whitbyconfig LEDS_FSG 713b2e46f8SRod Whitby tristate "LED Support for the Freecom FSG-3" 72*d09e1666SH Hartley Sweeten depends on MACH_FSG 733b2e46f8SRod Whitby help 743b2e46f8SRod Whitby This option enables support for the LEDs on the Freecom FSG-3. 753b2e46f8SRod Whitby 760d75565fSKristian Kielhofnerconfig LEDS_WRAP 770d75565fSKristian Kielhofner tristate "LED Support for the WRAP series LEDs" 78*d09e1666SH Hartley Sweeten depends on SCx200_GPIO 790d75565fSKristian Kielhofner help 800d75565fSKristian Kielhofner This option enables support for the PCEngines WRAP programmable LEDs. 810d75565fSKristian Kielhofner 82ec9a943cSConstantin Baranovconfig LEDS_ALIX2 83ec9a943cSConstantin Baranov tristate "LED Support for ALIX.2 and ALIX.3 series" 84*d09e1666SH Hartley Sweeten depends on X86 && !GPIO_CS5535 && !CS5535_GPIO 85ec9a943cSConstantin Baranov help 86ec9a943cSConstantin Baranov This option enables support for the PCEngines ALIX.2 and ALIX.3 LEDs. 872216c6e8STobias Mueller You have to set leds-alix2.force=1 for boards with Award BIOS. 88ec9a943cSConstantin Baranov 89bd4009afSArnaud Patardconfig LEDS_H1940 90bd4009afSArnaud Patard tristate "LED Support for iPAQ H1940 device" 91*d09e1666SH Hartley Sweeten depends on ARCH_H1940 92bd4009afSArnaud Patard help 93bd4009afSArnaud Patard This option enables support for the LEDs on the h1940. 94bd4009afSArnaud Patard 95f3b6b6cdSYoichi Yuasaconfig LEDS_COBALT_QUBE 96f3b6b6cdSYoichi Yuasa tristate "LED Support for the Cobalt Qube series front LED" 97*d09e1666SH Hartley Sweeten depends on MIPS_COBALT 982fea6f35SFlorian Fainelli help 99f3b6b6cdSYoichi Yuasa This option enables support for the front LED on Cobalt Qube series 1002fea6f35SFlorian Fainelli 10197da7aafSYoichi Yuasaconfig LEDS_COBALT_RAQ 10297da7aafSYoichi Yuasa bool "LED Support for the Cobalt Raq series" 103ec149619SYoichi Yuasa depends on LEDS_CLASS=y && MIPS_COBALT 10497da7aafSYoichi Yuasa select LEDS_TRIGGERS 10597da7aafSYoichi Yuasa help 10697da7aafSYoichi Yuasa This option enables support for the Cobalt Raq series LEDs. 10797da7aafSYoichi Yuasa 1085843492cSDavid S. Millerconfig LEDS_SUNFIRE 1095843492cSDavid S. Miller tristate "LED support for SunFire servers." 110*d09e1666SH Hartley Sweeten depends on SPARC64 1115843492cSDavid S. Miller select LEDS_TRIGGERS 1125843492cSDavid S. Miller help 1135843492cSDavid S. Miller This option enables support for the Left, Middle, and Right 1145843492cSDavid S. Miller LEDs on the I/O and CPU boards of SunFire UltraSPARC servers. 1155843492cSDavid S. Miller 116d39a7a63SKristoffer Ericsonconfig LEDS_HP6XX 117d39a7a63SKristoffer Ericson tristate "LED Support for the HP Jornada 6xx" 118*d09e1666SH Hartley Sweeten depends on SH_HP6XX 119d39a7a63SKristoffer Ericson help 120692105b8SMatt LaPlante This option enables LED support for the handheld 121d39a7a63SKristoffer Ericson HP Jornada 620/660/680/690. 122d39a7a63SKristoffer Ericson 123e14fa824SRiku Voipioconfig LEDS_PCA9532 124e14fa824SRiku Voipio tristate "LED driver for PCA9532 dimmer" 125*d09e1666SH Hartley Sweeten depends on I2C && INPUT && EXPERIMENTAL 126e14fa824SRiku Voipio help 127e14fa824SRiku Voipio This option enables support for NXP pca9532 128692105b8SMatt LaPlante LED controller. It is generally only useful 129e14fa824SRiku Voipio as a platform driver 130e14fa824SRiku Voipio 13122e03f3bSRaphael Assenatconfig LEDS_GPIO 13222e03f3bSRaphael Assenat tristate "LED Support for GPIO connected LEDs" 133*d09e1666SH Hartley Sweeten depends on GENERIC_GPIO 13422e03f3bSRaphael Assenat help 13522e03f3bSRaphael Assenat This option enables support for the LEDs connected to GPIO 13622e03f3bSRaphael Assenat outputs. To be useful the particular board must have LEDs 137a7d878afSTrent Piepho and they must be connected to the GPIO lines. The LEDs must be 138a7d878afSTrent Piepho defined as platform devices and/or OpenFirmware platform devices. 139a7d878afSTrent Piepho The code to use these bindings can be selected below. 140a7d878afSTrent Piepho 141a7d878afSTrent Piephoconfig LEDS_GPIO_PLATFORM 142a7d878afSTrent Piepho bool "Platform device bindings for GPIO LEDs" 143a7d878afSTrent Piepho depends on LEDS_GPIO 144a7d878afSTrent Piepho default y 145a7d878afSTrent Piepho help 146a7d878afSTrent Piepho Let the leds-gpio driver drive LEDs which have been defined as 147a7d878afSTrent Piepho platform devices. If you don't know what this means, say yes. 148a7d878afSTrent Piepho 149a7d878afSTrent Piephoconfig LEDS_GPIO_OF 150a7d878afSTrent Piepho bool "OpenFirmware platform device bindings for GPIO LEDs" 151a7d878afSTrent Piepho depends on LEDS_GPIO && OF_DEVICE 152a7d878afSTrent Piepho default y 153a7d878afSTrent Piepho help 154a7d878afSTrent Piepho Let the leds-gpio driver drive LEDs which have been defined as 155a7d878afSTrent Piepho of_platform devices. For instance, LEDs which are listed in a "dts" 156a7d878afSTrent Piepho file. 15722e03f3bSRaphael Assenat 1585054d39eSAntonio Ospiteconfig LEDS_LP3944 1595054d39eSAntonio Ospite tristate "LED Support for N.S. LP3944 (Fun Light) I2C chip" 160*d09e1666SH Hartley Sweeten depends on I2C 1615054d39eSAntonio Ospite help 1625054d39eSAntonio Ospite This option enables support for LEDs connected to the National 1635054d39eSAntonio Ospite Semiconductor LP3944 Lighting Management Unit (LMU) also known as 1645054d39eSAntonio Ospite Fun Light Chip. 1655054d39eSAntonio Ospite 1665054d39eSAntonio Ospite To compile this driver as a module, choose M here: the 1675054d39eSAntonio Ospite module will be called leds-lp3944. 1685054d39eSAntonio Ospite 169cec035deSMárton Némethconfig LEDS_CLEVO_MAIL 17095dc5768SNémeth Márton tristate "Mail LED on Clevo notebook" 171*d09e1666SH Hartley Sweeten depends on X86 && SERIO_I8042 && DMI 172cec035deSMárton Németh help 173cec035deSMárton Németh This driver makes the mail LED accessible from userspace 174cec035deSMárton Németh programs through the leds subsystem. This LED have three 175cec035deSMárton Németh known mode: off, blink at 0.5Hz and blink at 1Hz. 176cec035deSMárton Németh 17792e015cbSMárton Németh The driver supports two kinds of interface: using ledtrig-timer 17892e015cbSMárton Németh or through /sys/class/leds/clevo::mail/brightness. As this LED 17992e015cbSMárton Németh cannot change it's brightness it blinks instead. The brightness 18092e015cbSMárton Németh value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means 18192e015cbSMárton Németh blink at 1Hz. 182cec035deSMárton Németh 183cec035deSMárton Németh This module can drive the mail LED for the following notebooks: 184cec035deSMárton Németh 185b3ba31f8SMrton Nmeth Clevo D400P 186cec035deSMárton Németh Clevo D410J 187cec035deSMárton Németh Clevo D410V 188cec035deSMárton Németh Clevo D400V/D470V (not tested, but might work) 189cec035deSMárton Németh Clevo M540N 190cec035deSMárton Németh Clevo M5x0N (not tested, but might work) 191cec035deSMárton Németh Positivo Mobile (Clevo M5x0V) 192cec035deSMárton Németh 193b3ba31f8SMrton Nmeth If your model is not listed here you can try the "nodetect" 194692105b8SMatt LaPlante module parameter. 195b3ba31f8SMrton Nmeth 196cec035deSMárton Németh To compile this driver as a module, choose M here: the 197cec035deSMárton Németh module will be called leds-clevo-mail. 198cec035deSMárton Németh 199f46e9203SNate Caseconfig LEDS_PCA955X 200f46e9203SNate Case tristate "LED Support for PCA955x I2C chips" 201*d09e1666SH Hartley Sweeten depends on I2C 202f46e9203SNate Case help 203f46e9203SNate Case This option enables support for LEDs connected to PCA955x 204f46e9203SNate Case LED driver chips accessed via the I2C bus. Supported 205f46e9203SNate Case devices include PCA9550, PCA9551, PCA9552, and PCA9553. 206f46e9203SNate Case 207c746b551SMark Brownconfig LEDS_WM831X_STATUS 208c746b551SMark Brown tristate "LED support for status LEDs on WM831x PMICs" 209*d09e1666SH Hartley Sweeten depends on MFD_WM831X 210c746b551SMark Brown help 211c746b551SMark Brown This option enables support for the status LEDs of the WM831x 212c746b551SMark Brown series of PMICs. 213c746b551SMark Brown 2140081e802SMark Brownconfig LEDS_WM8350 2150081e802SMark Brown tristate "LED Support for WM8350 AudioPlus PMIC" 216*d09e1666SH Hartley Sweeten depends on MFD_WM8350 2170081e802SMark Brown help 2180081e802SMark Brown This option enables support for LEDs driven by the Wolfson 2190081e802SMark Brown Microelectronics WM8350 AudioPlus PMIC. 2200081e802SMark Brown 2219e84561cSMike Rapoportconfig LEDS_DA903X 2229e84561cSMike Rapoport tristate "LED Support for DA9030/DA9034 PMIC" 223*d09e1666SH Hartley Sweeten depends on PMIC_DA903X 2249e84561cSMike Rapoport help 2259e84561cSMike Rapoport This option enables support for on-chip LED drivers found 2269e84561cSMike Rapoport on Dialog Semiconductor DA9030/DA9034 PMICs. 2279e84561cSMike Rapoport 228ac2dd0f1SGuennadi Liakhovetskiconfig LEDS_DAC124S085 229ac2dd0f1SGuennadi Liakhovetski tristate "LED Support for DAC124S085 SPI DAC" 230*d09e1666SH Hartley Sweeten depends on SPI 231ac2dd0f1SGuennadi Liakhovetski help 232ac2dd0f1SGuennadi Liakhovetski This option enables support for DAC124S085 SPI DAC from NatSemi, 233ac2dd0f1SGuennadi Liakhovetski which can be used to control up to four LEDs. 234ac2dd0f1SGuennadi Liakhovetski 23541c42ff5SLuotao Fuconfig LEDS_PWM 23641c42ff5SLuotao Fu tristate "PWM driven LED Support" 237*d09e1666SH Hartley Sweeten depends on HAVE_PWM 23841c42ff5SLuotao Fu help 23941c42ff5SLuotao Fu This option enables support for pwm driven LEDs 24041c42ff5SLuotao Fu 241d4cc6a2eSAntonio Ospiteconfig LEDS_REGULATOR 242d4cc6a2eSAntonio Ospite tristate "REGULATOR driven LED support" 243*d09e1666SH Hartley Sweeten depends on REGULATOR 244d4cc6a2eSAntonio Ospite help 245d4cc6a2eSAntonio Ospite This option enables support for regulator driven LEDs. 246d4cc6a2eSAntonio Ospite 2470b56129bSKim Kyuwonconfig LEDS_BD2802 2480b56129bSKim Kyuwon tristate "LED driver for BD2802 RGB LED" 249*d09e1666SH Hartley Sweeten depends on I2C 2500b56129bSKim Kyuwon help 2510b56129bSKim Kyuwon This option enables support for BD2802GU RGB LED driver chips 2520b56129bSKim Kyuwon accessed via the I2C bus. 2530b56129bSKim Kyuwon 254a328e95bSDave Hansenconfig LEDS_INTEL_SS4200 255a328e95bSDave Hansen tristate "LED driver for Intel NAS SS4200 series" 256*d09e1666SH Hartley Sweeten depends on PCI && DMI 257a328e95bSDave Hansen help 258a328e95bSDave Hansen This option enables support for the Intel SS4200 series of 259a328e95bSDave Hansen Network Attached Storage servers. You may control the hard 260a328e95bSDave Hansen drive or power LEDs on the front panel. Using this driver 261a328e95bSDave Hansen can stop the front LED from blinking after startup. 262a328e95bSDave Hansen 263a8dd18feSDaniel Mackconfig LEDS_LT3593 264a8dd18feSDaniel Mack tristate "LED driver for LT3593 controllers" 265*d09e1666SH Hartley Sweeten depends on GENERIC_GPIO 266a8dd18feSDaniel Mack help 267a8dd18feSDaniel Mack This option enables support for LEDs driven by a Linear Technology 268a8dd18feSDaniel Mack LT3593 controller. This controller uses a special one-wire pulse 269a8dd18feSDaniel Mack coding protocol to set the brightness. 270a8dd18feSDaniel Mack 271ed4a10b4SMichael Hennerichconfig LEDS_ADP5520 272ed4a10b4SMichael Hennerich tristate "LED Support for ADP5520/ADP5501 PMIC" 273*d09e1666SH Hartley Sweeten depends on PMIC_ADP5520 274ed4a10b4SMichael Hennerich help 275ed4a10b4SMichael Hennerich This option enables support for on-chip LED drivers found 276ed4a10b4SMichael Hennerich on Analog Devices ADP5520/ADP5501 PMICs. 277ed4a10b4SMichael Hennerich 278ed4a10b4SMichael Hennerich To compile this driver as a module, choose M here: the module will 279ed4a10b4SMichael Hennerich be called leds-adp5520. 280ed4a10b4SMichael Hennerich 28124f51e81SBen Dooksconfig LEDS_TRIGGERS 28224f51e81SBen Dooks bool "LED Trigger support" 28324f51e81SBen Dooks help 28424f51e81SBen Dooks This option enables trigger support for the leds class. 28524f51e81SBen Dooks These triggers allow kernel events to drive the LEDs and can 28624f51e81SBen Dooks be configured via sysfs. If unsure, say Y. 28724f51e81SBen Dooks 288*d09e1666SH Hartley Sweetenif LEDS_TRIGGERS 289*d09e1666SH Hartley Sweeten 290*d09e1666SH Hartley Sweetencomment "LED Triggers" 291*d09e1666SH Hartley Sweeten 2926655c6feSRichard Purdieconfig LEDS_TRIGGER_TIMER 2936655c6feSRichard Purdie tristate "LED Timer Trigger" 2946655c6feSRichard Purdie help 2956655c6feSRichard Purdie This allows LEDs to be controlled by a programmable timer 2964c79141dSMárton Németh via sysfs. Some LED hardware can be programmed to start 2974c79141dSMárton Németh blinking the LED without any further software interaction. 2984c79141dSMárton Németh For more details read Documentation/leds-class.txt. 2994c79141dSMárton Németh 3004c79141dSMárton Németh If unsure, say Y. 3016655c6feSRichard Purdie 3022bfb646cSRichard Purdieconfig LEDS_TRIGGER_IDE_DISK 303baa351eaSBen Dooks bool "LED IDE Disk Trigger" 304*d09e1666SH Hartley Sweeten depends on IDE_GD_ATA 3052bfb646cSRichard Purdie help 3062bfb646cSRichard Purdie This allows LEDs to be controlled by IDE disk activity. 3072bfb646cSRichard Purdie If unsure, say Y. 3082bfb646cSRichard Purdie 309891c668bSAtsushi Nemotoconfig LEDS_TRIGGER_HEARTBEAT 310891c668bSAtsushi Nemoto tristate "LED Heartbeat Trigger" 311891c668bSAtsushi Nemoto help 312891c668bSAtsushi Nemoto This allows LEDs to be controlled by a CPU load average. 313891c668bSAtsushi Nemoto The flash frequency is a hyperbolic function of the 1-minute 314891c668bSAtsushi Nemoto load average. 315891c668bSAtsushi Nemoto If unsure, say Y. 316891c668bSAtsushi Nemoto 317132e9306SRodolfo Giometticonfig LEDS_TRIGGER_BACKLIGHT 318132e9306SRodolfo Giometti tristate "LED backlight Trigger" 319132e9306SRodolfo Giometti help 320132e9306SRodolfo Giometti This allows LEDs to be controlled as a backlight device: they 321132e9306SRodolfo Giometti turn off and on when the display is blanked and unblanked. 322132e9306SRodolfo Giometti 323132e9306SRodolfo Giometti If unsure, say N. 324132e9306SRodolfo Giometti 32517354bfeSFelipe Balbiconfig LEDS_TRIGGER_GPIO 32617354bfeSFelipe Balbi tristate "LED GPIO Trigger" 32717354bfeSFelipe Balbi depends on GPIOLIB 32817354bfeSFelipe Balbi help 32917354bfeSFelipe Balbi This allows LEDs to be controlled by gpio events. It's good 33017354bfeSFelipe Balbi when using gpios as switches and triggering the needed LEDs 33117354bfeSFelipe Balbi from there. One use case is n810's keypad LEDs that could 33217354bfeSFelipe Balbi be triggered by this trigger when user slides up to show 33317354bfeSFelipe Balbi keypad. 33417354bfeSFelipe Balbi 33517354bfeSFelipe Balbi If unsure, say N. 33617354bfeSFelipe Balbi 337060856c7SNick Forbesconfig LEDS_TRIGGER_DEFAULT_ON 338060856c7SNick Forbes tristate "LED Default ON Trigger" 339060856c7SNick Forbes help 340060856c7SNick Forbes This allows LEDs to be initialised in the ON state. 341060856c7SNick Forbes If unsure, say Y. 342060856c7SNick Forbes 343268cb38eSAdam Nielsencomment "iptables trigger is under Netfilter config (LED target)" 344268cb38eSAdam Nielsen depends on LEDS_TRIGGERS 345268cb38eSAdam Nielsen 346*d09e1666SH Hartley Sweetenendif # LEDS_TRIGGERS 347*d09e1666SH Hartley Sweeten 348*d09e1666SH Hartley Sweetenendif # LEDS_CLASS 349*d09e1666SH Hartley Sweeten 35066242f7eSJan Engelhardtendif # NEW_LEDS 351