blob: 10e1b9eee10eaf6ab4e5ac82b81d2ecfea83c10a [file] [log] [blame]
Miguel Ojeda Sandonis70e84042007-02-10 01:44:32 -08001#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/kconfig-language.txt.
4#
5# Auxiliary display drivers configuration.
6#
7
Jan Engelhardtf5920962007-07-15 23:39:26 -07008menuconfig AUXDISPLAY
Jan Engelhardtf5920962007-07-15 23:39:26 -07009 bool "Auxiliary Display support"
Jan Engelhardt06bfb7e2007-08-18 12:56:21 +020010 ---help---
11 Say Y here to get to see options for auxiliary display drivers.
12 This option alone does not add any kernel code.
13
14 If you say N, all options in this submenu will be skipped and disabled.
Jan Engelhardtf5920962007-07-15 23:39:26 -070015
H Hartley Sweetenc0aa24b2009-03-31 15:23:48 -070016if AUXDISPLAY
Miguel Ojeda Sandonis70e84042007-02-10 01:44:32 -080017
18config KS0108
19 tristate "KS0108 LCD Controller"
20 depends on PARPORT_PC
21 default n
22 ---help---
23 If you have a LCD controlled by one or more KS0108
24 controllers, say Y. You will need also another more specific
25 driver for your LCD.
26
27 Depends on Parallel Port support. If you say Y at
28 parport, you will be able to compile this as a module (M)
29 and built-in as well (Y).
30
31 To compile this as a module, choose M here:
32 the module will be called ks0108.
33
34 If unsure, say N.
35
36config KS0108_PORT
37 hex "Parallel port where the LCD is connected"
38 depends on KS0108
39 default 0x378
40 ---help---
41 The address of the parallel port where the LCD is connected.
42
43 The first standard parallel port address is 0x378.
44 The second standard parallel port address is 0x278.
45 The third standard parallel port address is 0x3BC.
46
47 You can specify a different address if you need.
48
49 If you don't know what I'm talking about, load the parport module,
50 and execute "dmesg" or "cat /proc/ioports". You can see there how
51 many parallel ports are present and which address each one has.
52
53 Usually you only need to use 0x378.
54
55 If you compile this as a module, you can still override this
56 using the module parameters.
57
58config KS0108_DELAY
59 int "Delay between each control writing (microseconds)"
60 depends on KS0108
61 default "2"
62 ---help---
63 Amount of time the ks0108 should wait between each control write
64 to the parallel port.
65
Miguel Ojeda450c6222008-07-04 09:59:33 -070066 If your LCD seems to miss random writings, increment this.
Miguel Ojeda Sandonis70e84042007-02-10 01:44:32 -080067
68 If you don't know what I'm talking about, ignore it.
69
70 If you compile this as a module, you can still override this
71 value using the module parameters.
72
73config CFAG12864B
74 tristate "CFAG12864B LCD"
75 depends on X86
76 depends on FB
77 depends on KS0108
Avuton Olrichbfeeffb2007-06-01 00:46:45 -070078 select FB_SYS_FILLRECT
79 select FB_SYS_COPYAREA
80 select FB_SYS_IMAGEBLIT
81 select FB_SYS_FOPS
Miguel Ojeda Sandonis70e84042007-02-10 01:44:32 -080082 default n
83 ---help---
84 If you have a Crystalfontz 128x64 2-color LCD, cfag12864b Series,
85 say Y. You also need the ks0108 LCD Controller driver.
86
87 For help about how to wire your LCD to the parallel port,
88 check Documentation/auxdisplay/cfag12864b
89
90 Depends on the x86 arch and the framebuffer support.
91
92 The LCD framebuffer driver can be attached to a console.
93 It will work fine. However, you can't attach it to the fbdev driver
94 of the xorg server.
95
96 To compile this as a module, choose M here:
97 the modules will be called cfag12864b and cfag12864bfb.
98
99 If unsure, say N.
100
101config CFAG12864B_RATE
102 int "Refresh rate (hertz)"
103 depends on CFAG12864B
104 default "20"
105 ---help---
106 Refresh rate of the LCD.
107
108 As the LCD is not memory mapped, the driver has to make the work by
109 software. This means you should be careful setting this value higher.
110 If your CPUs are really slow or you feel the system is slowed down,
111 decrease the value.
112
113 Be careful modifying this value to a very high value:
114 You can freeze the computer, or the LCD maybe can't draw as fast as you
115 are requesting.
116
117 If you don't know what I'm talking about, ignore it.
118
119 If you compile this as a module, you can still override this
120 value using the module parameters.
Jan Engelhardtf5920962007-07-15 23:39:26 -0700121
Paul Burton0cad8552016-08-26 15:17:49 +0100122config IMG_ASCII_LCD
123 tristate "Imagination Technologies ASCII LCD Display"
124 default y if MIPS_MALTA || MIPS_SEAD3
125 select SYSCON
126 help
127 Enable this to support the simple ASCII LCD displays found on
128 development boards such as the MIPS Boston, MIPS Malta & MIPS SEAD3
129 from Imagination Technologies.
130
Jan Engelhardtf5920962007-07-15 23:39:26 -0700131endif # AUXDISPLAY