• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
8menuconfig AUXDISPLAY
9	bool "Auxiliary Display support"
10	---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.
15
16if AUXDISPLAY
17
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
66	  If your LCD seems to miss random writings, increment this.
67
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
78	select FB_SYS_FILLRECT
79	select FB_SYS_COPYAREA
80	select FB_SYS_IMAGEBLIT
81	select FB_SYS_FOPS
82	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.
121
122endif # AUXDISPLAY
123