5 menu "Graphics support"
8 bool "Enable driver model support for LCD/video"
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
20 bool "4 x 6 font size"
22 Font for video console driver, 4 x 6 pixels.
23 Provides character bitmap data in header file.
24 When selecting multiple fonts, you may want to enable CMD_SELECT_FONT too.
26 config VIDEO_FONT_8X16
27 bool "8 x 16 font size"
30 Font for video console driver, 8 x 16 pixels
31 Provides character bitmap data in header file.
32 When selecting multiple fonts, you may want to enable CMD_SELECT_FONT too.
34 config VIDEO_FONT_SUN12X22
35 bool "12 x 22 font size"
37 Font for video console driver, 12 x 22 pixels
38 Provides character bitmap data in header file.
39 When selecting multiple fonts, you may want to enable CMD_SELECT_FONT too.
41 config VIDEO_FONT_16X32
42 bool "16 x 32 font size"
44 Font for video console driver, 16 x 32 pixels
45 Provides character bitmap data in header file.
46 When selecting multiple fonts, you may want to enable CMD_SELECT_FONT too.
49 bool "Show the U-Boot logo on the display"
50 default y if !SPLASH_SCREEN
53 This enables showing the U-Boot logo on the display when a video
54 device is probed. It appears at the top right. The logo itself is at
55 tools/logos/u-boot_logo.bmp and looks best when the display has a
59 bool "Enable panel backlight uclass support"
62 This provides backlight uclass driver that enables basic panel
65 config VIDEO_PCI_DEFAULT_FB_SIZE
66 hex "Default framebuffer size to use if no drivers request it"
67 default 0x1000000 if X86
70 Generally, video drivers request the amount of memory they need for
71 the frame buffer when they are bound, by setting the size field in
72 struct video_uc_plat. That memory is then reserved for use after
73 relocation. But PCI drivers cannot be bound before relocation unless
74 they are mentioned in the devicetree.
76 With this value set appropriately, it is possible for PCI video
77 devices to have a framebuffer allocated by U-Boot.
79 Note: the framebuffer needs to be large enough to store all pixels at
80 maximum resolution. For example, at 2560 x 1600 with 32 bits per
81 pixel, 2560 * 1600 * 32 / 8 = 0xfa0000 bytes are needed.
84 bool "Enable copying the frame buffer to a hardware copy"
86 On some machines (e.g. x86), reading from the frame buffer is very
87 slow because it is uncached. To improve performance, this feature
88 allows the frame buffer to be kept in cached memory (allocated by
89 U-Boot) and then copied to the hardware frame-buffer as needed.
91 To use this, your video driver must set @copy_base in
95 bool "Generic PWM based Backlight Driver"
96 depends on BACKLIGHT && DM_PWM
99 If you have a LCD backlight adjustable by PWM, say Y to enable
101 This driver can be use with "simple-panel" and
102 it understands the standard device tree
103 (leds/backlight/pwm-backlight.txt)
105 config BACKLIGHT_GPIO
106 bool "Generic GPIO based Backlight Driver"
109 If you have a LCD backlight adjustable by GPIO, say Y to enable
111 This driver can be used with "simple-panel" and
112 it understands the standard device tree
113 (leds/backlight/gpio-backlight.txt)
116 bool "Support 8-bit-per-pixel displays"
119 Support drawing text and bitmaps onto a 8-bit-per-pixel display.
120 Enabling this will include code to support this display. Without
121 this option, such displays will not be supported and console output
125 bool "Support 16-bit-per-pixel displays"
128 Support drawing text and bitmaps onto a 16-bit-per-pixel display.
129 Enabling this will include code to support this display. Without
130 this option, such displays will not be supported and console output
134 bool "Support 32-bit-per-pixel displays"
137 Support drawing text and bitmaps onto a 32-bit-per-pixel display.
138 Enabling this will include code to support this display. Without
139 this option, such displays will not be supported and console output
143 bool "Support ANSI escape sequences in video console"
144 default y if EFI_LOADER
146 Enable ANSI escape sequence decoding for a more fully functional
147 console. Functionality includes changing the text colour and moving
148 the cursor. These date from the 1970s and are still widely used today
149 to control a text terminal. U-Boot implements these by decoding the
150 sequences and performing the appropriate operation.
152 config VIDEO_MIPI_DSI
153 bool "Support MIPI DSI interface"
155 Support MIPI DSI interface for driving a MIPI compatible device.
156 The MIPI Display Serial Interface (MIPI DSI) defines a high-speed
157 serial interface between a host processor and a display module.
159 config CONSOLE_NORMAL
160 bool "Support a simple text console"
163 Support drawing text on the frame buffer console so that it can be
164 used as a console. Rotation is not supported by this driver (see
165 CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used
168 config CONSOLE_ROTATION
169 bool "Support rotated displays"
171 Sometimes, for example if the display is mounted in portrait
172 mode or even if it's mounted landscape but rotated by 180degree,
173 we need to rotate our content of the display relative to the
174 framebuffer, so that user can read the messages which are
175 printed out. Enable this option to include a text driver which can
176 support this. The rotation is set by the 'rot' parameter in
177 struct video_priv: 0=unrotated, 1=90 degrees clockwise, 2=180
178 degrees, 3=270 degrees.
180 config CONSOLE_TRUETYPE
181 bool "Support a console that uses TrueType fonts"
182 select CMD_SELECT_FONT
184 TrueTrype fonts can provide outline-drawing capability rather than
185 needing to provide a bitmap for each font and size that is needed.
186 With this option you can adjust the text size and use a variety of
187 fonts. Note that this is noticeably slower than with normal console.
189 config CONSOLE_TRUETYPE_SIZE
190 int "TrueType font size"
191 depends on CONSOLE_TRUETYPE
194 This sets the font size for the console. The size is measured in
195 pixels and is the nominal height of a character. Note that fonts
196 are commonly measured in 'points', being 1/72 inch (about 3.52mm).
197 However that measurement depends on the size of your display and
198 there is no standard display density. At present there is not a
199 method to select the display's physical size, which would allow
200 U-Boot to calculate the correct font size.
202 config CONSOLE_TRUETYPE_MAX_METRICS
203 int "TrueType maximum number of font / size combinations"
204 depends on CONSOLE_TRUETYPE
208 This sets the number of font / size combinations which can be used by
209 the console. For simple console use a single font is enough. When
210 boot menus are in use, this may need to be increased.
212 Note that a separate entry is needed for each font size, even if the
213 font itself is the same. This is because the entry caches various
214 font metrics which are expensive to regenerate each time the font
217 config SYS_WHITE_ON_BLACK
218 bool "Display console as white on a black background"
219 default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || ARCH_TEGRA || X86 || ARCH_SUNXI
221 Normally the display is black on a white background, Enable this
222 option to invert this, i.e. white on a black background. This can be
223 better in low-light situations or to reduce eye strain in some
227 bool "Skip framebuffer clear"
229 If firmware (whatever loads u-boot) has already put a splash image
230 on screen, you might want to preserve it until whatever u-boot
231 loads takes over the screen. This, for example, can be used to
232 keep splash image on screen until grub graphical boot menu starts.
235 bool "Enable panel uclass support"
238 This provides panel uclass driver that enables basic panel support.
241 bool "Enable simple panel support"
242 depends on PANEL && BACKLIGHT && DM_GPIO
245 This turns on a simple panel driver that enables a compatible
249 bool "Enable Himax HX-8238D LCD driver"
252 Support for HX-8238D LCD Panel
253 The HX8238-D is a single chip controller and driver LSI that
254 integrates the power circuit.
255 It can drive a maximum 960x240 dot graphics on a-TFT panel
256 displays in 16M colors with dithering.
258 source "drivers/video/fonts/Kconfig"
260 config VIDCONSOLE_AS_LCD
261 bool "Use 'vidconsole' when CONFIG_VIDCONSOLE_AS_NAME string is seen in stdout"
263 This is a work-around for boards which have 'lcd' or 'vga' in their
264 stdout environment variable, but have moved to use driver model for
265 video. In this case the console will no-longer work. While it is
266 possible to update the environment, the breakage may be confusing for
267 users. This option will be removed around the end of 2020.
269 config VIDCONSOLE_AS_NAME
270 string "Use 'vidconsole' when string defined here is seen in stdout"
271 depends on VIDCONSOLE_AS_LCD
272 default "lcd" if LCD || TEGRA_COMMON
273 default "vga" if !LCD
275 This is a work-around for boards which have 'lcd' or 'vga' in their
276 stdout environment variable, but have moved to use driver model for
277 video. In this case the console will no-longer work. While it is
278 possible to update the environment, the breakage may be confusing for
279 users. This option will be removed around the end of 2020.
282 bool "Enable Bochs video emulation for QEMU"
284 Enable this to use the Bochs video support provided in the QEMU
285 emulator. This appears as a PCI device which U-Boot can set up to
286 provide a frame buffer.
290 config VIDEO_BOCHS_SIZE_X
291 int "Width of display (X resolution)"
294 Sets the width of the display.
296 These two options control the size of the display set up by QEMU.
297 Typical sizes are 1024 x 768 or 1280 x 1024.
299 config VIDEO_BOCHS_SIZE_Y
300 int "High of display (Y resolution)"
303 Sets the height of the display.
305 These two options control the size of the display set up by QEMU.
306 Typical sizes are 1024 x 768 or 1280 x 1024.
310 config VIDEO_COREBOOT
311 bool "Enable coreboot framebuffer driver support"
314 Turn on this option to enable a framebuffer driver when U-Boot is
315 loaded by coreboot where the graphics device is configured by
316 coreboot already. This can in principle be used with any platform
317 that coreboot supports.
320 bool "Enable EFI framebuffer driver support"
321 depends on EFI_STUB || EFI_APP
323 Turn on this option to enable a framebuffeer driver when U-Boot is
324 loaded as a payload (see README.u-boot_on_efi) by an EFI BIOS where
325 the graphics device is configured by the EFI BIOS already. This can
326 in principle be used with any platform that has an EFI BIOS.
329 bool "Enable VESA video driver support"
331 Turn on this option to enable a very simple driver which uses vesa
332 to discover the video mode and then provides a frame buffer for use
333 by U-Boot. This can in principle be used with any platform that
334 supports PCI and video cards that support VESA BIOS Extension (VBE).
336 config FRAMEBUFFER_SET_VESA_MODE
337 bool "Set framebuffer graphics resolution"
338 depends on VIDEO_VESA || VIDEO_BROADWELL_IGD
340 Set VESA/native framebuffer mode (needed for bootsplash and graphical
344 prompt "framebuffer graphics resolution"
345 default FRAMEBUFFER_VESA_MODE_118
346 depends on FRAMEBUFFER_SET_VESA_MODE
348 This option sets the resolution used for the U-Boot framebuffer (and
351 config FRAMEBUFFER_VESA_MODE_100
352 bool "640x400 256-color"
354 config FRAMEBUFFER_VESA_MODE_101
355 bool "640x480 256-color"
357 config FRAMEBUFFER_VESA_MODE_102
358 bool "800x600 16-color"
360 config FRAMEBUFFER_VESA_MODE_103
361 bool "800x600 256-color"
363 config FRAMEBUFFER_VESA_MODE_104
364 bool "1024x768 16-color"
366 config FRAMEBUFFER_VESA_MODE_105
367 bool "1024x768 256-color"
369 config FRAMEBUFFER_VESA_MODE_106
370 bool "1280x1024 16-color"
372 config FRAMEBUFFER_VESA_MODE_107
373 bool "1280x1024 256-color"
375 config FRAMEBUFFER_VESA_MODE_108
378 config FRAMEBUFFER_VESA_MODE_109
381 config FRAMEBUFFER_VESA_MODE_10A
384 config FRAMEBUFFER_VESA_MODE_10B
387 config FRAMEBUFFER_VESA_MODE_10C
390 config FRAMEBUFFER_VESA_MODE_10D
391 bool "320x200 32k-color (1:5:5:5)"
393 config FRAMEBUFFER_VESA_MODE_10E
394 bool "320x200 64k-color (5:6:5)"
396 config FRAMEBUFFER_VESA_MODE_10F
397 bool "320x200 16.8M-color (8:8:8)"
399 config FRAMEBUFFER_VESA_MODE_110
400 bool "640x480 32k-color (1:5:5:5)"
402 config FRAMEBUFFER_VESA_MODE_111
403 bool "640x480 64k-color (5:6:5)"
405 config FRAMEBUFFER_VESA_MODE_112
406 bool "640x480 16.8M-color (8:8:8)"
408 config FRAMEBUFFER_VESA_MODE_113
409 bool "800x600 32k-color (1:5:5:5)"
411 config FRAMEBUFFER_VESA_MODE_114
412 bool "800x600 64k-color (5:6:5)"
414 config FRAMEBUFFER_VESA_MODE_115
415 bool "800x600 16.8M-color (8:8:8)"
417 config FRAMEBUFFER_VESA_MODE_116
418 bool "1024x768 32k-color (1:5:5:5)"
420 config FRAMEBUFFER_VESA_MODE_117
421 bool "1024x768 64k-color (5:6:5)"
423 config FRAMEBUFFER_VESA_MODE_118
424 bool "1024x768 16.8M-color (8:8:8)"
426 config FRAMEBUFFER_VESA_MODE_119
427 bool "1280x1024 32k-color (1:5:5:5)"
429 config FRAMEBUFFER_VESA_MODE_11A
430 bool "1280x1024 64k-color (5:6:5)"
432 config FRAMEBUFFER_VESA_MODE_11B
433 bool "1280x1024 16.8M-color (8:8:8)"
435 config FRAMEBUFFER_VESA_MODE_USER
436 bool "Manually select VESA mode"
440 # Map the config names to an integer (KB).
441 config FRAMEBUFFER_VESA_MODE
442 prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER
444 default 0x100 if FRAMEBUFFER_VESA_MODE_100
445 default 0x101 if FRAMEBUFFER_VESA_MODE_101
446 default 0x102 if FRAMEBUFFER_VESA_MODE_102
447 default 0x103 if FRAMEBUFFER_VESA_MODE_103
448 default 0x104 if FRAMEBUFFER_VESA_MODE_104
449 default 0x105 if FRAMEBUFFER_VESA_MODE_105
450 default 0x106 if FRAMEBUFFER_VESA_MODE_106
451 default 0x107 if FRAMEBUFFER_VESA_MODE_107
452 default 0x108 if FRAMEBUFFER_VESA_MODE_108
453 default 0x109 if FRAMEBUFFER_VESA_MODE_109
454 default 0x10A if FRAMEBUFFER_VESA_MODE_10A
455 default 0x10B if FRAMEBUFFER_VESA_MODE_10B
456 default 0x10C if FRAMEBUFFER_VESA_MODE_10C
457 default 0x10D if FRAMEBUFFER_VESA_MODE_10D
458 default 0x10E if FRAMEBUFFER_VESA_MODE_10E
459 default 0x10F if FRAMEBUFFER_VESA_MODE_10F
460 default 0x110 if FRAMEBUFFER_VESA_MODE_110
461 default 0x111 if FRAMEBUFFER_VESA_MODE_111
462 default 0x112 if FRAMEBUFFER_VESA_MODE_112
463 default 0x113 if FRAMEBUFFER_VESA_MODE_113
464 default 0x114 if FRAMEBUFFER_VESA_MODE_114
465 default 0x115 if FRAMEBUFFER_VESA_MODE_115
466 default 0x116 if FRAMEBUFFER_VESA_MODE_116
467 default 0x117 if FRAMEBUFFER_VESA_MODE_117
468 default 0x118 if FRAMEBUFFER_VESA_MODE_118
469 default 0x119 if FRAMEBUFFER_VESA_MODE_119
470 default 0x11A if FRAMEBUFFER_VESA_MODE_11A
471 default 0x11B if FRAMEBUFFER_VESA_MODE_11B
472 default 0x117 if FRAMEBUFFER_VESA_MODE_USER
474 config VIDEO_LCD_ANX9804
475 bool "ANX9804 bridge chip"
477 Support for the ANX9804 bridge chip, which can take pixel data coming
478 from a parallel LCD interface and translate it on the fy into a DP
479 interface for driving eDP TFT displays. It uses I2C for configuration.
482 bool "Atmel LCD panel support"
485 config ATMEL_LCD_BGR555
486 bool "Display in BGR555 mode"
488 Use the BGR555 output mode. Otherwise RGB565 is used.
491 bool "Display support for BCM2835"
493 The graphics processor already sets up the display so this driver
494 simply checks the resolution and then sets up the frame buffer with
495 that same resolution (or as near as possible) and 32bpp depth, so
496 that U-Boot can access it with full colour depth.
498 config VIDEO_LCD_ENDEAVORU
499 tristate "Endeavoru 720x1280 DSI video mode panel"
500 depends on PANEL && BACKLIGHT
501 select VIDEO_MIPI_DSI
503 Say Y here if you want to enable support for the IPS-LCD panel
504 module for HTC One X. Driver supports a family of panels,
505 made at least by 3 vendors (Sharp, Sony and AUO), but set up
506 using the same DSI command sequence. The panel has a 720x1280
507 resolution and uses 24 bit RGB per pixel.
509 config VIDEO_LCD_HIMAX_HX8394
510 bool "Himax HX8394 DSI LCD panel support"
511 depends on PANEL && BACKLIGHT
512 select VIDEO_MIPI_DSI
514 Say Y here if you want to enable support for Himax HX8394
517 config VIDEO_LCD_ORISETECH_OTM8009A
518 bool "OTM8009A DSI LCD panel support"
519 select VIDEO_MIPI_DSI
521 Say Y here if you want to enable support for Orise Technology
522 otm8009a 480x800 dsi 2dl panel.
524 config VIDEO_LCD_RAYDIUM_RM68200
525 bool "RM68200 DSI LCD panel support"
526 select VIDEO_MIPI_DSI
528 Say Y here if you want to enable support for Raydium RM68200
529 720x1280 DSI video mode panel.
531 config VIDEO_LCD_RENESAS_R61307
532 tristate "Renesas R61307 DSI video mode panel"
533 depends on PANEL && BACKLIGHT
534 select VIDEO_MIPI_DSI
536 Say Y here if you want to enable support for KOE tx13d100vm0eaa
537 IPS-LCD module with Renesas R69328 IC. The panel has a 1024x768
538 resolution and uses 24 bit RGB per pixel.
540 config VIDEO_LCD_RENESAS_R69328
541 tristate "Renesas R69328 720x1280 DSI video mode panel"
542 depends on PANEL && BACKLIGHT
543 select VIDEO_MIPI_DSI
545 Say Y here if you want to enable support for JDI dx12d100vm0eaa
546 IPS-LCD module with Renesas R69328 IC. The panel has a 720x1280
547 resolution and uses 24 bit RGB per pixel.
549 config VIDEO_LCD_SSD2828
550 bool "SSD2828 bridge chip"
552 Support for the SSD2828 bridge chip, which can take pixel data coming
553 from a parallel LCD interface and translate it on the fly into MIPI DSI
554 interface for driving a MIPI compatible LCD panel. It uses SPI for
557 config VIDEO_LCD_SSD2828_TX_CLK
558 int "SSD2828 TX_CLK frequency (in MHz)"
559 depends on VIDEO_LCD_SSD2828
562 The frequency of the crystal, which is clocking SSD2828. It may be
563 anything in the 8MHz-30MHz range and the exact value should be
564 retrieved from the board schematics. Or in the case of Allwinner
565 hardware, it can be usually found as 'lcd_xtal_freq' variable in
566 FEX files. It can be also set to 0 for selecting PCLK from the
567 parallel LCD interface instead of TX_CLK as the PLL clock source.
569 config VIDEO_LCD_SSD2828_RESET
570 string "RESET pin of SSD2828"
571 depends on VIDEO_LCD_SSD2828
574 The reset pin of SSD2828 chip. This takes a string in the format
575 understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H.
577 config VIDEO_LCD_TDO_TL070WSH30
578 bool "TDO TL070WSH30 DSI LCD panel support"
579 select VIDEO_MIPI_DSI
581 Say Y here if you want to enable support for TDO TL070WSH30
582 1024x600 DSI video mode panel.
584 config VIDEO_LCD_HITACHI_TX18D42VM
585 bool "Hitachi tx18d42vm LVDS LCD panel support"
587 Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a
588 lcd controller which needs to be initialized over SPI, once that is
589 done they work like a regular LVDS panel.
591 config VIDEO_LCD_SPI_CS
592 string "SPI CS pin for LCD related config job"
593 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
596 This is one of the SPI communication pins, involved in setting up a
597 working LCD configuration. The exact role of SPI may differ for
598 different hardware setups. The option takes a string in the format
599 understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H.
601 config VIDEO_LCD_SPI_SCLK
602 string "SPI SCLK pin for LCD related config job"
603 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
606 This is one of the SPI communication pins, involved in setting up a
607 working LCD configuration. The exact role of SPI may differ for
608 different hardware setups. The option takes a string in the format
609 understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H.
611 config VIDEO_LCD_SPI_MOSI
612 string "SPI MOSI pin for LCD related config job"
613 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
616 This is one of the SPI communication pins, involved in setting up a
617 working LCD configuration. The exact role of SPI may differ for
618 different hardware setups. The option takes a string in the format
619 understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H.
621 config VIDEO_LCD_SPI_MISO
622 string "SPI MISO pin for LCD related config job (optional)"
623 depends on VIDEO_LCD_SSD2828
626 This is one of the SPI communication pins, involved in setting up a
627 working LCD configuration. The exact role of SPI may differ for
628 different hardware setups. If wired up, this pin may provide additional
629 useful functionality. Such as bi-directional communication with the
630 hardware and LCD panel id retrieval (if the panel can report it). The
631 option takes a string in the format understood by 'sunxi_name_to_gpio'
632 function, e.g. PH1 for pin 1 of port H.
634 source "drivers/video/meson/Kconfig"
637 bool "Armada XP LCD controller"
639 Support for the LCD controller integrated in the Marvell
643 bool "Enable OMAP3+ DSS Support"
644 depends on ARCH_OMAP2PLUS
646 This enables the Display subsystem (DSS) on OMAP3+ boards.
649 bool "Enable EDID library"
651 This enables library for accessing EDID data from an LCD panel.
654 bool "Enable Display support"
658 This supports drivers that provide a display, such as eDP (Embedded
659 DisplayPort) and HDMI (High Definition Multimedia Interface).
660 The devices provide a simple interface to start up the display,
661 read display information and enable it.
664 bool "Enable NXP TDA19988 support"
667 This enables support for the NXP TDA19988 HDMI encoder. This encoder
668 will convert RGB data streams into HDMI-encoded signals.
671 bool "Enable ATMEL video support using HLCDC"
673 HLCDC supports video output to an attached LCD panel.
675 config BACKLIGHT_LM3533
676 bool "Backlight Driver for LM3533"
680 Say Y to enable the backlight driver for National Semiconductor / TI
681 LM3533 Lighting Power chip. Only Bank A is supported as for now.
682 Supported backlight level range is from 2 to 255 with step of 1.
684 source "drivers/video/ti/Kconfig"
686 source "drivers/video/exynos/Kconfig"
688 config LOGICORE_DP_TX
689 bool "Enable Logicore DP TX driver"
692 Enable the driver for the transmitter part of the Xilinx LogiCORE
693 DisplayPort, a IP core for Xilinx FPGAs that implements a DisplayPort
694 video interface as defined by VESA DisplayPort v1.2.
696 Note that this is a pure transmitter device, and has no display
697 capabilities by itself.
699 config VIDEO_BROADWELL_IGD
700 bool "Enable Intel Broadwell integrated graphics device"
703 This enables support for integrated graphics on Intel broadwell
704 devices. Initialisation is mostly performed by a VGA boot ROM, with
705 some setup handled by U-Boot itself. The graphics adaptor works as
706 a VESA device and supports LCD panels, eDP and LVDS outputs.
707 Configuration of most aspects of device operation is performed using
708 a special tool which configures the VGA ROM, but the graphics
709 resolution can be selected in U-Boot.
711 config VIDEO_IVYBRIDGE_IGD
712 bool "Enable Intel Ivybridge integration graphics support"
715 This enables support for integrated graphics on Intel ivybridge
716 devices. Initialisation is mostly performed by a VGA boot ROM, with
717 some setup handled by U-Boot itself. The graphics adaptor works as
718 a VESA device and supports LCD panels, eDP and LVDS outputs.
719 Configuration of most aspects of device operation is performed using
720 a special tool which configures the VGA ROM, but the graphics
721 resolution can be selected in U-Boot.
723 source "drivers/video/rockchip/Kconfig"
725 config VIDEO_ARM_MALIDP
726 bool "Enable Arm Mali Display Processor support"
727 depends on OF_CONTROL
730 This enables support for Arm Ltd Mali Display Processors from
731 the DP500, DP550 and DP650 family.
733 config VIDEO_SANDBOX_SDL
734 bool "Enable sandbox video console using SDL"
735 depends on SANDBOX_SDL
737 When using sandbox you can enable an emulated LCD display which
738 appears as an SDL (Simple DirectMedia Layer) window. This is a
739 console device and can display stdout output. Within U-Boot is is
740 a normal bitmap display and can display images as well as text.
742 source "drivers/video/stm32/Kconfig"
744 source "drivers/video/tidss/Kconfig"
746 config VIDEO_TEGRA124
747 bool "Enable video support on Tegra124"
749 Tegra124 supports many video output options including eDP and
750 HDMI. At present only eDP is supported by U-Boot. This option
751 enables this support which can be used on devices which
752 have an eDP display connected.
754 source "drivers/video/bridge/Kconfig"
756 source "drivers/video/tegra20/Kconfig"
758 source "drivers/video/imx/Kconfig"
761 bool "Enable video support on i.MX28/i.MX6UL/i.MX7 SoCs"
763 Enable framebuffer driver for i.MX28/i.MX6UL/i.MX7 processors
766 bool "Enable video support on Nexell SoC"
767 depends on ARCH_S5P6818 || ARCH_S5P4418
769 Nexell SoC supports many video output options including eDP and
770 HDMI. This option enables this support which can be used on devices
771 which have an eDP display connected.
774 bool "Enable video support for Seps525"
777 Enable support for the Syncoam PM-OLED display driver (RGB 160x128).
778 Currently driver is supporting only SPI interface.
780 source "drivers/video/zynqmp/Kconfig"
781 source "drivers/video/nexell/Kconfig"
783 config CONSOLE_SCROLL_LINES
784 int "Number of lines to scroll the console by"
787 When the console need to be scrolled, this is the number of
788 lines to scroll by. It defaults to 1. Increasing this makes the
789 console jump but can help speed up operation when scrolling
795 Enables the common driver code for the Designware HDMI TX
796 block found in SoCs from various vendors.
797 As this does not provide any functionality by itself (but
798 rather requires a SoC-specific glue driver to call it), it
799 can not be enabled from the configuration menu.
801 config VIDEO_DSI_HOST_SANDBOX
802 bool "Enable sandbox for dsi host"
804 select VIDEO_MIPI_DSI
806 Enable support for sandbox dsi host device used for testing
808 Display Serial Interface (DSI) defines a serial bus and
809 a communication protocol between the host and the device
812 config VIDEO_DW_MIPI_DSI
814 select VIDEO_MIPI_DSI
816 Enables the common driver code for the Synopsis Designware
817 MIPI DSI block found in SoCs from various vendors.
818 As this does not provide any functionality by itself (but
819 rather requires a SoC-specific glue driver to call it), it
820 can not be enabled from the configuration menu.
823 bool "Simple display driver for preconfigured display"
825 Enables a simple generic display driver which utilizes the
826 simple-framebuffer devicetree bindings.
828 This driver assumes that the display hardware has been initialized
829 before u-boot starts, and u-boot will simply render to the pre-
830 allocated frame buffer surface.
832 config VIDEO_DT_SIMPLEFB
833 bool "Enable SimpleFB support for passing framebuffer to OS"
835 Enables the code to pass the framebuffer to the kernel as a
836 simple framebuffer in the device tree.
837 The video output is initialized by U-Boot, and kept by the
840 config VIDEO_MCDE_SIMPLE
841 bool "Simple driver for ST-Ericsson MCDE with preconfigured display"
843 Enables a simple display driver for ST-Ericsson MCDE
844 (Multichannel Display Engine), which reads the configuration from
847 This driver assumes that the display hardware has been initialized
848 before u-boot starts, and u-boot will simply render to the pre-
849 allocated frame buffer surface.
852 bool "Enable OSD support"
855 This supports drivers that provide a OSD (on-screen display), which
856 is a (usually text-oriented) graphics buffer to show information on
860 bool "Enable sandbox OSD"
863 Enable support for sandbox OSD device used for testing purposes.
866 bool "Enable IHS video out driver"
869 Enable support for the gdsys Integrated Hardware Systems (IHS) video
870 out On-screen Display (OSD) used on gdsys FPGAs to control dynamic
871 textual overlays of the display outputs.
874 bool "Remove video driver"
876 Use this option to specify if user wants to call remove method of
877 video driver in u-boot proper stage.
880 bool "Show a splash-screen image"
882 If this option is set, the environment is checked for a variable
883 "splashimage". If found, the usual display of logo, copyright and
884 system information on the LCD is suppressed and the BMP image at the
885 address specified in "splashimage" is loaded instead. The console is
886 redirected to the "nulldev", too. This allows for a "silent" boot
887 where a splash screen is loaded very quickly after power-on.
889 The splash_screen_prepare() function is a weak function defined in
890 common/splash.c. It is called as part of the splash screen display
891 sequence. It gives the board an opportunity to prepare the splash
892 image data before it is processed and sent to the frame buffer by
893 U-Boot. Define your own version to use this feature.
897 config SPLASH_SCREEN_ALIGN
898 bool "Allow positioning the splash image anywhere on the display"
900 If this option is set the splash image can be freely positioned
901 on the screen. Environment variable "splashpos" specifies the
902 position as "x,y". If a positive number is given it is used as
903 number of pixel from left/top. If a negative number is given it
904 is used as number of pixel from right/bottom. You can also
905 specify 'm' for centering the image.
909 => image at center of screen
911 setenv splashpos 30,20
912 => image at x = 30 and y = 20
914 setenv splashpos -10,m
915 => vertically centered image
916 at x = dspWidth - bmpWidth - 9
918 config HIDE_LOGO_VERSION
919 bool "Hide the version information on the splash screen"
921 Normally the U-Boot version string is shown on the display when the
922 splash screen is enabled. This information is not otherwise visible
923 since video starts up after U-Boot has displayed the initial banner.
925 Enable this option to hide this information.
928 bool "Control the source of the splash image"
930 Use the splash_source.c library. This library provides facilities to
931 declare board specific splash image locations, routines for loading
932 splash image from supported locations, and a way of controlling the
933 selected splash location using the "splashsource" environment
936 This CONFIG works as follows:
938 - If splashsource is set to a supported location name as defined by
939 board code, use that splash location.
940 - If splashsource is undefined, use the first splash location as
942 - If splashsource is set to an unsupported value, do not load a splash
945 A splash source location can describe either storage with raw data, a
946 storage formatted with a file system or a FIT image. In case of a
947 filesystem, the splash screen data is loaded as a file. The name of
948 the splash screen file can be controlled with the environment variable
951 To enable loading the splash image from a FIT image, CONFIG_FIT must
952 be enabled. The FIT image has to start at the 'offset' field address
953 in the selected splash location. The name of splash image within the
954 FIT shall be specified by the environment variable "splashfile".
956 In case the environment variable "splashfile" is not defined the
957 default name 'splash.bmp' will be used.
959 endif # SPLASH_SCREEN
961 config VIDEO_BMP_GZIP
962 bool "Gzip compressed BMP image support"
963 depends on BMP || SPLASH_SCREEN
965 If this option is set, additionally to standard BMP
966 images, gzipped BMP images can be displayed via the
967 splashscreen support or the bmp command.
969 config VIDEO_LOGO_MAX_SIZE
970 hex "Maximum size of the bitmap logo in bytes"
973 Sets the maximum uncompressed size of the logo. This is needed when
974 decompressing a BMP file using the gzip algorithm, since it cannot
975 read the size from the bitmap header.
977 config VIDEO_BMP_RLE8
978 bool "Run length encoded BMP image (RLE8) support"
980 If this option is set, the 8-bit RLE compressed BMP images
984 bool "16-bit-per-pixel BMP image support"
986 Support display of bitmaps file with 16-bit-per-pixel
989 bool "24-bit-per-pixel BMP image support"
991 Support display of bitmaps file with 24-bit-per-pixel.
994 bool "32-bit-per-pixel BMP image support"
996 Support display of bitmaps file with 32-bit-per-pixel.
1001 bool "Enable driver model support for LCD/video in SPL"
1004 The video subsystem adds a small amount of overhead to the image.
1005 If this is acceptable and you have a need to use video drivers in
1006 SPL, enable this option. It might provide a cleaner interface to
1007 setting up video within SPL, and allows the same drivers to be
1008 used as U-Boot proper.
1011 source "drivers/video/tidss/Kconfig"
1013 config SPL_VIDEO_LOGO
1014 bool "Show the U-Boot logo on the display at SPL"
1015 default y if !SPL_SPLASH_SCREEN
1016 select SPL_VIDEO_BMP_RLE8
1018 This enables showing the U-Boot logo on the display when a video
1019 device is probed. It appears at the top right. The logo itself is at
1020 tools/logos/u-boot_logo.bmp and looks best when the display has a
1023 config SPL_SPLASH_SCREEN
1024 bool "Show a splash-screen image at SPL"
1026 If this option is set, the environment is checked for a variable
1027 "splashimage" at spl stage.
1029 config SPL_SYS_WHITE_ON_BLACK
1030 bool "Display console as white on a black background at SPL"
1032 Normally the display is black on a white background, Enable this
1033 option to invert this, i.e. white on a black background at spl stage.
1034 This can be better in low-light situations or to reduce eye strain in
1037 config SPL_VIDEO_PCI_DEFAULT_FB_SIZE
1038 hex "Default framebuffer size to use if no drivers request it at SPL"
1039 default 0x1000000 if X86
1042 Generally, video drivers request the amount of memory they need for
1043 the frame buffer when they are bound, by setting the size field in
1044 struct video_uc_plat. That memory is then reserved for use after
1045 relocation. But PCI drivers cannot be bound before relocation unless
1046 they are mentioned in the devicetree.
1048 With this value set appropriately, it is possible for PCI video
1049 devices to have a framebuffer allocated by U-Boot.
1051 Note: the framebuffer needs to be large enough to store all pixels at
1052 maximum resolution. For example, at 2560 x 1600 with 32 bits per
1053 pixel, 2560 * 1600 * 32 / 8 = 0xfa0000 bytes are needed.
1055 config SPL_CONSOLE_SCROLL_LINES
1056 int "Number of lines to scroll the console by at SPL"
1059 When the console need to be scrolled, this is the number of
1060 lines to scroll by. It defaults to 1. Increasing this makes the
1061 console jump but can help speed up operation when scrolling
1064 config SPL_CONSOLE_NORMAL
1065 bool "Support a simple text console at SPL"
1068 Support drawing text on the frame buffer console so that it can be
1069 used as a console. Rotation is not supported by this driver (see
1070 CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used
1073 config SPL_BACKLIGHT
1074 bool "Enable panel backlight uclass support at SPL"
1077 This provides backlight uclass driver that enables basic panel
1081 bool "Enable panel uclass support at SPL"
1084 This provides panel uclass driver that enables basic panel support.
1086 config SPL_SIMPLE_PANEL
1087 bool "Enable simple panel support at SPL"
1088 depends on SPL_PANEL && SPL_BACKLIGHT && SPL_DM_GPIO
1091 This turns on a simple panel driver that enables a compatible
1094 config SPL_SYS_WHITE_ON_BLACK
1095 bool "Display console as white on a black background at SPL"
1097 Normally the display is black on a white background, Enable this
1098 option to invert this, i.e. white on a black background at spl stage.
1099 This can be better in low-light situations or to reduce eye strain in
1102 config SPL_VIDEO_REMOVE
1103 bool "Remove video driver after SPL stage"
1105 if this option is enabled video driver will be removed at the end of
1106 SPL stage, beforeloading the next stage.
1108 if SPL_SPLASH_SCREEN
1110 config SPL_SPLASH_SCREEN_ALIGN
1111 bool "Allow positioning the splash image anywhere on the display at SPL"
1113 If this option is set the splash image can be freely positioned
1114 on the screen only at SPL. Environment variable "splashpos" specifies
1115 the position as "x,y". If a positive number is given it is used as
1116 number of pixel from left/top. If a negative number is given it
1117 is used as number of pixel from right/bottom.
1119 config SPL_SPLASH_SOURCE
1120 bool "Control the source of the splash image at SPL"
1122 Use the splash_source.c library. This library provides facilities to
1123 declare board specific splash image locations, routines for loading
1124 splash image from supported locations, and a way of controlling the
1125 selected splash location using the "splashsource" environment
1128 This CONFIG works as follows:
1130 - If splashsource is set to a supported location name as defined by
1131 board code, use that splash location.
1132 - If splashsource is undefined, use the first splash location as
1134 - If splashsource is set to an unsupported value, do not load a splash
1137 A splash source location can describe either storage with raw data, a
1138 storage formatted with a file system or a FIT image. In case of a
1139 filesystem, the splash screen data is loaded as a file. The name of
1140 the splash screen file can be controlled with the environment variable
1143 To enable loading the splash image from a FIT image, CONFIG_FIT must
1144 be enabled. The FIT image has to start at the 'offset' field address
1145 in the selected splash location. The name of splash image within the
1146 FIT shall be specified by the environment variable "splashfile".
1148 In case the environment variable "splashfile" is not defined the
1149 default name 'splash.bmp' will be used.
1151 endif # SPL_SPLASH_SCREEN
1153 config SPL_VIDEO_BMP_GZIP
1154 bool "Gzip compressed BMP image support at SPL"
1155 depends on SPL_SPLASH_SCREEN || SPL_BMP
1157 If this option is set, additionally to standard BMP
1158 images, gzipped BMP images can be displayed via the
1159 splashscreen supportat SPL stage.
1161 config SPL_VIDEO_LOGO_MAX_SIZE
1162 hex "Maximum size of the bitmap logo in bytes at SPL"
1165 Sets the maximum uncompressed size of the logo. This is needed when
1166 decompressing a BMP file using the gzip algorithm, since it cannot
1167 read the size from the bitmap header.
1169 config SPL_VIDEO_BMP_RLE8
1170 bool "Run length encoded BMP image (RLE8) support at SPL"
1172 If this option is set, the 8-bit RLE compressed BMP images
1175 config SPL_BMP_16BPP
1176 bool "16-bit-per-pixel BMP image support at SPL"
1178 Support display of bitmaps file with 16-bit-per-pixel
1180 config SPL_BMP_24BPP
1181 bool "24-bit-per-pixel BMP image support at SPL"
1183 Support display of bitmaps file with 24-bit-per-pixel.
1185 config SPL_BMP_32BPP
1186 bool "32-bit-per-pixel BMP image support at SPL"
1188 Support display of bitmaps file with 32-bit-per-pixel.
1190 config SPL_VIDEO_BPP8
1191 bool "Support 8-bit-per-pixel displays at SPL"
1194 Support drawing text and bitmaps onto a 8-bit-per-pixel display.
1195 Enabling this will include code to support this display. Without
1196 this option, such displays will not be supported and console output
1199 config SPL_VIDEO_BPP16
1200 bool "Support 16-bit-per-pixel displays at SPL"
1203 Support drawing text and bitmaps onto a 16-bit-per-pixel display.
1204 Enabling this will include code to support this display. Without
1205 this option, such displays will not be supported and console output
1208 config SPL_VIDEO_BPP32
1209 bool "Support 32-bit-per-pixel displays at SPL"
1212 Support drawing text and bitmaps onto a 32-bit-per-pixel display.
1213 Enabling this will include code to support this display. Without
1214 this option, such displays will not be supported and console output
1217 config SPL_HIDE_LOGO_VERSION
1218 bool "Hide the version information on the splash screen at SPL"
1220 Normally the U-Boot version string is shown on the display when the
1221 splash screen is enabled. This information is not otherwise visible
1222 since video starts up after U-Boot has displayed the initial banner.
1224 Enable this option to hide this information.