Kconfig 3.5 KB

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