Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Backlight & LCD drivers configuration
4#
5
6menu "Backlight & LCD device support"
7
8#
9# LCD
10#
11config LCD_CLASS_DEVICE
12 tristate "Lowlevel LCD controls"
13 help
14 This framework adds support for low-level control of LCD.
15 Some framebuffer devices connect to platform-specific LCD modules
16 in order to have a platform-specific way to control the flat panel
17 (contrast and applying power to the LCD (not to the backlight!)).
18
19 To have support for your specific LCD panel you will have to
20 select the proper drivers which depend on this option.
21
22if LCD_CLASS_DEVICE
23
24config LCD_CORGI
25 tristate "LCD Panel support for SHARP corgi/spitz model"
26 depends on SPI_MASTER && PXA_SHARPSL && BACKLIGHT_CLASS_DEVICE
27 help
28 Say y here to support the LCD panels usually found on SHARP
29 corgi (C7x0) and spitz (Cxx00) models.
30
31config LCD_L4F00242T03
32 tristate "Epson L4F00242T03 LCD"
33 depends on SPI_MASTER
34 depends on GPIOLIB || COMPILE_TEST
35 help
36 SPI driver for Epson L4F00242T03. This provides basic support
37 for init and powering the LCD up/down through a sysfs interface.
38
39config LCD_LMS283GF05
40 tristate "Samsung LMS283GF05 LCD"
41 depends on SPI_MASTER
42 depends on GPIOLIB || COMPILE_TEST
43 help
44 SPI driver for Samsung LMS283GF05. This provides basic support
45 for powering the LCD up/down through a sysfs interface.
46
47config LCD_LTV350QV
48 tristate "Samsung LTV350QV LCD Panel"
49 depends on SPI_MASTER
50 help
51 If you have a Samsung LTV350QV LCD panel, say y to include a
52 power control driver for it. The panel starts up in power
53 off state, so you need this driver in order to see any
54 output.
55
56 The LTV350QV panel is present on all ATSTK1000 boards.
57
58config LCD_ILI922X
59 tristate "ILI Technology ILI9221/ILI9222 support"
60 depends on SPI
61 help
62 If you have a panel based on the ILI9221/9222 controller
63 chip then say y to include a driver for it.
64
65config LCD_ILI9320
66 tristate "ILI Technology ILI9320 controller support"
67 depends on SPI
68 help
69 If you have a panel based on the ILI9320 controller chip
70 then say y to include a power driver for it.
71
72config LCD_TDO24M
73 tristate "Toppoly TDO24M and TDO35S LCD Panels support"
74 depends on SPI_MASTER
75 help
76 If you have a Toppoly TDO24M/TDO35S series LCD panel, say y here to
77 include the support for it.
78
79config LCD_VGG2432A4
80 tristate "VGG2432A4 LCM device support"
81 depends on SPI_MASTER
82 select LCD_ILI9320
83 help
84 If you have a VGG2432A4 panel based on the ILI9320 controller chip
85 then say y to include a power driver for it.
86
87config LCD_PLATFORM
88 tristate "Platform LCD controls"
89 help
90 This driver provides a platform-device registered LCD power
91 control interface.
92
93config LCD_HP700
94 tristate "HP Jornada 700 series LCD Driver"
95 depends on SA1100_JORNADA720_SSP && !PREEMPTION
96 default y
97 help
98 If you have an HP Jornada 700 series handheld (710/720/728)
99 say Y to enable LCD control driver.
100
101config LCD_AMS369FG06
102 tristate "AMS369FG06 AMOLED LCD Driver"
103 depends on SPI && BACKLIGHT_CLASS_DEVICE
104 default n
105 help
106 If you have an AMS369FG06 AMOLED Panel, say Y to enable its
107 LCD control driver.
108
109config LCD_LMS501KF03
110 tristate "LMS501KF03 LCD Driver"
111 depends on SPI
112 default n
113 help
114 If you have an LMS501KF03 LCD Panel, say Y to enable its
115 LCD control driver.
116
117config LCD_HX8357
118 tristate "Himax HX-8357 LCD Driver"
119 depends on SPI
120 help
121 If you have a HX-8357 LCD panel, say Y to enable its LCD control
122 driver.
123
124config LCD_OTM3225A
125 tristate "ORISE Technology OTM3225A support"
126 depends on SPI
127 help
128 If you have a panel based on the OTM3225A controller
129 chip then say y to include a driver for it.
130
131endif # LCD_CLASS_DEVICE
132
133#
134# Backlight
135#
136config BACKLIGHT_CLASS_DEVICE
137 tristate "Lowlevel Backlight controls"
138 help
139 This framework adds support for low-level control of the LCD
140 backlight. This includes support for brightness and power.
141
142 To have support for your specific LCD panel you will have to
143 select the proper drivers which depend on this option.
144
145if BACKLIGHT_CLASS_DEVICE
146
147config BACKLIGHT_ATMEL_LCDC
148 bool "Atmel LCDC Contrast-as-Backlight control"
149 depends on FB_ATMEL
150 help
151 This provides a backlight control internal to the Atmel LCDC
152 driver. If the LCD "contrast control" on your board is wired
153 so it controls the backlight brightness, select this option to
154 export this as a PWM-based backlight control.
155
156 If in doubt, it's safe to enable this option; it doesn't kick
157 in unless the board's description says it's wired that way.
158
159config BACKLIGHT_AW99706
160 tristate "Backlight Driver for Awinic AW99706"
161 depends on I2C
162 select REGMAP_I2C
163 help
164 If you have a LCD backlight connected to the WLED output of AW99706
165 WLED output, say Y here to enable this driver.
166
167config BACKLIGHT_EP93XX
168 tristate "Cirrus EP93xx Backlight Driver"
169 depends on FB_EP93XX
170 help
171 If you have a LCD backlight connected to the BRIGHT output of
172 the EP93xx, say Y here to enable this driver.
173
174 To compile this driver as a module, choose M here: the module will
175 be called ep93xx_bl.
176
177config BACKLIGHT_IPAQ_MICRO
178 tristate "iPAQ microcontroller backlight driver"
179 depends on MFD_IPAQ_MICRO
180 default y
181 help
182 Say y to enable the backlight driver for Compaq iPAQ handheld
183 computers. Say yes if you have one of the h3100/h3600/h3700
184 machines.
185
186config BACKLIGHT_KTD253
187 tristate "Backlight Driver for Kinetic KTD253"
188 depends on GPIOLIB || COMPILE_TEST
189 help
190 Say y to enabled the backlight driver for the Kinetic KTD253
191 which is a 1-wire GPIO-controlled backlight found in some mobile
192 phones.
193
194config BACKLIGHT_KTD2801
195 tristate "Backlight Driver for Kinetic KTD2801"
196 depends on GPIOLIB || COMPILE_TEST
197 select LEDS_EXPRESSWIRE
198 help
199 Say Y to enable the backlight driver for the Kinetic KTD2801 1-wire
200 GPIO-controlled backlight found in Samsung Galaxy Core Prime VE LTE.
201
202config BACKLIGHT_KTZ8866
203 tristate "Backlight Driver for Kinetic KTZ8866"
204 depends on I2C
205 select REGMAP_I2C
206 help
207 Say Y to enable the backlight driver for the Kinetic KTZ8866
208 found in Xiaomi Mi Pad 5 series.
209
210config BACKLIGHT_LM3533
211 tristate "Backlight Driver for LM3533"
212 depends on MFD_LM3533
213 help
214 Say Y to enable the backlight driver for National Semiconductor / TI
215 LM3533 Lighting Power chips.
216
217 The backlights can be controlled directly, through PWM input, or by
218 the ambient-light-sensor interface. The chip supports 256 brightness
219 levels.
220
221config BACKLIGHT_LOCOMO
222 tristate "Sharp LOCOMO LCD/Backlight Driver"
223 depends on SHARP_LOCOMO
224 default y
225 help
226 If you have a Sharp Zaurus SL-5500 (Collie) or SL-5600 (Poodle) say y to
227 enable the LCD/backlight driver.
228
229config BACKLIGHT_OMAP1
230 tristate "OMAP1 PWL-based LCD Backlight"
231 depends on ARCH_OMAP1 || COMPILE_TEST
232 default ARCH_OMAP1
233 help
234 This driver controls the LCD backlight level and power for
235 the PWL module of OMAP1 processors. Say Y if your board
236 uses this hardware.
237
238config BACKLIGHT_HP680
239 tristate "HP Jornada 680 Backlight Driver"
240 depends on SH_HP6XX
241 default y
242 help
243 If you have a HP Jornada 680, say y to enable the
244 backlight driver.
245
246config BACKLIGHT_HP700
247 tristate "HP Jornada 700 series Backlight Driver"
248 depends on SA1100_JORNADA720_SSP && !PREEMPTION
249 default y
250 help
251 If you have an HP Jornada 700 series,
252 say Y to include backlight control driver.
253
254config BACKLIGHT_PWM
255 tristate "Generic PWM based Backlight Driver"
256 depends on PWM
257 help
258 If you have a LCD backlight adjustable by PWM, say Y to enable
259 this driver.
260
261config BACKLIGHT_DA903X
262 tristate "Backlight Driver for DA9030/DA9034 using WLED"
263 depends on PMIC_DA903X
264 help
265 If you have a LCD backlight connected to the WLED output of DA9030
266 or DA9034 WLED output, say Y here to enable this driver.
267
268config BACKLIGHT_DA9052
269 tristate "Dialog DA9052/DA9053 WLED"
270 depends on PMIC_DA9052
271 help
272 Enable the Backlight Driver for DA9052-BC and DA9053-AA/Bx PMICs.
273
274config BACKLIGHT_MAX8925
275 tristate "Backlight driver for MAX8925"
276 depends on MFD_MAX8925
277 help
278 If you have a LCD backlight connected to the WLED output of MAX8925
279 WLED output, say Y here to enable this driver.
280
281config BACKLIGHT_MT6370
282 tristate "MediaTek MT6370 Backlight Driver"
283 depends on MFD_MT6370
284 help
285 This enables support for Mediatek MT6370 Backlight driver.
286 It's commonly used to drive the display WLED. There are 4 channels
287 inside, and each channel supports up to 30mA of current capability
288 with 2048 current steps (only for MT6370/MT6371) or 16384 current
289 steps (only for MT6372) in exponential or linear mapping curves.
290
291 This driver can also be built as a module. If so, the module
292 will be called "mt6370-backlight".
293
294config BACKLIGHT_APPLE
295 tristate "Apple Backlight Driver"
296 depends on X86 && ACPI
297 depends on ACPI_VIDEO=n || ACPI_VIDEO
298 help
299 If you have an Intel-based Apple say Y to enable a driver for its
300 backlight.
301
302config BACKLIGHT_APPLE_DWI
303 tristate "Apple DWI 2-Wire Interface Backlight Driver"
304 depends on ARCH_APPLE || COMPILE_TEST
305 help
306 Say Y to enable the backlight driver for backlight controllers
307 attached via the Apple DWI 2-wire interface which is found in some
308 Apple iPhones, iPads and iPod touches.
309
310 To compile this driver as a module, choose M here: the module will
311 be called apple_dwi_bl.
312
313config BACKLIGHT_QCOM_WLED
314 tristate "Qualcomm PMIC WLED Driver"
315 select REGMAP
316 help
317 If you have the Qualcomm PMIC, say Y to enable a driver for the
318 WLED block. Currently it supports PM8941 and PMI8998.
319
320config BACKLIGHT_RT4831
321 tristate "Richtek RT4831 Backlight Driver"
322 depends on MFD_RT4831
323 help
324 This enables support for Richtek RT4831 Backlight driver.
325 It's commonly used to drive the display WLED. There're four channels
326 inisde, and each channel can provide up to 30mA current.
327
328config BACKLIGHT_SAHARA
329 tristate "Tabletkiosk Sahara Touch-iT Backlight Driver"
330 depends on X86
331 help
332 If you have a Tabletkiosk Sahara Touch-iT, say y to enable the
333 backlight driver.
334
335config BACKLIGHT_WM831X
336 tristate "WM831x PMIC Backlight Driver"
337 depends on MFD_WM831X
338 help
339 If you have a backlight driven by the ISINK and DCDC of a
340 WM831x PMIC say y to enable the backlight driver for it.
341
342config BACKLIGHT_ADP5520
343 tristate "Backlight Driver for ADP5520/ADP5501 using WLED"
344 depends on PMIC_ADP5520
345 help
346 If you have a LCD backlight connected to the BST/BL_SNK output of
347 ADP5520 or ADP5501, say Y here to enable this driver.
348
349 To compile this driver as a module, choose M here: the module will
350 be called adp5520_bl.
351
352config BACKLIGHT_ADP8860
353 tristate "Backlight Driver for ADP8860/ADP8861/ADP8863 using WLED"
354 depends on I2C
355 select NEW_LEDS
356 select LEDS_CLASS
357 help
358 If you have a LCD backlight connected to the ADP8860, ADP8861 or
359 ADP8863 say Y here to enable this driver.
360
361 To compile this driver as a module, choose M here: the module will
362 be called adp8860_bl.
363
364config BACKLIGHT_ADP8870
365 tristate "Backlight Driver for ADP8870 using WLED"
366 depends on I2C
367 select NEW_LEDS
368 select LEDS_CLASS
369 help
370 If you have a LCD backlight connected to the ADP8870,
371 say Y here to enable this driver.
372
373 To compile this driver as a module, choose M here: the module will
374 be called adp8870_bl.
375
376config BACKLIGHT_88PM860X
377 tristate "Backlight Driver for 88PM8606 using WLED"
378 depends on MFD_88PM860X
379 help
380 Say Y to enable the backlight driver for Marvell 88PM8606.
381
382config BACKLIGHT_AAT2870
383 tristate "AnalogicTech AAT2870 Backlight"
384 depends on MFD_AAT2870_CORE
385 help
386 If you have a AnalogicTech AAT2870 say Y to enable the
387 backlight driver.
388
389config BACKLIGHT_LM3509
390 tristate "Backlight Driver for LM3509"
391 depends on I2C
392 select REGMAP_I2C
393 help
394 This supports TI LM3509 Backlight Driver
395
396config BACKLIGHT_LM3630A
397 tristate "Backlight Driver for LM3630A"
398 depends on I2C && PWM
399 select REGMAP_I2C
400 help
401 This supports TI LM3630A Backlight Driver
402
403config BACKLIGHT_LM3639
404 tristate "Backlight Driver for LM3639"
405 depends on I2C
406 select REGMAP_I2C
407 select NEW_LEDS
408 select LEDS_CLASS
409 help
410 This supports TI LM3639 Backlight + 1.5A Flash LED Driver
411
412config BACKLIGHT_LP855X
413 tristate "Backlight driver for TI LP855X"
414 depends on I2C && PWM
415 help
416 This supports TI LP8550, LP8551, LP8552, LP8553, LP8555, LP8556 and
417 LP8557 backlight driver.
418
419config BACKLIGHT_LP8788
420 tristate "Backlight driver for TI LP8788 MFD"
421 depends on MFD_LP8788 && PWM
422 help
423 This supports TI LP8788 backlight driver.
424
425config BACKLIGHT_MP3309C
426 tristate "Backlight Driver for MPS MP3309C"
427 depends on I2C && PWM
428 select REGMAP_I2C
429 help
430 This supports MPS MP3309C backlight WLED driver in both PWM and
431 analog/I2C dimming modes.
432
433 To compile this driver as a module, choose M here: the module will
434 be called mp3309c.
435
436config BACKLIGHT_PANDORA
437 tristate "Backlight driver for Pandora console"
438 depends on TWL4030_CORE
439 help
440 If you have a Pandora console, say Y to enable the
441 backlight driver.
442
443config BACKLIGHT_SKY81452
444 tristate "Backlight driver for SKY81452"
445 depends on MFD_SKY81452
446 help
447 If you have a Skyworks SKY81452, say Y to enable the
448 backlight driver.
449
450 To compile this driver as a module, choose M here: the module will
451 be called sky81452-backlight
452
453config BACKLIGHT_TPS65217
454 tristate "TPS65217 Backlight"
455 depends on MFD_TPS65217
456 help
457 If you have a Texas Instruments TPS65217 say Y to enable the
458 backlight driver.
459
460config BACKLIGHT_AS3711
461 tristate "AS3711 Backlight"
462 depends on MFD_AS3711
463 help
464 If you have an Austrian Microsystems AS3711 say Y to enable the
465 backlight driver.
466
467config BACKLIGHT_GPIO
468 tristate "Generic GPIO based Backlight Driver"
469 depends on GPIOLIB || COMPILE_TEST
470 help
471 If you have a LCD backlight adjustable by GPIO, say Y to enable
472 this driver.
473
474config BACKLIGHT_LV5207LP
475 tristate "Sanyo LV5207LP Backlight"
476 depends on I2C
477 help
478 If you have a Sanyo LV5207LP say Y to enable the backlight driver.
479
480config BACKLIGHT_BD6107
481 tristate "Rohm BD6107 Backlight"
482 depends on I2C
483 help
484 If you have a Rohm BD6107 say Y to enable the backlight driver.
485
486config BACKLIGHT_ARCXCNN
487 tristate "Backlight driver for the Arctic Sands ARCxCnnnn family"
488 depends on I2C
489 help
490 If you have an ARCxCnnnn family backlight say Y to enable
491 the backlight driver.
492
493config BACKLIGHT_RAVE_SP
494 tristate "RAVE SP Backlight driver"
495 depends on RAVE_SP_CORE
496 help
497 Support for backlight control on RAVE SP device.
498
499config BACKLIGHT_LED
500 tristate "Generic LED based Backlight Driver"
501 depends on LEDS_CLASS && OF
502 help
503 If you have a LCD backlight adjustable by LED class driver, say Y
504 to enable this driver.
505
506endif # BACKLIGHT_CLASS_DEVICE
507
508endmenu