1# SPDX-License-Identifier: GPL-2.0
2config FB_OLPC_DCON
3	tristate "One Laptop Per Child Display CONtroller support"
4	depends on OLPC && FB
5	depends on I2C
6	depends on BACKLIGHT_LCD_SUPPORT
7	depends on (GPIO_CS5535 || GPIO_CS5535=n)
8	select BACKLIGHT_CLASS_DEVICE
9	help
10	  In order to support very low power operation, the XO laptop uses a
11	  secondary Display CONtroller, or DCON.  This secondary controller
12	  is present in the video pipeline between the primary display
13	  controller (integrate into the processor or chipset) and the LCD
14	  panel.  It allows the main processor/display controller to be
15	  completely powered off while still retaining an image on the display.
16	  This controller is only available on OLPC platforms.  Unless you have
17	  one of these platforms, you will want to say 'N'.
18
19config FB_OLPC_DCON_1
20	bool "OLPC XO-1 DCON support"
21	depends on FB_OLPC_DCON && GPIO_CS5535
22	default y
23	help
24	  Enable support for the DCON in XO-1 model laptops.  The kernel
25	  communicates with the DCON using model-specific code.  If you
26	  have an XO-1 (or if you're unsure what model you have), you should
27	  say 'Y'.
28
29config FB_OLPC_DCON_1_5
30	bool "OLPC XO-1.5 DCON support"
31	depends on FB_OLPC_DCON && ACPI
32	default y
33	help
34	  Enable support for the DCON in XO-1.5 model laptops.  The kernel
35	  communicates with the DCON using model-specific code.  If you
36	  have an XO-1.5 (or if you're unsure what model you have), you
37	  should say 'Y'.
38