1#
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
8menu "Auxiliary Display support"
9	depends on PARPORT
10
11config KS0108
12	tristate "KS0108 LCD Controller"
13	depends on PARPORT_PC
14	default n
15	---help---
16	  If you have a LCD controlled by one or more KS0108
17	  controllers, say Y. You will need also another more specific
18	  driver for your LCD.
19
20	  Depends on Parallel Port support. If you say Y at
21	  parport, you will be able to compile this as a module (M)
22	  and built-in as well (Y).
23
24	  To compile this as a module, choose M here:
25	  the module will be called ks0108.
26
27	  If unsure, say N.
28
29config KS0108_PORT
30	hex "Parallel port where the LCD is connected"
31	depends on KS0108
32	default 0x378
33	---help---
34	  The address of the parallel port where the LCD is connected.
35
36	  The first  standard parallel port address is 0x378.
37	  The second standard parallel port address is 0x278.
38	  The third  standard parallel port address is 0x3BC.
39
40	  You can specify a different address if you need.
41
42	  If you don't know what I'm talking about, load the parport module,
43	  and execute "dmesg" or "cat /proc/ioports". You can see there how
44	  many parallel ports are present and which address each one has.
45
46	  Usually you only need to use 0x378.
47
48	  If you compile this as a module, you can still override this
49	  using the module parameters.
50
51config KS0108_DELAY
52	int "Delay between each control writing (microseconds)"
53	depends on KS0108
54	default "2"
55	---help---
56	  Amount of time the ks0108 should wait between each control write
57	  to the parallel port.
58
59	  If your driver seems to miss random writings, increment this.
60
61	  If you don't know what I'm talking about, ignore it.
62
63	  If you compile this as a module, you can still override this
64	  value using the module parameters.
65
66config CFAG12864B
67	tristate "CFAG12864B LCD"
68	depends on X86
69	depends on FB
70	depends on KS0108
71	select FB_SYS_FILLRECT
72	select FB_SYS_COPYAREA
73	select FB_SYS_IMAGEBLIT
74	select FB_SYS_FOPS
75	default n
76	---help---
77	  If you have a Crystalfontz 128x64 2-color LCD, cfag12864b Series,
78	  say Y. You also need the ks0108 LCD Controller driver.
79
80	  For help about how to wire your LCD to the parallel port,
81	  check Documentation/auxdisplay/cfag12864b
82
83	  Depends on the x86 arch and the framebuffer support.
84
85	  The LCD framebuffer driver can be attached to a console.
86	  It will work fine. However, you can't attach it to the fbdev driver
87	  of the xorg server.
88
89	  To compile this as a module, choose M here:
90	  the modules will be called cfag12864b and cfag12864bfb.
91
92	  If unsure, say N.
93
94config CFAG12864B_RATE
95       int "Refresh rate (hertz)"
96	depends on CFAG12864B
97	default "20"
98	---help---
99	  Refresh rate of the LCD.
100
101	  As the LCD is not memory mapped, the driver has to make the work by
102	  software. This means you should be careful setting this value higher.
103	  If your CPUs are really slow or you feel the system is slowed down,
104	  decrease the value.
105
106	  Be careful modifying this value to a very high value:
107	  You can freeze the computer, or the LCD maybe can't draw as fast as you
108	  are requesting.
109
110	  If you don't know what I'm talking about, ignore it.
111
112	  If you compile this as a module, you can still override this
113	  value using the module parameters.
114endmenu
115