Kconfig 3.2 KB

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