]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - drivers/auxdisplay/Kconfig
auxdisplay: ht16k33: use le16_to_cpup() to fetch LE16 data
[mirror_ubuntu-hirsute-kernel.git] / drivers / auxdisplay / Kconfig
CommitLineData
70e84049
MOS
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
f5920969 8menuconfig AUXDISPLAY
f5920969 9 bool "Auxiliary Display support"
06bfb7eb
JE
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.
f5920969 15
39f8ea46
GU
16config CHARLCD
17 tristate "Character LCD core support" if COMPILE_TEST
18
c0aa24ba 19if AUXDISPLAY
70e84049 20
d47d8836
GU
21config HD44780
22 tristate "HD44780 Character LCD support"
23 depends on GPIOLIB || COMPILE_TEST
24 select CHARLCD
25 ---help---
26 Enable support for Character LCDs using a HD44780 controller.
27 The LCD is accessible through the /dev/lcd char device (10, 156).
28 This code can either be compiled as a module, or linked into the
29 kernel and started at boot.
30 If you don't understand what all this is about, say N.
31
70e84049
MOS
32config KS0108
33 tristate "KS0108 LCD Controller"
34 depends on PARPORT_PC
35 default n
36 ---help---
37 If you have a LCD controlled by one or more KS0108
38 controllers, say Y. You will need also another more specific
39 driver for your LCD.
40
41 Depends on Parallel Port support. If you say Y at
42 parport, you will be able to compile this as a module (M)
43 and built-in as well (Y).
44
45 To compile this as a module, choose M here:
46 the module will be called ks0108.
47
48 If unsure, say N.
49
50config KS0108_PORT
51 hex "Parallel port where the LCD is connected"
52 depends on KS0108
53 default 0x378
54 ---help---
55 The address of the parallel port where the LCD is connected.
56
57 The first standard parallel port address is 0x378.
58 The second standard parallel port address is 0x278.
59 The third standard parallel port address is 0x3BC.
60
61 You can specify a different address if you need.
62
63 If you don't know what I'm talking about, load the parport module,
64 and execute "dmesg" or "cat /proc/ioports". You can see there how
65 many parallel ports are present and which address each one has.
66
67 Usually you only need to use 0x378.
68
69 If you compile this as a module, you can still override this
70 using the module parameters.
71
72config KS0108_DELAY
73 int "Delay between each control writing (microseconds)"
74 depends on KS0108
75 default "2"
76 ---help---
77 Amount of time the ks0108 should wait between each control write
78 to the parallel port.
79
450c622e 80 If your LCD seems to miss random writings, increment this.
70e84049
MOS
81
82 If you don't know what I'm talking about, ignore it.
83
84 If you compile this as a module, you can still override this
85 value using the module parameters.
86
87config CFAG12864B
88 tristate "CFAG12864B LCD"
89 depends on X86
90 depends on FB
91 depends on KS0108
bfeeffbb
AO
92 select FB_SYS_FILLRECT
93 select FB_SYS_COPYAREA
94 select FB_SYS_IMAGEBLIT
95 select FB_SYS_FOPS
70e84049
MOS
96 default n
97 ---help---
98 If you have a Crystalfontz 128x64 2-color LCD, cfag12864b Series,
99 say Y. You also need the ks0108 LCD Controller driver.
100
101 For help about how to wire your LCD to the parallel port,
102 check Documentation/auxdisplay/cfag12864b
103
104 Depends on the x86 arch and the framebuffer support.
105
106 The LCD framebuffer driver can be attached to a console.
107 It will work fine. However, you can't attach it to the fbdev driver
108 of the xorg server.
109
110 To compile this as a module, choose M here:
111 the modules will be called cfag12864b and cfag12864bfb.
112
113 If unsure, say N.
114
115config CFAG12864B_RATE
116 int "Refresh rate (hertz)"
117 depends on CFAG12864B
118 default "20"
119 ---help---
120 Refresh rate of the LCD.
121
122 As the LCD is not memory mapped, the driver has to make the work by
123 software. This means you should be careful setting this value higher.
124 If your CPUs are really slow or you feel the system is slowed down,
125 decrease the value.
126
127 Be careful modifying this value to a very high value:
128 You can freeze the computer, or the LCD maybe can't draw as fast as you
129 are requesting.
130
131 If you don't know what I'm talking about, ignore it.
132
133 If you compile this as a module, you can still override this
134 value using the module parameters.
f5920969 135
0cad855f
PB
136config IMG_ASCII_LCD
137 tristate "Imagination Technologies ASCII LCD Display"
138 default y if MIPS_MALTA || MIPS_SEAD3
139 select SYSCON
140 help
141 Enable this to support the simple ASCII LCD displays found on
142 development boards such as the MIPS Boston, MIPS Malta & MIPS SEAD3
143 from Imagination Technologies.
144
8992da44
RG
145config HT16K33
146 tristate "Holtek Ht16K33 LED controller with keyscan"
147 depends on FB && OF && I2C && INPUT
31114fa9 148 select FB_SYS_FOPS
546cf3ef
RD
149 select FB_SYS_FILLRECT
150 select FB_SYS_COPYAREA
151 select FB_SYS_IMAGEBLIT
8992da44
RG
152 select INPUT_MATRIXKMAP
153 select FB_BACKLIGHT
154 help
155 Say yes here to add support for Holtek HT16K33, RAM mapping 16*8
156 LED controller driver with keyscan.
157
f5920969 158endif # AUXDISPLAY