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