blob: d7e62bea9cfd70bf2034a595be477ac37d41a253 [file] [log] [blame]
Masahiro Yamadacc85b7b2015-07-26 02:46:26 +09001#
2# Video configuration
3#
4
5menu "Graphics support"
6
Simon Glass623d28f2016-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 Delaunay4300f072017-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 Delaunaya3c046f2017-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
Simon Glass623d28f2016-01-18 19:52:15 -070038config VIDEO_BPP8
39 bool "Support 8-bit-per-pixel displays"
40 depends on DM_VIDEO
Simon Glasse0554d82020-02-03 07:35:49 -070041 default y if SANDBOX || X86
Simon Glass623d28f2016-01-18 19:52:15 -070042 help
43 Support drawing text and bitmaps onto a 8-bit-per-pixel display.
44 Enabling this will include code to support this display. Without
45 this option, such displays will not be supported and console output
46 will be empty.
47
48config VIDEO_BPP16
49 bool "Support 16-bit-per-pixel displays"
50 depends on DM_VIDEO
Simon Glasse0554d82020-02-03 07:35:49 -070051 default y if SANDBOX || X86
Simon Glass623d28f2016-01-18 19:52:15 -070052 help
53 Support drawing text and bitmaps onto a 16-bit-per-pixel display.
54 Enabling this will include code to support this display. Without
55 this option, such displays will not be supported and console output
56 will be empty.
57
58config VIDEO_BPP32
59 bool "Support 32-bit-per-pixel displays"
60 depends on DM_VIDEO
Simon Glasse0554d82020-02-03 07:35:49 -070061 default y if SANDBOX || X86
Simon Glass623d28f2016-01-18 19:52:15 -070062 help
63 Support drawing text and bitmaps onto a 32-bit-per-pixel display.
64 Enabling this will include code to support this display. Without
65 this option, such displays will not be supported and console output
66 will be empty.
67
Rob Clark06e7a0d2017-09-13 18:12:21 -040068config VIDEO_ANSI
69 bool "Support ANSI escape sequences in video console"
70 depends on DM_VIDEO
Rob Clark06e7a0d2017-09-13 18:12:21 -040071 help
72 Enable ANSI escape sequence decoding for a more fully functional
73 console.
74
Yannick Fertréd08fb322019-10-07 15:29:04 +020075config VIDEO_MIPI_DSI
76 bool "Support MIPI DSI interface"
77 depends on DM_VIDEO
78 help
79 Support MIPI DSI interface for driving a MIPI compatible device.
80 The MIPI Display Serial Interface (MIPI DSI) defines a high-speed
81 serial interface between a host processor and a display module.
82
Simon Glass6e0721d2016-01-22 21:53:37 +010083config CONSOLE_NORMAL
84 bool "Support a simple text console"
85 depends on DM_VIDEO
86 default y if DM_VIDEO
87 help
88 Support drawing text on the frame buffer console so that it can be
89 used as a console. Rotation is not supported by this driver (see
90 CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used
91 for the display.
92
93config CONSOLE_ROTATION
Simon Glass87aae882016-01-18 19:52:19 -070094 bool "Support rotated displays"
95 depends on DM_VIDEO
96 help
97 Sometimes, for example if the display is mounted in portrait
98 mode or even if it's mounted landscape but rotated by 180degree,
99 we need to rotate our content of the display relative to the
100 framebuffer, so that user can read the messages which are
101 printed out. Enable this option to include a text driver which can
102 support this. The rotation is set by the 'rot' parameter in
103 struct video_priv: 0=unrotated, 1=90 degrees clockwise, 2=180
104 degrees, 3=270 degrees.
105
Simon Glass2ef353e2016-01-14 18:10:42 -0700106config CONSOLE_TRUETYPE
107 bool "Support a console that uses TrueType fonts"
108 depends on DM_VIDEO
109 help
110 TrueTrype fonts can provide outline-drawing capability rather than
111 needing to provide a bitmap for each font and size that is needed.
112 With this option you can adjust the text size and use a variety of
113 fonts. Note that this is noticeably slower than with normal console.
114
115config CONSOLE_TRUETYPE_SIZE
116 int "TrueType font size"
117 depends on CONSOLE_TRUETYPE
118 default 18
119 help
120 This sets the font size for the console. The size is measured in
121 pixels and is the nominal height of a character. Note that fonts
122 are commonly measured in 'points', being 1/72 inch (about 3.52mm).
123 However that measurement depends on the size of your display and
124 there is no standard display density. At present there is not a
125 method to select the display's physical size, which would allow
126 U-Boot to calculate the correct font size.
127
Simon Glassd65a1422017-04-26 22:27:57 -0600128config SYS_WHITE_ON_BLACK
129 bool "Display console as white on a black background"
Andre Przywara24db29d2019-03-23 01:30:02 +0000130 default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || TEGRA || X86 || ARCH_SUNXI
Simon Glassd65a1422017-04-26 22:27:57 -0600131 help
132 Normally the display is black on a white background, Enable this
133 option to invert this, i.e. white on a black background. This can be
134 better in low-light situations or to reduce eye strain in some
135 cases.
136
Rob Clarkf1411882017-08-03 12:47:01 -0400137config NO_FB_CLEAR
138 bool "Skip framebuffer clear"
139 help
140 If firmware (whatever loads u-boot) has already put a splash image
141 on screen, you might want to preserve it until whatever u-boot
142 loads takes over the screen. This, for example, can be used to
143 keep splash image on screen until grub graphical boot menu starts.
144
Simon Glass2ef353e2016-01-14 18:10:42 -0700145source "drivers/video/fonts/Kconfig"
146
Simon Glass86f07462016-02-06 14:31:37 -0700147config VIDCONSOLE_AS_LCD
148 bool "Use 'vidconsole' when 'lcd' is seen in stdout"
149 depends on DM_VIDEO
150 help
151 This is a work-around for boards which have 'lcd' in their stdout
152 environment variable, but have moved to use driver model for video.
153 In this case the console will no-longer work. While it is possible
154 to update the environment, the breakage may be confusing for users.
155 This option will be removed around the end of 2016.
156
Bin Menga0676be2016-10-09 04:14:16 -0700157config VIDEO_COREBOOT
158 bool "Enable coreboot framebuffer driver support"
159 depends on X86 && SYS_COREBOOT
160 help
161 Turn on this option to enable a framebuffer driver when U-Boot is
162 loaded by coreboot where the graphics device is configured by
163 coreboot already. This can in principle be used with any platform
164 that coreboot supports.
165
Bin Meng0f862b92018-06-12 08:36:22 -0700166config VIDEO_EFI
167 bool "Enable EFI framebuffer driver support"
168 depends on EFI_STUB
169 help
170 Turn on this option to enable a framebuffeer driver when U-Boot is
171 loaded as a payload (see README.u-boot_on_efi) by an EFI BIOS where
172 the graphics device is configured by the EFI BIOS already. This can
173 in principle be used with any platform that has an EFI BIOS.
174
Simon Glass42bf3ee2014-12-29 19:32:28 -0700175config VIDEO_VESA
176 bool "Enable VESA video driver support"
Simon Glass42bf3ee2014-12-29 19:32:28 -0700177 default n
178 help
179 Turn on this option to enable a very simple driver which uses vesa
180 to discover the video mode and then provides a frame buffer for use
181 by U-Boot. This can in principle be used with any platform that
182 supports PCI and video cards that support VESA BIOS Extension (VBE).
183
Bin Meng072b79d2015-05-11 07:36:29 +0800184config FRAMEBUFFER_SET_VESA_MODE
185 bool "Set framebuffer graphics resolution"
Simon Glassdec49b72016-03-11 22:07:30 -0700186 depends on VIDEO_VESA || VIDEO_BROADWELL_IGD
Bin Meng072b79d2015-05-11 07:36:29 +0800187 help
188 Set VESA/native framebuffer mode (needed for bootsplash and graphical
189 framebuffer console)
190
191choice
192 prompt "framebuffer graphics resolution"
Bin Meng4da8a3f2018-04-11 22:02:16 -0700193 default FRAMEBUFFER_VESA_MODE_118
Bin Meng072b79d2015-05-11 07:36:29 +0800194 depends on FRAMEBUFFER_SET_VESA_MODE
195 help
196 This option sets the resolution used for the U-Boot framebuffer (and
197 bootsplash screen).
198
199config FRAMEBUFFER_VESA_MODE_100
200 bool "640x400 256-color"
201
202config FRAMEBUFFER_VESA_MODE_101
203 bool "640x480 256-color"
204
205config FRAMEBUFFER_VESA_MODE_102
206 bool "800x600 16-color"
207
208config FRAMEBUFFER_VESA_MODE_103
209 bool "800x600 256-color"
210
211config FRAMEBUFFER_VESA_MODE_104
212 bool "1024x768 16-color"
213
214config FRAMEBUFFER_VESA_MODE_105
Bin Meng932adc62015-08-09 23:26:59 -0700215 bool "1024x768 256-color"
Bin Meng072b79d2015-05-11 07:36:29 +0800216
217config FRAMEBUFFER_VESA_MODE_106
218 bool "1280x1024 16-color"
219
220config FRAMEBUFFER_VESA_MODE_107
221 bool "1280x1024 256-color"
222
223config FRAMEBUFFER_VESA_MODE_108
224 bool "80x60 text"
225
226config FRAMEBUFFER_VESA_MODE_109
227 bool "132x25 text"
228
229config FRAMEBUFFER_VESA_MODE_10A
230 bool "132x43 text"
231
232config FRAMEBUFFER_VESA_MODE_10B
233 bool "132x50 text"
234
235config FRAMEBUFFER_VESA_MODE_10C
236 bool "132x60 text"
237
238config FRAMEBUFFER_VESA_MODE_10D
239 bool "320x200 32k-color (1:5:5:5)"
240
241config FRAMEBUFFER_VESA_MODE_10E
242 bool "320x200 64k-color (5:6:5)"
243
244config FRAMEBUFFER_VESA_MODE_10F
245 bool "320x200 16.8M-color (8:8:8)"
246
247config FRAMEBUFFER_VESA_MODE_110
248 bool "640x480 32k-color (1:5:5:5)"
249
250config FRAMEBUFFER_VESA_MODE_111
251 bool "640x480 64k-color (5:6:5)"
252
253config FRAMEBUFFER_VESA_MODE_112
254 bool "640x480 16.8M-color (8:8:8)"
255
256config FRAMEBUFFER_VESA_MODE_113
257 bool "800x600 32k-color (1:5:5:5)"
258
259config FRAMEBUFFER_VESA_MODE_114
260 bool "800x600 64k-color (5:6:5)"
261
262config FRAMEBUFFER_VESA_MODE_115
263 bool "800x600 16.8M-color (8:8:8)"
264
265config FRAMEBUFFER_VESA_MODE_116
266 bool "1024x768 32k-color (1:5:5:5)"
267
268config FRAMEBUFFER_VESA_MODE_117
269 bool "1024x768 64k-color (5:6:5)"
270
271config FRAMEBUFFER_VESA_MODE_118
272 bool "1024x768 16.8M-color (8:8:8)"
273
274config FRAMEBUFFER_VESA_MODE_119
275 bool "1280x1024 32k-color (1:5:5:5)"
276
277config FRAMEBUFFER_VESA_MODE_11A
278 bool "1280x1024 64k-color (5:6:5)"
279
280config FRAMEBUFFER_VESA_MODE_11B
281 bool "1280x1024 16.8M-color (8:8:8)"
282
283config FRAMEBUFFER_VESA_MODE_USER
284 bool "Manually select VESA mode"
285
286endchoice
287
288# Map the config names to an integer (KB).
289config FRAMEBUFFER_VESA_MODE
290 prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER
291 hex
292 default 0x100 if FRAMEBUFFER_VESA_MODE_100
293 default 0x101 if FRAMEBUFFER_VESA_MODE_101
294 default 0x102 if FRAMEBUFFER_VESA_MODE_102
295 default 0x103 if FRAMEBUFFER_VESA_MODE_103
296 default 0x104 if FRAMEBUFFER_VESA_MODE_104
297 default 0x105 if FRAMEBUFFER_VESA_MODE_105
298 default 0x106 if FRAMEBUFFER_VESA_MODE_106
299 default 0x107 if FRAMEBUFFER_VESA_MODE_107
300 default 0x108 if FRAMEBUFFER_VESA_MODE_108
301 default 0x109 if FRAMEBUFFER_VESA_MODE_109
302 default 0x10A if FRAMEBUFFER_VESA_MODE_10A
303 default 0x10B if FRAMEBUFFER_VESA_MODE_10B
304 default 0x10C if FRAMEBUFFER_VESA_MODE_10C
305 default 0x10D if FRAMEBUFFER_VESA_MODE_10D
306 default 0x10E if FRAMEBUFFER_VESA_MODE_10E
307 default 0x10F if FRAMEBUFFER_VESA_MODE_10F
308 default 0x110 if FRAMEBUFFER_VESA_MODE_110
309 default 0x111 if FRAMEBUFFER_VESA_MODE_111
310 default 0x112 if FRAMEBUFFER_VESA_MODE_112
311 default 0x113 if FRAMEBUFFER_VESA_MODE_113
312 default 0x114 if FRAMEBUFFER_VESA_MODE_114
313 default 0x115 if FRAMEBUFFER_VESA_MODE_115
314 default 0x116 if FRAMEBUFFER_VESA_MODE_116
315 default 0x117 if FRAMEBUFFER_VESA_MODE_117
316 default 0x118 if FRAMEBUFFER_VESA_MODE_118
317 default 0x119 if FRAMEBUFFER_VESA_MODE_119
318 default 0x11A if FRAMEBUFFER_VESA_MODE_11A
319 default 0x11B if FRAMEBUFFER_VESA_MODE_11B
320 default 0x117 if FRAMEBUFFER_VESA_MODE_USER
321
Hans de Goededfc1efe2015-08-08 16:03:29 +0200322config VIDEO_LCD_ANX9804
323 bool "ANX9804 bridge chip"
324 default n
325 ---help---
326 Support for the ANX9804 bridge chip, which can take pixel data coming
327 from a parallel LCD interface and translate it on the fy into a DP
328 interface for driving eDP TFT displays. It uses I2C for configuration.
329
Yannick Fertré5b855d42019-10-07 15:29:08 +0200330config VIDEO_LCD_ORISETECH_OTM8009A
331 bool "OTM8009A DSI LCD panel support"
332 depends on DM_VIDEO
333 select VIDEO_MIPI_DSI
334 default n
335 help
336 Say Y here if you want to enable support for Orise Technology
337 otm8009a 480x800 dsi 2dl panel.
338
Yannick Fertréb038fed2019-10-07 15:29:09 +0200339config VIDEO_LCD_RAYDIUM_RM68200
340 bool "RM68200 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 Raydium RM68200
346 720x1280 DSI video mode panel.
347
Siarhei Siamashka4c19cf22015-01-19 05:23:32 +0200348config VIDEO_LCD_SSD2828
349 bool "SSD2828 bridge chip"
350 default n
351 ---help---
352 Support for the SSD2828 bridge chip, which can take pixel data coming
353 from a parallel LCD interface and translate it on the fly into MIPI DSI
354 interface for driving a MIPI compatible LCD panel. It uses SPI for
355 configuration.
356
357config VIDEO_LCD_SSD2828_TX_CLK
358 int "SSD2828 TX_CLK frequency (in MHz)"
359 depends on VIDEO_LCD_SSD2828
Siarhei Siamashka61fb91f2015-01-19 05:23:35 +0200360 default 0
Siarhei Siamashka4c19cf22015-01-19 05:23:32 +0200361 ---help---
362 The frequency of the crystal, which is clocking SSD2828. It may be
363 anything in the 8MHz-30MHz range and the exact value should be
364 retrieved from the board schematics. Or in the case of Allwinner
365 hardware, it can be usually found as 'lcd_xtal_freq' variable in
Siarhei Siamashka61fb91f2015-01-19 05:23:35 +0200366 FEX files. It can be also set to 0 for selecting PCLK from the
367 parallel LCD interface instead of TX_CLK as the PLL clock source.
Siarhei Siamashka4c19cf22015-01-19 05:23:32 +0200368
369config VIDEO_LCD_SSD2828_RESET
370 string "RESET pin of SSD2828"
371 depends on VIDEO_LCD_SSD2828
372 default ""
373 ---help---
374 The reset pin of SSD2828 chip. This takes a string in the format
375 understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
376
Hans de Goedec0482032015-01-20 09:22:26 +0100377config VIDEO_LCD_HITACHI_TX18D42VM
378 bool "Hitachi tx18d42vm LVDS LCD panel support"
379 depends on VIDEO
380 default n
381 ---help---
382 Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a
383 lcd controller which needs to be initialized over SPI, once that is
384 done they work like a regular LVDS panel.
385
Siarhei Siamashka4c19cf22015-01-19 05:23:32 +0200386config VIDEO_LCD_SPI_CS
387 string "SPI CS pin for LCD related config job"
Hans de Goedec0482032015-01-20 09:22:26 +0100388 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
Siarhei Siamashka4c19cf22015-01-19 05:23:32 +0200389 default ""
390 ---help---
391 This is one of the SPI communication pins, involved in setting up a
392 working LCD configuration. The exact role of SPI may differ for
393 different hardware setups. The option takes a string in the format
394 understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
395
396config VIDEO_LCD_SPI_SCLK
397 string "SPI SCLK pin for LCD related config job"
Hans de Goedec0482032015-01-20 09:22:26 +0100398 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
Siarhei Siamashka4c19cf22015-01-19 05:23:32 +0200399 default ""
400 ---help---
401 This is one of the SPI communication pins, involved in setting up a
402 working LCD configuration. The exact role of SPI may differ for
403 different hardware setups. The option takes a string in the format
404 understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
405
406config VIDEO_LCD_SPI_MOSI
407 string "SPI MOSI pin for LCD related config job"
Hans de Goedec0482032015-01-20 09:22:26 +0100408 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
Siarhei Siamashka4c19cf22015-01-19 05:23:32 +0200409 default ""
410 ---help---
411 This is one of the SPI communication pins, involved in setting up a
412 working LCD configuration. The exact role of SPI may differ for
413 different hardware setups. The option takes a string in the format
414 understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
415
416config VIDEO_LCD_SPI_MISO
417 string "SPI MISO pin for LCD related config job (optional)"
418 depends on VIDEO_LCD_SSD2828
419 default ""
420 ---help---
421 This is one of the SPI communication pins, involved in setting up a
422 working LCD configuration. The exact role of SPI may differ for
423 different hardware setups. If wired up, this pin may provide additional
424 useful functionality. Such as bi-directional communication with the
425 hardware and LCD panel id retrieval (if the panel can report it). The
426 option takes a string in the format understood by 'name_to_gpio'
427 function, e.g. PH1 for pin 1 of port H.
Simon Glass06679ad2015-04-14 21:03:38 -0600428
Neil Armstrongadd986c2018-07-24 17:45:28 +0200429source "drivers/video/meson/Kconfig"
430
Stefan Roeseab91fd52016-01-20 08:13:28 +0100431config VIDEO_MVEBU
432 bool "Armada XP LCD controller"
433 default n
434 ---help---
435 Support for the LCD controller integrated in the Marvell
436 Armada XP SoC.
437
Adam Ford60a59d42018-08-02 08:50:20 -0500438config VIDEO_OMAP3
439 bool "Enable OMAP3+ DSS Support"
440 depends on ARCH_OMAP2PLUS
441 help
442 This enables the Display subsystem (DSS) on OMAP3+ boards.
443
Anatolij Gustschin4601eb42016-01-25 17:17:22 +0100444config I2C_EDID
445 bool "Enable EDID library"
Anatolij Gustschin4601eb42016-01-25 17:17:22 +0100446 default n
447 help
448 This enables library for accessing EDID data from an LCD panel.
449
Simon Glass7d3d7762016-01-21 19:45:00 -0700450config DISPLAY
451 bool "Enable Display support"
452 depends on DM
Anatolij Gustschin4601eb42016-01-25 17:17:22 +0100453 default n
454 select I2C_EDID
Simon Glass06679ad2015-04-14 21:03:38 -0600455 help
Simon Glass7d3d7762016-01-21 19:45:00 -0700456 This supports drivers that provide a display, such as eDP (Embedded
457 DisplayPort) and HDMI (High Definition Multimedia Interface).
458 The devices provide a simple interface to start up the display,
459 read display information and enable it.
Simon Glass3ef2a722015-04-14 21:03:42 -0600460
Liviu Dudau33967102018-09-28 13:49:31 +0100461config NXP_TDA19988
462 bool "Enable NXP TDA19988 support"
463 depends on DISPLAY
464 default n
465 help
466 This enables support for the NXP TDA19988 HDMI encoder. This encoder
467 will convert RGB data streams into HDMI-encoded signals.
468
Songjun Wu72ac56a2017-04-11 16:33:30 +0800469config ATMEL_HLCD
470 bool "Enable ATMEL video support using HLCDC"
471 depends on DM_VIDEO
472 help
473 HLCDC supports video output to an attached LCD panel.
474
Mario Sixc13ee192018-08-09 14:51:23 +0200475config LOGICORE_DP_TX
476 bool "Enable Logicore DP TX driver"
477 depends on DISPLAY
478 help
479 Enable the driver for the transmitter part of the Xilinx LogiCORE
480 DisplayPort, a IP core for Xilinx FPGAs that implements a DisplayPort
481 video interface as defined by VESA DisplayPort v1.2.
482
483 Note that this is a pure transmitter device, and has no display
484 capabilities by itself.
485
Simon Glassdec49b72016-03-11 22:07:30 -0700486config VIDEO_BROADWELL_IGD
487 bool "Enable Intel Broadwell integrated graphics device"
488 depends on X86
489 help
Simon Glassa3fdd002016-10-05 20:42:14 -0600490 This enables support for integrated graphics on Intel broadwell
Simon Glassdec49b72016-03-11 22:07:30 -0700491 devices. Initialisation is mostly performed by a VGA boot ROM, with
492 some setup handled by U-Boot itself. The graphics adaptor works as
493 a VESA device and supports LCD panels, eDP and LVDS outputs.
494 Configuration of most aspects of device operation is performed using
495 a special tool which configures the VGA ROM, but the graphics
496 resolution can be selected in U-Boot.
497
Simon Glass03f2a512016-10-05 20:42:15 -0600498config VIDEO_IVYBRIDGE_IGD
499 bool "Enable Intel Ivybridge integration graphics support"
500 depends on X86
501 help
502 This enables support for integrated graphics on Intel ivybridge
503 devices. Initialisation is mostly performed by a VGA boot ROM, with
504 some setup handled by U-Boot itself. The graphics adaptor works as
505 a VESA device and supports LCD panels, eDP and LVDS outputs.
506 Configuration of most aspects of device operation is performed using
507 a special tool which configures the VGA ROM, but the graphics
508 resolution can be selected in U-Boot.
509
Sanchayan Maitye15479b2017-04-11 11:12:09 +0530510config VIDEO_FSL_DCU_FB
511 bool "Enable Freescale Display Control Unit"
Igor Opaniuk295ef9d2019-06-10 14:47:50 +0300512 depends on VIDEO || DM_VIDEO
Sanchayan Maitye15479b2017-04-11 11:12:09 +0530513 help
514 This enables support for Freescale Display Control Unit (DCU4)
515 module found on Freescale Vybrid and QorIQ family of SoCs.
516
Stefan Agnerec954232017-04-11 11:12:10 +0530517config VIDEO_FSL_DCU_MAX_FB_SIZE_MB
518 int "Freescale DCU framebuffer size"
519 depends on VIDEO_FSL_DCU_FB
520 default 4194304
521 help
522 Set maximum framebuffer size to be used for Freescale Display
523 Controller Unit (DCU4).
524
eric.gao@rock-chips.com735ddea2017-04-17 22:24:23 +0800525source "drivers/video/rockchip/Kconfig"
Simon Glass0139ae62016-01-21 19:45:03 -0700526
Liviu Dudau8373ed32018-09-28 13:50:53 +0100527config VIDEO_ARM_MALIDP
528 bool "Enable Arm Mali Display Processor support"
529 depends on DM_VIDEO && OF_CONTROL
530 select VEXPRESS_CLK
531 help
532 This enables support for Arm Ltd Mali Display Processors from
533 the DP500, DP550 and DP650 family.
534
Simon Glass161eea72016-01-18 19:52:24 -0700535config VIDEO_SANDBOX_SDL
536 bool "Enable sandbox video console using SDL"
537 depends on SANDBOX
538 help
539 When using sandbox you can enable an emulated LCD display which
540 appears as an SDL (Simple DirectMedia Layer) window. This is a
541 console device and can display stdout output. Within U-Boot is is
542 a normal bitmap display and can display images as well as text.
543
Philippe CORNUdcbad9a2017-08-03 12:36:08 +0200544source "drivers/video/stm32/Kconfig"
545
Simon Glass89c03462016-01-30 16:37:51 -0700546config VIDEO_TEGRA20
547 bool "Enable LCD support on Tegra20"
Simon Glass54832f22016-01-30 16:37:54 -0700548 depends on OF_CONTROL
Simon Glass89c03462016-01-30 16:37:51 -0700549 help
550 Tegra20 supports video output to an attached LCD panel as well as
551 other options such as HDMI. Only the LCD is supported in U-Boot.
552 This option enables this support which can be used on devices which
553 have an LCD display connected.
554
Simon Glass3ef2a722015-04-14 21:03:42 -0600555config VIDEO_TEGRA124
556 bool "Enable video support on Tegra124"
Simon Glassfad72182016-01-30 16:37:50 -0700557 depends on DM_VIDEO
Simon Glass3ef2a722015-04-14 21:03:42 -0600558 help
559 Tegra124 supports many video output options including eDP and
560 HDMI. At present only eDP is supported by U-Boot. This option
561 enables this support which can be used on devices which
562 have an eDP display connected.
Simon Glass7cf17572015-07-02 18:16:08 -0600563
564source "drivers/video/bridge/Kconfig"
Masahiro Yamadacc85b7b2015-07-26 02:46:26 +0900565
Anatolij Gustschin411e73d2019-03-18 23:29:32 +0100566source "drivers/video/imx/Kconfig"
Anatolij Gustschin983e2f2a2019-03-18 23:29:31 +0100567
Simon Glasse9d797a2016-10-17 20:12:40 -0600568config VIDEO
569 bool "Enable legacy video support"
570 depends on !DM_VIDEO
571 help
572 Define this for video support, without using driver model. Some
573 drivers use this because they are not yet converted to driver
574 model. Video drivers typically provide a colour text console and
575 cursor.
576
Simon Glasse64c7242016-10-17 20:12:41 -0600577config CFB_CONSOLE
578 bool "Enable colour frame buffer console"
579 depends on VIDEO
580 default y if VIDEO
581 help
582 Enables the colour frame buffer driver. This supports colour
583 output on a bitmap display from an in-memory frame buffer.
584 Several colour devices are supported along with various options to
585 adjust the supported features. The driver is implemented in
586 cfb_console.c
587
588 The following defines are needed (cf. smiLynxEM, i8042)
589 VIDEO_FB_LITTLE_ENDIAN graphic memory organisation
590 (default big endian)
591 VIDEO_HW_RECTFILL graphic chip supports
592 rectangle fill (cf. smiLynxEM)
593 VIDEO_HW_BITBLT graphic chip supports
594 bit-blit (cf. smiLynxEM)
595 VIDEO_VISIBLE_COLS visible pixel columns (cols=pitch)
596 VIDEO_VISIBLE_ROWS visible pixel rows
597 VIDEO_PIXEL_SIZE bytes per pixel
598 VIDEO_DATA_FORMAT graphic data format
599 (0-5, cf. cfb_console.c)
600 VIDEO_FB_ADRS framebuffer address
601 VIDEO_KBD_INIT_FCT keyboard int fct (i.e. rx51_kp_init())
602 VIDEO_TSTC_FCT test char fct (i.e. rx51_kp_tstc)
603 VIDEO_GETC_FCT get char fct (i.e. rx51_kp_getc)
604 CONFIG_VIDEO_LOGO display Linux logo in upper left corner
605 CONFIG_VIDEO_BMP_LOGO use bmp_logo.h instead of linux_logo.h
606 for logo. Requires CONFIG_VIDEO_LOGO
607 CONFIG_CONSOLE_EXTRA_INFO
608 additional board info beside
609 the logo
610 CONFIG_HIDE_LOGO_VERSION
611 do not display bootloader
612 version string
613
614 When CONFIG_CFB_CONSOLE is defined, the video console is the
615 default console. The serial console can be forced by setting the
616 environment 'console=serial'.
617
Simon Glass8d0efc12016-10-17 20:12:42 -0600618config CFB_CONSOLE_ANSI
619 bool "Support ANSI escape sequences"
620 depends on CFB_CONSOLE
621 help
622 This allows the colour buffer frame buffer driver to support
623 a limited number of ANSI escape sequences (cursor control,
624 erase functions and limited graphics rendition control). Normal
625 output from U-Boot will pass through this filter.
626
Simon Glassdcff6922016-10-17 20:12:49 -0600627config VGA_AS_SINGLE_DEVICE
628 bool "Set the video as an output-only device"
629 depends on CFB_CONSOLE
630 default y
631 help
632 If enable the framebuffer device will be initialized as an
633 output-only device. The Keyboard driver will not be set up. This
634 may be used if you have no keyboard device, or more than one
635 (USB Keyboard, AT Keyboard).
636
Simon Glass706605f2016-10-17 20:12:51 -0600637config VIDEO_SW_CURSOR
638 bool "Enable a software cursor"
639 depends on CFB_CONSOLE
640 default y if CFB_CONSOLE
641 help
642 This draws a cursor after the last character. No blinking is
643 provided. This makes it possible to see the current cursor
644 position when entering text on the console. It is recommended to
645 enable this.
646
Simon Glass5a772352016-10-17 20:12:53 -0600647config CONSOLE_EXTRA_INFO
648 bool "Display additional board information"
649 depends on CFB_CONSOLE
650 help
651 Display additional board information strings that normally go to
652 the serial port. When this option is enabled, a board-specific
653 function video_get_info_str() is called to get the string for
654 each line of the display. The function should return the string,
655 which can be empty if there is nothing to display for that line.
656
Simon Glassd76f29a2016-10-17 20:12:57 -0600657config CONSOLE_SCROLL_LINES
658 int "Number of lines to scroll the console by"
659 depends on CFB_CONSOLE || DM_VIDEO || LCD
660 default 1
661 help
662 When the console need to be scrolled, this is the number of
663 lines to scroll by. It defaults to 1. Increasing this makes the
664 console jump but can help speed up operation when scrolling
665 is slow.
666
Simon Glass884889d2016-10-17 20:12:44 -0600667config SYS_CONSOLE_BG_COL
668 hex "Background colour"
Bin Mengfb4beba2017-08-03 21:56:50 -0700669 depends on CFB_CONSOLE
Simon Glass884889d2016-10-17 20:12:44 -0600670 default 0x00
671 help
672 Defines the background colour for the console. The value is from
673 0x00 to 0xff and the meaning depends on the graphics card.
674 Typically, 0x00 means black and 0xff means white. Do not set
675 the background and foreground to the same colour or you will see
676 nothing.
677
678config SYS_CONSOLE_FG_COL
679 hex "Foreground colour"
Bin Mengfb4beba2017-08-03 21:56:50 -0700680 depends on CFB_CONSOLE
Simon Glass884889d2016-10-17 20:12:44 -0600681 default 0xa0
682 help
683 Defines the foreground colour for the console. The value is from
684 0x00 to 0xff and the meaning depends on the graphics card.
685 Typically, 0x00 means black and 0xff means white. Do not set
686 the background and foreground to the same colour or you will see
687 nothing.
688
Simon Glass169bb3b2016-10-17 20:12:56 -0600689config LCD
690 bool "Enable legacy LCD support"
691 help
692 Define this to enable LCD support (for output to LCD display).
693 You will also need to select an LCD driver using an additional
694 CONFIG option. See the README for details. Drives which have been
695 converted to driver model will instead used CONFIG_DM_VIDEO.
696
Philipp Tomsich3a53b3e2017-05-05 21:48:26 +0200697config VIDEO_DW_HDMI
698 bool
699 help
700 Enables the common driver code for the Designware HDMI TX
701 block found in SoCs from various vendors.
702 As this does not provide any functionality by itself (but
703 rather requires a SoC-specific glue driver to call it), it
704 can not be enabled from the configuration menu.
705
Yannick Fertré9712c822019-10-07 15:29:05 +0200706config VIDEO_DSI_HOST_SANDBOX
707 bool "Enable sandbox for dsi host"
708 depends on SANDBOX
709 select VIDEO_MIPI_DSI
710 help
711 Enable support for sandbox dsi host device used for testing
712 purposes.
713 Display Serial Interface (DSI) defines a serial bus and
714 a communication protocol between the host and the device
715 (panel, bridge).
716
Yannick Fertré764af462019-10-07 15:29:06 +0200717config VIDEO_DW_MIPI_DSI
718 bool
719 select VIDEO_MIPI_DSI
720 help
721 Enables the common driver code for the Synopsis Designware
722 MIPI DSI block found in SoCs from various vendors.
723 As this does not provide any functionality by itself (but
724 rather requires a SoC-specific glue driver to call it), it
725 can not be enabled from the configuration menu.
726
Rob Clarkcf7ab0c2017-08-03 12:47:00 -0400727config VIDEO_SIMPLE
728 bool "Simple display driver for preconfigured display"
729 help
730 Enables a simple generic display driver which utilizes the
731 simple-framebuffer devicetree bindings.
732
733 This driver assumes that the display hardware has been initialized
734 before u-boot starts, and u-boot will simply render to the pre-
735 allocated frame buffer surface.
736
Icenowy Zheng60e4b8f2017-10-26 11:14:46 +0800737config VIDEO_DT_SIMPLEFB
738 bool "Enable SimpleFB support for passing framebuffer to OS"
739 help
740 Enables the code to pass the framebuffer to the kernel as a
741 simple framebuffer in the device tree.
742 The video output is initialized by U-Boot, and kept by the
743 kernel.
744
Mario Six1b773202018-09-27 09:19:29 +0200745config OSD
746 bool "Enable OSD support"
747 depends on DM
748 default n
749 help
750 This supports drivers that provide a OSD (on-screen display), which
751 is a (usually text-oriented) graphics buffer to show information on
752 a display.
Mario Six8ea19da2018-09-27 09:19:30 +0200753
Mario Six02ad6fb2018-09-27 09:19:31 +0200754config SANDBOX_OSD
755 bool "Enable sandbox OSD"
756 depends on OSD
757 help
758 Enable support for sandbox OSD device used for testing purposes.
759
Mario Six8ea19da2018-09-27 09:19:30 +0200760config IHS_VIDEO_OUT
761 bool "Enable IHS video out driver"
762 depends on OSD
763 help
764 Enable support for the gdsys Integrated Hardware Systems (IHS) video
765 out On-screen Display (OSD) used on gdsys FPGAs to control dynamic
766 textual overlays of the display outputs.
767
Masahiro Yamadacc85b7b2015-07-26 02:46:26 +0900768endmenu