xref: /openbmc/linux/drivers/video/backlight/Kconfig (revision c699ce1a)
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_TOSA
94	tristate "Sharp SL-6000 LCD Driver"
95	depends on I2C && SPI && MACH_TOSA
96	help
97	  If you have an Sharp SL-6000 Zaurus say Y to enable a driver
98	  for its LCD.
99
100config LCD_HP700
101	tristate "HP Jornada 700 series LCD Driver"
102	depends on SA1100_JORNADA720_SSP && !PREEMPTION
103	default y
104	help
105	  If you have an HP Jornada 700 series handheld (710/720/728)
106	  say Y to enable LCD control driver.
107
108config LCD_AMS369FG06
109	tristate "AMS369FG06 AMOLED LCD Driver"
110	depends on SPI && BACKLIGHT_CLASS_DEVICE
111	default n
112	help
113	  If you have an AMS369FG06 AMOLED Panel, say Y to enable its
114	  LCD control driver.
115
116config LCD_LMS501KF03
117	tristate "LMS501KF03 LCD Driver"
118	depends on SPI
119	default n
120	help
121	  If you have an LMS501KF03 LCD Panel, say Y to enable its
122	  LCD control driver.
123
124config LCD_HX8357
125	tristate "Himax HX-8357 LCD Driver"
126	depends on SPI
127	help
128	  If you have a HX-8357 LCD panel, say Y to enable its LCD control
129	  driver.
130
131config LCD_OTM3225A
132	tristate "ORISE Technology OTM3225A support"
133	depends on SPI
134	help
135	  If you have a panel based on the OTM3225A controller
136	  chip then say y to include a driver for it.
137
138endif # LCD_CLASS_DEVICE
139
140#
141# Backlight
142#
143config BACKLIGHT_CLASS_DEVICE
144	tristate "Lowlevel Backlight controls"
145	help
146	  This framework adds support for low-level control of the LCD
147	  backlight. This includes support for brightness and power.
148
149	  To have support for your specific LCD panel you will have to
150	  select the proper drivers which depend on this option.
151
152if BACKLIGHT_CLASS_DEVICE
153
154config BACKLIGHT_ATMEL_LCDC
155	bool "Atmel LCDC Contrast-as-Backlight control"
156	depends on FB_ATMEL
157	help
158	  This provides a backlight control internal to the Atmel LCDC
159	  driver.  If the LCD "contrast control" on your board is wired
160	  so it controls the backlight brightness, select this option to
161	  export this as a PWM-based backlight control.
162
163	  If in doubt, it's safe to enable this option; it doesn't kick
164	  in unless the board's description says it's wired that way.
165
166config BACKLIGHT_EP93XX
167	tristate "Cirrus EP93xx Backlight Driver"
168	depends on FB_EP93XX
169	help
170	  If you have a LCD backlight connected to the BRIGHT output of
171	  the EP93xx, say Y here to enable this driver.
172
173	  To compile this driver as a module, choose M here: the module will
174	  be called ep93xx_bl.
175
176config BACKLIGHT_IPAQ_MICRO
177	tristate "iPAQ microcontroller backlight driver"
178	depends on MFD_IPAQ_MICRO
179	default y
180	help
181	  Say y to enable the backlight driver for Compaq iPAQ handheld
182	  computers. Say yes if you have one of the h3100/h3600/h3700
183	  machines.
184
185config 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
193config BACKLIGHT_LM3533
194	tristate "Backlight Driver for LM3533"
195	depends on MFD_LM3533
196	help
197	  Say Y to enable the backlight driver for National Semiconductor / TI
198	  LM3533 Lighting Power chips.
199
200	  The backlights can be controlled directly, through PWM input, or by
201	  the ambient-light-sensor interface. The chip supports 256 brightness
202	  levels.
203
204config BACKLIGHT_LOCOMO
205	tristate "Sharp LOCOMO LCD/Backlight Driver"
206	depends on SHARP_LOCOMO
207	default y
208	help
209	  If you have a Sharp Zaurus SL-5500 (Collie) or SL-5600 (Poodle) say y to
210	  enable the LCD/backlight driver.
211
212config BACKLIGHT_OMAP1
213	tristate "OMAP1 PWL-based LCD Backlight"
214	depends on ARCH_OMAP1 || COMPILE_TEST
215	default ARCH_OMAP1
216	help
217	  This driver controls the LCD backlight level and power for
218	  the PWL module of OMAP1 processors.  Say Y if your board
219	  uses this hardware.
220
221config BACKLIGHT_HP680
222	tristate "HP Jornada 680 Backlight Driver"
223	depends on SH_HP6XX
224	default y
225	help
226	  If you have a HP Jornada 680, say y to enable the
227	  backlight driver.
228
229config BACKLIGHT_HP700
230	tristate "HP Jornada 700 series Backlight Driver"
231	depends on SA1100_JORNADA720_SSP && !PREEMPTION
232	default y
233	help
234	  If you have an HP Jornada 700 series,
235	  say Y to include backlight control driver.
236
237config BACKLIGHT_CARILLO_RANCH
238	tristate "Intel Carillo Ranch Backlight Driver"
239	depends on LCD_CLASS_DEVICE && PCI && X86 && FB_LE80578
240	help
241	  If you have a Intel LE80578 (Carillo Ranch) say Y to enable the
242	  backlight driver.
243
244config BACKLIGHT_PWM
245	tristate "Generic PWM based Backlight Driver"
246	depends on PWM
247	help
248	  If you have a LCD backlight adjustable by PWM, say Y to enable
249	  this driver.
250
251config BACKLIGHT_DA903X
252	tristate "Backlight Driver for DA9030/DA9034 using WLED"
253	depends on PMIC_DA903X
254	help
255	  If you have a LCD backlight connected to the WLED output of DA9030
256	  or DA9034 WLED output, say Y here to enable this driver.
257
258config BACKLIGHT_DA9052
259	tristate "Dialog DA9052/DA9053 WLED"
260	depends on PMIC_DA9052
261	help
262	  Enable the Backlight Driver for DA9052-BC and DA9053-AA/Bx PMICs.
263
264config BACKLIGHT_MAX8925
265	tristate "Backlight driver for MAX8925"
266	depends on MFD_MAX8925
267	help
268	  If you have a LCD backlight connected to the WLED output of MAX8925
269	  WLED output, say Y here to enable this driver.
270
271config BACKLIGHT_MT6370
272	tristate "MediaTek MT6370 Backlight Driver"
273	depends on MFD_MT6370
274	help
275	  This enables support for Mediatek MT6370 Backlight driver.
276	  It's commonly used to drive the display WLED. There are 4 channels
277	  inside, and each channel supports up to 30mA of current capability
278	  with 2048 current steps (only for MT6370/MT6371) or 16384 current
279	  steps (only for MT6372) in exponential or linear mapping curves.
280
281	  This driver can also be built as a module. If so, the module
282	  will be called "mt6370-backlight".
283
284config BACKLIGHT_APPLE
285	tristate "Apple Backlight Driver"
286	depends on X86 && ACPI
287	help
288	  If you have an Intel-based Apple say Y to enable a driver for its
289	  backlight.
290
291config BACKLIGHT_TOSA
292	tristate "Sharp SL-6000 Backlight Driver"
293	depends on I2C && MACH_TOSA && LCD_TOSA
294	help
295	  If you have an Sharp SL-6000 Zaurus say Y to enable a driver
296	  for its backlight
297
298config BACKLIGHT_QCOM_WLED
299	tristate "Qualcomm PMIC WLED Driver"
300	select REGMAP
301	help
302	  If you have the Qualcomm PMIC, say Y to enable a driver for the
303	  WLED block. Currently it supports PM8941 and PMI8998.
304
305config BACKLIGHT_RT4831
306	tristate "Richtek RT4831 Backlight Driver"
307	depends on MFD_RT4831
308	help
309	  This enables support for Richtek RT4831 Backlight driver.
310	  It's commonly used to drive the display WLED. There're four channels
311	  inisde, and each channel can provide up to 30mA current.
312
313config BACKLIGHT_SAHARA
314	tristate "Tabletkiosk Sahara Touch-iT Backlight Driver"
315	depends on X86
316	help
317	  If you have a Tabletkiosk Sahara Touch-iT, say y to enable the
318	  backlight driver.
319
320config BACKLIGHT_WM831X
321	tristate "WM831x PMIC Backlight Driver"
322	depends on MFD_WM831X
323	help
324	  If you have a backlight driven by the ISINK and DCDC of a
325	  WM831x PMIC say y to enable the backlight driver for it.
326
327config BACKLIGHT_ADP5520
328	tristate "Backlight Driver for ADP5520/ADP5501 using WLED"
329	depends on PMIC_ADP5520
330	help
331	  If you have a LCD backlight connected to the BST/BL_SNK output of
332	  ADP5520 or ADP5501, say Y here to enable this driver.
333
334	  To compile this driver as a module, choose M here: the module will
335	  be called adp5520_bl.
336
337config BACKLIGHT_ADP8860
338	tristate "Backlight Driver for ADP8860/ADP8861/ADP8863 using WLED"
339	depends on I2C
340	select NEW_LEDS
341	select LEDS_CLASS
342	help
343	  If you have a LCD backlight connected to the ADP8860, ADP8861 or
344	  ADP8863 say Y here to enable this driver.
345
346	  To compile this driver as a module, choose M here: the module will
347	  be called adp8860_bl.
348
349config BACKLIGHT_ADP8870
350	tristate "Backlight Driver for ADP8870 using WLED"
351	depends on I2C
352	select NEW_LEDS
353	select LEDS_CLASS
354	help
355	  If you have a LCD backlight connected to the ADP8870,
356	  say Y here to enable this driver.
357
358	  To compile this driver as a module, choose M here: the module will
359	  be called adp8870_bl.
360
361config BACKLIGHT_88PM860X
362	tristate "Backlight Driver for 88PM8606 using WLED"
363	depends on MFD_88PM860X
364	help
365	  Say Y to enable the backlight driver for Marvell 88PM8606.
366
367config BACKLIGHT_PCF50633
368	tristate "Backlight driver for NXP PCF50633 MFD"
369	depends on MFD_PCF50633
370	help
371	  If you have a backlight driven by a NXP PCF50633 MFD, say Y here to
372	  enable its driver.
373
374config BACKLIGHT_AAT2870
375	tristate "AnalogicTech AAT2870 Backlight"
376	depends on MFD_AAT2870_CORE
377	help
378	  If you have a AnalogicTech AAT2870 say Y to enable the
379	  backlight driver.
380
381config BACKLIGHT_LM3630A
382	tristate "Backlight Driver for LM3630A"
383	depends on I2C && PWM
384	select REGMAP_I2C
385	help
386	  This supports TI LM3630A Backlight Driver
387
388config BACKLIGHT_LM3639
389	tristate "Backlight Driver for LM3639"
390	depends on I2C
391	select REGMAP_I2C
392	select NEW_LEDS
393	select LEDS_CLASS
394	help
395	  This supports TI LM3639 Backlight + 1.5A Flash LED Driver
396
397config BACKLIGHT_LP855X
398	tristate "Backlight driver for TI LP855X"
399	depends on I2C && PWM
400	help
401	  This supports TI LP8550, LP8551, LP8552, LP8553, LP8555, LP8556 and
402	  LP8557 backlight driver.
403
404config BACKLIGHT_LP8788
405	tristate "Backlight driver for TI LP8788 MFD"
406	depends on MFD_LP8788 && PWM
407	help
408	  This supports TI LP8788 backlight driver.
409
410config BACKLIGHT_PANDORA
411	tristate "Backlight driver for Pandora console"
412	depends on TWL4030_CORE
413	help
414	  If you have a Pandora console, say Y to enable the
415	  backlight driver.
416
417config BACKLIGHT_SKY81452
418	tristate "Backlight driver for SKY81452"
419	depends on MFD_SKY81452
420	help
421	  If you have a Skyworks SKY81452, say Y to enable the
422	  backlight driver.
423
424	  To compile this driver as a module, choose M here: the module will
425	  be called sky81452-backlight
426
427config BACKLIGHT_TPS65217
428	tristate "TPS65217 Backlight"
429	depends on MFD_TPS65217
430	help
431	  If you have a Texas Instruments TPS65217 say Y to enable the
432	  backlight driver.
433
434config BACKLIGHT_AS3711
435	tristate "AS3711 Backlight"
436	depends on MFD_AS3711
437	help
438	  If you have an Austrian Microsystems AS3711 say Y to enable the
439	  backlight driver.
440
441config BACKLIGHT_GPIO
442	tristate "Generic GPIO based Backlight Driver"
443	depends on GPIOLIB || COMPILE_TEST
444	help
445	  If you have a LCD backlight adjustable by GPIO, say Y to enable
446	  this driver.
447
448config BACKLIGHT_LV5207LP
449	tristate "Sanyo LV5207LP Backlight"
450	depends on I2C
451	help
452	  If you have a Sanyo LV5207LP say Y to enable the backlight driver.
453
454config BACKLIGHT_BD6107
455	tristate "Rohm BD6107 Backlight"
456	depends on I2C
457	help
458	  If you have a Rohm BD6107 say Y to enable the backlight driver.
459
460config BACKLIGHT_ARCXCNN
461	tristate "Backlight driver for the Arctic Sands ARCxCnnnn family"
462	depends on I2C
463	help
464	  If you have an ARCxCnnnn family backlight say Y to enable
465	  the backlight driver.
466
467config BACKLIGHT_RAVE_SP
468	tristate "RAVE SP Backlight driver"
469	depends on RAVE_SP_CORE
470	help
471	  Support for backlight control on RAVE SP device.
472
473config BACKLIGHT_LED
474	tristate "Generic LED based Backlight Driver"
475	depends on LEDS_CLASS && OF
476	help
477	  If you have a LCD backlight adjustable by LED class driver, say Y
478	  to enable this driver.
479
480endif # BACKLIGHT_CLASS_DEVICE
481
482endmenu
483