| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | config LEDS_GPIO_REGISTER |
|---|
| 2 | 3 | bool |
|---|
| 3 | 4 | help |
|---|
| .. | .. |
|---|
| 16 | 17 | config LEDS_CLASS |
|---|
| 17 | 18 | tristate "LED Class Support" |
|---|
| 18 | 19 | help |
|---|
| 19 | | - This option enables the led sysfs class in /sys/class/leds. You'll |
|---|
| 20 | + This option enables the LED sysfs class in /sys/class/leds. You'll |
|---|
| 20 | 21 | need this to do anything useful with LEDs. If unsure, say N. |
|---|
| 21 | 22 | |
|---|
| 22 | 23 | config LEDS_CLASS_FLASH |
|---|
| 23 | 24 | tristate "LED Flash Class Support" |
|---|
| 24 | 25 | depends on LEDS_CLASS |
|---|
| 25 | 26 | 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 |
|---|
| 27 | + This option enables the flash LED sysfs class in /sys/class/leds. |
|---|
| 28 | + It wraps LED Class and adds flash LEDs specific sysfs attributes |
|---|
| 28 | 29 | and kernel internal API to it. You'll need this to provide support |
|---|
| 29 | 30 | for the flash related features of a LED device. It can be built |
|---|
| 30 | 31 | as a module. |
|---|
| 32 | + |
|---|
| 33 | +config LEDS_CLASS_MULTICOLOR |
|---|
| 34 | + tristate "LED Multicolor Class Support" |
|---|
| 35 | + depends on LEDS_CLASS |
|---|
| 36 | + help |
|---|
| 37 | + This option enables the multicolor LED sysfs class in /sys/class/leds. |
|---|
| 38 | + It wraps LED class and adds multicolor LED specific sysfs attributes |
|---|
| 39 | + and kernel internal API to it. You'll need this to provide support |
|---|
| 40 | + for multicolor LEDs that are grouped together. This class is not |
|---|
| 41 | + intended for single color LEDs. It can be built as a module. |
|---|
| 31 | 42 | |
|---|
| 32 | 43 | config LEDS_BRIGHTNESS_HW_CHANGED |
|---|
| 33 | 44 | bool "LED Class brightness_hw_changed attribute support" |
|---|
| 34 | 45 | depends on LEDS_CLASS |
|---|
| 35 | 46 | help |
|---|
| 36 | 47 | This option enables support for the brightness_hw_changed attribute |
|---|
| 37 | | - for led sysfs class devices under /sys/class/leds. |
|---|
| 48 | + for LED sysfs class devices under /sys/class/leds. |
|---|
| 38 | 49 | |
|---|
| 39 | 50 | See Documentation/ABI/testing/sysfs-class-led for details. |
|---|
| 40 | 51 | |
|---|
| .. | .. |
|---|
| 56 | 67 | depends on OF |
|---|
| 57 | 68 | depends on PINCTRL |
|---|
| 58 | 69 | help |
|---|
| 59 | | - This option enables support for the LEDs on the AAT1290. |
|---|
| 70 | + This option enables support for the LEDs on the AAT1290. |
|---|
| 71 | + |
|---|
| 72 | +config LEDS_AN30259A |
|---|
| 73 | + tristate "LED support for Panasonic AN30259A" |
|---|
| 74 | + depends on LEDS_CLASS && I2C && OF |
|---|
| 75 | + help |
|---|
| 76 | + This option enables support for the AN30259A 3-channel |
|---|
| 77 | + LED driver. |
|---|
| 78 | + |
|---|
| 79 | + To compile this driver as a module, choose M here: the module |
|---|
| 80 | + will be called leds-an30259a. |
|---|
| 60 | 81 | |
|---|
| 61 | 82 | config LEDS_APU |
|---|
| 62 | 83 | tristate "Front panel LED support for PC Engines APU/APU2/APU3 boards" |
|---|
| 63 | 84 | depends on LEDS_CLASS |
|---|
| 64 | 85 | depends on X86 && DMI |
|---|
| 65 | 86 | help |
|---|
| 66 | | - This driver makes the PC Engines APU/APU2/APU3 front panel LEDs |
|---|
| 87 | + This driver makes the PC Engines APU1 front panel LEDs |
|---|
| 67 | 88 | accessible from userspace programs through the LED subsystem. |
|---|
| 89 | + |
|---|
| 90 | + If you're looking for APU2/3, use the pcengines-apu2 driver. |
|---|
| 91 | + (symbol CONFIG_PCENGINES_APU2) |
|---|
| 68 | 92 | |
|---|
| 69 | 93 | To compile this driver as a module, choose M here: the |
|---|
| 70 | 94 | module will be called leds-apu. |
|---|
| 95 | + |
|---|
| 96 | +config LEDS_ARIEL |
|---|
| 97 | + tristate "Dell Wyse 3020 status LED support" |
|---|
| 98 | + depends on LEDS_CLASS |
|---|
| 99 | + depends on (MACH_MMP3_DT && MFD_ENE_KB3930) || COMPILE_TEST |
|---|
| 100 | + help |
|---|
| 101 | + This driver adds support for controlling the front panel status |
|---|
| 102 | + LEDs on Dell Wyse 3020 (Ariel) board via the KB3930 Embedded |
|---|
| 103 | + Controller. |
|---|
| 104 | + |
|---|
| 105 | + Say Y to if your machine is a Dell Wyse 3020 thin client. |
|---|
| 71 | 106 | |
|---|
| 72 | 107 | config LEDS_AS3645A |
|---|
| 73 | 108 | tristate "AS3645A and LM3555 LED flash controllers support" |
|---|
| .. | .. |
|---|
| 77 | 112 | Enable LED flash class support for AS3645A LED flash |
|---|
| 78 | 113 | controller. V4L2 flash API is provided as well if |
|---|
| 79 | 114 | CONFIG_V4L2_FLASH_API is enabled. |
|---|
| 115 | + |
|---|
| 116 | +config LEDS_AW2013 |
|---|
| 117 | + tristate "LED support for Awinic AW2013" |
|---|
| 118 | + depends on LEDS_CLASS && I2C && OF |
|---|
| 119 | + help |
|---|
| 120 | + This option enables support for the AW2013 3-channel |
|---|
| 121 | + LED driver. |
|---|
| 122 | + |
|---|
| 123 | + To compile this driver as a module, choose M here: the module |
|---|
| 124 | + will be called leds-aw2013. |
|---|
| 80 | 125 | |
|---|
| 81 | 126 | config LEDS_BCM6328 |
|---|
| 82 | 127 | tristate "LED Support for Broadcom BCM6328" |
|---|
| .. | .. |
|---|
| 118 | 163 | To compile this driver as a module, choose M here: the module |
|---|
| 119 | 164 | will be called leds-cr0014114. |
|---|
| 120 | 165 | |
|---|
| 166 | +config LEDS_EL15203000 |
|---|
| 167 | + tristate "LED Support for Crane EL15203000" |
|---|
| 168 | + depends on LEDS_CLASS |
|---|
| 169 | + depends on SPI |
|---|
| 170 | + depends on OF |
|---|
| 171 | + help |
|---|
| 172 | + This option enables support for EL15203000 LED Board |
|---|
| 173 | + (aka RED LED board) which is widely used in coffee vending |
|---|
| 174 | + machines produced by Crane Merchandising Systems. |
|---|
| 175 | + |
|---|
| 176 | + To compile this driver as a module, choose M here: the module |
|---|
| 177 | + will be called leds-el15203000. |
|---|
| 178 | + |
|---|
| 179 | +config LEDS_TURRIS_OMNIA |
|---|
| 180 | + tristate "LED support for CZ.NIC's Turris Omnia" |
|---|
| 181 | + depends on LEDS_CLASS_MULTICOLOR |
|---|
| 182 | + depends on I2C |
|---|
| 183 | + depends on MACH_ARMADA_38X || COMPILE_TEST |
|---|
| 184 | + depends on OF |
|---|
| 185 | + help |
|---|
| 186 | + This option enables basic support for the LEDs found on the front |
|---|
| 187 | + side of CZ.NIC's Turris Omnia router. There are 12 RGB LEDs on the |
|---|
| 188 | + front panel. |
|---|
| 189 | + |
|---|
| 121 | 190 | config LEDS_LM3530 |
|---|
| 122 | 191 | tristate "LCD Backlight driver for LM3530" |
|---|
| 123 | 192 | depends on LEDS_CLASS |
|---|
| .. | .. |
|---|
| 125 | 194 | help |
|---|
| 126 | 195 | This option enables support for the LCD backlight using |
|---|
| 127 | 196 | LM3530 ambient light sensor chip. This ALS chip can be |
|---|
| 197 | + controlled manually or using PWM input or using ambient |
|---|
| 198 | + light automatically. |
|---|
| 199 | + |
|---|
| 200 | +config LEDS_LM3532 |
|---|
| 201 | + tristate "LCD Backlight driver for LM3532" |
|---|
| 202 | + select REGMAP_I2C |
|---|
| 203 | + depends on LEDS_CLASS |
|---|
| 204 | + depends on I2C |
|---|
| 205 | + help |
|---|
| 206 | + This option enables support for the LCD backlight using |
|---|
| 207 | + LM3532 ambient light sensor chip. This ALS chip can be |
|---|
| 128 | 208 | controlled manually or using PWM input or using ambient |
|---|
| 129 | 209 | light automatically. |
|---|
| 130 | 210 | |
|---|
| .. | .. |
|---|
| 195 | 275 | config LEDS_S3C24XX |
|---|
| 196 | 276 | tristate "LED Support for Samsung S3C24XX GPIO LEDs" |
|---|
| 197 | 277 | depends on LEDS_CLASS |
|---|
| 198 | | - depends on ARCH_S3C24XX |
|---|
| 278 | + depends on ARCH_S3C24XX || COMPILE_TEST |
|---|
| 199 | 279 | help |
|---|
| 200 | 280 | This option enables support for LEDs connected to GPIO lines |
|---|
| 201 | 281 | on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440. |
|---|
| .. | .. |
|---|
| 225 | 305 | config LEDS_COBALT_QUBE |
|---|
| 226 | 306 | tristate "LED Support for the Cobalt Qube series front LED" |
|---|
| 227 | 307 | depends on LEDS_CLASS |
|---|
| 228 | | - depends on MIPS_COBALT |
|---|
| 308 | + depends on MIPS_COBALT || COMPILE_TEST |
|---|
| 229 | 309 | help |
|---|
| 230 | 310 | This option enables support for the front LED on Cobalt Qube series |
|---|
| 231 | 311 | |
|---|
| 232 | 312 | config LEDS_COBALT_RAQ |
|---|
| 233 | 313 | bool "LED Support for the Cobalt Raq series" |
|---|
| 234 | | - depends on LEDS_CLASS=y && MIPS_COBALT |
|---|
| 314 | + depends on LEDS_CLASS=y && (MIPS_COBALT || COMPILE_TEST) |
|---|
| 235 | 315 | select LEDS_TRIGGERS |
|---|
| 236 | 316 | help |
|---|
| 237 | 317 | This option enables support for the Cobalt Raq series LEDs. |
|---|
| .. | .. |
|---|
| 316 | 396 | To compile this driver as a module, choose M here: the |
|---|
| 317 | 397 | module will be called leds-lp3952. |
|---|
| 318 | 398 | |
|---|
| 399 | +config LEDS_LP50XX |
|---|
| 400 | + tristate "LED Support for TI LP5036/30/24/18/12/9 LED driver chip" |
|---|
| 401 | + depends on LEDS_CLASS && REGMAP_I2C |
|---|
| 402 | + depends on LEDS_CLASS_MULTICOLOR || !LEDS_CLASS_MULTICOLOR |
|---|
| 403 | + help |
|---|
| 404 | + If you say yes here you get support for the Texas Instruments |
|---|
| 405 | + LP5036, LP5030, LP5024, LP5018, LP5012 and LP5009 LED driver. |
|---|
| 406 | + |
|---|
| 407 | + To compile this driver as a module, choose M here: the |
|---|
| 408 | + module will be called leds-lp50xx. |
|---|
| 409 | + |
|---|
| 319 | 410 | config LEDS_LP55XX_COMMON |
|---|
| 320 | 411 | tristate "Common Driver for TI/National LP5521/5523/55231/5562/8501" |
|---|
| 321 | | - depends on LEDS_LP5521 || LEDS_LP5523 || LEDS_LP5562 || LEDS_LP8501 |
|---|
| 412 | + depends on LEDS_CLASS |
|---|
| 413 | + depends on LEDS_CLASS_MULTICOLOR || !LEDS_CLASS_MULTICOLOR |
|---|
| 414 | + depends on OF |
|---|
| 415 | + depends on I2C |
|---|
| 322 | 416 | select FW_LOADER |
|---|
| 323 | 417 | select FW_LOADER_USER_HELPER |
|---|
| 324 | 418 | help |
|---|
| .. | .. |
|---|
| 328 | 422 | config LEDS_LP5521 |
|---|
| 329 | 423 | tristate "LED Support for N.S. LP5521 LED driver chip" |
|---|
| 330 | 424 | depends on LEDS_CLASS && I2C |
|---|
| 331 | | - select LEDS_LP55XX_COMMON |
|---|
| 425 | + depends on LEDS_LP55XX_COMMON |
|---|
| 332 | 426 | help |
|---|
| 333 | 427 | If you say yes here you get support for the National Semiconductor |
|---|
| 334 | 428 | LP5521 LED driver. It is 3 channel chip with programmable engines. |
|---|
| .. | .. |
|---|
| 338 | 432 | config LEDS_LP5523 |
|---|
| 339 | 433 | tristate "LED Support for TI/National LP5523/55231 LED driver chip" |
|---|
| 340 | 434 | depends on LEDS_CLASS && I2C |
|---|
| 341 | | - select LEDS_LP55XX_COMMON |
|---|
| 435 | + depends on LEDS_LP55XX_COMMON |
|---|
| 342 | 436 | help |
|---|
| 343 | 437 | If you say yes here you get support for TI/National Semiconductor |
|---|
| 344 | 438 | LP5523/55231 LED driver. |
|---|
| .. | .. |
|---|
| 349 | 443 | config LEDS_LP5562 |
|---|
| 350 | 444 | tristate "LED Support for TI LP5562 LED driver chip" |
|---|
| 351 | 445 | depends on LEDS_CLASS && I2C |
|---|
| 352 | | - select LEDS_LP55XX_COMMON |
|---|
| 446 | + depends on LEDS_LP55XX_COMMON |
|---|
| 353 | 447 | help |
|---|
| 354 | 448 | If you say yes here you get support for TI LP5562 LED driver. |
|---|
| 355 | 449 | It is 4 channels chip with programmable engines. |
|---|
| .. | .. |
|---|
| 359 | 453 | config LEDS_LP8501 |
|---|
| 360 | 454 | tristate "LED Support for TI LP8501 LED driver chip" |
|---|
| 361 | 455 | depends on LEDS_CLASS && I2C |
|---|
| 362 | | - select LEDS_LP55XX_COMMON |
|---|
| 456 | + depends on LEDS_LP55XX_COMMON |
|---|
| 363 | 457 | help |
|---|
| 364 | 458 | If you say yes here you get support for TI LP8501 LED driver. |
|---|
| 365 | 459 | It is 9 channel chip with programmable engines. |
|---|
| .. | .. |
|---|
| 403 | 497 | |
|---|
| 404 | 498 | This module can drive the mail LED for the following notebooks: |
|---|
| 405 | 499 | |
|---|
| 406 | | - Clevo D400P |
|---|
| 407 | | - Clevo D410J |
|---|
| 408 | | - Clevo D410V |
|---|
| 409 | | - Clevo D400V/D470V (not tested, but might work) |
|---|
| 410 | | - Clevo M540N |
|---|
| 411 | | - Clevo M5x0N (not tested, but might work) |
|---|
| 412 | | - Positivo Mobile (Clevo M5x0V) |
|---|
| 500 | + Clevo D400P |
|---|
| 501 | + Clevo D410J |
|---|
| 502 | + Clevo D410V |
|---|
| 503 | + Clevo D400V/D470V (not tested, but might work) |
|---|
| 504 | + Clevo M540N |
|---|
| 505 | + Clevo M5x0N (not tested, but might work) |
|---|
| 506 | + Positivo Mobile (Clevo M5x0V) |
|---|
| 413 | 507 | |
|---|
| 414 | 508 | If your model is not listed here you can try the "nodetect" |
|---|
| 415 | 509 | module parameter. |
|---|
| .. | .. |
|---|
| 452 | 546 | depends on MFD_WM831X |
|---|
| 453 | 547 | help |
|---|
| 454 | 548 | This option enables support for the status LEDs of the WM831x |
|---|
| 455 | | - series of PMICs. |
|---|
| 549 | + series of PMICs. |
|---|
| 456 | 550 | |
|---|
| 457 | 551 | config LEDS_WM8350 |
|---|
| 458 | 552 | tristate "LED Support for WM8350 AudioPlus PMIC" |
|---|
| .. | .. |
|---|
| 523 | 617 | tristate "LED driver for LT3593 controllers" |
|---|
| 524 | 618 | depends on LEDS_CLASS |
|---|
| 525 | 619 | depends on GPIOLIB || COMPILE_TEST |
|---|
| 620 | + depends on OF |
|---|
| 526 | 621 | help |
|---|
| 527 | 622 | This option enables support for LEDs driven by a Linear Technology |
|---|
| 528 | 623 | LT3593 controller. This controller uses a special one-wire pulse |
|---|
| .. | .. |
|---|
| 550 | 645 | config LEDS_NS2 |
|---|
| 551 | 646 | tristate "LED support for Network Space v2 GPIO LEDs" |
|---|
| 552 | 647 | depends on LEDS_CLASS |
|---|
| 553 | | - depends on MACH_KIRKWOOD || MACH_ARMADA_370 |
|---|
| 648 | + depends on MACH_KIRKWOOD || MACH_ARMADA_370 || COMPILE_TEST |
|---|
| 554 | 649 | default y |
|---|
| 555 | 650 | help |
|---|
| 556 | 651 | This option enables support for the dual-GPIO LEDs found on the |
|---|
| .. | .. |
|---|
| 564 | 659 | config LEDS_NETXBIG |
|---|
| 565 | 660 | tristate "LED support for Big Network series LEDs" |
|---|
| 566 | 661 | depends on LEDS_CLASS |
|---|
| 567 | | - depends on MACH_KIRKWOOD |
|---|
| 662 | + depends on MACH_KIRKWOOD || COMPILE_TEST |
|---|
| 663 | + depends on OF_GPIO |
|---|
| 568 | 664 | default y |
|---|
| 569 | 665 | help |
|---|
| 570 | 666 | This option enables support for LEDs found on the LaCie 2Big |
|---|
| .. | .. |
|---|
| 597 | 693 | help |
|---|
| 598 | 694 | This option enables support for Texas Instruments TLC59108 |
|---|
| 599 | 695 | and TLC59116 LED controllers. |
|---|
| 696 | + |
|---|
| 697 | +config LEDS_MAX77650 |
|---|
| 698 | + tristate "LED support for Maxim MAX77650 PMIC" |
|---|
| 699 | + depends on LEDS_CLASS && MFD_MAX77650 |
|---|
| 700 | + help |
|---|
| 701 | + LEDs driver for MAX77650 family of PMICs from Maxim Integrated. |
|---|
| 600 | 702 | |
|---|
| 601 | 703 | config LEDS_MAX77693 |
|---|
| 602 | 704 | tristate "LED support for MAX77693 Flash" |
|---|
| .. | .. |
|---|
| 762 | 864 | To compile this driver as a module, choose M here: the module |
|---|
| 763 | 865 | will be called leds-nic78bx. |
|---|
| 764 | 866 | |
|---|
| 867 | +config LEDS_SPI_BYTE |
|---|
| 868 | + tristate "LED support for SPI LED controller with a single byte" |
|---|
| 869 | + depends on LEDS_CLASS |
|---|
| 870 | + depends on SPI |
|---|
| 871 | + depends on OF |
|---|
| 872 | + help |
|---|
| 873 | + This option enables support for LED controller which use a single byte |
|---|
| 874 | + for controlling the brightness. Currently the following controller is |
|---|
| 875 | + supported: Ubiquiti airCube ISP microcontroller based LED controller. |
|---|
| 876 | + |
|---|
| 877 | +config LEDS_TI_LMU_COMMON |
|---|
| 878 | + tristate "LED driver for TI LMU" |
|---|
| 879 | + depends on LEDS_CLASS |
|---|
| 880 | + select REGMAP |
|---|
| 881 | + help |
|---|
| 882 | + Say Y to enable the LED driver for TI LMU devices. |
|---|
| 883 | + This supports common features between the TI LM3532, LM3631, LM3632, |
|---|
| 884 | + LM3633, LM3695 and LM3697. |
|---|
| 885 | + |
|---|
| 886 | +config LEDS_LM3697 |
|---|
| 887 | + tristate "LED driver for LM3697" |
|---|
| 888 | + depends on LEDS_TI_LMU_COMMON |
|---|
| 889 | + depends on I2C && OF |
|---|
| 890 | + help |
|---|
| 891 | + Say Y to enable the LM3697 LED driver for TI LMU devices. |
|---|
| 892 | + This supports the LED device LM3697. |
|---|
| 893 | + |
|---|
| 894 | +config LEDS_LM36274 |
|---|
| 895 | + tristate "LED driver for LM36274" |
|---|
| 896 | + depends on LEDS_TI_LMU_COMMON |
|---|
| 897 | + depends on MFD_TI_LMU |
|---|
| 898 | + help |
|---|
| 899 | + Say Y to enable the LM36274 LED driver for TI LMU devices. |
|---|
| 900 | + This supports the LED device LM36274. |
|---|
| 901 | + |
|---|
| 902 | +config LEDS_TPS6105X |
|---|
| 903 | + tristate "LED support for TI TPS6105X" |
|---|
| 904 | + depends on LEDS_CLASS |
|---|
| 905 | + depends on TPS6105X |
|---|
| 906 | + default y if TPS6105X |
|---|
| 907 | + help |
|---|
| 908 | + This driver supports TPS61050/TPS61052 LED chips. |
|---|
| 909 | + It is a single boost converter primarily for white LEDs and |
|---|
| 910 | + audio amplifiers. |
|---|
| 911 | + |
|---|
| 912 | +config LEDS_IP30 |
|---|
| 913 | + tristate "LED support for SGI Octane machines" |
|---|
| 914 | + depends on LEDS_CLASS |
|---|
| 915 | + depends on SGI_MFD_IOC3 || COMPILE_TEST |
|---|
| 916 | + help |
|---|
| 917 | + This option enables support for the Red and White LEDs of |
|---|
| 918 | + SGI Octane machines. |
|---|
| 919 | + |
|---|
| 920 | + To compile this driver as a module, choose M here: the module |
|---|
| 921 | + will be called leds-ip30. |
|---|
| 922 | + |
|---|
| 923 | +config LEDS_SGM3140 |
|---|
| 924 | + tristate "LED support for the SGM3140" |
|---|
| 925 | + depends on LEDS_CLASS_FLASH |
|---|
| 926 | + depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS |
|---|
| 927 | + help |
|---|
| 928 | + This option enables support for the SGM3140 500mA Buck/Boost Charge |
|---|
| 929 | + Pump LED Driver. |
|---|
| 930 | + |
|---|
| 931 | +config LEDS_ACER_A500 |
|---|
| 932 | + tristate "Power button LED support for Acer Iconia Tab A500" |
|---|
| 933 | + depends on LEDS_CLASS && MFD_ACER_A500_EC |
|---|
| 934 | + help |
|---|
| 935 | + This option enables support for the Power Button LED of |
|---|
| 936 | + Acer Iconia Tab A500. |
|---|
| 937 | + |
|---|
| 765 | 938 | comment "LED Triggers" |
|---|
| 766 | 939 | source "drivers/leds/trigger/Kconfig" |
|---|
| 767 | 940 | |
|---|