blob: aaea7ce743fbbf5473049f962dc8351a5df62cb3 [file] [log] [blame]
Masahiro Yamada0b11dbf2015-07-26 02:46:26 +09001#
2# Video configuration
3#
4
5menu "Graphics support"
6
Simon Glass1acafc72016-01-18 19:52:15 -07007config 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
Anatolij Gustschine26e5202020-05-26 00:20:49 +020017config BACKLIGHT
18 bool "Enable panel backlight uclass support"
19 depends on DM_VIDEO
20 default y
21 help
22 This provides backlight uclass driver that enables basic panel
23 backlight support.
24
Patrick Delaunay08a43cf2017-08-03 12:36:06 +020025config BACKLIGHT_PWM
26 bool "Generic PWM based Backlight Driver"
Anatolij Gustschine26e5202020-05-26 00:20:49 +020027 depends on BACKLIGHT && DM_PWM
Patrick Delaunay08a43cf2017-08-03 12:36:06 +020028 default y
29 help
30 If you have a LCD backlight adjustable by PWM, say Y to enable
31 this driver.
32 This driver can be use with "simple-panel" and
33 it understands the standard device tree
34 (leds/backlight/pwm-backlight.txt)
35
Patrick Delaunay5b6a6a92017-08-03 12:36:07 +020036config BACKLIGHT_GPIO
37 bool "Generic GPIO based Backlight Driver"
Anatolij Gustschine26e5202020-05-26 00:20:49 +020038 depends on BACKLIGHT
Patrick Delaunay5b6a6a92017-08-03 12:36:07 +020039 help
40 If you have a LCD backlight adjustable by GPIO, say Y to enable
41 this driver.
42 This driver can be used with "simple-panel" and
43 it understands the standard device tree
44 (leds/backlight/gpio-backlight.txt)
45
Anatolij Gustschin39b95552020-05-25 21:47:19 +020046config CMD_VIDCONSOLE
47 bool "Enable vidconsole commands lcdputs and setcurs"
48 depends on DM_VIDEO
49 default y
50 help
51 Enabling this will provide 'setcurs' and 'lcdputs' commands which
52 support cursor positioning and drawing strings on video framebuffer.
53
Simon Glass1acafc72016-01-18 19:52:15 -070054config VIDEO_BPP8
55 bool "Support 8-bit-per-pixel displays"
56 depends on DM_VIDEO
Anatolij Gustschin8a6ffed2020-02-04 22:43:06 +010057 default y
Simon Glass1acafc72016-01-18 19:52:15 -070058 help
59 Support drawing text and bitmaps onto a 8-bit-per-pixel display.
60 Enabling this will include code to support this display. Without
61 this option, such displays will not be supported and console output
62 will be empty.
63
64config VIDEO_BPP16
65 bool "Support 16-bit-per-pixel displays"
66 depends on DM_VIDEO
Anatolij Gustschin8a6ffed2020-02-04 22:43:06 +010067 default y
Simon Glass1acafc72016-01-18 19:52:15 -070068 help
69 Support drawing text and bitmaps onto a 16-bit-per-pixel display.
70 Enabling this will include code to support this display. Without
71 this option, such displays will not be supported and console output
72 will be empty.
73
74config VIDEO_BPP32
75 bool "Support 32-bit-per-pixel displays"
76 depends on DM_VIDEO
Anatolij Gustschin8a6ffed2020-02-04 22:43:06 +010077 default y
Simon Glass1acafc72016-01-18 19:52:15 -070078 help
79 Support drawing text and bitmaps onto a 32-bit-per-pixel display.
80 Enabling this will include code to support this display. Without
81 this option, such displays will not be supported and console output
82 will be empty.
83
Rob Clarka085aa12017-09-13 18:12:21 -040084config VIDEO_ANSI
85 bool "Support ANSI escape sequences in video console"
86 depends on DM_VIDEO
Anatolij Gustschin8a6ffed2020-02-04 22:43:06 +010087 default y
Rob Clarka085aa12017-09-13 18:12:21 -040088 help
89 Enable ANSI escape sequence decoding for a more fully functional
90 console.
91
Yannick Fertré66c37242019-10-07 15:29:04 +020092config VIDEO_MIPI_DSI
93 bool "Support MIPI DSI interface"
94 depends on DM_VIDEO
95 help
96 Support MIPI DSI interface for driving a MIPI compatible device.
97 The MIPI Display Serial Interface (MIPI DSI) defines a high-speed
98 serial interface between a host processor and a display module.
99
Simon Glass6e42e252016-01-22 21:53:37 +0100100config CONSOLE_NORMAL
101 bool "Support a simple text console"
102 depends on DM_VIDEO
103 default y if DM_VIDEO
104 help
105 Support drawing text on the frame buffer console so that it can be
106 used as a console. Rotation is not supported by this driver (see
107 CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used
108 for the display.
109
110config CONSOLE_ROTATION
Simon Glassb5146b22016-01-18 19:52:19 -0700111 bool "Support rotated displays"
112 depends on DM_VIDEO
113 help
114 Sometimes, for example if the display is mounted in portrait
115 mode or even if it's mounted landscape but rotated by 180degree,
116 we need to rotate our content of the display relative to the
117 framebuffer, so that user can read the messages which are
118 printed out. Enable this option to include a text driver which can
119 support this. The rotation is set by the 'rot' parameter in
120 struct video_priv: 0=unrotated, 1=90 degrees clockwise, 2=180
121 degrees, 3=270 degrees.
122
Simon Glassa29b0122016-01-14 18:10:42 -0700123config CONSOLE_TRUETYPE
124 bool "Support a console that uses TrueType fonts"
125 depends on DM_VIDEO
126 help
127 TrueTrype fonts can provide outline-drawing capability rather than
128 needing to provide a bitmap for each font and size that is needed.
129 With this option you can adjust the text size and use a variety of
130 fonts. Note that this is noticeably slower than with normal console.
131
132config CONSOLE_TRUETYPE_SIZE
133 int "TrueType font size"
134 depends on CONSOLE_TRUETYPE
135 default 18
136 help
137 This sets the font size for the console. The size is measured in
138 pixels and is the nominal height of a character. Note that fonts
139 are commonly measured in 'points', being 1/72 inch (about 3.52mm).
140 However that measurement depends on the size of your display and
141 there is no standard display density. At present there is not a
142 method to select the display's physical size, which would allow
143 U-Boot to calculate the correct font size.
144
Simon Glass983b1032017-04-26 22:27:57 -0600145config SYS_WHITE_ON_BLACK
146 bool "Display console as white on a black background"
Trevor Woerner18138ab2020-05-06 08:02:41 -0400147 default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || ARCH_TEGRA || X86 || ARCH_SUNXI
Simon Glass983b1032017-04-26 22:27:57 -0600148 help
149 Normally the display is black on a white background, Enable this
150 option to invert this, i.e. white on a black background. This can be
151 better in low-light situations or to reduce eye strain in some
152 cases.
153
Rob Clark8ef05352017-08-03 12:47:01 -0400154config NO_FB_CLEAR
155 bool "Skip framebuffer clear"
156 help
157 If firmware (whatever loads u-boot) has already put a splash image
158 on screen, you might want to preserve it until whatever u-boot
159 loads takes over the screen. This, for example, can be used to
160 keep splash image on screen until grub graphical boot menu starts.
161
Anatolij Gustschine26e5202020-05-26 00:20:49 +0200162config PANEL
163 bool "Enable panel uclass support"
164 depends on DM_VIDEO
165 default y
166 help
167 This provides panel uclass driver that enables basic panel support.
168
169config SIMPLE_PANEL
170 bool "Enable simple panel support"
171 depends on PANEL
172 default y
173 help
174 This turns on a simple panel driver that enables a compatible
175 video panel.
176
Simon Glassa29b0122016-01-14 18:10:42 -0700177source "drivers/video/fonts/Kconfig"
178
Simon Glassa2931b32016-02-06 14:31:37 -0700179config VIDCONSOLE_AS_LCD
180 bool "Use 'vidconsole' when 'lcd' is seen in stdout"
181 depends on DM_VIDEO
182 help
183 This is a work-around for boards which have 'lcd' in their stdout
184 environment variable, but have moved to use driver model for video.
185 In this case the console will no-longer work. While it is possible
186 to update the environment, the breakage may be confusing for users.
187 This option will be removed around the end of 2016.
188
Bin Meng13b2bfc2016-10-09 04:14:16 -0700189config VIDEO_COREBOOT
190 bool "Enable coreboot framebuffer driver support"
191 depends on X86 && SYS_COREBOOT
192 help
193 Turn on this option to enable a framebuffer driver when U-Boot is
194 loaded by coreboot where the graphics device is configured by
195 coreboot already. This can in principle be used with any platform
196 that coreboot supports.
197
Bin Meng4a08c742018-06-12 08:36:22 -0700198config VIDEO_EFI
199 bool "Enable EFI framebuffer driver support"
200 depends on EFI_STUB
201 help
202 Turn on this option to enable a framebuffeer driver when U-Boot is
203 loaded as a payload (see README.u-boot_on_efi) by an EFI BIOS where
204 the graphics device is configured by the EFI BIOS already. This can
205 in principle be used with any platform that has an EFI BIOS.
206
Simon Glass6b1ba982014-12-29 19:32:28 -0700207config VIDEO_VESA
208 bool "Enable VESA video driver support"
Simon Glass6b1ba982014-12-29 19:32:28 -0700209 default n
210 help
211 Turn on this option to enable a very simple driver which uses vesa
212 to discover the video mode and then provides a frame buffer for use
213 by U-Boot. This can in principle be used with any platform that
214 supports PCI and video cards that support VESA BIOS Extension (VBE).
215
Bin Meng6bde2dc2015-05-11 07:36:29 +0800216config FRAMEBUFFER_SET_VESA_MODE
217 bool "Set framebuffer graphics resolution"
Simon Glass97cb0922016-03-11 22:07:30 -0700218 depends on VIDEO_VESA || VIDEO_BROADWELL_IGD
Bin Meng6bde2dc2015-05-11 07:36:29 +0800219 help
220 Set VESA/native framebuffer mode (needed for bootsplash and graphical
221 framebuffer console)
222
223choice
224 prompt "framebuffer graphics resolution"
Bin Meng17b07d72018-04-11 22:02:16 -0700225 default FRAMEBUFFER_VESA_MODE_118
Bin Meng6bde2dc2015-05-11 07:36:29 +0800226 depends on FRAMEBUFFER_SET_VESA_MODE
227 help
228 This option sets the resolution used for the U-Boot framebuffer (and
229 bootsplash screen).
230
231config FRAMEBUFFER_VESA_MODE_100
232 bool "640x400 256-color"
233
234config FRAMEBUFFER_VESA_MODE_101
235 bool "640x480 256-color"
236
237config FRAMEBUFFER_VESA_MODE_102
238 bool "800x600 16-color"
239
240config FRAMEBUFFER_VESA_MODE_103
241 bool "800x600 256-color"
242
243config FRAMEBUFFER_VESA_MODE_104
244 bool "1024x768 16-color"
245
246config FRAMEBUFFER_VESA_MODE_105
Bin Meng57dccb52015-08-09 23:26:59 -0700247 bool "1024x768 256-color"
Bin Meng6bde2dc2015-05-11 07:36:29 +0800248
249config FRAMEBUFFER_VESA_MODE_106
250 bool "1280x1024 16-color"
251
252config FRAMEBUFFER_VESA_MODE_107
253 bool "1280x1024 256-color"
254
255config FRAMEBUFFER_VESA_MODE_108
256 bool "80x60 text"
257
258config FRAMEBUFFER_VESA_MODE_109
259 bool "132x25 text"
260
261config FRAMEBUFFER_VESA_MODE_10A
262 bool "132x43 text"
263
264config FRAMEBUFFER_VESA_MODE_10B
265 bool "132x50 text"
266
267config FRAMEBUFFER_VESA_MODE_10C
268 bool "132x60 text"
269
270config FRAMEBUFFER_VESA_MODE_10D
271 bool "320x200 32k-color (1:5:5:5)"
272
273config FRAMEBUFFER_VESA_MODE_10E
274 bool "320x200 64k-color (5:6:5)"
275
276config FRAMEBUFFER_VESA_MODE_10F
277 bool "320x200 16.8M-color (8:8:8)"
278
279config FRAMEBUFFER_VESA_MODE_110
280 bool "640x480 32k-color (1:5:5:5)"
281
282config FRAMEBUFFER_VESA_MODE_111
283 bool "640x480 64k-color (5:6:5)"
284
285config FRAMEBUFFER_VESA_MODE_112
286 bool "640x480 16.8M-color (8:8:8)"
287
288config FRAMEBUFFER_VESA_MODE_113
289 bool "800x600 32k-color (1:5:5:5)"
290
291config FRAMEBUFFER_VESA_MODE_114
292 bool "800x600 64k-color (5:6:5)"
293
294config FRAMEBUFFER_VESA_MODE_115
295 bool "800x600 16.8M-color (8:8:8)"
296
297config FRAMEBUFFER_VESA_MODE_116
298 bool "1024x768 32k-color (1:5:5:5)"
299
300config FRAMEBUFFER_VESA_MODE_117
301 bool "1024x768 64k-color (5:6:5)"
302
303config FRAMEBUFFER_VESA_MODE_118
304 bool "1024x768 16.8M-color (8:8:8)"
305
306config FRAMEBUFFER_VESA_MODE_119
307 bool "1280x1024 32k-color (1:5:5:5)"
308
309config FRAMEBUFFER_VESA_MODE_11A
310 bool "1280x1024 64k-color (5:6:5)"
311
312config FRAMEBUFFER_VESA_MODE_11B
313 bool "1280x1024 16.8M-color (8:8:8)"
314
315config FRAMEBUFFER_VESA_MODE_USER
316 bool "Manually select VESA mode"
317
318endchoice
319
320# Map the config names to an integer (KB).
321config FRAMEBUFFER_VESA_MODE
322 prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER
323 hex
324 default 0x100 if FRAMEBUFFER_VESA_MODE_100
325 default 0x101 if FRAMEBUFFER_VESA_MODE_101
326 default 0x102 if FRAMEBUFFER_VESA_MODE_102
327 default 0x103 if FRAMEBUFFER_VESA_MODE_103
328 default 0x104 if FRAMEBUFFER_VESA_MODE_104
329 default 0x105 if FRAMEBUFFER_VESA_MODE_105
330 default 0x106 if FRAMEBUFFER_VESA_MODE_106
331 default 0x107 if FRAMEBUFFER_VESA_MODE_107
332 default 0x108 if FRAMEBUFFER_VESA_MODE_108
333 default 0x109 if FRAMEBUFFER_VESA_MODE_109
334 default 0x10A if FRAMEBUFFER_VESA_MODE_10A
335 default 0x10B if FRAMEBUFFER_VESA_MODE_10B
336 default 0x10C if FRAMEBUFFER_VESA_MODE_10C
337 default 0x10D if FRAMEBUFFER_VESA_MODE_10D
338 default 0x10E if FRAMEBUFFER_VESA_MODE_10E
339 default 0x10F if FRAMEBUFFER_VESA_MODE_10F
340 default 0x110 if FRAMEBUFFER_VESA_MODE_110
341 default 0x111 if FRAMEBUFFER_VESA_MODE_111
342 default 0x112 if FRAMEBUFFER_VESA_MODE_112
343 default 0x113 if FRAMEBUFFER_VESA_MODE_113
344 default 0x114 if FRAMEBUFFER_VESA_MODE_114
345 default 0x115 if FRAMEBUFFER_VESA_MODE_115
346 default 0x116 if FRAMEBUFFER_VESA_MODE_116
347 default 0x117 if FRAMEBUFFER_VESA_MODE_117
348 default 0x118 if FRAMEBUFFER_VESA_MODE_118
349 default 0x119 if FRAMEBUFFER_VESA_MODE_119
350 default 0x11A if FRAMEBUFFER_VESA_MODE_11A
351 default 0x11B if FRAMEBUFFER_VESA_MODE_11B
352 default 0x117 if FRAMEBUFFER_VESA_MODE_USER
353
Hans de Goede66525bb2015-08-08 16:03:29 +0200354config VIDEO_LCD_ANX9804
355 bool "ANX9804 bridge chip"
356 default n
357 ---help---
358 Support for the ANX9804 bridge chip, which can take pixel data coming
359 from a parallel LCD interface and translate it on the fy into a DP
360 interface for driving eDP TFT displays. It uses I2C for configuration.
361
Yannick Fertré78157b22019-10-07 15:29:08 +0200362config VIDEO_LCD_ORISETECH_OTM8009A
363 bool "OTM8009A DSI LCD panel support"
364 depends on DM_VIDEO
365 select VIDEO_MIPI_DSI
366 default n
367 help
368 Say Y here if you want to enable support for Orise Technology
369 otm8009a 480x800 dsi 2dl panel.
370
Yannick Fertré06ef1312019-10-07 15:29:09 +0200371config VIDEO_LCD_RAYDIUM_RM68200
372 bool "RM68200 DSI LCD panel support"
373 depends on DM_VIDEO
374 select VIDEO_MIPI_DSI
375 default n
376 help
377 Say Y here if you want to enable support for Raydium RM68200
378 720x1280 DSI video mode panel.
379
Siarhei Siamashkab8329ac2015-01-19 05:23:32 +0200380config VIDEO_LCD_SSD2828
381 bool "SSD2828 bridge chip"
382 default n
383 ---help---
384 Support for the SSD2828 bridge chip, which can take pixel data coming
385 from a parallel LCD interface and translate it on the fly into MIPI DSI
386 interface for driving a MIPI compatible LCD panel. It uses SPI for
387 configuration.
388
389config VIDEO_LCD_SSD2828_TX_CLK
390 int "SSD2828 TX_CLK frequency (in MHz)"
391 depends on VIDEO_LCD_SSD2828
Siarhei Siamashkadddccd62015-01-19 05:23:35 +0200392 default 0
Siarhei Siamashkab8329ac2015-01-19 05:23:32 +0200393 ---help---
394 The frequency of the crystal, which is clocking SSD2828. It may be
395 anything in the 8MHz-30MHz range and the exact value should be
396 retrieved from the board schematics. Or in the case of Allwinner
397 hardware, it can be usually found as 'lcd_xtal_freq' variable in
Siarhei Siamashkadddccd62015-01-19 05:23:35 +0200398 FEX files. It can be also set to 0 for selecting PCLK from the
399 parallel LCD interface instead of TX_CLK as the PLL clock source.
Siarhei Siamashkab8329ac2015-01-19 05:23:32 +0200400
401config VIDEO_LCD_SSD2828_RESET
402 string "RESET pin of SSD2828"
403 depends on VIDEO_LCD_SSD2828
404 default ""
405 ---help---
406 The reset pin of SSD2828 chip. This takes a string in the format
407 understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
408
Hans de Goedea5464f22015-01-20 09:22:26 +0100409config VIDEO_LCD_HITACHI_TX18D42VM
410 bool "Hitachi tx18d42vm LVDS LCD panel support"
411 depends on VIDEO
412 default n
413 ---help---
414 Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a
415 lcd controller which needs to be initialized over SPI, once that is
416 done they work like a regular LVDS panel.
417
Siarhei Siamashkab8329ac2015-01-19 05:23:32 +0200418config VIDEO_LCD_SPI_CS
419 string "SPI CS pin for LCD related config job"
Hans de Goedea5464f22015-01-20 09:22:26 +0100420 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
Siarhei Siamashkab8329ac2015-01-19 05:23:32 +0200421 default ""
422 ---help---
423 This is one of the SPI communication pins, involved in setting up a
424 working LCD configuration. The exact role of SPI may differ for
425 different hardware setups. The option takes a string in the format
426 understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
427
428config VIDEO_LCD_SPI_SCLK
429 string "SPI SCLK pin for LCD related config job"
Hans de Goedea5464f22015-01-20 09:22:26 +0100430 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
Siarhei Siamashkab8329ac2015-01-19 05:23:32 +0200431 default ""
432 ---help---
433 This is one of the SPI communication pins, involved in setting up a
434 working LCD configuration. The exact role of SPI may differ for
435 different hardware setups. The option takes a string in the format
436 understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
437
438config VIDEO_LCD_SPI_MOSI
439 string "SPI MOSI pin for LCD related config job"
Hans de Goedea5464f22015-01-20 09:22:26 +0100440 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
Siarhei Siamashkab8329ac2015-01-19 05:23:32 +0200441 default ""
442 ---help---
443 This is one of the SPI communication pins, involved in setting up a
444 working LCD configuration. The exact role of SPI may differ for
445 different hardware setups. The option takes a string in the format
446 understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
447
448config VIDEO_LCD_SPI_MISO
449 string "SPI MISO pin for LCD related config job (optional)"
450 depends on VIDEO_LCD_SSD2828
451 default ""
452 ---help---
453 This is one of the SPI communication pins, involved in setting up a
454 working LCD configuration. The exact role of SPI may differ for
455 different hardware setups. If wired up, this pin may provide additional
456 useful functionality. Such as bi-directional communication with the
457 hardware and LCD panel id retrieval (if the panel can report it). The
458 option takes a string in the format understood by 'name_to_gpio'
459 function, e.g. PH1 for pin 1 of port H.
Simon Glass51f2c992015-04-14 21:03:38 -0600460
Neil Armstrong3bed4222018-07-24 17:45:28 +0200461source "drivers/video/meson/Kconfig"
462
Stefan Roese913d1be2016-01-20 08:13:28 +0100463config VIDEO_MVEBU
464 bool "Armada XP LCD controller"
465 default n
466 ---help---
467 Support for the LCD controller integrated in the Marvell
468 Armada XP SoC.
469
Adam Ford244eaea2018-08-02 08:50:20 -0500470config VIDEO_OMAP3
471 bool "Enable OMAP3+ DSS Support"
472 depends on ARCH_OMAP2PLUS
473 help
474 This enables the Display subsystem (DSS) on OMAP3+ boards.
475
Anatolij Gustschin7588c312016-01-25 17:17:22 +0100476config I2C_EDID
477 bool "Enable EDID library"
Anatolij Gustschin7588c312016-01-25 17:17:22 +0100478 default n
479 help
480 This enables library for accessing EDID data from an LCD panel.
481
Simon Glass2dcf1432016-01-21 19:45:00 -0700482config DISPLAY
483 bool "Enable Display support"
484 depends on DM
Anatolij Gustschin7588c312016-01-25 17:17:22 +0100485 default n
486 select I2C_EDID
Simon Glass51f2c992015-04-14 21:03:38 -0600487 help
Simon Glass2dcf1432016-01-21 19:45:00 -0700488 This supports drivers that provide a display, such as eDP (Embedded
489 DisplayPort) and HDMI (High Definition Multimedia Interface).
490 The devices provide a simple interface to start up the display,
491 read display information and enable it.
Simon Glasse7e88232015-04-14 21:03:42 -0600492
Liviu Dudau055da182018-09-28 13:49:31 +0100493config NXP_TDA19988
494 bool "Enable NXP TDA19988 support"
495 depends on DISPLAY
496 default n
497 help
498 This enables support for the NXP TDA19988 HDMI encoder. This encoder
499 will convert RGB data streams into HDMI-encoded signals.
500
Songjun Wu79278312017-04-11 16:33:30 +0800501config ATMEL_HLCD
502 bool "Enable ATMEL video support using HLCDC"
503 depends on DM_VIDEO
504 help
505 HLCDC supports video output to an attached LCD panel.
506
Dario Binacchi96b109b2020-02-22 14:05:45 +0100507config AM335X_LCD
508 bool "Enable AM335x video support"
509 depends on DM_VIDEO
510 help
511 Supports video output to an attached LCD panel.
512
Mario Six25a9f972018-08-09 14:51:23 +0200513config LOGICORE_DP_TX
514 bool "Enable Logicore DP TX driver"
515 depends on DISPLAY
516 help
517 Enable the driver for the transmitter part of the Xilinx LogiCORE
518 DisplayPort, a IP core for Xilinx FPGAs that implements a DisplayPort
519 video interface as defined by VESA DisplayPort v1.2.
520
521 Note that this is a pure transmitter device, and has no display
522 capabilities by itself.
523
Simon Glass97cb0922016-03-11 22:07:30 -0700524config VIDEO_BROADWELL_IGD
525 bool "Enable Intel Broadwell integrated graphics device"
526 depends on X86
527 help
Simon Glass1df91272016-10-05 20:42:14 -0600528 This enables support for integrated graphics on Intel broadwell
Simon Glass97cb0922016-03-11 22:07:30 -0700529 devices. Initialisation is mostly performed by a VGA boot ROM, with
530 some setup handled by U-Boot itself. The graphics adaptor works as
531 a VESA device and supports LCD panels, eDP and LVDS outputs.
532 Configuration of most aspects of device operation is performed using
533 a special tool which configures the VGA ROM, but the graphics
534 resolution can be selected in U-Boot.
535
Simon Glass2c943802016-10-05 20:42:15 -0600536config VIDEO_IVYBRIDGE_IGD
537 bool "Enable Intel Ivybridge integration graphics support"
538 depends on X86
539 help
540 This enables support for integrated graphics on Intel ivybridge
541 devices. Initialisation is mostly performed by a VGA boot ROM, with
542 some setup handled by U-Boot itself. The graphics adaptor works as
543 a VESA device and supports LCD panels, eDP and LVDS outputs.
544 Configuration of most aspects of device operation is performed using
545 a special tool which configures the VGA ROM, but the graphics
546 resolution can be selected in U-Boot.
547
Sanchayan Maityb215fb32017-04-11 11:12:09 +0530548config VIDEO_FSL_DCU_FB
549 bool "Enable Freescale Display Control Unit"
Igor Opaniukbe3f1a52019-06-10 14:47:50 +0300550 depends on VIDEO || DM_VIDEO
Sanchayan Maityb215fb32017-04-11 11:12:09 +0530551 help
552 This enables support for Freescale Display Control Unit (DCU4)
553 module found on Freescale Vybrid and QorIQ family of SoCs.
554
Stefan Agner77810e62017-04-11 11:12:10 +0530555config VIDEO_FSL_DCU_MAX_FB_SIZE_MB
556 int "Freescale DCU framebuffer size"
557 depends on VIDEO_FSL_DCU_FB
558 default 4194304
559 help
560 Set maximum framebuffer size to be used for Freescale Display
561 Controller Unit (DCU4).
562
eric.gao@rock-chips.comb98f0a32017-04-17 22:24:23 +0800563source "drivers/video/rockchip/Kconfig"
Simon Glassc2539482016-01-21 19:45:03 -0700564
Liviu Dudauc1a65a82018-09-28 13:50:53 +0100565config VIDEO_ARM_MALIDP
566 bool "Enable Arm Mali Display Processor support"
567 depends on DM_VIDEO && OF_CONTROL
568 select VEXPRESS_CLK
569 help
570 This enables support for Arm Ltd Mali Display Processors from
571 the DP500, DP550 and DP650 family.
572
Simon Glass1e69ad02016-01-18 19:52:24 -0700573config VIDEO_SANDBOX_SDL
574 bool "Enable sandbox video console using SDL"
575 depends on SANDBOX
576 help
577 When using sandbox you can enable an emulated LCD display which
578 appears as an SDL (Simple DirectMedia Layer) window. This is a
579 console device and can display stdout output. Within U-Boot is is
580 a normal bitmap display and can display images as well as text.
581
Philippe CORNU72719d22017-08-03 12:36:08 +0200582source "drivers/video/stm32/Kconfig"
583
Simon Glassd2f90652016-01-30 16:37:51 -0700584config VIDEO_TEGRA20
585 bool "Enable LCD support on Tegra20"
Simon Glass40d56a92016-01-30 16:37:54 -0700586 depends on OF_CONTROL
Simon Glassd2f90652016-01-30 16:37:51 -0700587 help
588 Tegra20 supports video output to an attached LCD panel as well as
589 other options such as HDMI. Only the LCD is supported in U-Boot.
590 This option enables this support which can be used on devices which
591 have an LCD display connected.
592
Simon Glasse7e88232015-04-14 21:03:42 -0600593config VIDEO_TEGRA124
594 bool "Enable video support on Tegra124"
Simon Glassd7659212016-01-30 16:37:50 -0700595 depends on DM_VIDEO
Simon Glasse7e88232015-04-14 21:03:42 -0600596 help
597 Tegra124 supports many video output options including eDP and
598 HDMI. At present only eDP is supported by U-Boot. This option
599 enables this support which can be used on devices which
600 have an eDP display connected.
Simon Glass801ab9e2015-07-02 18:16:08 -0600601
602source "drivers/video/bridge/Kconfig"
Masahiro Yamada0b11dbf2015-07-26 02:46:26 +0900603
Anatolij Gustschinbffd1312019-03-18 23:29:32 +0100604source "drivers/video/imx/Kconfig"
Anatolij Gustschin57f065f2019-03-18 23:29:31 +0100605
Simon Glass27604b12016-10-17 20:12:40 -0600606config VIDEO
607 bool "Enable legacy video support"
608 depends on !DM_VIDEO
609 help
610 Define this for video support, without using driver model. Some
611 drivers use this because they are not yet converted to driver
612 model. Video drivers typically provide a colour text console and
613 cursor.
614
Simon Glassbdba2b32016-10-17 20:12:41 -0600615config CFB_CONSOLE
616 bool "Enable colour frame buffer console"
617 depends on VIDEO
618 default y if VIDEO
619 help
620 Enables the colour frame buffer driver. This supports colour
621 output on a bitmap display from an in-memory frame buffer.
622 Several colour devices are supported along with various options to
623 adjust the supported features. The driver is implemented in
624 cfb_console.c
625
626 The following defines are needed (cf. smiLynxEM, i8042)
627 VIDEO_FB_LITTLE_ENDIAN graphic memory organisation
628 (default big endian)
629 VIDEO_HW_RECTFILL graphic chip supports
630 rectangle fill (cf. smiLynxEM)
631 VIDEO_HW_BITBLT graphic chip supports
632 bit-blit (cf. smiLynxEM)
633 VIDEO_VISIBLE_COLS visible pixel columns (cols=pitch)
634 VIDEO_VISIBLE_ROWS visible pixel rows
635 VIDEO_PIXEL_SIZE bytes per pixel
636 VIDEO_DATA_FORMAT graphic data format
637 (0-5, cf. cfb_console.c)
638 VIDEO_FB_ADRS framebuffer address
639 VIDEO_KBD_INIT_FCT keyboard int fct (i.e. rx51_kp_init())
640 VIDEO_TSTC_FCT test char fct (i.e. rx51_kp_tstc)
641 VIDEO_GETC_FCT get char fct (i.e. rx51_kp_getc)
642 CONFIG_VIDEO_LOGO display Linux logo in upper left corner
643 CONFIG_VIDEO_BMP_LOGO use bmp_logo.h instead of linux_logo.h
644 for logo. Requires CONFIG_VIDEO_LOGO
645 CONFIG_CONSOLE_EXTRA_INFO
646 additional board info beside
647 the logo
648 CONFIG_HIDE_LOGO_VERSION
649 do not display bootloader
650 version string
651
652 When CONFIG_CFB_CONSOLE is defined, the video console is the
653 default console. The serial console can be forced by setting the
654 environment 'console=serial'.
655
Simon Glassc6745192016-10-17 20:12:42 -0600656config CFB_CONSOLE_ANSI
657 bool "Support ANSI escape sequences"
658 depends on CFB_CONSOLE
659 help
660 This allows the colour buffer frame buffer driver to support
661 a limited number of ANSI escape sequences (cursor control,
662 erase functions and limited graphics rendition control). Normal
663 output from U-Boot will pass through this filter.
664
Simon Glass1e1a0fb2016-10-17 20:12:49 -0600665config VGA_AS_SINGLE_DEVICE
666 bool "Set the video as an output-only device"
667 depends on CFB_CONSOLE
668 default y
669 help
670 If enable the framebuffer device will be initialized as an
671 output-only device. The Keyboard driver will not be set up. This
672 may be used if you have no keyboard device, or more than one
673 (USB Keyboard, AT Keyboard).
674
Simon Glass0872d442016-10-17 20:12:51 -0600675config VIDEO_SW_CURSOR
676 bool "Enable a software cursor"
677 depends on CFB_CONSOLE
678 default y if CFB_CONSOLE
679 help
680 This draws a cursor after the last character. No blinking is
681 provided. This makes it possible to see the current cursor
682 position when entering text on the console. It is recommended to
683 enable this.
684
Simon Glassfbda6832016-10-17 20:12:53 -0600685config CONSOLE_EXTRA_INFO
686 bool "Display additional board information"
687 depends on CFB_CONSOLE
688 help
689 Display additional board information strings that normally go to
690 the serial port. When this option is enabled, a board-specific
691 function video_get_info_str() is called to get the string for
692 each line of the display. The function should return the string,
693 which can be empty if there is nothing to display for that line.
694
Simon Glassb87ca802016-10-17 20:12:57 -0600695config CONSOLE_SCROLL_LINES
696 int "Number of lines to scroll the console by"
697 depends on CFB_CONSOLE || DM_VIDEO || LCD
698 default 1
699 help
700 When the console need to be scrolled, this is the number of
701 lines to scroll by. It defaults to 1. Increasing this makes the
702 console jump but can help speed up operation when scrolling
703 is slow.
704
Simon Glass002f9672016-10-17 20:12:44 -0600705config SYS_CONSOLE_BG_COL
706 hex "Background colour"
Bin Mengc674e002017-08-03 21:56:50 -0700707 depends on CFB_CONSOLE
Simon Glass002f9672016-10-17 20:12:44 -0600708 default 0x00
709 help
710 Defines the background colour for the console. The value is from
711 0x00 to 0xff and the meaning depends on the graphics card.
712 Typically, 0x00 means black and 0xff means white. Do not set
713 the background and foreground to the same colour or you will see
714 nothing.
715
716config SYS_CONSOLE_FG_COL
717 hex "Foreground colour"
Bin Mengc674e002017-08-03 21:56:50 -0700718 depends on CFB_CONSOLE
Simon Glass002f9672016-10-17 20:12:44 -0600719 default 0xa0
720 help
721 Defines the foreground colour for the console. The value is from
722 0x00 to 0xff and the meaning depends on the graphics card.
723 Typically, 0x00 means black and 0xff means white. Do not set
724 the background and foreground to the same colour or you will see
725 nothing.
726
Simon Glassf8b19a82016-10-17 20:12:56 -0600727config LCD
728 bool "Enable legacy LCD support"
729 help
730 Define this to enable LCD support (for output to LCD display).
731 You will also need to select an LCD driver using an additional
732 CONFIG option. See the README for details. Drives which have been
733 converted to driver model will instead used CONFIG_DM_VIDEO.
734
Philipp Tomsich8517f642017-05-05 21:48:26 +0200735config VIDEO_DW_HDMI
736 bool
737 help
738 Enables the common driver code for the Designware HDMI TX
739 block found in SoCs from various vendors.
740 As this does not provide any functionality by itself (but
741 rather requires a SoC-specific glue driver to call it), it
742 can not be enabled from the configuration menu.
743
Yannick Fertré23f965a2019-10-07 15:29:05 +0200744config VIDEO_DSI_HOST_SANDBOX
745 bool "Enable sandbox for dsi host"
746 depends on SANDBOX
747 select VIDEO_MIPI_DSI
748 help
749 Enable support for sandbox dsi host device used for testing
750 purposes.
751 Display Serial Interface (DSI) defines a serial bus and
752 a communication protocol between the host and the device
753 (panel, bridge).
754
Yannick Fertréd4f7ea82019-10-07 15:29:06 +0200755config VIDEO_DW_MIPI_DSI
756 bool
757 select VIDEO_MIPI_DSI
758 help
759 Enables the common driver code for the Synopsis Designware
760 MIPI DSI block found in SoCs from various vendors.
761 As this does not provide any functionality by itself (but
762 rather requires a SoC-specific glue driver to call it), it
763 can not be enabled from the configuration menu.
764
Rob Clark971d7e62017-08-03 12:47:00 -0400765config VIDEO_SIMPLE
766 bool "Simple display driver for preconfigured display"
767 help
768 Enables a simple generic display driver which utilizes the
769 simple-framebuffer devicetree bindings.
770
771 This driver assumes that the display hardware has been initialized
772 before u-boot starts, and u-boot will simply render to the pre-
773 allocated frame buffer surface.
774
Icenowy Zhengf6bdddc2017-10-26 11:14:46 +0800775config VIDEO_DT_SIMPLEFB
776 bool "Enable SimpleFB support for passing framebuffer to OS"
777 help
778 Enables the code to pass the framebuffer to the kernel as a
779 simple framebuffer in the device tree.
780 The video output is initialized by U-Boot, and kept by the
781 kernel.
782
Mario Six39a336f2018-09-27 09:19:29 +0200783config OSD
784 bool "Enable OSD support"
785 depends on DM
786 default n
787 help
788 This supports drivers that provide a OSD (on-screen display), which
789 is a (usually text-oriented) graphics buffer to show information on
790 a display.
Mario Six9671f692018-09-27 09:19:30 +0200791
Mario Six4eea5312018-09-27 09:19:31 +0200792config SANDBOX_OSD
793 bool "Enable sandbox OSD"
794 depends on OSD
795 help
796 Enable support for sandbox OSD device used for testing purposes.
797
Mario Six9671f692018-09-27 09:19:30 +0200798config IHS_VIDEO_OUT
799 bool "Enable IHS video out driver"
800 depends on OSD
801 help
802 Enable support for the gdsys Integrated Hardware Systems (IHS) video
803 out On-screen Display (OSD) used on gdsys FPGAs to control dynamic
804 textual overlays of the display outputs.
805
Masahiro Yamada0b11dbf2015-07-26 02:46:26 +0900806endmenu