blob: f931a2cdf214475d9a002ca4d04e358c7d59f320 [file] [log] [blame]
Uwe Kleine-Königbe5ce2f2011-06-15 15:08:31 -07001config 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
Jan Engelhardt66242f72007-05-10 10:44:11 +01008menuconfig NEW_LEDS
Richard Purdiec72a1d62006-03-31 02:31:04 -08009 bool "LED Support"
10 help
Richard Purdiea8d2e7d2006-05-15 09:44:14 -070011 Say Y to enable Linux LED support. This allows control of supported
12 LEDs from both userspace and optionally, by kernel events (triggers).
13
Eric Miao45d16f02011-06-15 15:08:40 -070014if NEW_LEDS
15
Richard Purdiec72a1d62006-03-31 02:31:04 -080016config LEDS_CLASS
Bryan Wua403d932012-03-23 15:02:14 -070017 tristate "LED Class Support"
Richard Purdiec72a1d62006-03-31 02:31:04 -080018 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
Jacek Anaszewski7aea8382015-01-09 07:22:51 -080022config 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
Ben Dooks24f51e82006-04-10 22:54:01 -070032comment "LED drivers"
Richard Purdiec3bc9952006-03-31 02:31:05 -080033
Haojian Zhuang0a2f9152010-01-06 17:10:09 -050034config LEDS_88PM860X
35 tristate "LED Support for Marvell 88PM860x PMIC"
Johannes Berg0bae35e2010-12-02 14:31:14 -080036 depends on LEDS_CLASS
Richard Purdie37814fd2010-05-27 13:08:33 +010037 depends on MFD_88PM860X
Haojian Zhuang0a2f9152010-01-06 17:10:09 -050038 help
39 This option enables support for on-chip LED drivers found on Marvell
40 Semiconductor 88PM8606 PMIC.
41
Jacek Anaszewski49c34b82015-04-30 03:34:57 -070042config LEDS_AAT1290
43 tristate "LED support for the AAT1290"
44 depends on LEDS_CLASS_FLASH
Randy Dunlap58d18092015-06-26 12:00:20 -070045 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
Geert Uytterhoeven6e3956c2015-07-06 15:42:34 +020046 depends on GPIOLIB || COMPILE_TEST
Jacek Anaszewski49c34b82015-04-30 03:34:57 -070047 depends on OF
Jacek Anaszewskiac69b902015-06-19 00:33:22 -070048 depends on PINCTRL
Jacek Anaszewski49c34b82015-04-30 03:34:57 -070049 help
50 This option enables support for the LEDs on the AAT1290.
51
Álvaro Fernández Rojasfd7b0252015-04-28 09:50:50 -070052config LEDS_BCM6328
53 tristate "LED Support for Broadcom BCM6328"
54 depends on LEDS_CLASS
Vegard Nossum522f17e2016-01-02 14:05:49 +010055 depends on HAS_IOMEM
Álvaro Fernández Rojasfd7b0252015-04-28 09:50:50 -070056 depends on OF
57 help
58 This option enables support for LEDs connected to the BCM6328
59 LED HW controller accessed via MMIO registers.
60
Álvaro Fernández Rojas589fca12015-05-21 10:11:10 -070061config LEDS_BCM6358
62 tristate "LED Support for Broadcom BCM6358"
63 depends on LEDS_CLASS
Vegard Nossum522f17e2016-01-02 14:05:49 +010064 depends on HAS_IOMEM
Álvaro Fernández Rojas589fca12015-05-21 10:11:10 -070065 depends on OF
66 help
67 This option enables support for LEDs connected to the BCM6358
68 LED HW controller accessed via MMIO registers.
69
Shreshtha Kumar Sahub1e6b702011-03-22 16:30:16 -070070config LEDS_LM3530
71 tristate "LCD Backlight driver for LM3530"
72 depends on LEDS_CLASS
73 depends on I2C
74 help
75 This option enables support for the LCD backlight using
76 LM3530 ambient light sensor chip. This ALS chip can be
77 controlled manually or using PWM input or using ambient
78 light automatically.
79
Johan Hovold401dea72012-05-29 15:07:31 -070080config LEDS_LM3533
81 tristate "LED support for LM3533"
82 depends on LEDS_CLASS
83 depends on MFD_LM3533
84 help
85 This option enables support for the LEDs on National Semiconductor /
86 TI LM3533 Lighting Power chips.
87
88 The LEDs can be controlled directly, through PWM input, or by the
89 ambient-light-sensor interface. The chip supports
90 hardware-accelerated blinking with maximum on and off periods of 9.8
91 and 77 seconds respectively.
92
G.Shark Jeong8b7cfbe2012-09-12 20:05:50 +080093config LEDS_LM3642
94 tristate "LED support for LM3642 Chip"
95 depends on LEDS_CLASS && I2C
96 select REGMAP_I2C
97 help
98 This option enables support for LEDs connected to LM3642.
99 The LM3642 is a 4MHz fixed-frequency synchronous boost
100 converter plus 1.5A constant current driver for a high-current
101 white LED.
102
103
Richard Purdie4d3cb352006-03-31 02:31:10 -0800104config LEDS_LOCOMO
105 tristate "LED Support for Locomo device"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800106 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700107 depends on SHARP_LOCOMO
Richard Purdie4d3cb352006-03-31 02:31:10 -0800108 help
109 This option enables support for the LEDs on Sharp Locomo.
110 Zaurus models SL-5500 and SL-5600.
111
Phil Sutterac67e232009-01-22 19:35:48 +0100112config LEDS_MIKROTIK_RB532
113 tristate "LED Support for Mikrotik Routerboard 532"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800114 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700115 depends on MIKROTIK_RB532
Phil Sutterac67e232009-01-22 19:35:48 +0100116 help
117 This option enables support for the so called "User LED" of
118 Mikrotik's Routerboard 532.
119
Ben Dooks54bdc472006-04-10 22:54:00 -0700120config LEDS_S3C24XX
121 tristate "LED Support for Samsung S3C24XX GPIO LEDs"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800122 depends on LEDS_CLASS
Kukjin Kimb130d5c2012-02-03 14:29:23 +0900123 depends on ARCH_S3C24XX
Ben Dooks54bdc472006-04-10 22:54:00 -0700124 help
125 This option enables support for LEDs connected to GPIO lines
126 on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
127
Chris Boot1a87d942006-07-10 04:45:34 -0700128config LEDS_NET48XX
129 tristate "LED Support for Soekris net48xx series Error LED"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800130 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700131 depends on SCx200_GPIO
Chris Boot1a87d942006-07-10 04:45:34 -0700132 help
133 This option enables support for the Soekris net4801 and net4826 error
134 LED.
135
Rod Whitby3b2e46f2008-04-24 23:43:09 +0100136config LEDS_FSG
137 tristate "LED Support for the Freecom FSG-3"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800138 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700139 depends on MACH_FSG
Rod Whitby3b2e46f2008-04-24 23:43:09 +0100140 help
141 This option enables support for the LEDs on the Freecom FSG-3.
142
Kristian Kielhofner0d755652006-12-06 20:37:28 -0800143config LEDS_WRAP
144 tristate "LED Support for the WRAP series LEDs"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800145 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700146 depends on SCx200_GPIO
Kristian Kielhofner0d755652006-12-06 20:37:28 -0800147 help
148 This option enables support for the PCEngines WRAP programmable LEDs.
149
Yoichi Yuasaf3b6b6c2007-09-21 00:02:47 +0100150config LEDS_COBALT_QUBE
151 tristate "LED Support for the Cobalt Qube series front LED"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800152 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700153 depends on MIPS_COBALT
Florian Fainelli2fea6f32007-02-12 23:16:27 +0000154 help
Yoichi Yuasaf3b6b6c2007-09-21 00:02:47 +0100155 This option enables support for the front LED on Cobalt Qube series
Florian Fainelli2fea6f32007-02-12 23:16:27 +0000156
Yoichi Yuasa97da7aa2007-09-27 17:51:05 +0900157config LEDS_COBALT_RAQ
158 bool "LED Support for the Cobalt Raq series"
Yoichi Yuasaec149612008-12-03 08:09:28 +0000159 depends on LEDS_CLASS=y && MIPS_COBALT
Yoichi Yuasa97da7aa2007-09-27 17:51:05 +0900160 select LEDS_TRIGGERS
161 help
162 This option enables support for the Cobalt Raq series LEDs.
163
David S. Miller58434922008-08-31 20:26:48 -0700164config LEDS_SUNFIRE
165 tristate "LED support for SunFire servers."
Johannes Berg0bae35e2010-12-02 14:31:14 -0800166 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700167 depends on SPARC64
David S. Miller58434922008-08-31 20:26:48 -0700168 select LEDS_TRIGGERS
169 help
170 This option enables support for the Left, Middle, and Right
171 LEDs on the I/O and CPU boards of SunFire UltraSPARC servers.
172
Linus Walleij4da498fc2014-07-23 05:36:00 -0700173config LEDS_IPAQ_MICRO
174 tristate "LED Support for the Compaq iPAQ h3xxx"
Jacek Anaszewski35bfe452015-09-07 17:06:05 +0200175 depends on LEDS_CLASS
Linus Walleij4da498fc2014-07-23 05:36:00 -0700176 depends on MFD_IPAQ_MICRO
177 help
178 Choose this option if you want to use the notification LED on
179 Compaq/HP iPAQ h3100 and h3600.
180
Kristoffer Ericsond39a7a62008-02-07 10:10:28 +0000181config LEDS_HP6XX
182 tristate "LED Support for the HP Jornada 6xx"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800183 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700184 depends on SH_HP6XX
Kristoffer Ericsond39a7a62008-02-07 10:10:28 +0000185 help
Matt LaPlante692105b2009-01-26 11:12:25 +0100186 This option enables LED support for the handheld
Kristoffer Ericsond39a7a62008-02-07 10:10:28 +0000187 HP Jornada 620/660/680/690.
188
Riku Voipioe14fa822008-05-31 14:43:41 +0100189config LEDS_PCA9532
190 tristate "LED driver for PCA9532 dimmer"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800191 depends on LEDS_CLASS
Kees Cook5e0b0802013-01-16 18:53:41 -0800192 depends on I2C && INPUT
Riku Voipioe14fa822008-05-31 14:43:41 +0100193 help
194 This option enables support for NXP pca9532
Matt LaPlante692105b2009-01-26 11:12:25 +0100195 LED controller. It is generally only useful
Riku Voipioe14fa822008-05-31 14:43:41 +0100196 as a platform driver
197
Joachim Eastwood3c1ab502011-05-24 17:13:23 -0700198config LEDS_PCA9532_GPIO
199 bool "Enable GPIO support for PCA9532"
200 depends on LEDS_PCA9532
201 depends on GPIOLIB
202 help
203 Allow unused pins on PCA9532 to be used as gpio.
204
205 To use a pin as gpio pca9532_type in pca9532_platform data needs to
206 set to PCA9532_TYPE_GPIO.
207
Raphael Assenat22e03f32007-02-27 19:49:53 +0000208config LEDS_GPIO
209 tristate "LED Support for GPIO connected LEDs"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800210 depends on LEDS_CLASS
Geert Uytterhoeven9ab19632015-05-07 01:08:10 -0700211 depends on GPIOLIB || COMPILE_TEST
Raphael Assenat22e03f32007-02-27 19:49:53 +0000212 help
213 This option enables support for the LEDs connected to GPIO
214 outputs. To be useful the particular board must have LEDs
Trent Piephoa7d878a2009-01-10 17:26:01 +0000215 and they must be connected to the GPIO lines. The LEDs must be
216 defined as platform devices and/or OpenFirmware platform devices.
217 The code to use these bindings can be selected below.
218
Antonio Ospite5054d392009-06-19 13:55:42 +0200219config LEDS_LP3944
220 tristate "LED Support for N.S. LP3944 (Fun Light) I2C chip"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800221 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700222 depends on I2C
Antonio Ospite5054d392009-06-19 13:55:42 +0200223 help
Antonio Ospite7f1be812009-07-03 16:18:45 +0200224 This option enables support for LEDs connected to the National
225 Semiconductor LP3944 Lighting Management Unit (LMU) also known as
226 Fun Light Chip.
Antonio Ospite5054d392009-06-19 13:55:42 +0200227
228 To compile this driver as a module, choose M here: the
229 module will be called leds-lp3944.
230
Tony Makkield966c942016-07-11 11:48:49 +0100231config LEDS_LP3952
232 tristate "LED Support for TI LP3952 2 channel LED driver"
233 depends on LEDS_CLASS
234 depends on I2C
235 depends on ACPI
236 depends on GPIOLIB
237 select REGMAP_I2C
238 help
239 This option enables support for LEDs connected to the Texas
240 Instruments LP3952 LED driver.
241
242 To compile this driver as a module, choose M here: the
243 module will be called leds-lp3952.
244
Milo(Woogyom) Kimc93d08f2013-02-05 18:01:23 +0900245config LEDS_LP55XX_COMMON
Kim, Milo33b3a562013-07-09 02:11:37 -0700246 tristate "Common Driver for TI/National LP5521/5523/55231/5562/8501"
247 depends on LEDS_LP5521 || LEDS_LP5523 || LEDS_LP5562 || LEDS_LP8501
Milo(Woogyom) Kim10c06d12013-02-05 19:17:20 +0900248 select FW_LOADER
Takashi Iwai2338f732015-09-07 14:25:01 +0200249 select FW_LOADER_USER_HELPER
Milo(Woogyom) Kimc93d08f2013-02-05 18:01:23 +0900250 help
Kim, Milo33b3a562013-07-09 02:11:37 -0700251 This option supports common operations for LP5521/5523/55231/5562/8501
Milo(Woogyom) Kimc93d08f2013-02-05 18:01:23 +0900252 devices.
253
Samu Onkalof4920f62010-11-11 14:05:23 -0800254config LEDS_LP5521
255 tristate "LED Support for N.S. LP5521 LED driver chip"
256 depends on LEDS_CLASS && I2C
Milo(Woogyom) Kimc93d08f2013-02-05 18:01:23 +0900257 select LEDS_LP55XX_COMMON
Samu Onkalof4920f62010-11-11 14:05:23 -0800258 help
259 If you say yes here you get support for the National Semiconductor
260 LP5521 LED driver. It is 3 channel chip with programmable engines.
261 Driver provides direct control via LED class and interface for
262 programming the engines.
263
264config LEDS_LP5523
Kim, Miloca705322012-09-04 15:06:11 +0800265 tristate "LED Support for TI/National LP5523/55231 LED driver chip"
Samu Onkalof4920f62010-11-11 14:05:23 -0800266 depends on LEDS_CLASS && I2C
Milo(Woogyom) Kimc93d08f2013-02-05 18:01:23 +0900267 select LEDS_LP55XX_COMMON
Samu Onkalof4920f62010-11-11 14:05:23 -0800268 help
Kim, Miloca705322012-09-04 15:06:11 +0800269 If you say yes here you get support for TI/National Semiconductor
270 LP5523/55231 LED driver.
271 It is 9 channel chip with programmable engines.
Samu Onkalof4920f62010-11-11 14:05:23 -0800272 Driver provides direct control via LED class and interface for
273 programming the engines.
274
Kim, Miloff45262a2013-02-18 21:10:14 -0800275config LEDS_LP5562
276 tristate "LED Support for TI LP5562 LED driver chip"
277 depends on LEDS_CLASS && I2C
278 select LEDS_LP55XX_COMMON
279 help
280 If you say yes here you get support for TI LP5562 LED driver.
281 It is 4 channels chip with programmable engines.
282 Driver provides direct control via LED class and interface for
283 programming the engines.
284
Kim, Milo33b3a562013-07-09 02:11:37 -0700285config LEDS_LP8501
286 tristate "LED Support for TI LP8501 LED driver chip"
287 depends on LEDS_CLASS && I2C
288 select LEDS_LP55XX_COMMON
289 help
290 If you say yes here you get support for TI LP8501 LED driver.
291 It is 9 channel chip with programmable engines.
292 Driver provides direct control via LED class and interface for
293 programming the engines.
294 It is similar as LP5523, but output power selection is available.
295 And register layout and engine program schemes are different.
296
Kim, Miloeb804112012-07-20 16:43:59 +0800297config LEDS_LP8788
298 tristate "LED support for the TI LP8788 PMIC"
299 depends on LEDS_CLASS
300 depends on MFD_LP8788
301 help
302 This option enables support for the Keyboard LEDs on the LP8788 PMIC.
303
Dan Murphy7a8685a2014-11-19 04:48:35 -0800304config LEDS_LP8860
305 tristate "LED support for the TI LP8860 4 channel LED driver"
Axel Lin2969bb12014-11-21 05:48:26 -0800306 depends on LEDS_CLASS && I2C
307 select REGMAP_I2C
Dan Murphy7a8685a2014-11-19 04:48:35 -0800308 help
309 If you say yes here you get support for the TI LP8860 4 channel
310 LED driver.
311 This option enables support for the display cluster LEDs
312 on the LP8860 4 channel LED driver using the I2C communication
313 bus.
314
Márton Némethcec035d2007-10-31 11:46:41 +0100315config LEDS_CLEVO_MAIL
Németh Márton95dc5762009-04-03 07:42:47 +0200316 tristate "Mail LED on Clevo notebook"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800317 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700318 depends on X86 && SERIO_I8042 && DMI
Márton Némethcec035d2007-10-31 11:46:41 +0100319 help
320 This driver makes the mail LED accessible from userspace
321 programs through the leds subsystem. This LED have three
322 known mode: off, blink at 0.5Hz and blink at 1Hz.
323
Márton Németh92e015c2007-10-31 15:09:05 +0100324 The driver supports two kinds of interface: using ledtrig-timer
325 or through /sys/class/leds/clevo::mail/brightness. As this LED
326 cannot change it's brightness it blinks instead. The brightness
327 value 0 means off, 1..127 means blink at 0.5Hz and 128..255 means
328 blink at 1Hz.
Márton Némethcec035d2007-10-31 11:46:41 +0100329
330 This module can drive the mail LED for the following notebooks:
331
Mrton Nmethb3ba31f2008-03-09 20:47:59 +0000332 Clevo D400P
Márton Némethcec035d2007-10-31 11:46:41 +0100333 Clevo D410J
334 Clevo D410V
335 Clevo D400V/D470V (not tested, but might work)
336 Clevo M540N
337 Clevo M5x0N (not tested, but might work)
338 Positivo Mobile (Clevo M5x0V)
339
Mrton Nmethb3ba31f2008-03-09 20:47:59 +0000340 If your model is not listed here you can try the "nodetect"
Matt LaPlante692105b2009-01-26 11:12:25 +0100341 module parameter.
Mrton Nmethb3ba31f2008-03-09 20:47:59 +0000342
Márton Némethcec035d2007-10-31 11:46:41 +0100343 To compile this driver as a module, choose M here: the
344 module will be called leds-clevo-mail.
345
Nate Casef46e9202008-07-16 22:49:55 +0100346config LEDS_PCA955X
347 tristate "LED Support for PCA955x I2C chips"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800348 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700349 depends on I2C
Nate Casef46e9202008-07-16 22:49:55 +0100350 help
351 This option enables support for LEDs connected to PCA955x
352 LED driver chips accessed via the I2C bus. Supported
353 devices include PCA9550, PCA9551, PCA9552, and PCA9553.
354
Ricardo Ribalda Delgado56a17402013-08-14 14:23:50 -0700355config LEDS_PCA963X
Ricardo Ribalda Delgadoaf673842013-08-14 14:23:47 -0700356 tristate "LED support for PCA963x I2C chip"
Peter Meerwald75cb2e12012-03-23 15:02:10 -0700357 depends on LEDS_CLASS
358 depends on I2C
359 help
Ricardo Ribalda Delgadoaf673842013-08-14 14:23:47 -0700360 This option enables support for LEDs connected to the PCA963x
361 LED driver chip accessed via the I2C bus. Supported
362 devices include PCA9633 and PCA9634
Peter Meerwald75cb2e12012-03-23 15:02:10 -0700363
Mark Brownc746b552009-09-05 14:09:21 +0100364config LEDS_WM831X_STATUS
365 tristate "LED support for status LEDs on WM831x PMICs"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800366 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700367 depends on MFD_WM831X
Mark Brownc746b552009-09-05 14:09:21 +0100368 help
369 This option enables support for the status LEDs of the WM831x
370 series of PMICs.
371
Mark Brown0081e802008-12-04 16:52:33 +0000372config LEDS_WM8350
373 tristate "LED Support for WM8350 AudioPlus PMIC"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800374 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700375 depends on MFD_WM8350
Mark Brown0081e802008-12-04 16:52:33 +0000376 help
377 This option enables support for LEDs driven by the Wolfson
378 Microelectronics WM8350 AudioPlus PMIC.
379
Mike Rapoport9e845612008-10-13 09:06:10 +0100380config LEDS_DA903X
381 tristate "LED Support for DA9030/DA9034 PMIC"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800382 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700383 depends on PMIC_DA903X
Mike Rapoport9e845612008-10-13 09:06:10 +0100384 help
385 This option enables support for on-chip LED drivers found
386 on Dialog Semiconductor DA9030/DA9034 PMICs.
387
David Dajun Chen5ba73632012-05-29 15:07:26 -0700388config LEDS_DA9052
389 tristate "Dialog DA9052/DA9053 LEDS"
390 depends on LEDS_CLASS
391 depends on PMIC_DA9052
392 help
393 This option enables support for on-chip LED drivers found
394 on Dialog Semiconductor DA9052-BC and DA9053-AA/Bx PMICs.
395
Guennadi Liakhovetskiac2dd0f2009-01-10 18:58:28 +0000396config LEDS_DAC124S085
397 tristate "LED Support for DAC124S085 SPI DAC"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800398 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700399 depends on SPI
Guennadi Liakhovetskiac2dd0f2009-01-10 18:58:28 +0000400 help
401 This option enables support for DAC124S085 SPI DAC from NatSemi,
402 which can be used to control up to four LEDs.
403
Luotao Fu41c42ff2009-02-11 13:24:40 -0800404config LEDS_PWM
405 tristate "PWM driven LED Support"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800406 depends on LEDS_CLASS
Peter Ujfalusiad0ba852013-01-23 00:35:04 -0800407 depends on PWM
Luotao Fu41c42ff2009-02-11 13:24:40 -0800408 help
409 This option enables support for pwm driven LEDs
410
Antonio Ospited4cc6a22009-12-07 15:08:13 +0100411config LEDS_REGULATOR
412 tristate "REGULATOR driven LED support"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800413 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700414 depends on REGULATOR
Antonio Ospited4cc6a22009-12-07 15:08:13 +0100415 help
416 This option enables support for regulator driven LEDs.
417
Kim Kyuwon0b561292009-03-04 11:59:29 -0800418config LEDS_BD2802
419 tristate "LED driver for BD2802 RGB LED"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800420 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700421 depends on I2C
Kim Kyuwon0b561292009-03-04 11:59:29 -0800422 help
423 This option enables support for BD2802GU RGB LED driver chips
424 accessed via the I2C bus.
425
Dave Hansena328e952009-10-01 15:43:32 -0700426config LEDS_INTEL_SS4200
427 tristate "LED driver for Intel NAS SS4200 series"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800428 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700429 depends on PCI && DMI
Martin Dummerfe15ee42016-04-17 13:27:52 +0200430 depends on X86
Dave Hansena328e952009-10-01 15:43:32 -0700431 help
432 This option enables support for the Intel SS4200 series of
Martin Dummerfe15ee42016-04-17 13:27:52 +0200433 Network Attached Storage servers. You may control the hard
434 drive or power LEDs on the front panel. Using this driver
Dave Hansena328e952009-10-01 15:43:32 -0700435 can stop the front LED from blinking after startup.
436
Daniel Macka8dd18f2009-10-15 02:59:35 +0200437config LEDS_LT3593
438 tristate "LED driver for LT3593 controllers"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800439 depends on LEDS_CLASS
Geert Uytterhoeven82322742015-05-05 18:32:25 +0200440 depends on GPIOLIB || COMPILE_TEST
Daniel Macka8dd18f2009-10-15 02:59:35 +0200441 help
442 This option enables support for LEDs driven by a Linear Technology
443 LT3593 controller. This controller uses a special one-wire pulse
444 coding protocol to set the brightness.
445
Michael Henneriched4a10b2009-10-08 04:00:19 -0400446config LEDS_ADP5520
447 tristate "LED Support for ADP5520/ADP5501 PMIC"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800448 depends on LEDS_CLASS
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700449 depends on PMIC_ADP5520
Michael Henneriched4a10b2009-10-08 04:00:19 -0400450 help
451 This option enables support for on-chip LED drivers found
452 on Analog Devices ADP5520/ADP5501 PMICs.
453
454 To compile this driver as a module, choose M here: the module will
455 be called leds-adp5520.
456
Bob Rodgers72dcd8d2010-02-17 15:23:31 -0600457config LEDS_DELL_NETBOOKS
458 tristate "External LED on Dell Business Netbooks"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800459 depends on LEDS_CLASS
Bob Rodgers72dcd8d2010-02-17 15:23:31 -0600460 depends on X86 && ACPI_WMI
Michał Kępieńcf0d7ea2016-01-22 15:27:27 +0100461 depends on DELL_SMBIOS
Bob Rodgers72dcd8d2010-02-17 15:23:31 -0600462 help
463 This adds support for the Latitude 2100 and similar
464 notebooks that have an external LED.
465
Philippe Rétornaz7fdcef82010-05-19 09:24:31 +0200466config LEDS_MC13783
Alexander Shiyanae6cdb02013-06-10 09:59:31 -0700467 tristate "LED Support for MC13XXX PMIC"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800468 depends on LEDS_CLASS
Alexander Shiyanae6cdb02013-06-10 09:59:31 -0700469 depends on MFD_MC13XXX
Philippe Rétornaz7fdcef82010-05-19 09:24:31 +0200470 help
471 This option enable support for on-chip LED drivers found
Alexander Shiyana59ce652014-01-31 22:36:28 -0800472 on Freescale Semiconductor MC13783/MC13892/MC34708 PMIC.
Philippe Rétornaz7fdcef82010-05-19 09:24:31 +0200473
Simon Guinot11efe712010-07-06 16:08:46 +0200474config LEDS_NS2
475 tristate "LED support for Network Space v2 GPIO LEDs"
Johannes Berg0bae35e2010-12-02 14:31:14 -0800476 depends on LEDS_CLASS
Simon Guinot259f5ba2015-07-02 19:56:43 +0200477 depends on MACH_KIRKWOOD || MACH_ARMADA_370
Simon Guinot11efe712010-07-06 16:08:46 +0200478 default y
479 help
Simon Guinot259f5ba2015-07-02 19:56:43 +0200480 This option enables support for the dual-GPIO LEDs found on the
481 following LaCie/Seagate boards:
482
483 Network Space v2 (and parents: Max, Mini)
484 Internet Space v2
485 d2 Network v2
486 n090401 (Seagate NAS 4-Bay)
Simon Guinot11efe712010-07-06 16:08:46 +0200487
Simon Guinot24467832010-10-07 16:38:49 +0200488config LEDS_NETXBIG
489 tristate "LED support for Big Network series LEDs"
Axel Lin2504f6d2011-07-25 17:13:16 -0700490 depends on LEDS_CLASS
Andrew Lunn1093d8c2014-08-30 18:46:09 +0200491 depends on MACH_KIRKWOOD
Simon Guinot24467832010-10-07 16:38:49 +0200492 default y
493 help
494 This option enable support for LEDs found on the LaCie 2Big
495 and 5Big Network v2 boards. The LEDs are wired to a CPLD and are
496 controlled through a GPIO extension bus.
497
Paul Parsons7d9e7e92011-05-13 18:52:56 +0000498config LEDS_ASIC3
499 bool "LED support for the HTC ASIC3"
Axel Lin9473c4c2012-06-09 07:41:42 +0800500 depends on LEDS_CLASS=y
Paul Parsons7d9e7e92011-05-13 18:52:56 +0000501 depends on MFD_ASIC3
502 default y
503 help
504 This option enables support for the LEDs on the HTC ASIC3. The HTC
505 ASIC3 LED GPIOs are inputs, not outputs, thus the leds-gpio driver
506 cannot be used. This driver supports hardware blinking with an on+off
507 period from 62ms to 125s. Say Y to enable LEDs on the HP iPAQ hx4700.
508
NeilBrowna6d511e2012-01-10 15:09:40 -0800509config LEDS_TCA6507
510 tristate "LED Support for TCA6507 I2C chip"
511 depends on LEDS_CLASS && I2C
512 help
513 This option enables support for LEDs connected to TC6507
514 LED driver chips accessed via the I2C bus.
515 Driver support brightness control and hardware-assisted blinking.
516
Andrew Lunne370d012015-03-17 15:08:27 -0700517config LEDS_TLC591XX
518 tristate "LED driver for TLC59108 and TLC59116 controllers"
519 depends on LEDS_CLASS && I2C
520 select REGMAP_I2C
521 help
522 This option enables support for Texas Instruments TLC59108
523 and TLC59116 LED controllers.
524
Jacek Anaszewskia43f6a82015-04-30 03:35:10 -0700525config LEDS_MAX77693
526 tristate "LED support for MAX77693 Flash"
527 depends on LEDS_CLASS_FLASH
Jacek Anaszewski10c19c92015-06-29 07:45:23 -0700528 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
Jacek Anaszewskia43f6a82015-04-30 03:35:10 -0700529 depends on MFD_MAX77693
530 depends on OF
531 help
532 This option enables support for the flash part of the MAX77693
533 multifunction device. It has build in control for two leds in flash
534 and torch mode.
535
Donggeun Kim8584cb82011-12-14 18:23:56 +0900536config LEDS_MAX8997
537 tristate "LED support for MAX8997 PMIC"
538 depends on LEDS_CLASS && MFD_MAX8997
539 help
540 This option enables support for on-chip LED drivers on
541 MAXIM MAX8997 PMIC.
542
G.Shark Jeongb98d13c2012-09-05 15:05:58 +0800543config LEDS_LM355x
544 tristate "LED support for LM355x Chips, LM3554 and LM3556"
G.Shark Jeong32abb472012-06-22 08:12:06 +0800545 depends on LEDS_CLASS && I2C
546 select REGMAP_I2C
547 help
G.Shark Jeongb98d13c2012-09-05 15:05:58 +0800548 This option enables support for LEDs connected to LM355x.
549 LM355x includes Torch, Flash and Indicator functions.
G.Shark Jeong32abb472012-06-22 08:12:06 +0800550
Sebastian Andrzej Siewiore9a45932012-01-20 14:33:59 -0800551config LEDS_OT200
552 tristate "LED support for the Bachmann OT200"
Jean Delvared9e89282014-03-11 09:30:53 -0700553 depends on LEDS_CLASS && HAS_IOMEM && (X86_32 || COMPILE_TEST)
Sebastian Andrzej Siewiore9a45932012-01-20 14:33:59 -0800554 help
555 This option enables support for the LEDs on the Bachmann OT200.
556 Say Y to enable LEDs on the Bachmann OT200.
557
Andreas Werner38433632014-08-27 19:52:36 +0200558config LEDS_MENF21BMC
559 tristate "LED support for the MEN 14F021P00 BMC"
560 depends on LEDS_CLASS && MFD_MENF21BMC
561 help
562 Say Y here to include support for the MEN 14F021P00 BMC LEDs.
563
564 This driver can also be built as a module. If so the module
565 will be called leds-menf21bmc.
566
Ingi Kimb7da8c52015-05-12 01:37:57 -0700567config LEDS_KTD2692
568 tristate "LED support for KTD2692 flash LED controller"
Geert Uytterhoeven6e3956c2015-07-06 15:42:34 +0200569 depends on LEDS_CLASS_FLASH && OF
570 depends on GPIOLIB || COMPILE_TEST
Ingi Kimb7da8c52015-05-12 01:37:57 -0700571 help
572 This option enables support for KTD2692 LED flash connected
573 through ExpressWire interface.
574
575 Say Y to enable this driver.
576
Ralf Baechle22a16872015-08-03 17:04:01 +0200577config LEDS_SEAD3
578 tristate "LED support for the MIPS SEAD 3 board"
579 depends on LEDS_CLASS && MIPS_SEAD3
580 help
581 Say Y here to include support for the FLED and PLED LEDs on SEAD3 eval
582 boards.
583
584 This driver can also be built as a module. If so the module
585 will be called leds-sead3.
586
H. Nikolaus Schaller8c40b7d2016-07-19 13:47:30 +0200587config LEDS_IS31FL319X
588 tristate "LED Support for ISSI IS31FL319x I2C LED controller family"
589 depends on LEDS_CLASS && I2C && OF
590 select REGMAP_I2C
591 help
592 This option enables support for LEDs connected to ISSI IS31FL319x
593 fancy LED driver chips accessed via the I2C bus.
594 Driver supports individual PWM brightness control for each channel.
595
596 This driver can also be built as a module. If so the module will be
597 called leds-is31fl319x.
598
David Rivshin9d7cffa2016-03-07 19:57:15 -0500599config LEDS_IS31FL32XX
600 tristate "LED support for ISSI IS31FL32XX I2C LED controller family"
601 depends on LEDS_CLASS && I2C && OF
602 help
David Rivshine0442d72016-03-07 19:57:16 -0500603 Say Y here to include support for ISSI IS31FL32XX and Si-En SN32xx
604 LED controllers. They are I2C devices with multiple constant-current
605 channels, each with independent 256-level PWM control.
David Rivshin9d7cffa2016-03-07 19:57:15 -0500606
Vivien Didelotf70ed8a2014-04-14 16:50:19 -0400607comment "LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)"
608
Jan-Simon Möllerb54cf352012-07-20 16:49:06 +0800609config LEDS_BLINKM
610 tristate "LED support for the BlinkM I2C RGB LED"
611 depends on LEDS_CLASS
612 depends on I2C
613 help
614 This option enables support for the BlinkM RGB LED connected
615 through I2C. Say Y to enable support for the BlinkM LED.
616
Vasant Hegde84ad6e52015-08-19 22:19:54 +0530617config LEDS_POWERNV
618 tristate "LED support for PowerNV Platform"
619 depends on LEDS_CLASS
620 depends on PPC_POWERNV
621 depends on OF
622 help
623 This option enables support for the system LEDs present on
624 PowerNV platforms. Say 'y' to enable this support in kernel.
625 To compile this driver as a module, choose 'm' here: the module
626 will be called leds-powernv.
627
Fenglin Wu3b507ad2017-11-13 10:46:02 +0800628config LEDS_QTI_TRI_LED
629 tristate "LED support for Qualcomm Technologies, Inc. TRI_LED"
630 depends on LEDS_CLASS && MFD_SPMI_PMIC && PWM && OF
631 help
632 This driver supports the TRI_LED module found in Qualcomm
633 Technologies, Inc. PMIC chips. TRI_LED supports 3 LED drivers
634 at max and each is controlled by a PWM channel used for dimming
635 or blinking.
636
Linus Walleij535f09c2014-05-22 00:34:16 +0200637config LEDS_SYSCON
638 bool "LED support for LEDs on system controllers"
639 depends on LEDS_CLASS=y
640 depends on MFD_SYSCON
641 depends on OF
642 help
643 This option enabled support for the LEDs on syscon type
644 devices. This will only work with device tree enabled
645 devices.
646
Linus Walleij1dc7d832014-02-27 14:44:17 +0100647config LEDS_VERSATILE
Arnd Bergmanna501fd32014-05-06 14:58:22 +0200648 tristate "LED support for the ARM Versatile and RealView"
Linus Walleij1dc7d832014-02-27 14:44:17 +0100649 depends on ARCH_REALVIEW || ARCH_VERSATILE
650 depends on LEDS_CLASS
651 help
652 This option enabled support for the LEDs on the ARM Versatile
653 and RealView boards. Say Y to enabled these.
654
Linus Walleij7f866982016-08-16 11:25:10 +0200655config LEDS_PM8058
656 tristate "LED Support for the Qualcomm PM8058 PMIC"
657 depends on MFD_PM8921_CORE
658 depends on LEDS_CLASS
659 help
660 Choose this option if you want to use the LED drivers in
661 the Qualcomm PM8058 PMIC.
662
Vadim Pasternakbe4fdf92016-09-08 07:25:53 +0000663config LEDS_MLXCPLD
664 tristate "LED support for the Mellanox boards"
665 depends on X86_64 && DMI
666 depends on LEDS_CLASS
667 help
668 This option enabled support for the LEDs on the Mellanox
669 boards. Say Y to enabled these.
670
David Collins8885f792017-01-26 14:36:34 -0800671config LEDS_QPNP
672 tristate "Support for QPNP LEDs"
673 depends on LEDS_CLASS && SPMI
674 help
675 This driver supports the LED functionality of Qualcomm Technologies,
676 Inc. QPNP PMICs. It primarily supports controlling tri-color RGB
677 LEDs in both PWM and light pattern generator (LPG) modes. For older
678 PMICs, it also supports WLEDs and flash LEDs.
679
Kiran Gunda183d58f2017-11-14 15:24:50 +0530680config LEDS_QPNP_FLASH
681 tristate "Support for QPNP Flash LEDs"
682 depends on LEDS_CLASS && MFD_SPMI_PMIC
683 help
684 This driver supports the flash LED functionality of Qualcomm
685 Technologies, Inc. QPNP PMICs. This driver supports PMICs up through
686 PM8994. It can configure the flash LED target current for several
687 independent channels.
688
David Collins8885f792017-01-26 14:36:34 -0800689config LEDS_QPNP_FLASH_V2
690 tristate "Support for QPNP V2 Flash LEDs"
Abhijeet Dharmapurikarcba6a712017-02-28 15:50:09 -0800691 depends on LEDS_CLASS && MFD_SPMI_PMIC
David Collins8885f792017-01-26 14:36:34 -0800692 help
693 This driver supports the flash V2 LED functionality of Qualcomm
694 Technologies, Inc. QPNP PMICs. This driver supports PMICs starting
695 from PMI8998. It can configure the flash LED target current for
696 several independent channels. It also supports various over current
697 and over temperature mitigation features.
698
699config LEDS_QPNP_WLED
700 tristate "Support for QPNP WLED"
701 depends on LEDS_CLASS && SPMI
702 help
703 This driver supports the WLED (White LED) functionality of Qualcomm
704 Technologies, Inc. QPNP PMICs. WLED is used for LCD backlight with
705 variable brightness. It also supports outputting the Avdd supply for
706 AMOLED displays.
707
Subbaraman Narayanamurthy0b5fbf32017-05-11 18:50:43 -0700708config LEDS_QPNP_HAPTICS
709 tristate "Haptics support for QPNP PMIC"
710 depends on LEDS_CLASS && MFD_SPMI_PMIC
711 help
712 This option enables device driver support for the haptics peripheral
713 found on Qualcomm Technologies, Inc. QPNP PMICs. The haptic
714 peripheral is capable of driving both LRA and ERM vibrators. This
715 module provides haptic feedback for user actions such as a long press
716 on the touch screen.
717
Tirupathi Reddy9722c562017-11-28 12:41:59 +0530718config LEDS_QPNP_VIBRATOR_LDO
719 tristate "Vibrator-LDO support for QPNP PMIC"
720 depends on LEDS_CLASS && MFD_SPMI_PMIC
721 help
722 This option enables device driver support for the vibrator-ldo
723 peripheral found on Qualcomm Technologies, Inc. QPNP PMICs.
724 The vibrator-ldo peripheral is capable of driving ERM vibrators.
725
Anirudh Ghayal85430b92018-04-16 18:58:35 +0530726config LEDS_QPNP_VIBRATOR
727 tristate "Vibrator support for QPNP PMIC"
728 depends on LEDS_CLASS && MFD_SPMI_PMIC
729 help
730 This option enables device driver support for the vibrator
731 on the Qualcomm technologies Inc's QPNP PMICs. The vibrator
732 is connected on the VIB_DRV_N line and can be controlled
733 manually or by the DTEST lines.It uses the android timed-output
734 framework.
735
H Hartley Sweetend09e1662010-01-20 16:08:30 -0700736comment "LED Triggers"
Kim, Milof07fb522013-02-20 00:36:01 -0800737source "drivers/leds/trigger/Kconfig"
Shuah Khan44e1e9f2012-05-29 15:07:30 -0700738
Jan Engelhardt66242f72007-05-10 10:44:11 +0100739endif # NEW_LEDS