Kconfig 3.3 KB

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