blob: d0e9563b779b379f580a48a569fa3fab28aa635d [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
Patrick Delaunay08a43cf2017-08-03 12:36:06 +020017config 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
Patrick Delaunay5b6a6a92017-08-03 12:36:07 +020028config 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
Anatolij Gustschin39b95552020-05-25 21:47:19 +020038config CMD_VIDCONSOLE
39 bool "Enable vidconsole commands lcdputs and setcurs"
40 depends on DM_VIDEO
41 default y
42 help
43 Enabling this will provide 'setcurs' and 'lcdputs' commands which
44 support cursor positioning and drawing strings on video framebuffer.
45
Simon Glass1acafc72016-01-18 19:52:15 -070046config VIDEO_BPP8
47 bool "Support 8-bit-per-pixel displays"
48 depends on DM_VIDEO
Anatolij Gustschin8a6ffed2020-02-04 22:43:06 +010049 default y
Simon Glass1acafc72016-01-18 19:52:15 -070050 help
51 Support drawing text and bitmaps onto a 8-bit-per-pixel display.
52 Enabling this will include code to support this display. Without
53 this option, such displays will not be supported and console output
54 will be empty.
55
56config VIDEO_BPP16
57 bool "Support 16-bit-per-pixel displays"
58 depends on DM_VIDEO
Anatolij Gustschin8a6ffed2020-02-04 22:43:06 +010059 default y
Simon Glass1acafc72016-01-18 19:52:15 -070060 help
61 Support drawing text and bitmaps onto a 16-bit-per-pixel display.
62 Enabling this will include code to support this display. Without
63 this option, such displays will not be supported and console output
64 will be empty.
65
66config VIDEO_BPP32
67 bool "Support 32-bit-per-pixel displays"
68 depends on DM_VIDEO
Anatolij Gustschin8a6ffed2020-02-04 22:43:06 +010069 default y
Simon Glass1acafc72016-01-18 19:52:15 -070070 help
71 Support drawing text and bitmaps onto a 32-bit-per-pixel display.
72 Enabling this will include code to support this display. Without
73 this option, such displays will not be supported and console output
74 will be empty.
75
Rob Clarka085aa12017-09-13 18:12:21 -040076config VIDEO_ANSI
77 bool "Support ANSI escape sequences in video console"
78 depends on DM_VIDEO
Anatolij Gustschin8a6ffed2020-02-04 22:43:06 +010079 default y
Rob Clarka085aa12017-09-13 18:12:21 -040080 help
81 Enable ANSI escape sequence decoding for a more fully functional
82 console.
83
Yannick Fertré66c37242019-10-07 15:29:04 +020084config VIDEO_MIPI_DSI
85 bool "Support MIPI DSI interface"
86 depends on DM_VIDEO
87 help
88 Support MIPI DSI interface for driving a MIPI compatible device.
89 The MIPI Display Serial Interface (MIPI DSI) defines a high-speed
90 serial interface between a host processor and a display module.
91
Simon Glass6e42e252016-01-22 21:53:37 +010092config CONSOLE_NORMAL
93 bool "Support a simple text console"
94 depends on DM_VIDEO
95 default y if DM_VIDEO
96 help
97 Support drawing text on the frame buffer console so that it can be
98 used as a console. Rotation is not supported by this driver (see
99 CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used
100 for the display.
101
102config CONSOLE_ROTATION
Simon Glassb5146b22016-01-18 19:52:19 -0700103 bool "Support rotated displays"
104 depends on DM_VIDEO
105 help
106 Sometimes, for example if the display is mounted in portrait
107 mode or even if it's mounted landscape but rotated by 180degree,
108 we need to rotate our content of the display relative to the
109 framebuffer, so that user can read the messages which are
110 printed out. Enable this option to include a text driver which can
111 support this. The rotation is set by the 'rot' parameter in
112 struct video_priv: 0=unrotated, 1=90 degrees clockwise, 2=180
113 degrees, 3=270 degrees.
114
Simon Glassa29b0122016-01-14 18:10:42 -0700115config CONSOLE_TRUETYPE
116 bool "Support a console that uses TrueType fonts"
117 depends on DM_VIDEO
118 help
119 TrueTrype fonts can provide outline-drawing capability rather than
120 needing to provide a bitmap for each font and size that is needed.
121 With this option you can adjust the text size and use a variety of
122 fonts. Note that this is noticeably slower than with normal console.
123
124config CONSOLE_TRUETYPE_SIZE
125 int "TrueType font size"
126 depends on CONSOLE_TRUETYPE
127 default 18
128 help
129 This sets the font size for the console. The size is measured in
130 pixels and is the nominal height of a character. Note that fonts
131 are commonly measured in 'points', being 1/72 inch (about 3.52mm).
132 However that measurement depends on the size of your display and
133 there is no standard display density. At present there is not a
134 method to select the display's physical size, which would allow
135 U-Boot to calculate the correct font size.
136
Simon Glass983b1032017-04-26 22:27:57 -0600137config SYS_WHITE_ON_BLACK
138 bool "Display console as white on a black background"
Trevor Woerner18138ab2020-05-06 08:02:41 -0400139 default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || ARCH_TEGRA || X86 || ARCH_SUNXI
Simon Glass983b1032017-04-26 22:27:57 -0600140 help
141 Normally the display is black on a white background, Enable this
142 option to invert this, i.e. white on a black background. This can be
143 better in low-light situations or to reduce eye strain in some
144 cases.
145
Rob Clark8ef05352017-08-03 12:47:01 -0400146config NO_FB_CLEAR
147 bool "Skip framebuffer clear"
148 help
149 If firmware (whatever loads u-boot) has already put a splash image
150 on screen, you might want to preserve it until whatever u-boot
151 loads takes over the screen. This, for example, can be used to
152 keep splash image on screen until grub graphical boot menu starts.
153
Simon Glassa29b0122016-01-14 18:10:42 -0700154source "drivers/video/fonts/Kconfig"
155
Simon Glassa2931b32016-02-06 14:31:37 -0700156config VIDCONSOLE_AS_LCD
157 bool "Use 'vidconsole' when 'lcd' is seen in stdout"
158 depends on DM_VIDEO
159 help
160 This is a work-around for boards which have 'lcd' in their stdout
161 environment variable, but have moved to use driver model for video.
162 In this case the console will no-longer work. While it is possible
163 to update the environment, the breakage may be confusing for users.
164 This option will be removed around the end of 2016.
165
Bin Meng13b2bfc2016-10-09 04:14:16 -0700166config VIDEO_COREBOOT
167 bool "Enable coreboot framebuffer driver support"
168 depends on X86 && SYS_COREBOOT
169 help
170 Turn on this option to enable a framebuffer driver when U-Boot is
171 loaded by coreboot where the graphics device is configured by
172 coreboot already. This can in principle be used with any platform
173 that coreboot supports.
174
Bin Meng4a08c742018-06-12 08:36:22 -0700175config VIDEO_EFI
176 bool "Enable EFI framebuffer driver support"
177 depends on EFI_STUB
178 help
179 Turn on this option to enable a framebuffeer driver when U-Boot is
180 loaded as a payload (see README.u-boot_on_efi) by an EFI BIOS where
181 the graphics device is configured by the EFI BIOS already. This can
182 in principle be used with any platform that has an EFI BIOS.
183
Simon Glass6b1ba982014-12-29 19:32:28 -0700184config VIDEO_VESA
185 bool "Enable VESA video driver support"
Simon Glass6b1ba982014-12-29 19:32:28 -0700186 default n
187 help
188 Turn on this option to enable a very simple driver which uses vesa
189 to discover the video mode and then provides a frame buffer for use
190 by U-Boot. This can in principle be used with any platform that
191 supports PCI and video cards that support VESA BIOS Extension (VBE).
192
Bin Meng6bde2dc2015-05-11 07:36:29 +0800193config FRAMEBUFFER_SET_VESA_MODE
194 bool "Set framebuffer graphics resolution"
Simon Glass97cb0922016-03-11 22:07:30 -0700195 depends on VIDEO_VESA || VIDEO_BROADWELL_IGD
Bin Meng6bde2dc2015-05-11 07:36:29 +0800196 help
197 Set VESA/native framebuffer mode (needed for bootsplash and graphical
198 framebuffer console)
199
200choice
201 prompt "framebuffer graphics resolution"
Bin Meng17b07d72018-04-11 22:02:16 -0700202 default FRAMEBUFFER_VESA_MODE_118
Bin Meng6bde2dc2015-05-11 07:36:29 +0800203 depends on FRAMEBUFFER_SET_VESA_MODE
204 help
205 This option sets the resolution used for the U-Boot framebuffer (and
206 bootsplash screen).
207
208config FRAMEBUFFER_VESA_MODE_100
209 bool "640x400 256-color"
210
211config FRAMEBUFFER_VESA_MODE_101
212 bool "640x480 256-color"
213
214config FRAMEBUFFER_VESA_MODE_102
215 bool "800x600 16-color"
216
217config FRAMEBUFFER_VESA_MODE_103
218 bool "800x600 256-color"
219
220config FRAMEBUFFER_VESA_MODE_104
221 bool "1024x768 16-color"
222
223config FRAMEBUFFER_VESA_MODE_105
Bin Meng57dccb52015-08-09 23:26:59 -0700224 bool "1024x768 256-color"
Bin Meng6bde2dc2015-05-11 07:36:29 +0800225
226config FRAMEBUFFER_VESA_MODE_106
227 bool "1280x1024 16-color"
228
229config FRAMEBUFFER_VESA_MODE_107
230 bool "1280x1024 256-color"
231
232config FRAMEBUFFER_VESA_MODE_108
233 bool "80x60 text"
234
235config FRAMEBUFFER_VESA_MODE_109
236 bool "132x25 text"
237
238config FRAMEBUFFER_VESA_MODE_10A
239 bool "132x43 text"
240
241config FRAMEBUFFER_VESA_MODE_10B
242 bool "132x50 text"
243
244config FRAMEBUFFER_VESA_MODE_10C
245 bool "132x60 text"
246
247config FRAMEBUFFER_VESA_MODE_10D
248 bool "320x200 32k-color (1:5:5:5)"
249
250config FRAMEBUFFER_VESA_MODE_10E
251 bool "320x200 64k-color (5:6:5)"
252
253config FRAMEBUFFER_VESA_MODE_10F
254 bool "320x200 16.8M-color (8:8:8)"
255
256config FRAMEBUFFER_VESA_MODE_110
257 bool "640x480 32k-color (1:5:5:5)"
258
259config FRAMEBUFFER_VESA_MODE_111
260 bool "640x480 64k-color (5:6:5)"
261
262config FRAMEBUFFER_VESA_MODE_112
263 bool "640x480 16.8M-color (8:8:8)"
264
265config FRAMEBUFFER_VESA_MODE_113
266 bool "800x600 32k-color (1:5:5:5)"
267
268config FRAMEBUFFER_VESA_MODE_114
269 bool "800x600 64k-color (5:6:5)"
270
271config FRAMEBUFFER_VESA_MODE_115
272 bool "800x600 16.8M-color (8:8:8)"
273
274config FRAMEBUFFER_VESA_MODE_116
275 bool "1024x768 32k-color (1:5:5:5)"
276
277config FRAMEBUFFER_VESA_MODE_117
278 bool "1024x768 64k-color (5:6:5)"
279
280config FRAMEBUFFER_VESA_MODE_118
281 bool "1024x768 16.8M-color (8:8:8)"
282
283config FRAMEBUFFER_VESA_MODE_119
284 bool "1280x1024 32k-color (1:5:5:5)"
285
286config FRAMEBUFFER_VESA_MODE_11A
287 bool "1280x1024 64k-color (5:6:5)"
288
289config FRAMEBUFFER_VESA_MODE_11B
290 bool "1280x1024 16.8M-color (8:8:8)"
291
292config FRAMEBUFFER_VESA_MODE_USER
293 bool "Manually select VESA mode"
294
295endchoice
296
297# Map the config names to an integer (KB).
298config FRAMEBUFFER_VESA_MODE
299 prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER
300 hex
301 default 0x100 if FRAMEBUFFER_VESA_MODE_100
302 default 0x101 if FRAMEBUFFER_VESA_MODE_101
303 default 0x102 if FRAMEBUFFER_VESA_MODE_102
304 default 0x103 if FRAMEBUFFER_VESA_MODE_103
305 default 0x104 if FRAMEBUFFER_VESA_MODE_104
306 default 0x105 if FRAMEBUFFER_VESA_MODE_105
307 default 0x106 if FRAMEBUFFER_VESA_MODE_106
308 default 0x107 if FRAMEBUFFER_VESA_MODE_107
309 default 0x108 if FRAMEBUFFER_VESA_MODE_108
310 default 0x109 if FRAMEBUFFER_VESA_MODE_109
311 default 0x10A if FRAMEBUFFER_VESA_MODE_10A
312 default 0x10B if FRAMEBUFFER_VESA_MODE_10B
313 default 0x10C if FRAMEBUFFER_VESA_MODE_10C
314 default 0x10D if FRAMEBUFFER_VESA_MODE_10D
315 default 0x10E if FRAMEBUFFER_VESA_MODE_10E
316 default 0x10F if FRAMEBUFFER_VESA_MODE_10F
317 default 0x110 if FRAMEBUFFER_VESA_MODE_110
318 default 0x111 if FRAMEBUFFER_VESA_MODE_111
319 default 0x112 if FRAMEBUFFER_VESA_MODE_112
320 default 0x113 if FRAMEBUFFER_VESA_MODE_113
321 default 0x114 if FRAMEBUFFER_VESA_MODE_114
322 default 0x115 if FRAMEBUFFER_VESA_MODE_115
323 default 0x116 if FRAMEBUFFER_VESA_MODE_116
324 default 0x117 if FRAMEBUFFER_VESA_MODE_117
325 default 0x118 if FRAMEBUFFER_VESA_MODE_118
326 default 0x119 if FRAMEBUFFER_VESA_MODE_119
327 default 0x11A if FRAMEBUFFER_VESA_MODE_11A
328 default 0x11B if FRAMEBUFFER_VESA_MODE_11B
329 default 0x117 if FRAMEBUFFER_VESA_MODE_USER
330
Hans de Goede66525bb2015-08-08 16:03:29 +0200331config VIDEO_LCD_ANX9804
332 bool "ANX9804 bridge chip"
333 default n
334 ---help---
335 Support for the ANX9804 bridge chip, which can take pixel data coming
336 from a parallel LCD interface and translate it on the fy into a DP
337 interface for driving eDP TFT displays. It uses I2C for configuration.
338
Yannick Fertré78157b22019-10-07 15:29:08 +0200339config VIDEO_LCD_ORISETECH_OTM8009A
340 bool "OTM8009A DSI LCD panel support"
341 depends on DM_VIDEO
342 select VIDEO_MIPI_DSI
343 default n
344 help
345 Say Y here if you want to enable support for Orise Technology
346 otm8009a 480x800 dsi 2dl panel.
347
Yannick Fertré06ef1312019-10-07 15:29:09 +0200348config VIDEO_LCD_RAYDIUM_RM68200
349 bool "RM68200 DSI LCD panel support"
350 depends on DM_VIDEO
351 select VIDEO_MIPI_DSI
352 default n
353 help
354 Say Y here if you want to enable support for Raydium RM68200
355 720x1280 DSI video mode panel.
356
Siarhei Siamashkab8329ac2015-01-19 05:23:32 +0200357config VIDEO_LCD_SSD2828
358 bool "SSD2828 bridge chip"
359 default n
360 ---help---
361 Support for the SSD2828 bridge chip, which can take pixel data coming
362 from a parallel LCD interface and translate it on the fly into MIPI DSI
363 interface for driving a MIPI compatible LCD panel. It uses SPI for
364 configuration.
365
366config VIDEO_LCD_SSD2828_TX_CLK
367 int "SSD2828 TX_CLK frequency (in MHz)"
368 depends on VIDEO_LCD_SSD2828
Siarhei Siamashkadddccd62015-01-19 05:23:35 +0200369 default 0
Siarhei Siamashkab8329ac2015-01-19 05:23:32 +0200370 ---help---
371 The frequency of the crystal, which is clocking SSD2828. It may be
372 anything in the 8MHz-30MHz range and the exact value should be
373 retrieved from the board schematics. Or in the case of Allwinner
374 hardware, it can be usually found as 'lcd_xtal_freq' variable in
Siarhei Siamashkadddccd62015-01-19 05:23:35 +0200375 FEX files. It can be also set to 0 for selecting PCLK from the
376 parallel LCD interface instead of TX_CLK as the PLL clock source.
Siarhei Siamashkab8329ac2015-01-19 05:23:32 +0200377
378config VIDEO_LCD_SSD2828_RESET
379 string "RESET pin of SSD2828"
380 depends on VIDEO_LCD_SSD2828
381 default ""
382 ---help---
383 The reset pin of SSD2828 chip. This takes a string in the format
384 understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
385
Hans de Goedea5464f22015-01-20 09:22:26 +0100386config VIDEO_LCD_HITACHI_TX18D42VM
387 bool "Hitachi tx18d42vm LVDS LCD panel support"
388 depends on VIDEO
389 default n
390 ---help---
391 Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a
392 lcd controller which needs to be initialized over SPI, once that is
393 done they work like a regular LVDS panel.
394
Siarhei Siamashkab8329ac2015-01-19 05:23:32 +0200395config VIDEO_LCD_SPI_CS
396 string "SPI CS pin for LCD related config job"
Hans de Goedea5464f22015-01-20 09:22:26 +0100397 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
Siarhei Siamashkab8329ac2015-01-19 05:23:32 +0200398 default ""
399 ---help---
400 This is one of the SPI communication pins, involved in setting up a
401 working LCD configuration. The exact role of SPI may differ for
402 different hardware setups. The option takes a string in the format
403 understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
404
405config VIDEO_LCD_SPI_SCLK
406 string "SPI SCLK pin for LCD related config job"
Hans de Goedea5464f22015-01-20 09:22:26 +0100407 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
Siarhei Siamashkab8329ac2015-01-19 05:23:32 +0200408 default ""
409 ---help---
410 This is one of the SPI communication pins, involved in setting up a
411 working LCD configuration. The exact role of SPI may differ for
412 different hardware setups. The option takes a string in the format
413 understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
414
415config VIDEO_LCD_SPI_MOSI
416 string "SPI MOSI pin for LCD related config job"
Hans de Goedea5464f22015-01-20 09:22:26 +0100417 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
Siarhei Siamashkab8329ac2015-01-19 05:23:32 +0200418 default ""
419 ---help---
420 This is one of the SPI communication pins, involved in setting up a
421 working LCD configuration. The exact role of SPI may differ for
422 different hardware setups. The option takes a string in the format
423 understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
424
425config VIDEO_LCD_SPI_MISO
426 string "SPI MISO pin for LCD related config job (optional)"
427 depends on VIDEO_LCD_SSD2828
428 default ""
429 ---help---
430 This is one of the SPI communication pins, involved in setting up a
431 working LCD configuration. The exact role of SPI may differ for
432 different hardware setups. If wired up, this pin may provide additional
433 useful functionality. Such as bi-directional communication with the
434 hardware and LCD panel id retrieval (if the panel can report it). The
435 option takes a string in the format understood by 'name_to_gpio'
436 function, e.g. PH1 for pin 1 of port H.
Simon Glass51f2c992015-04-14 21:03:38 -0600437
Neil Armstrong3bed4222018-07-24 17:45:28 +0200438source "drivers/video/meson/Kconfig"
439
Stefan Roese913d1be2016-01-20 08:13:28 +0100440config VIDEO_MVEBU
441 bool "Armada XP LCD controller"
442 default n
443 ---help---
444 Support for the LCD controller integrated in the Marvell
445 Armada XP SoC.
446
Adam Ford244eaea2018-08-02 08:50:20 -0500447config VIDEO_OMAP3
448 bool "Enable OMAP3+ DSS Support"
449 depends on ARCH_OMAP2PLUS
450 help
451 This enables the Display subsystem (DSS) on OMAP3+ boards.
452
Anatolij Gustschin7588c312016-01-25 17:17:22 +0100453config I2C_EDID
454 bool "Enable EDID library"
Anatolij Gustschin7588c312016-01-25 17:17:22 +0100455 default n
456 help
457 This enables library for accessing EDID data from an LCD panel.
458
Simon Glass2dcf1432016-01-21 19:45:00 -0700459config DISPLAY
460 bool "Enable Display support"
461 depends on DM
Anatolij Gustschin7588c312016-01-25 17:17:22 +0100462 default n
463 select I2C_EDID
Simon Glass51f2c992015-04-14 21:03:38 -0600464 help
Simon Glass2dcf1432016-01-21 19:45:00 -0700465 This supports drivers that provide a display, such as eDP (Embedded
466 DisplayPort) and HDMI (High Definition Multimedia Interface).
467 The devices provide a simple interface to start up the display,
468 read display information and enable it.
Simon Glasse7e88232015-04-14 21:03:42 -0600469
Liviu Dudau055da182018-09-28 13:49:31 +0100470config NXP_TDA19988
471 bool "Enable NXP TDA19988 support"
472 depends on DISPLAY
473 default n
474 help
475 This enables support for the NXP TDA19988 HDMI encoder. This encoder
476 will convert RGB data streams into HDMI-encoded signals.
477
Songjun Wu79278312017-04-11 16:33:30 +0800478config ATMEL_HLCD
479 bool "Enable ATMEL video support using HLCDC"
480 depends on DM_VIDEO
481 help
482 HLCDC supports video output to an attached LCD panel.
483
Dario Binacchi96b109b2020-02-22 14:05:45 +0100484config AM335X_LCD
485 bool "Enable AM335x video support"
486 depends on DM_VIDEO
487 help
488 Supports video output to an attached LCD panel.
489
Mario Six25a9f972018-08-09 14:51:23 +0200490config LOGICORE_DP_TX
491 bool "Enable Logicore DP TX driver"
492 depends on DISPLAY
493 help
494 Enable the driver for the transmitter part of the Xilinx LogiCORE
495 DisplayPort, a IP core for Xilinx FPGAs that implements a DisplayPort
496 video interface as defined by VESA DisplayPort v1.2.
497
498 Note that this is a pure transmitter device, and has no display
499 capabilities by itself.
500
Simon Glass97cb0922016-03-11 22:07:30 -0700501config VIDEO_BROADWELL_IGD
502 bool "Enable Intel Broadwell integrated graphics device"
503 depends on X86
504 help
Simon Glass1df91272016-10-05 20:42:14 -0600505 This enables support for integrated graphics on Intel broadwell
Simon Glass97cb0922016-03-11 22:07:30 -0700506 devices. Initialisation is mostly performed by a VGA boot ROM, with
507 some setup handled by U-Boot itself. The graphics adaptor works as
508 a VESA device and supports LCD panels, eDP and LVDS outputs.
509 Configuration of most aspects of device operation is performed using
510 a special tool which configures the VGA ROM, but the graphics
511 resolution can be selected in U-Boot.
512
Simon Glass2c943802016-10-05 20:42:15 -0600513config VIDEO_IVYBRIDGE_IGD
514 bool "Enable Intel Ivybridge integration graphics support"
515 depends on X86
516 help
517 This enables support for integrated graphics on Intel ivybridge
518 devices. Initialisation is mostly performed by a VGA boot ROM, with
519 some setup handled by U-Boot itself. The graphics adaptor works as
520 a VESA device and supports LCD panels, eDP and LVDS outputs.
521 Configuration of most aspects of device operation is performed using
522 a special tool which configures the VGA ROM, but the graphics
523 resolution can be selected in U-Boot.
524
Sanchayan Maityb215fb32017-04-11 11:12:09 +0530525config VIDEO_FSL_DCU_FB
526 bool "Enable Freescale Display Control Unit"
Igor Opaniukbe3f1a52019-06-10 14:47:50 +0300527 depends on VIDEO || DM_VIDEO
Sanchayan Maityb215fb32017-04-11 11:12:09 +0530528 help
529 This enables support for Freescale Display Control Unit (DCU4)
530 module found on Freescale Vybrid and QorIQ family of SoCs.
531
Stefan Agner77810e62017-04-11 11:12:10 +0530532config VIDEO_FSL_DCU_MAX_FB_SIZE_MB
533 int "Freescale DCU framebuffer size"
534 depends on VIDEO_FSL_DCU_FB
535 default 4194304
536 help
537 Set maximum framebuffer size to be used for Freescale Display
538 Controller Unit (DCU4).
539
eric.gao@rock-chips.comb98f0a32017-04-17 22:24:23 +0800540source "drivers/video/rockchip/Kconfig"
Simon Glassc2539482016-01-21 19:45:03 -0700541
Liviu Dudauc1a65a82018-09-28 13:50:53 +0100542config VIDEO_ARM_MALIDP
543 bool "Enable Arm Mali Display Processor support"
544 depends on DM_VIDEO && OF_CONTROL
545 select VEXPRESS_CLK
546 help
547 This enables support for Arm Ltd Mali Display Processors from
548 the DP500, DP550 and DP650 family.
549
Simon Glass1e69ad02016-01-18 19:52:24 -0700550config VIDEO_SANDBOX_SDL
551 bool "Enable sandbox video console using SDL"
552 depends on SANDBOX
553 help
554 When using sandbox you can enable an emulated LCD display which
555 appears as an SDL (Simple DirectMedia Layer) window. This is a
556 console device and can display stdout output. Within U-Boot is is
557 a normal bitmap display and can display images as well as text.
558
Philippe CORNU72719d22017-08-03 12:36:08 +0200559source "drivers/video/stm32/Kconfig"
560
Simon Glassd2f90652016-01-30 16:37:51 -0700561config VIDEO_TEGRA20
562 bool "Enable LCD support on Tegra20"
Simon Glass40d56a92016-01-30 16:37:54 -0700563 depends on OF_CONTROL
Simon Glassd2f90652016-01-30 16:37:51 -0700564 help
565 Tegra20 supports video output to an attached LCD panel as well as
566 other options such as HDMI. Only the LCD is supported in U-Boot.
567 This option enables this support which can be used on devices which
568 have an LCD display connected.
569
Simon Glasse7e88232015-04-14 21:03:42 -0600570config VIDEO_TEGRA124
571 bool "Enable video support on Tegra124"
Simon Glassd7659212016-01-30 16:37:50 -0700572 depends on DM_VIDEO
Simon Glasse7e88232015-04-14 21:03:42 -0600573 help
574 Tegra124 supports many video output options including eDP and
575 HDMI. At present only eDP is supported by U-Boot. This option
576 enables this support which can be used on devices which
577 have an eDP display connected.
Simon Glass801ab9e2015-07-02 18:16:08 -0600578
579source "drivers/video/bridge/Kconfig"
Masahiro Yamada0b11dbf2015-07-26 02:46:26 +0900580
Anatolij Gustschinbffd1312019-03-18 23:29:32 +0100581source "drivers/video/imx/Kconfig"
Anatolij Gustschin57f065f2019-03-18 23:29:31 +0100582
Simon Glass27604b12016-10-17 20:12:40 -0600583config VIDEO
584 bool "Enable legacy video support"
585 depends on !DM_VIDEO
586 help
587 Define this for video support, without using driver model. Some
588 drivers use this because they are not yet converted to driver
589 model. Video drivers typically provide a colour text console and
590 cursor.
591
Simon Glassbdba2b32016-10-17 20:12:41 -0600592config CFB_CONSOLE
593 bool "Enable colour frame buffer console"
594 depends on VIDEO
595 default y if VIDEO
596 help
597 Enables the colour frame buffer driver. This supports colour
598 output on a bitmap display from an in-memory frame buffer.
599 Several colour devices are supported along with various options to
600 adjust the supported features. The driver is implemented in
601 cfb_console.c
602
603 The following defines are needed (cf. smiLynxEM, i8042)
604 VIDEO_FB_LITTLE_ENDIAN graphic memory organisation
605 (default big endian)
606 VIDEO_HW_RECTFILL graphic chip supports
607 rectangle fill (cf. smiLynxEM)
608 VIDEO_HW_BITBLT graphic chip supports
609 bit-blit (cf. smiLynxEM)
610 VIDEO_VISIBLE_COLS visible pixel columns (cols=pitch)
611 VIDEO_VISIBLE_ROWS visible pixel rows
612 VIDEO_PIXEL_SIZE bytes per pixel
613 VIDEO_DATA_FORMAT graphic data format
614 (0-5, cf. cfb_console.c)
615 VIDEO_FB_ADRS framebuffer address
616 VIDEO_KBD_INIT_FCT keyboard int fct (i.e. rx51_kp_init())
617 VIDEO_TSTC_FCT test char fct (i.e. rx51_kp_tstc)
618 VIDEO_GETC_FCT get char fct (i.e. rx51_kp_getc)
619 CONFIG_VIDEO_LOGO display Linux logo in upper left corner
620 CONFIG_VIDEO_BMP_LOGO use bmp_logo.h instead of linux_logo.h
621 for logo. Requires CONFIG_VIDEO_LOGO
622 CONFIG_CONSOLE_EXTRA_INFO
623 additional board info beside
624 the logo
625 CONFIG_HIDE_LOGO_VERSION
626 do not display bootloader
627 version string
628
629 When CONFIG_CFB_CONSOLE is defined, the video console is the
630 default console. The serial console can be forced by setting the
631 environment 'console=serial'.
632
Simon Glassc6745192016-10-17 20:12:42 -0600633config CFB_CONSOLE_ANSI
634 bool "Support ANSI escape sequences"
635 depends on CFB_CONSOLE
636 help
637 This allows the colour buffer frame buffer driver to support
638 a limited number of ANSI escape sequences (cursor control,
639 erase functions and limited graphics rendition control). Normal
640 output from U-Boot will pass through this filter.
641
Simon Glass1e1a0fb2016-10-17 20:12:49 -0600642config VGA_AS_SINGLE_DEVICE
643 bool "Set the video as an output-only device"
644 depends on CFB_CONSOLE
645 default y
646 help
647 If enable the framebuffer device will be initialized as an
648 output-only device. The Keyboard driver will not be set up. This
649 may be used if you have no keyboard device, or more than one
650 (USB Keyboard, AT Keyboard).
651
Simon Glass0872d442016-10-17 20:12:51 -0600652config VIDEO_SW_CURSOR
653 bool "Enable a software cursor"
654 depends on CFB_CONSOLE
655 default y if CFB_CONSOLE
656 help
657 This draws a cursor after the last character. No blinking is
658 provided. This makes it possible to see the current cursor
659 position when entering text on the console. It is recommended to
660 enable this.
661
Simon Glassfbda6832016-10-17 20:12:53 -0600662config CONSOLE_EXTRA_INFO
663 bool "Display additional board information"
664 depends on CFB_CONSOLE
665 help
666 Display additional board information strings that normally go to
667 the serial port. When this option is enabled, a board-specific
668 function video_get_info_str() is called to get the string for
669 each line of the display. The function should return the string,
670 which can be empty if there is nothing to display for that line.
671
Simon Glassb87ca802016-10-17 20:12:57 -0600672config CONSOLE_SCROLL_LINES
673 int "Number of lines to scroll the console by"
674 depends on CFB_CONSOLE || DM_VIDEO || LCD
675 default 1
676 help
677 When the console need to be scrolled, this is the number of
678 lines to scroll by. It defaults to 1. Increasing this makes the
679 console jump but can help speed up operation when scrolling
680 is slow.
681
Simon Glass002f9672016-10-17 20:12:44 -0600682config SYS_CONSOLE_BG_COL
683 hex "Background colour"
Bin Mengc674e002017-08-03 21:56:50 -0700684 depends on CFB_CONSOLE
Simon Glass002f9672016-10-17 20:12:44 -0600685 default 0x00
686 help
687 Defines the background colour for the console. The value is from
688 0x00 to 0xff and the meaning depends on the graphics card.
689 Typically, 0x00 means black and 0xff means white. Do not set
690 the background and foreground to the same colour or you will see
691 nothing.
692
693config SYS_CONSOLE_FG_COL
694 hex "Foreground colour"
Bin Mengc674e002017-08-03 21:56:50 -0700695 depends on CFB_CONSOLE
Simon Glass002f9672016-10-17 20:12:44 -0600696 default 0xa0
697 help
698 Defines the foreground colour for the console. The value is from
699 0x00 to 0xff and the meaning depends on the graphics card.
700 Typically, 0x00 means black and 0xff means white. Do not set
701 the background and foreground to the same colour or you will see
702 nothing.
703
Simon Glassf8b19a82016-10-17 20:12:56 -0600704config LCD
705 bool "Enable legacy LCD support"
706 help
707 Define this to enable LCD support (for output to LCD display).
708 You will also need to select an LCD driver using an additional
709 CONFIG option. See the README for details. Drives which have been
710 converted to driver model will instead used CONFIG_DM_VIDEO.
711
Philipp Tomsich8517f642017-05-05 21:48:26 +0200712config VIDEO_DW_HDMI
713 bool
714 help
715 Enables the common driver code for the Designware HDMI TX
716 block found in SoCs from various vendors.
717 As this does not provide any functionality by itself (but
718 rather requires a SoC-specific glue driver to call it), it
719 can not be enabled from the configuration menu.
720
Yannick Fertré23f965a2019-10-07 15:29:05 +0200721config VIDEO_DSI_HOST_SANDBOX
722 bool "Enable sandbox for dsi host"
723 depends on SANDBOX
724 select VIDEO_MIPI_DSI
725 help
726 Enable support for sandbox dsi host device used for testing
727 purposes.
728 Display Serial Interface (DSI) defines a serial bus and
729 a communication protocol between the host and the device
730 (panel, bridge).
731
Yannick Fertréd4f7ea82019-10-07 15:29:06 +0200732config VIDEO_DW_MIPI_DSI
733 bool
734 select VIDEO_MIPI_DSI
735 help
736 Enables the common driver code for the Synopsis Designware
737 MIPI DSI block found in SoCs from various vendors.
738 As this does not provide any functionality by itself (but
739 rather requires a SoC-specific glue driver to call it), it
740 can not be enabled from the configuration menu.
741
Rob Clark971d7e62017-08-03 12:47:00 -0400742config VIDEO_SIMPLE
743 bool "Simple display driver for preconfigured display"
744 help
745 Enables a simple generic display driver which utilizes the
746 simple-framebuffer devicetree bindings.
747
748 This driver assumes that the display hardware has been initialized
749 before u-boot starts, and u-boot will simply render to the pre-
750 allocated frame buffer surface.
751
Icenowy Zhengf6bdddc2017-10-26 11:14:46 +0800752config VIDEO_DT_SIMPLEFB
753 bool "Enable SimpleFB support for passing framebuffer to OS"
754 help
755 Enables the code to pass the framebuffer to the kernel as a
756 simple framebuffer in the device tree.
757 The video output is initialized by U-Boot, and kept by the
758 kernel.
759
Mario Six39a336f2018-09-27 09:19:29 +0200760config OSD
761 bool "Enable OSD support"
762 depends on DM
763 default n
764 help
765 This supports drivers that provide a OSD (on-screen display), which
766 is a (usually text-oriented) graphics buffer to show information on
767 a display.
Mario Six9671f692018-09-27 09:19:30 +0200768
Mario Six4eea5312018-09-27 09:19:31 +0200769config SANDBOX_OSD
770 bool "Enable sandbox OSD"
771 depends on OSD
772 help
773 Enable support for sandbox OSD device used for testing purposes.
774
Mario Six9671f692018-09-27 09:19:30 +0200775config IHS_VIDEO_OUT
776 bool "Enable IHS video out driver"
777 depends on OSD
778 help
779 Enable support for the gdsys Integrated Hardware Systems (IHS) video
780 out On-screen Display (OSD) used on gdsys FPGAs to control dynamic
781 textual overlays of the display outputs.
782
Masahiro Yamada0b11dbf2015-07-26 02:46:26 +0900783endmenu