]>
Commit | Line | Data |
---|---|---|
0b11dbf7 MY |
1 | # |
2 | # Video configuration | |
3 | # | |
4 | ||
5 | menu "Graphics support" | |
6 | ||
1acafc73 SG |
7 | config DM_VIDEO |
8 | bool "Enable driver model support for LCD/video" | |
9 | depends on DM | |
10 | help | |
11 | This enables driver model for LCD and video devices. These support | |
12 | a bitmap display of various sizes and depths which can be drawn on | |
13 | to display a command-line console or splash screen. Enabling this | |
14 | option compiles in the video uclass and routes all LCD/video access | |
15 | through this. | |
16 | ||
08a43cfb PD |
17 | config BACKLIGHT_PWM |
18 | bool "Generic PWM based Backlight Driver" | |
19 | depends on DM_VIDEO && DM_PWM | |
20 | default y | |
21 | help | |
22 | If you have a LCD backlight adjustable by PWM, say Y to enable | |
23 | this driver. | |
24 | This driver can be use with "simple-panel" and | |
25 | it understands the standard device tree | |
26 | (leds/backlight/pwm-backlight.txt) | |
27 | ||
5b6a6a91 PD |
28 | config BACKLIGHT_GPIO |
29 | bool "Generic GPIO based Backlight Driver" | |
30 | depends on DM_VIDEO | |
31 | help | |
32 | If you have a LCD backlight adjustable by GPIO, say Y to enable | |
33 | this driver. | |
34 | This driver can be used with "simple-panel" and | |
35 | it understands the standard device tree | |
36 | (leds/backlight/gpio-backlight.txt) | |
37 | ||
1acafc73 SG |
38 | config VIDEO_BPP8 |
39 | bool "Support 8-bit-per-pixel displays" | |
40 | depends on DM_VIDEO | |
2e8f1dd6 | 41 | default n if ARCH_SUNXI |
1acafc73 SG |
42 | default y if DM_VIDEO |
43 | help | |
44 | Support drawing text and bitmaps onto a 8-bit-per-pixel display. | |
45 | Enabling this will include code to support this display. Without | |
46 | this option, such displays will not be supported and console output | |
47 | will be empty. | |
48 | ||
49 | config VIDEO_BPP16 | |
50 | bool "Support 16-bit-per-pixel displays" | |
51 | depends on DM_VIDEO | |
52 | default y if DM_VIDEO | |
53 | help | |
54 | Support drawing text and bitmaps onto a 16-bit-per-pixel display. | |
55 | Enabling this will include code to support this display. Without | |
56 | this option, such displays will not be supported and console output | |
57 | will be empty. | |
58 | ||
59 | config VIDEO_BPP32 | |
60 | bool "Support 32-bit-per-pixel displays" | |
61 | depends on DM_VIDEO | |
62 | default y if DM_VIDEO | |
63 | help | |
64 | Support drawing text and bitmaps onto a 32-bit-per-pixel display. | |
65 | Enabling this will include code to support this display. Without | |
66 | this option, such displays will not be supported and console output | |
67 | will be empty. | |
68 | ||
a085aa1f RC |
69 | config VIDEO_ANSI |
70 | bool "Support ANSI escape sequences in video console" | |
71 | depends on DM_VIDEO | |
72 | default y if DM_VIDEO | |
73 | help | |
74 | Enable ANSI escape sequence decoding for a more fully functional | |
75 | console. | |
76 | ||
6e42e251 SG |
77 | config CONSOLE_NORMAL |
78 | bool "Support a simple text console" | |
79 | depends on DM_VIDEO | |
80 | default y if DM_VIDEO | |
81 | help | |
82 | Support drawing text on the frame buffer console so that it can be | |
83 | used as a console. Rotation is not supported by this driver (see | |
84 | CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used | |
85 | for the display. | |
86 | ||
87 | config CONSOLE_ROTATION | |
b5146b28 SG |
88 | bool "Support rotated displays" |
89 | depends on DM_VIDEO | |
90 | help | |
91 | Sometimes, for example if the display is mounted in portrait | |
92 | mode or even if it's mounted landscape but rotated by 180degree, | |
93 | we need to rotate our content of the display relative to the | |
94 | framebuffer, so that user can read the messages which are | |
95 | printed out. Enable this option to include a text driver which can | |
96 | support this. The rotation is set by the 'rot' parameter in | |
97 | struct video_priv: 0=unrotated, 1=90 degrees clockwise, 2=180 | |
98 | degrees, 3=270 degrees. | |
99 | ||
a29b0120 SG |
100 | config CONSOLE_TRUETYPE |
101 | bool "Support a console that uses TrueType fonts" | |
102 | depends on DM_VIDEO | |
103 | help | |
104 | TrueTrype fonts can provide outline-drawing capability rather than | |
105 | needing to provide a bitmap for each font and size that is needed. | |
106 | With this option you can adjust the text size and use a variety of | |
107 | fonts. Note that this is noticeably slower than with normal console. | |
108 | ||
109 | config CONSOLE_TRUETYPE_SIZE | |
110 | int "TrueType font size" | |
111 | depends on CONSOLE_TRUETYPE | |
112 | default 18 | |
113 | help | |
114 | This sets the font size for the console. The size is measured in | |
115 | pixels and is the nominal height of a character. Note that fonts | |
116 | are commonly measured in 'points', being 1/72 inch (about 3.52mm). | |
117 | However that measurement depends on the size of your display and | |
118 | there is no standard display density. At present there is not a | |
119 | method to select the display's physical size, which would allow | |
120 | U-Boot to calculate the correct font size. | |
121 | ||
983b103f SG |
122 | config SYS_WHITE_ON_BLACK |
123 | bool "Display console as white on a black background" | |
124 | default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || TEGRA || X86 | |
125 | help | |
126 | Normally the display is black on a white background, Enable this | |
127 | option to invert this, i.e. white on a black background. This can be | |
128 | better in low-light situations or to reduce eye strain in some | |
129 | cases. | |
130 | ||
8ef05352 RC |
131 | config NO_FB_CLEAR |
132 | bool "Skip framebuffer clear" | |
133 | help | |
134 | If firmware (whatever loads u-boot) has already put a splash image | |
135 | on screen, you might want to preserve it until whatever u-boot | |
136 | loads takes over the screen. This, for example, can be used to | |
137 | keep splash image on screen until grub graphical boot menu starts. | |
138 | ||
a29b0120 SG |
139 | source "drivers/video/fonts/Kconfig" |
140 | ||
a2931b30 SG |
141 | config VIDCONSOLE_AS_LCD |
142 | bool "Use 'vidconsole' when 'lcd' is seen in stdout" | |
143 | depends on DM_VIDEO | |
144 | help | |
145 | This is a work-around for boards which have 'lcd' in their stdout | |
146 | environment variable, but have moved to use driver model for video. | |
147 | In this case the console will no-longer work. While it is possible | |
148 | to update the environment, the breakage may be confusing for users. | |
149 | This option will be removed around the end of 2016. | |
150 | ||
13b2bfce BM |
151 | config VIDEO_COREBOOT |
152 | bool "Enable coreboot framebuffer driver support" | |
153 | depends on X86 && SYS_COREBOOT | |
154 | help | |
155 | Turn on this option to enable a framebuffer driver when U-Boot is | |
156 | loaded by coreboot where the graphics device is configured by | |
157 | coreboot already. This can in principle be used with any platform | |
158 | that coreboot supports. | |
159 | ||
6b1ba984 SG |
160 | config VIDEO_VESA |
161 | bool "Enable VESA video driver support" | |
6b1ba984 SG |
162 | default n |
163 | help | |
164 | Turn on this option to enable a very simple driver which uses vesa | |
165 | to discover the video mode and then provides a frame buffer for use | |
166 | by U-Boot. This can in principle be used with any platform that | |
167 | supports PCI and video cards that support VESA BIOS Extension (VBE). | |
168 | ||
6bde2dc5 BM |
169 | config FRAMEBUFFER_SET_VESA_MODE |
170 | bool "Set framebuffer graphics resolution" | |
97cb0927 | 171 | depends on VIDEO_VESA || VIDEO_BROADWELL_IGD |
6bde2dc5 BM |
172 | help |
173 | Set VESA/native framebuffer mode (needed for bootsplash and graphical | |
174 | framebuffer console) | |
175 | ||
176 | choice | |
177 | prompt "framebuffer graphics resolution" | |
178 | default FRAMEBUFFER_VESA_MODE_117 | |
179 | depends on FRAMEBUFFER_SET_VESA_MODE | |
180 | help | |
181 | This option sets the resolution used for the U-Boot framebuffer (and | |
182 | bootsplash screen). | |
183 | ||
184 | config FRAMEBUFFER_VESA_MODE_100 | |
185 | bool "640x400 256-color" | |
186 | ||
187 | config FRAMEBUFFER_VESA_MODE_101 | |
188 | bool "640x480 256-color" | |
189 | ||
190 | config FRAMEBUFFER_VESA_MODE_102 | |
191 | bool "800x600 16-color" | |
192 | ||
193 | config FRAMEBUFFER_VESA_MODE_103 | |
194 | bool "800x600 256-color" | |
195 | ||
196 | config FRAMEBUFFER_VESA_MODE_104 | |
197 | bool "1024x768 16-color" | |
198 | ||
199 | config FRAMEBUFFER_VESA_MODE_105 | |
57dccb55 | 200 | bool "1024x768 256-color" |
6bde2dc5 BM |
201 | |
202 | config FRAMEBUFFER_VESA_MODE_106 | |
203 | bool "1280x1024 16-color" | |
204 | ||
205 | config FRAMEBUFFER_VESA_MODE_107 | |
206 | bool "1280x1024 256-color" | |
207 | ||
208 | config FRAMEBUFFER_VESA_MODE_108 | |
209 | bool "80x60 text" | |
210 | ||
211 | config FRAMEBUFFER_VESA_MODE_109 | |
212 | bool "132x25 text" | |
213 | ||
214 | config FRAMEBUFFER_VESA_MODE_10A | |
215 | bool "132x43 text" | |
216 | ||
217 | config FRAMEBUFFER_VESA_MODE_10B | |
218 | bool "132x50 text" | |
219 | ||
220 | config FRAMEBUFFER_VESA_MODE_10C | |
221 | bool "132x60 text" | |
222 | ||
223 | config FRAMEBUFFER_VESA_MODE_10D | |
224 | bool "320x200 32k-color (1:5:5:5)" | |
225 | ||
226 | config FRAMEBUFFER_VESA_MODE_10E | |
227 | bool "320x200 64k-color (5:6:5)" | |
228 | ||
229 | config FRAMEBUFFER_VESA_MODE_10F | |
230 | bool "320x200 16.8M-color (8:8:8)" | |
231 | ||
232 | config FRAMEBUFFER_VESA_MODE_110 | |
233 | bool "640x480 32k-color (1:5:5:5)" | |
234 | ||
235 | config FRAMEBUFFER_VESA_MODE_111 | |
236 | bool "640x480 64k-color (5:6:5)" | |
237 | ||
238 | config FRAMEBUFFER_VESA_MODE_112 | |
239 | bool "640x480 16.8M-color (8:8:8)" | |
240 | ||
241 | config FRAMEBUFFER_VESA_MODE_113 | |
242 | bool "800x600 32k-color (1:5:5:5)" | |
243 | ||
244 | config FRAMEBUFFER_VESA_MODE_114 | |
245 | bool "800x600 64k-color (5:6:5)" | |
246 | ||
247 | config FRAMEBUFFER_VESA_MODE_115 | |
248 | bool "800x600 16.8M-color (8:8:8)" | |
249 | ||
250 | config FRAMEBUFFER_VESA_MODE_116 | |
251 | bool "1024x768 32k-color (1:5:5:5)" | |
252 | ||
253 | config FRAMEBUFFER_VESA_MODE_117 | |
254 | bool "1024x768 64k-color (5:6:5)" | |
255 | ||
256 | config FRAMEBUFFER_VESA_MODE_118 | |
257 | bool "1024x768 16.8M-color (8:8:8)" | |
258 | ||
259 | config FRAMEBUFFER_VESA_MODE_119 | |
260 | bool "1280x1024 32k-color (1:5:5:5)" | |
261 | ||
262 | config FRAMEBUFFER_VESA_MODE_11A | |
263 | bool "1280x1024 64k-color (5:6:5)" | |
264 | ||
265 | config FRAMEBUFFER_VESA_MODE_11B | |
266 | bool "1280x1024 16.8M-color (8:8:8)" | |
267 | ||
268 | config FRAMEBUFFER_VESA_MODE_USER | |
269 | bool "Manually select VESA mode" | |
270 | ||
271 | endchoice | |
272 | ||
273 | # Map the config names to an integer (KB). | |
274 | config FRAMEBUFFER_VESA_MODE | |
275 | prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER | |
276 | hex | |
277 | default 0x100 if FRAMEBUFFER_VESA_MODE_100 | |
278 | default 0x101 if FRAMEBUFFER_VESA_MODE_101 | |
279 | default 0x102 if FRAMEBUFFER_VESA_MODE_102 | |
280 | default 0x103 if FRAMEBUFFER_VESA_MODE_103 | |
281 | default 0x104 if FRAMEBUFFER_VESA_MODE_104 | |
282 | default 0x105 if FRAMEBUFFER_VESA_MODE_105 | |
283 | default 0x106 if FRAMEBUFFER_VESA_MODE_106 | |
284 | default 0x107 if FRAMEBUFFER_VESA_MODE_107 | |
285 | default 0x108 if FRAMEBUFFER_VESA_MODE_108 | |
286 | default 0x109 if FRAMEBUFFER_VESA_MODE_109 | |
287 | default 0x10A if FRAMEBUFFER_VESA_MODE_10A | |
288 | default 0x10B if FRAMEBUFFER_VESA_MODE_10B | |
289 | default 0x10C if FRAMEBUFFER_VESA_MODE_10C | |
290 | default 0x10D if FRAMEBUFFER_VESA_MODE_10D | |
291 | default 0x10E if FRAMEBUFFER_VESA_MODE_10E | |
292 | default 0x10F if FRAMEBUFFER_VESA_MODE_10F | |
293 | default 0x110 if FRAMEBUFFER_VESA_MODE_110 | |
294 | default 0x111 if FRAMEBUFFER_VESA_MODE_111 | |
295 | default 0x112 if FRAMEBUFFER_VESA_MODE_112 | |
296 | default 0x113 if FRAMEBUFFER_VESA_MODE_113 | |
297 | default 0x114 if FRAMEBUFFER_VESA_MODE_114 | |
298 | default 0x115 if FRAMEBUFFER_VESA_MODE_115 | |
299 | default 0x116 if FRAMEBUFFER_VESA_MODE_116 | |
300 | default 0x117 if FRAMEBUFFER_VESA_MODE_117 | |
301 | default 0x118 if FRAMEBUFFER_VESA_MODE_118 | |
302 | default 0x119 if FRAMEBUFFER_VESA_MODE_119 | |
303 | default 0x11A if FRAMEBUFFER_VESA_MODE_11A | |
304 | default 0x11B if FRAMEBUFFER_VESA_MODE_11B | |
305 | default 0x117 if FRAMEBUFFER_VESA_MODE_USER | |
306 | ||
66525bb7 HG |
307 | config VIDEO_LCD_ANX9804 |
308 | bool "ANX9804 bridge chip" | |
309 | default n | |
310 | ---help--- | |
311 | Support for the ANX9804 bridge chip, which can take pixel data coming | |
312 | from a parallel LCD interface and translate it on the fy into a DP | |
313 | interface for driving eDP TFT displays. It uses I2C for configuration. | |
314 | ||
b8329acf SS |
315 | config VIDEO_LCD_SSD2828 |
316 | bool "SSD2828 bridge chip" | |
317 | default n | |
318 | ---help--- | |
319 | Support for the SSD2828 bridge chip, which can take pixel data coming | |
320 | from a parallel LCD interface and translate it on the fly into MIPI DSI | |
321 | interface for driving a MIPI compatible LCD panel. It uses SPI for | |
322 | configuration. | |
323 | ||
324 | config VIDEO_LCD_SSD2828_TX_CLK | |
325 | int "SSD2828 TX_CLK frequency (in MHz)" | |
326 | depends on VIDEO_LCD_SSD2828 | |
dddccd69 | 327 | default 0 |
b8329acf SS |
328 | ---help--- |
329 | The frequency of the crystal, which is clocking SSD2828. It may be | |
330 | anything in the 8MHz-30MHz range and the exact value should be | |
331 | retrieved from the board schematics. Or in the case of Allwinner | |
332 | hardware, it can be usually found as 'lcd_xtal_freq' variable in | |
dddccd69 SS |
333 | FEX files. It can be also set to 0 for selecting PCLK from the |
334 | parallel LCD interface instead of TX_CLK as the PLL clock source. | |
b8329acf SS |
335 | |
336 | config VIDEO_LCD_SSD2828_RESET | |
337 | string "RESET pin of SSD2828" | |
338 | depends on VIDEO_LCD_SSD2828 | |
339 | default "" | |
340 | ---help--- | |
341 | The reset pin of SSD2828 chip. This takes a string in the format | |
342 | understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H. | |
343 | ||
a5464f2b HG |
344 | config VIDEO_LCD_HITACHI_TX18D42VM |
345 | bool "Hitachi tx18d42vm LVDS LCD panel support" | |
346 | depends on VIDEO | |
347 | default n | |
348 | ---help--- | |
349 | Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a | |
350 | lcd controller which needs to be initialized over SPI, once that is | |
351 | done they work like a regular LVDS panel. | |
352 | ||
b8329acf SS |
353 | config VIDEO_LCD_SPI_CS |
354 | string "SPI CS pin for LCD related config job" | |
a5464f2b | 355 | depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM |
b8329acf SS |
356 | default "" |
357 | ---help--- | |
358 | This is one of the SPI communication pins, involved in setting up a | |
359 | working LCD configuration. The exact role of SPI may differ for | |
360 | different hardware setups. The option takes a string in the format | |
361 | understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H. | |
362 | ||
363 | config VIDEO_LCD_SPI_SCLK | |
364 | string "SPI SCLK pin for LCD related config job" | |
a5464f2b | 365 | depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM |
b8329acf SS |
366 | default "" |
367 | ---help--- | |
368 | This is one of the SPI communication pins, involved in setting up a | |
369 | working LCD configuration. The exact role of SPI may differ for | |
370 | different hardware setups. The option takes a string in the format | |
371 | understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H. | |
372 | ||
373 | config VIDEO_LCD_SPI_MOSI | |
374 | string "SPI MOSI pin for LCD related config job" | |
a5464f2b | 375 | depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM |
b8329acf SS |
376 | default "" |
377 | ---help--- | |
378 | This is one of the SPI communication pins, involved in setting up a | |
379 | working LCD configuration. The exact role of SPI may differ for | |
380 | different hardware setups. The option takes a string in the format | |
381 | understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H. | |
382 | ||
383 | config VIDEO_LCD_SPI_MISO | |
384 | string "SPI MISO pin for LCD related config job (optional)" | |
385 | depends on VIDEO_LCD_SSD2828 | |
386 | default "" | |
387 | ---help--- | |
388 | This is one of the SPI communication pins, involved in setting up a | |
389 | working LCD configuration. The exact role of SPI may differ for | |
390 | different hardware setups. If wired up, this pin may provide additional | |
391 | useful functionality. Such as bi-directional communication with the | |
392 | hardware and LCD panel id retrieval (if the panel can report it). The | |
393 | option takes a string in the format understood by 'name_to_gpio' | |
394 | function, e.g. PH1 for pin 1 of port H. | |
51f2c99e | 395 | |
913d1be2 SR |
396 | config VIDEO_MVEBU |
397 | bool "Armada XP LCD controller" | |
398 | default n | |
399 | ---help--- | |
400 | Support for the LCD controller integrated in the Marvell | |
401 | Armada XP SoC. | |
402 | ||
7588c312 AG |
403 | config I2C_EDID |
404 | bool "Enable EDID library" | |
405 | depends on DM_I2C | |
406 | default n | |
407 | help | |
408 | This enables library for accessing EDID data from an LCD panel. | |
409 | ||
2dcf1433 SG |
410 | config DISPLAY |
411 | bool "Enable Display support" | |
412 | depends on DM | |
7588c312 AG |
413 | default n |
414 | select I2C_EDID | |
51f2c99e | 415 | help |
2dcf1433 SG |
416 | This supports drivers that provide a display, such as eDP (Embedded |
417 | DisplayPort) and HDMI (High Definition Multimedia Interface). | |
418 | The devices provide a simple interface to start up the display, | |
419 | read display information and enable it. | |
e7e8823c | 420 | |
7927831e SW |
421 | config ATMEL_HLCD |
422 | bool "Enable ATMEL video support using HLCDC" | |
423 | depends on DM_VIDEO | |
424 | help | |
425 | HLCDC supports video output to an attached LCD panel. | |
426 | ||
97cb0927 SG |
427 | config VIDEO_BROADWELL_IGD |
428 | bool "Enable Intel Broadwell integrated graphics device" | |
429 | depends on X86 | |
430 | help | |
1df91276 | 431 | This enables support for integrated graphics on Intel broadwell |
97cb0927 SG |
432 | devices. Initialisation is mostly performed by a VGA boot ROM, with |
433 | some setup handled by U-Boot itself. The graphics adaptor works as | |
434 | a VESA device and supports LCD panels, eDP and LVDS outputs. | |
435 | Configuration of most aspects of device operation is performed using | |
436 | a special tool which configures the VGA ROM, but the graphics | |
437 | resolution can be selected in U-Boot. | |
438 | ||
2c943804 SG |
439 | config VIDEO_IVYBRIDGE_IGD |
440 | bool "Enable Intel Ivybridge integration graphics support" | |
441 | depends on X86 | |
442 | help | |
443 | This enables support for integrated graphics on Intel ivybridge | |
444 | devices. Initialisation is mostly performed by a VGA boot ROM, with | |
445 | some setup handled by U-Boot itself. The graphics adaptor works as | |
446 | a VESA device and supports LCD panels, eDP and LVDS outputs. | |
447 | Configuration of most aspects of device operation is performed using | |
448 | a special tool which configures the VGA ROM, but the graphics | |
449 | resolution can be selected in U-Boot. | |
450 | ||
b215fb3f SM |
451 | config VIDEO_FSL_DCU_FB |
452 | bool "Enable Freescale Display Control Unit" | |
453 | depends on VIDEO | |
454 | help | |
455 | This enables support for Freescale Display Control Unit (DCU4) | |
456 | module found on Freescale Vybrid and QorIQ family of SoCs. | |
457 | ||
77810e63 SA |
458 | config VIDEO_FSL_DCU_MAX_FB_SIZE_MB |
459 | int "Freescale DCU framebuffer size" | |
460 | depends on VIDEO_FSL_DCU_FB | |
461 | default 4194304 | |
462 | help | |
463 | Set maximum framebuffer size to be used for Freescale Display | |
464 | Controller Unit (DCU4). | |
465 | ||
b98f0a3d | 466 | source "drivers/video/rockchip/Kconfig" |
c2539483 | 467 | |
1e69ad01 SG |
468 | config VIDEO_SANDBOX_SDL |
469 | bool "Enable sandbox video console using SDL" | |
470 | depends on SANDBOX | |
471 | help | |
472 | When using sandbox you can enable an emulated LCD display which | |
473 | appears as an SDL (Simple DirectMedia Layer) window. This is a | |
474 | console device and can display stdout output. Within U-Boot is is | |
475 | a normal bitmap display and can display images as well as text. | |
476 | ||
72719d2f PC |
477 | source "drivers/video/stm32/Kconfig" |
478 | ||
d2f90650 SG |
479 | config VIDEO_TEGRA20 |
480 | bool "Enable LCD support on Tegra20" | |
40d56a91 | 481 | depends on OF_CONTROL |
d2f90650 SG |
482 | help |
483 | Tegra20 supports video output to an attached LCD panel as well as | |
484 | other options such as HDMI. Only the LCD is supported in U-Boot. | |
485 | This option enables this support which can be used on devices which | |
486 | have an LCD display connected. | |
487 | ||
e7e8823c SG |
488 | config VIDEO_TEGRA124 |
489 | bool "Enable video support on Tegra124" | |
d7659212 | 490 | depends on DM_VIDEO |
e7e8823c SG |
491 | help |
492 | Tegra124 supports many video output options including eDP and | |
493 | HDMI. At present only eDP is supported by U-Boot. This option | |
494 | enables this support which can be used on devices which | |
495 | have an eDP display connected. | |
801ab9e9 SG |
496 | |
497 | source "drivers/video/bridge/Kconfig" | |
0b11dbf7 | 498 | |
27604b15 SG |
499 | config VIDEO |
500 | bool "Enable legacy video support" | |
501 | depends on !DM_VIDEO | |
502 | help | |
503 | Define this for video support, without using driver model. Some | |
504 | drivers use this because they are not yet converted to driver | |
505 | model. Video drivers typically provide a colour text console and | |
506 | cursor. | |
507 | ||
7db7455b JT |
508 | config VIDEO_IPUV3 |
509 | bool "i.MX IPUv3 Core video support" | |
510 | depends on VIDEO && MX6 | |
511 | help | |
512 | This enables framebuffer driver for i.MX processors working | |
513 | on the IPUv3(Image Processing Unit) internal graphic processor. | |
514 | ||
bdba2b3a SG |
515 | config CFB_CONSOLE |
516 | bool "Enable colour frame buffer console" | |
517 | depends on VIDEO | |
518 | default y if VIDEO | |
519 | help | |
520 | Enables the colour frame buffer driver. This supports colour | |
521 | output on a bitmap display from an in-memory frame buffer. | |
522 | Several colour devices are supported along with various options to | |
523 | adjust the supported features. The driver is implemented in | |
524 | cfb_console.c | |
525 | ||
526 | The following defines are needed (cf. smiLynxEM, i8042) | |
527 | VIDEO_FB_LITTLE_ENDIAN graphic memory organisation | |
528 | (default big endian) | |
529 | VIDEO_HW_RECTFILL graphic chip supports | |
530 | rectangle fill (cf. smiLynxEM) | |
531 | VIDEO_HW_BITBLT graphic chip supports | |
532 | bit-blit (cf. smiLynxEM) | |
533 | VIDEO_VISIBLE_COLS visible pixel columns (cols=pitch) | |
534 | VIDEO_VISIBLE_ROWS visible pixel rows | |
535 | VIDEO_PIXEL_SIZE bytes per pixel | |
536 | VIDEO_DATA_FORMAT graphic data format | |
537 | (0-5, cf. cfb_console.c) | |
538 | VIDEO_FB_ADRS framebuffer address | |
539 | VIDEO_KBD_INIT_FCT keyboard int fct (i.e. rx51_kp_init()) | |
540 | VIDEO_TSTC_FCT test char fct (i.e. rx51_kp_tstc) | |
541 | VIDEO_GETC_FCT get char fct (i.e. rx51_kp_getc) | |
542 | CONFIG_VIDEO_LOGO display Linux logo in upper left corner | |
543 | CONFIG_VIDEO_BMP_LOGO use bmp_logo.h instead of linux_logo.h | |
544 | for logo. Requires CONFIG_VIDEO_LOGO | |
545 | CONFIG_CONSOLE_EXTRA_INFO | |
546 | additional board info beside | |
547 | the logo | |
548 | CONFIG_HIDE_LOGO_VERSION | |
549 | do not display bootloader | |
550 | version string | |
551 | ||
552 | When CONFIG_CFB_CONSOLE is defined, the video console is the | |
553 | default console. The serial console can be forced by setting the | |
554 | environment 'console=serial'. | |
555 | ||
c6745195 SG |
556 | config CFB_CONSOLE_ANSI |
557 | bool "Support ANSI escape sequences" | |
558 | depends on CFB_CONSOLE | |
559 | help | |
560 | This allows the colour buffer frame buffer driver to support | |
561 | a limited number of ANSI escape sequences (cursor control, | |
562 | erase functions and limited graphics rendition control). Normal | |
563 | output from U-Boot will pass through this filter. | |
564 | ||
1e1a0fb2 SG |
565 | config VGA_AS_SINGLE_DEVICE |
566 | bool "Set the video as an output-only device" | |
567 | depends on CFB_CONSOLE | |
568 | default y | |
569 | help | |
570 | If enable the framebuffer device will be initialized as an | |
571 | output-only device. The Keyboard driver will not be set up. This | |
572 | may be used if you have no keyboard device, or more than one | |
573 | (USB Keyboard, AT Keyboard). | |
574 | ||
0872d443 SG |
575 | config VIDEO_SW_CURSOR |
576 | bool "Enable a software cursor" | |
577 | depends on CFB_CONSOLE | |
578 | default y if CFB_CONSOLE | |
579 | help | |
580 | This draws a cursor after the last character. No blinking is | |
581 | provided. This makes it possible to see the current cursor | |
582 | position when entering text on the console. It is recommended to | |
583 | enable this. | |
584 | ||
fbda6832 SG |
585 | config CONSOLE_EXTRA_INFO |
586 | bool "Display additional board information" | |
587 | depends on CFB_CONSOLE | |
588 | help | |
589 | Display additional board information strings that normally go to | |
590 | the serial port. When this option is enabled, a board-specific | |
591 | function video_get_info_str() is called to get the string for | |
592 | each line of the display. The function should return the string, | |
593 | which can be empty if there is nothing to display for that line. | |
594 | ||
b87ca80b SG |
595 | config CONSOLE_SCROLL_LINES |
596 | int "Number of lines to scroll the console by" | |
597 | depends on CFB_CONSOLE || DM_VIDEO || LCD | |
598 | default 1 | |
599 | help | |
600 | When the console need to be scrolled, this is the number of | |
601 | lines to scroll by. It defaults to 1. Increasing this makes the | |
602 | console jump but can help speed up operation when scrolling | |
603 | is slow. | |
604 | ||
002f967c SG |
605 | config SYS_CONSOLE_BG_COL |
606 | hex "Background colour" | |
c674e00b | 607 | depends on CFB_CONSOLE |
002f967c SG |
608 | default 0x00 |
609 | help | |
610 | Defines the background colour for the console. The value is from | |
611 | 0x00 to 0xff and the meaning depends on the graphics card. | |
612 | Typically, 0x00 means black and 0xff means white. Do not set | |
613 | the background and foreground to the same colour or you will see | |
614 | nothing. | |
615 | ||
616 | config SYS_CONSOLE_FG_COL | |
617 | hex "Foreground colour" | |
c674e00b | 618 | depends on CFB_CONSOLE |
002f967c SG |
619 | default 0xa0 |
620 | help | |
621 | Defines the foreground colour for the console. The value is from | |
622 | 0x00 to 0xff and the meaning depends on the graphics card. | |
623 | Typically, 0x00 means black and 0xff means white. Do not set | |
624 | the background and foreground to the same colour or you will see | |
625 | nothing. | |
626 | ||
f8b19a88 SG |
627 | config LCD |
628 | bool "Enable legacy LCD support" | |
629 | help | |
630 | Define this to enable LCD support (for output to LCD display). | |
631 | You will also need to select an LCD driver using an additional | |
632 | CONFIG option. See the README for details. Drives which have been | |
633 | converted to driver model will instead used CONFIG_DM_VIDEO. | |
634 | ||
8517f64f PT |
635 | config VIDEO_DW_HDMI |
636 | bool | |
637 | help | |
638 | Enables the common driver code for the Designware HDMI TX | |
639 | block found in SoCs from various vendors. | |
640 | As this does not provide any functionality by itself (but | |
641 | rather requires a SoC-specific glue driver to call it), it | |
642 | can not be enabled from the configuration menu. | |
643 | ||
971d7e64 RC |
644 | config VIDEO_SIMPLE |
645 | bool "Simple display driver for preconfigured display" | |
646 | help | |
647 | Enables a simple generic display driver which utilizes the | |
648 | simple-framebuffer devicetree bindings. | |
649 | ||
650 | This driver assumes that the display hardware has been initialized | |
651 | before u-boot starts, and u-boot will simply render to the pre- | |
652 | allocated frame buffer surface. | |
653 | ||
f6bdddc9 IZ |
654 | config VIDEO_DT_SIMPLEFB |
655 | bool "Enable SimpleFB support for passing framebuffer to OS" | |
656 | help | |
657 | Enables the code to pass the framebuffer to the kernel as a | |
658 | simple framebuffer in the device tree. | |
659 | The video output is initialized by U-Boot, and kept by the | |
660 | kernel. | |
661 | ||
0b11dbf7 | 662 | endmenu |