1config LEDS_GPIO_REGISTER 2 bool 3 help 4 This option provides the function gpio_led_register_device. 5 As this function is used by arch code it must not be compiled as a 6 module. 7 8menuconfig NEW_LEDS 9 bool "LED Support" 10 help 11 Say Y to enable Linux LED support. This allows control of supported 12 LEDs from both userspace and optionally, by kernel events (triggers). 13 14if NEW_LEDS 15 16config LEDS_CLASS 17 tristate "LED Class Support" 18 help 19 This option enables the led sysfs class in /sys/class/leds. You'll 20 need this to do anything useful with LEDs. If unsure, say N. 21 22config LEDS_CLASS_FLASH 23 tristate "LED Flash Class Support" 24 depends on LEDS_CLASS 25 help 26 This option enables the flash led sysfs class in /sys/class/leds. 27 It wrapps LED Class and adds flash LEDs specific sysfs attributes 28 and kernel internal API to it. You'll need this to provide support 29 for the flash related features of a LED device. It can be built 30 as a module. 31 32comment "LED drivers" 33 34config LEDS_88PM860X 35 tristate "LED Support for Marvell 88PM860x PMIC" 36 depends on LEDS_CLASS 37 depends on MFD_88PM860X 38 help 39 This option enables support for on-chip LED drivers found on Marvell 40 Semiconductor 88PM8606 PMIC. 41 42config LEDS_AAT1290 43 tristate "LED support for the AAT1290" 44 depends on LEDS_CLASS_FLASH 45 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS 46 depends on GPIOLIB 47 depends on OF 48 depends on PINCTRL 49 help 50 This option enables support for the LEDs on the AAT1290. 51 52config LEDS_BCM6328 53 tristate "LED Support for Broadcom BCM6328" 54 depends on LEDS_CLASS 55 depends on OF 56 help 57 This option enables support for LEDs connected to the BCM6328 58 LED HW controller accessed via MMIO registers. 59 60config LEDS_BCM6358 61 tristate "LED Support for Broadcom BCM6358" 62 depends on LEDS_CLASS 63 depends on OF 64 help 65 This option enables support for LEDs connected to the BCM6358 66 LED HW controller accessed via MMIO registers. 67 68config LEDS_LM3530 69 tristate "LCD Backlight driver for LM3530" 70 depends on LEDS_CLASS 71 depends on I2C 72 help 73 This option enables support for the LCD backlight using 74 LM3530 ambient light sensor chip. This ALS chip can be 75 controlled manually or using PWM input or using ambient 76 light automatically. 77 78config LEDS_LM3533 79 tristate "LED support for LM3533" 80 depends on LEDS_CLASS 81 depends on MFD_LM3533 82 help 83 This option enables support for the LEDs on National Semiconductor / 84 TI LM3533 Lighting Power chips. 85 86 The LEDs can be controlled directly, through PWM input, or by the 87 ambient-light-sensor interface. The chip supports 88 hardware-accelerated blinking with maximum on and off periods of 9.8 89 and 77 seconds respectively. 90 91config LEDS_LM3642 92 tristate "LED support for LM3642 Chip" 93 depends on LEDS_CLASS && I2C 94 select REGMAP_I2C 95 help 96 This option enables support for LEDs connected to LM3642. 97 The LM3642 is a 4MHz fixed-frequency synchronous boost 98 converter plus 1.5A constant current driver for a high-current 99 white LED. 100 101 102config LEDS_LOCOMO 103 tristate "LED Support for Locomo device" 104 depends on LEDS_CLASS 105 depends on SHARP_LOCOMO 106 help 107 This option enables support for the LEDs on Sharp Locomo. 108 Zaurus models SL-5500 and SL-5600. 109 110config LEDS_MIKROTIK_RB532 111 tristate "LED Support for Mikrotik Routerboard 532" 112 depends on LEDS_CLASS 113 depends on MIKROTIK_RB532 114 help 115 This option enables support for the so called "User LED" of 116 Mikrotik's Routerboard 532. 117 118config LEDS_S3C24XX 119 tristate "LED Support for Samsung S3C24XX GPIO LEDs" 120 depends on LEDS_CLASS 121 depends on ARCH_S3C24XX 122 help 123 This option enables support for LEDs connected to GPIO lines 124 on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440. 125 126config LEDS_NET48XX 127 tristate "LED Support for Soekris net48xx series Error LED" 128 depends on LEDS_CLASS 129 depends on SCx200_GPIO 130 help 131 This option enables support for the Soekris net4801 and net4826 error 132 LED. 133 134config LEDS_FSG 135 tristate "LED Support for the Freecom FSG-3" 136 depends on LEDS_CLASS 137 depends on MACH_FSG 138 help 139 This option enables support for the LEDs on the Freecom FSG-3. 140 141config LEDS_WRAP 142 tristate "LED Support for the WRAP series LEDs" 143 depends on LEDS_CLASS 144 depends on SCx200_GPIO 145 help 146 This option enables support for the PCEngines WRAP programmable LEDs. 147 148config LEDS_COBALT_QUBE 149 tristate "LED Support for the Cobalt Qube series front LED" 150 depends on LEDS_CLASS 151 depends on MIPS_COBALT 152 help 153 This option enables support for the front LED on Cobalt Qube series 154 155config LEDS_COBALT_RAQ 156 bool "LED Support for the Cobalt Raq series" 157 depends on LEDS_CLASS=y && MIPS_COBALT 158 select LEDS_TRIGGERS 159 help 160 This option enables support for the Cobalt Raq series LEDs. 161 162config LEDS_SUNFIRE 163 tristate "LED support for SunFire servers." 164 depends on LEDS_CLASS 165 depends on SPARC64 166 select LEDS_TRIGGERS 167 help 168 This option enables support for the Left, Middle, and Right 169 LEDs on the I/O and CPU boards of SunFire UltraSPARC servers. 170 171config LEDS_IPAQ_MICRO 172 tristate "LED Support for the Compaq iPAQ h3xxx" 173 depends on MFD_IPAQ_MICRO 174 help 175 Choose this option if you want to use the notification LED on 176 Compaq/HP iPAQ h3100 and h3600. 177 178config LEDS_HP6XX 179 tristate "LED Support for the HP Jornada 6xx" 180 depends on LEDS_CLASS 181 depends on SH_HP6XX 182 help 183 This option enables LED support for the handheld 184 HP Jornada 620/660/680/690. 185 186config LEDS_PCA9532 187 tristate "LED driver for PCA9532 dimmer" 188 depends on LEDS_CLASS 189 depends on I2C && INPUT 190 help 191 This option enables support for NXP pca9532 192 LED controller. It is generally only useful 193 as a platform driver 194 195config LEDS_PCA9532_GPIO 196 bool "Enable GPIO support for PCA9532" 197 depends on LEDS_PCA9532 198 depends on GPIOLIB 199 help 200 Allow unused pins on PCA9532 to be used as gpio. 201 202 To use a pin as gpio pca9532_type in pca9532_platform data needs to 203 set to PCA9532_TYPE_GPIO. 204 205config LEDS_GPIO 206 tristate "LED Support for GPIO connected LEDs" 207 depends on LEDS_CLASS 208 depends on GPIOLIB || COMPILE_TEST 209 help 210 This option enables support for the LEDs connected to GPIO 211 outputs. To be useful the particular board must have LEDs 212 and they must be connected to the GPIO lines. The LEDs must be 213 defined as platform devices and/or OpenFirmware platform devices. 214 The code to use these bindings can be selected below. 215 216config LEDS_LP3944 217 tristate "LED Support for N.S. LP3944 (Fun Light) I2C chip" 218 depends on LEDS_CLASS 219 depends on I2C 220 help 221 This option enables support for LEDs connected to the National 222 Semiconductor LP3944 Lighting Management Unit (LMU) also known as 223 Fun Light Chip. 224 225 To compile this driver as a module, choose M here: the 226 module will be called leds-lp3944. 227 228config LEDS_LP55XX_COMMON 229 tristate "Common Driver for TI/National LP5521/5523/55231/5562/8501" 230 depends on LEDS_LP5521 || LEDS_LP5523 || LEDS_LP5562 || LEDS_LP8501 231 select FW_LOADER 232 select FW_LOADER_USER_HELPER_FALLBACK 233 help 234 This option supports common operations for LP5521/5523/55231/5562/8501 235 devices. 236 237config LEDS_LP5521 238 tristate "LED Support for N.S. LP5521 LED driver chip" 239 depends on LEDS_CLASS && I2C 240 select LEDS_LP55XX_COMMON 241 help 242 If you say yes here you get support for the National Semiconductor 243 LP5521 LED driver. It is 3 channel chip with programmable engines. 244 Driver provides direct control via LED class and interface for 245 programming the engines. 246 247config LEDS_LP5523 248 tristate "LED Support for TI/National LP5523/55231 LED driver chip" 249 depends on LEDS_CLASS && I2C 250 select LEDS_LP55XX_COMMON 251 help 252 If you say yes here you get support for TI/National Semiconductor 253 LP5523/55231 LED driver. 254 It is 9 channel chip with programmable engines. 255 Driver provides direct control via LED class and interface for 256 programming the engines. 257 258config LEDS_LP5562 259 tristate "LED Support for TI LP5562 LED driver chip" 260 depends on LEDS_CLASS && I2C 261 select LEDS_LP55XX_COMMON 262 help 263 If you say yes here you get support for TI LP5562 LED driver. 264 It is 4 channels chip with programmable engines. 265 Driver provides direct control via LED class and interface for 266 programming the engines. 267 268config LEDS_LP8501 269 tristate "LED Support for TI LP8501 LED driver chip" 270 depends on LEDS_CLASS && I2C 271 select LEDS_LP55XX_COMMON 272 help 273 If you say yes here you get support for TI LP8501 LED driver. 274 It is 9 channel chip with programmable engines. 275 Driver provides direct control via LED class and interface for 276 programming the engines. 277 It is similar as LP5523, but output power selection is available. 278 And register layout and engine program schemes are different. 279 280config LEDS_LP8788 281 tristate "LED support for the TI LP8788 PMIC" 282 depends on LEDS_CLASS 283 depends on MFD_LP8788 284 help 285 This option enables support for the Keyboard LEDs on the LP8788 PMIC. 286 287config LEDS_LP8860 288 tristate "LED support for the TI LP8860 4 channel LED driver" 289 depends on LEDS_CLASS && I2C 290 select REGMAP_I2C 291 help 292 If you say yes here you get support for the TI LP8860 4 channel 293 LED driver. 294 This option enables support for the display cluster LEDs 295 on the LP8860 4 channel LED driver using the I2C communication 296 bus. 297 298config LEDS_CLEVO_MAIL 299 tristate "Mail LED on Clevo notebook" 300 depends on LEDS_CLASS 301 depends on X86 && SERIO_I8042 && DMI 302 help 303 This driver makes the mail LED accessible from userspace 304 programs through the leds subsystem. This LED have three 305 known mode: off, blink at 0.5Hz and blink at 1Hz. 306 307 The driver supports two kinds of interface: using ledtrig-timer 308 or through /sys/class/leds/clevo::mail/brightness. As this LED 309 cannot change it's brightness it blinks instead. The brightness 310 value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means 311 blink at 1Hz. 312 313 This module can drive the mail LED for the following notebooks: 314 315 Clevo D400P 316 Clevo D410J 317 Clevo D410V 318 Clevo D400V/D470V (not tested, but might work) 319 Clevo M540N 320 Clevo M5x0N (not tested, but might work) 321 Positivo Mobile (Clevo M5x0V) 322 323 If your model is not listed here you can try the "nodetect" 324 module parameter. 325 326 To compile this driver as a module, choose M here: the 327 module will be called leds-clevo-mail. 328 329config LEDS_PCA955X 330 tristate "LED Support for PCA955x I2C chips" 331 depends on LEDS_CLASS 332 depends on I2C 333 help 334 This option enables support for LEDs connected to PCA955x 335 LED driver chips accessed via the I2C bus. Supported 336 devices include PCA9550, PCA9551, PCA9552, and PCA9553. 337 338config LEDS_PCA963X 339 tristate "LED support for PCA963x I2C chip" 340 depends on LEDS_CLASS 341 depends on I2C 342 help 343 This option enables support for LEDs connected to the PCA963x 344 LED driver chip accessed via the I2C bus. Supported 345 devices include PCA9633 and PCA9634 346 347config LEDS_WM831X_STATUS 348 tristate "LED support for status LEDs on WM831x PMICs" 349 depends on LEDS_CLASS 350 depends on MFD_WM831X 351 help 352 This option enables support for the status LEDs of the WM831x 353 series of PMICs. 354 355config LEDS_WM8350 356 tristate "LED Support for WM8350 AudioPlus PMIC" 357 depends on LEDS_CLASS 358 depends on MFD_WM8350 359 help 360 This option enables support for LEDs driven by the Wolfson 361 Microelectronics WM8350 AudioPlus PMIC. 362 363config LEDS_DA903X 364 tristate "LED Support for DA9030/DA9034 PMIC" 365 depends on LEDS_CLASS 366 depends on PMIC_DA903X 367 help 368 This option enables support for on-chip LED drivers found 369 on Dialog Semiconductor DA9030/DA9034 PMICs. 370 371config LEDS_DA9052 372 tristate "Dialog DA9052/DA9053 LEDS" 373 depends on LEDS_CLASS 374 depends on PMIC_DA9052 375 help 376 This option enables support for on-chip LED drivers found 377 on Dialog Semiconductor DA9052-BC and DA9053-AA/Bx PMICs. 378 379config LEDS_DAC124S085 380 tristate "LED Support for DAC124S085 SPI DAC" 381 depends on LEDS_CLASS 382 depends on SPI 383 help 384 This option enables support for DAC124S085 SPI DAC from NatSemi, 385 which can be used to control up to four LEDs. 386 387config LEDS_PWM 388 tristate "PWM driven LED Support" 389 depends on LEDS_CLASS 390 depends on PWM 391 help 392 This option enables support for pwm driven LEDs 393 394config LEDS_REGULATOR 395 tristate "REGULATOR driven LED support" 396 depends on LEDS_CLASS 397 depends on REGULATOR 398 help 399 This option enables support for regulator driven LEDs. 400 401config LEDS_BD2802 402 tristate "LED driver for BD2802 RGB LED" 403 depends on LEDS_CLASS 404 depends on I2C 405 help 406 This option enables support for BD2802GU RGB LED driver chips 407 accessed via the I2C bus. 408 409config LEDS_INTEL_SS4200 410 tristate "LED driver for Intel NAS SS4200 series" 411 depends on LEDS_CLASS 412 depends on PCI && DMI 413 help 414 This option enables support for the Intel SS4200 series of 415 Network Attached Storage servers. You may control the hard 416 drive or power LEDs on the front panel. Using this driver 417 can stop the front LED from blinking after startup. 418 419config LEDS_LT3593 420 tristate "LED driver for LT3593 controllers" 421 depends on LEDS_CLASS 422 depends on GPIOLIB 423 help 424 This option enables support for LEDs driven by a Linear Technology 425 LT3593 controller. This controller uses a special one-wire pulse 426 coding protocol to set the brightness. 427 428config LEDS_ADP5520 429 tristate "LED Support for ADP5520/ADP5501 PMIC" 430 depends on LEDS_CLASS 431 depends on PMIC_ADP5520 432 help 433 This option enables support for on-chip LED drivers found 434 on Analog Devices ADP5520/ADP5501 PMICs. 435 436 To compile this driver as a module, choose M here: the module will 437 be called leds-adp5520. 438 439config LEDS_DELL_NETBOOKS 440 tristate "External LED on Dell Business Netbooks" 441 depends on LEDS_CLASS 442 depends on X86 && ACPI_WMI 443 help 444 This adds support for the Latitude 2100 and similar 445 notebooks that have an external LED. 446 447config LEDS_MC13783 448 tristate "LED Support for MC13XXX PMIC" 449 depends on LEDS_CLASS 450 depends on MFD_MC13XXX 451 help 452 This option enable support for on-chip LED drivers found 453 on Freescale Semiconductor MC13783/MC13892/MC34708 PMIC. 454 455config LEDS_NS2 456 tristate "LED support for Network Space v2 GPIO LEDs" 457 depends on LEDS_CLASS 458 depends on MACH_KIRKWOOD 459 default y 460 help 461 This option enable support for the dual-GPIO LED found on the 462 Network Space v2 board (and parents). This include Internet Space v2, 463 Network Space (Max) v2 and d2 Network v2 boards. 464 465config LEDS_NETXBIG 466 tristate "LED support for Big Network series LEDs" 467 depends on LEDS_CLASS 468 depends on MACH_KIRKWOOD 469 default y 470 help 471 This option enable support for LEDs found on the LaCie 2Big 472 and 5Big Network v2 boards. The LEDs are wired to a CPLD and are 473 controlled through a GPIO extension bus. 474 475config LEDS_ASIC3 476 bool "LED support for the HTC ASIC3" 477 depends on LEDS_CLASS=y 478 depends on MFD_ASIC3 479 default y 480 help 481 This option enables support for the LEDs on the HTC ASIC3. The HTC 482 ASIC3 LED GPIOs are inputs, not outputs, thus the leds-gpio driver 483 cannot be used. This driver supports hardware blinking with an on+off 484 period from 62ms to 125s. Say Y to enable LEDs on the HP iPAQ hx4700. 485 486config LEDS_TCA6507 487 tristate "LED Support for TCA6507 I2C chip" 488 depends on LEDS_CLASS && I2C 489 help 490 This option enables support for LEDs connected to TC6507 491 LED driver chips accessed via the I2C bus. 492 Driver support brightness control and hardware-assisted blinking. 493 494config LEDS_TLC591XX 495 tristate "LED driver for TLC59108 and TLC59116 controllers" 496 depends on LEDS_CLASS && I2C 497 select REGMAP_I2C 498 help 499 This option enables support for Texas Instruments TLC59108 500 and TLC59116 LED controllers. 501 502config LEDS_MAX77693 503 tristate "LED support for MAX77693 Flash" 504 depends on LEDS_CLASS_FLASH 505 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS 506 depends on MFD_MAX77693 507 depends on OF 508 help 509 This option enables support for the flash part of the MAX77693 510 multifunction device. It has build in control for two leds in flash 511 and torch mode. 512 513config LEDS_MAX8997 514 tristate "LED support for MAX8997 PMIC" 515 depends on LEDS_CLASS && MFD_MAX8997 516 help 517 This option enables support for on-chip LED drivers on 518 MAXIM MAX8997 PMIC. 519 520config LEDS_LM355x 521 tristate "LED support for LM355x Chips, LM3554 and LM3556" 522 depends on LEDS_CLASS && I2C 523 select REGMAP_I2C 524 help 525 This option enables support for LEDs connected to LM355x. 526 LM355x includes Torch, Flash and Indicator functions. 527 528config LEDS_OT200 529 tristate "LED support for the Bachmann OT200" 530 depends on LEDS_CLASS && HAS_IOMEM && (X86_32 || COMPILE_TEST) 531 help 532 This option enables support for the LEDs on the Bachmann OT200. 533 Say Y to enable LEDs on the Bachmann OT200. 534 535config LEDS_MENF21BMC 536 tristate "LED support for the MEN 14F021P00 BMC" 537 depends on LEDS_CLASS && MFD_MENF21BMC 538 help 539 Say Y here to include support for the MEN 14F021P00 BMC LEDs. 540 541 This driver can also be built as a module. If so the module 542 will be called leds-menf21bmc. 543 544config LEDS_KTD2692 545 tristate "LED support for KTD2692 flash LED controller" 546 depends on LEDS_CLASS_FLASH && GPIOLIB && OF 547 help 548 This option enables support for KTD2692 LED flash connected 549 through ExpressWire interface. 550 551 Say Y to enable this driver. 552 553comment "LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)" 554 555config LEDS_BLINKM 556 tristate "LED support for the BlinkM I2C RGB LED" 557 depends on LEDS_CLASS 558 depends on I2C 559 help 560 This option enables support for the BlinkM RGB LED connected 561 through I2C. Say Y to enable support for the BlinkM LED. 562 563config LEDS_SYSCON 564 bool "LED support for LEDs on system controllers" 565 depends on LEDS_CLASS=y 566 depends on MFD_SYSCON 567 depends on OF 568 help 569 This option enabled support for the LEDs on syscon type 570 devices. This will only work with device tree enabled 571 devices. 572 573config LEDS_VERSATILE 574 tristate "LED support for the ARM Versatile and RealView" 575 depends on ARCH_REALVIEW || ARCH_VERSATILE 576 depends on LEDS_CLASS 577 help 578 This option enabled support for the LEDs on the ARM Versatile 579 and RealView boards. Say Y to enabled these. 580 581config LEDS_PM8941_WLED 582 tristate "LED support for the Qualcomm PM8941 WLED block" 583 depends on LEDS_CLASS 584 select REGMAP 585 help 586 This option enables support for the 'White' LED block 587 on Qualcomm PM8941 PMICs. 588 589comment "LED Triggers" 590source "drivers/leds/trigger/Kconfig" 591 592endif # NEW_LEDS 593