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 |
Jan Engelhardt | f592096 | 2007-07-15 23:39:26 -0700 | [diff] [blame] | 9 | bool "Auxiliary Display support" |
Jan Engelhardt | 06bfb7e | 2007-08-18 12:56:21 +0200 | [diff] [blame] | 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. |
Jan Engelhardt | f592096 | 2007-07-15 23:39:26 -0700 | [diff] [blame] | 15 | |
H Hartley Sweeten | c0aa24b | 2009-03-31 15:23:48 -0700 | [diff] [blame] | 16 | if AUXDISPLAY |
Miguel Ojeda Sandonis | 70e8404 | 2007-02-10 01:44:32 -0800 | [diff] [blame] | 17 | |
| 18 | config 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 | |
| 36 | config 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 | |
| 58 | config 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 Ojeda | 450c622 | 2008-07-04 09:59:33 -0700 | [diff] [blame] | 66 | If your LCD seems to miss random writings, increment this. |
Miguel Ojeda Sandonis | 70e8404 | 2007-02-10 01:44:32 -0800 | [diff] [blame] | 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 | |
| 73 | config CFAG12864B |
| 74 | tristate "CFAG12864B LCD" |
| 75 | depends on X86 |
| 76 | depends on FB |
| 77 | depends on KS0108 |
Avuton Olrich | bfeeffb | 2007-06-01 00:46:45 -0700 | [diff] [blame] | 78 | select FB_SYS_FILLRECT |
| 79 | select FB_SYS_COPYAREA |
| 80 | select FB_SYS_IMAGEBLIT |
| 81 | select FB_SYS_FOPS |
Miguel Ojeda Sandonis | 70e8404 | 2007-02-10 01:44:32 -0800 | [diff] [blame] | 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 | |
| 101 | config 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 Engelhardt | f592096 | 2007-07-15 23:39:26 -0700 | [diff] [blame] | 121 | |
Paul Burton | 0cad855 | 2016-08-26 15:17:49 +0100 | [diff] [blame] | 122 | config 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 Engelhardt | f592096 | 2007-07-15 23:39:26 -0700 | [diff] [blame] | 131 | endif # AUXDISPLAY |