hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/video/backlight/Kconfig
....@@ -1,21 +1,15 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # Backlight & LCD drivers configuration
34 #
45
5
-menuconfig BACKLIGHT_LCD_SUPPORT
6
- bool "Backlight & LCD device support"
7
- help
8
- Enable this to be able to choose the drivers for controlling the
9
- backlight and the LCD panel on some platforms, for example on PDAs.
10
-
11
-if BACKLIGHT_LCD_SUPPORT
6
+menu "Backlight & LCD device support"
127
138 #
149 # LCD
1510 #
1611 config LCD_CLASS_DEVICE
17
- tristate "Lowlevel LCD controls"
18
- default m
12
+ tristate "Lowlevel LCD controls"
1913 help
2014 This framework adds support for low-level control of LCD.
2115 Some framebuffer devices connect to platform-specific LCD modules
....@@ -105,27 +99,11 @@
10599
106100 config LCD_HP700
107101 tristate "HP Jornada 700 series LCD Driver"
108
- depends on SA1100_JORNADA720_SSP && !PREEMPT
102
+ depends on SA1100_JORNADA720_SSP && !PREEMPTION
109103 default y
110104 help
111105 If you have an HP Jornada 700 series handheld (710/720/728)
112106 say Y to enable LCD control driver.
113
-
114
-config LCD_S6E63M0
115
- tristate "S6E63M0 AMOLED LCD Driver"
116
- depends on SPI && BACKLIGHT_CLASS_DEVICE
117
- default n
118
- help
119
- If you have an S6E63M0 LCD Panel, say Y to enable its
120
- LCD control driver.
121
-
122
-config LCD_LD9040
123
- tristate "LD9040 AMOLED LCD Driver"
124
- depends on SPI && BACKLIGHT_CLASS_DEVICE
125
- default n
126
- help
127
- If you have an LD9040 Panel, say Y to enable its
128
- control driver.
129107
130108 config LCD_AMS369FG06
131109 tristate "AMS369FG06 AMOLED LCD Driver"
....@@ -163,11 +141,10 @@
163141 # Backlight
164142 #
165143 config BACKLIGHT_CLASS_DEVICE
166
- tristate "Lowlevel Backlight controls"
167
- default m
144
+ tristate "Lowlevel Backlight controls"
168145 help
169146 This framework adds support for low-level control of the LCD
170
- backlight. This includes support for brightness and power.
147
+ backlight. This includes support for brightness and power.
171148
172149 To have support for your specific LCD panel you will have to
173150 select the proper drivers which depend on this option.
....@@ -196,14 +173,6 @@
196173 To compile this driver as a module, choose M here: the module will
197174 be called ep93xx_bl.
198175
199
-config BACKLIGHT_GENERIC
200
- tristate "Generic (aka Sharp Corgi) Backlight Driver"
201
- default y
202
- help
203
- Say y to enable the generic platform backlight driver previously
204
- known as the Corgi backlight driver. If you have a Sharp Zaurus
205
- SL-C7xx, SL-Cxx00 or SL-6000x say y.
206
-
207176 config BACKLIGHT_IPAQ_MICRO
208177 tristate "iPAQ microcontroller backlight driver"
209178 depends on MFD_IPAQ_MICRO
....@@ -213,9 +182,16 @@
213182 computers. Say yes if you have one of the h3100/h3600/h3700
214183 machines.
215184
185
+config BACKLIGHT_KTD253
186
+ tristate "Backlight Driver for Kinetic KTD253"
187
+ depends on GPIOLIB || COMPILE_TEST
188
+ help
189
+ Say y to enabled the backlight driver for the Kinetic KTD253
190
+ which is a 1-wire GPIO-controlled backlight found in some mobile
191
+ phones.
192
+
216193 config BACKLIGHT_LM3533
217194 tristate "Backlight Driver for LM3533"
218
- depends on BACKLIGHT_CLASS_DEVICE
219195 depends on MFD_LM3533
220196 help
221197 Say Y to enable the backlight driver for National Semiconductor / TI
....@@ -252,7 +228,7 @@
252228
253229 config BACKLIGHT_HP700
254230 tristate "HP Jornada 700 series Backlight Driver"
255
- depends on SA1100_JORNADA720_SSP && !PREEMPT
231
+ depends on SA1100_JORNADA720_SSP && !PREEMPTION
256232 default y
257233 help
258234 If you have an HP Jornada 700 series,
....@@ -296,7 +272,7 @@
296272 tristate "Apple Backlight Driver"
297273 depends on X86 && ACPI
298274 help
299
- If you have an Intel-based Apple say Y to enable a driver for its
275
+ If you have an Intel-based Apple say Y to enable a driver for its
300276 backlight.
301277
302278 config BACKLIGHT_TOSA
....@@ -306,12 +282,12 @@
306282 If you have an Sharp SL-6000 Zaurus say Y to enable a driver
307283 for its backlight
308284
309
-config BACKLIGHT_PM8941_WLED
310
- tristate "Qualcomm PM8941 WLED Driver"
285
+config BACKLIGHT_QCOM_WLED
286
+ tristate "Qualcomm PMIC WLED Driver"
311287 select REGMAP
312288 help
313
- If you have the Qualcomm PM8941, say Y to enable a driver for the
314
- WLED block.
289
+ If you have the Qualcomm PMIC, say Y to enable a driver for the
290
+ WLED block. Currently it supports PM8941 and PMI8998.
315291
316292 config BACKLIGHT_SAHARA
317293 tristate "Tabletkiosk Sahara Touch-iT Backlight Driver"
....@@ -339,7 +315,7 @@
339315
340316 config BACKLIGHT_ADP8860
341317 tristate "Backlight Driver for ADP8860/ADP8861/ADP8863 using WLED"
342
- depends on BACKLIGHT_CLASS_DEVICE && I2C
318
+ depends on I2C
343319 select NEW_LEDS
344320 select LEDS_CLASS
345321 help
....@@ -351,7 +327,7 @@
351327
352328 config BACKLIGHT_ADP8870
353329 tristate "Backlight Driver for ADP8870 using WLED"
354
- depends on BACKLIGHT_CLASS_DEVICE && I2C
330
+ depends on I2C
355331 select NEW_LEDS
356332 select LEDS_CLASS
357333 help
....@@ -369,28 +345,28 @@
369345
370346 config BACKLIGHT_PCF50633
371347 tristate "Backlight driver for NXP PCF50633 MFD"
372
- depends on BACKLIGHT_CLASS_DEVICE && MFD_PCF50633
348
+ depends on MFD_PCF50633
373349 help
374350 If you have a backlight driven by a NXP PCF50633 MFD, say Y here to
375351 enable its driver.
376352
377353 config BACKLIGHT_AAT2870
378354 tristate "AnalogicTech AAT2870 Backlight"
379
- depends on BACKLIGHT_CLASS_DEVICE && MFD_AAT2870_CORE
355
+ depends on MFD_AAT2870_CORE
380356 help
381357 If you have a AnalogicTech AAT2870 say Y to enable the
382358 backlight driver.
383359
384360 config BACKLIGHT_LM3630A
385361 tristate "Backlight Driver for LM3630A"
386
- depends on BACKLIGHT_CLASS_DEVICE && I2C && PWM
362
+ depends on I2C && PWM
387363 select REGMAP_I2C
388364 help
389365 This supports TI LM3630A Backlight Driver
390366
391367 config BACKLIGHT_LM3639
392368 tristate "Backlight Driver for LM3639"
393
- depends on BACKLIGHT_CLASS_DEVICE && I2C
369
+ depends on I2C
394370 select REGMAP_I2C
395371 select NEW_LEDS
396372 select LEDS_CLASS
....@@ -399,23 +375,16 @@
399375
400376 config BACKLIGHT_LP855X
401377 tristate "Backlight driver for TI LP855X"
402
- depends on BACKLIGHT_CLASS_DEVICE && I2C && PWM
378
+ depends on I2C && PWM
403379 help
404380 This supports TI LP8550, LP8551, LP8552, LP8553, LP8555, LP8556 and
405381 LP8557 backlight driver.
406382
407383 config BACKLIGHT_LP8788
408384 tristate "Backlight driver for TI LP8788 MFD"
409
- depends on BACKLIGHT_CLASS_DEVICE && MFD_LP8788 && PWM
385
+ depends on MFD_LP8788 && PWM
410386 help
411387 This supports TI LP8788 backlight driver.
412
-
413
-config BACKLIGHT_OT200
414
- tristate "Backlight driver for ot200 visualisation device"
415
- depends on BACKLIGHT_CLASS_DEVICE && CS5535_MFGPT && GPIO_CS5535
416
- help
417
- To compile this driver as a module, choose M here: the module will be
418
- called ot200_bl.
419388
420389 config BACKLIGHT_PANDORA
421390 tristate "Backlight driver for Pandora console"
....@@ -426,7 +395,7 @@
426395
427396 config BACKLIGHT_SKY81452
428397 tristate "Backlight driver for SKY81452"
429
- depends on BACKLIGHT_CLASS_DEVICE && MFD_SKY81452
398
+ depends on MFD_SKY81452
430399 help
431400 If you have a Skyworks SKY81452, say Y to enable the
432401 backlight driver.
....@@ -436,14 +405,14 @@
436405
437406 config BACKLIGHT_TPS65217
438407 tristate "TPS65217 Backlight"
439
- depends on BACKLIGHT_CLASS_DEVICE && MFD_TPS65217
408
+ depends on MFD_TPS65217
440409 help
441410 If you have a Texas Instruments TPS65217 say Y to enable the
442411 backlight driver.
443412
444413 config BACKLIGHT_AS3711
445414 tristate "AS3711 Backlight"
446
- depends on BACKLIGHT_CLASS_DEVICE && MFD_AS3711
415
+ depends on MFD_AS3711
447416 help
448417 If you have an Austrian Microsystems AS3711 say Y to enable the
449418 backlight driver.
....@@ -480,6 +449,13 @@
480449 help
481450 Support for backlight control on RAVE SP device.
482451
452
+config BACKLIGHT_LED
453
+ tristate "Generic LED based Backlight Driver"
454
+ depends on LEDS_CLASS && OF
455
+ help
456
+ If you have a LCD backlight adjustable by LED class driver, say Y
457
+ to enable this driver.
458
+
483459 endif # BACKLIGHT_CLASS_DEVICE
484460
485
-endif # BACKLIGHT_LCD_SUPPORT
461
+endmenu