URL
https://opencores.org/ocsvn/test_project/test_project/trunk
Subversion Repositories test_project
[/] [test_project/] [trunk/] [linux_sd_driver/] [drivers/] [auxdisplay/] [Kconfig] - Rev 62
Compare with Previous | Blame | View Log
## For a description of the syntax of this configuration file,# see Documentation/kbuild/kconfig-language.txt.## Auxiliary display drivers configuration.#menuconfig AUXDISPLAYdepends on PARPORTbool "Auxiliary Display support"---help---Say Y here to get to see options for auxiliary display drivers.This option alone does not add any kernel code.If you say N, all options in this submenu will be skipped and disabled.if AUXDISPLAY && PARPORTconfig KS0108tristate "KS0108 LCD Controller"depends on PARPORT_PCdefault n---help---If you have a LCD controlled by one or more KS0108controllers, say Y. You will need also another more specificdriver for your LCD.Depends on Parallel Port support. If you say Y atparport, you will be able to compile this as a module (M)and built-in as well (Y).To compile this as a module, choose M here:the module will be called ks0108.If unsure, say N.config KS0108_PORThex "Parallel port where the LCD is connected"depends on KS0108default 0x378---help---The address of the parallel port where the LCD is connected.The first standard parallel port address is 0x378.The second standard parallel port address is 0x278.The third standard parallel port address is 0x3BC.You can specify a different address if you need.If you don't know what I'm talking about, load the parport module,and execute "dmesg" or "cat /proc/ioports". You can see there howmany parallel ports are present and which address each one has.Usually you only need to use 0x378.If you compile this as a module, you can still override thisusing the module parameters.config KS0108_DELAYint "Delay between each control writing (microseconds)"depends on KS0108default "2"---help---Amount of time the ks0108 should wait between each control writeto the parallel port.If your driver seems to miss random writings, increment this.If you don't know what I'm talking about, ignore it.If you compile this as a module, you can still override thisvalue using the module parameters.config CFAG12864Btristate "CFAG12864B LCD"depends on X86depends on FBdepends on KS0108select FB_SYS_FILLRECTselect FB_SYS_COPYAREAselect FB_SYS_IMAGEBLITselect FB_SYS_FOPSdefault n---help---If you have a Crystalfontz 128x64 2-color LCD, cfag12864b Series,say Y. You also need the ks0108 LCD Controller driver.For help about how to wire your LCD to the parallel port,check Documentation/auxdisplay/cfag12864bDepends on the x86 arch and the framebuffer support.The LCD framebuffer driver can be attached to a console.It will work fine. However, you can't attach it to the fbdev driverof the xorg server.To compile this as a module, choose M here:the modules will be called cfag12864b and cfag12864bfb.If unsure, say N.config CFAG12864B_RATEint "Refresh rate (hertz)"depends on CFAG12864Bdefault "20"---help---Refresh rate of the LCD.As the LCD is not memory mapped, the driver has to make the work bysoftware. This means you should be careful setting this value higher.If your CPUs are really slow or you feel the system is slowed down,decrease the value.Be careful modifying this value to a very high value:You can freeze the computer, or the LCD maybe can't draw as fast as youare requesting.If you don't know what I'm talking about, ignore it.If you compile this as a module, you can still override thisvalue using the module parameters.endif # AUXDISPLAY
