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