5 menu "Graphics support"
8 bool "Enable driver model support for LCD/video"
12 This enables driver model for LCD and video devices. These support
13 a bitmap display of various sizes and depths which can be drawn on
14 to display a command-line console or splash screen. Enabling this
15 option compiles in the video uclass and routes all LCD/video access
18 If CYCLIC is enabled (which it is by default), the cyclic subsystem
19 is used to flush pending output to the display periodically, rather
20 than this happening with every chunk of output. This allows for more
21 efficient operation and faster display output.
26 bool "4 x 6 font size"
28 Font for video console driver, 4 x 6 pixels.
29 Provides character bitmap data in header file.
30 When selecting multiple fonts, you may want to enable CMD_SELECT_FONT too.
32 config VIDEO_FONT_8X16
33 bool "8 x 16 font size"
36 Font for video console driver, 8 x 16 pixels
37 Provides character bitmap data in header file.
38 When selecting multiple fonts, you may want to enable CMD_SELECT_FONT too.
40 config VIDEO_FONT_SUN12X22
41 bool "12 x 22 font size"
43 Font for video console driver, 12 x 22 pixels
44 Provides character bitmap data in header file.
45 When selecting multiple fonts, you may want to enable CMD_SELECT_FONT too.
47 config VIDEO_FONT_16X32
48 bool "16 x 32 font size"
50 Font for video console driver, 16 x 32 pixels
51 Provides character bitmap data in header file.
52 When selecting multiple fonts, you may want to enable CMD_SELECT_FONT too.
55 bool "Show the U-Boot logo on the display"
56 default y if !SPLASH_SCREEN
59 This enables showing the U-Boot logo on the display when a video
60 device is probed. It appears at the top right. The logo itself is at
61 tools/logos/u-boot_logo.bmp and looks best when the display has a
65 bool "Enable panel backlight uclass support"
68 This provides backlight uclass driver that enables basic panel
71 config VIDEO_PCI_DEFAULT_FB_SIZE
72 hex "Default framebuffer size to use if no drivers request it"
73 default 0x1000000 if X86
74 default 0x800000 if !X86 && VIDEO_BOCHS
75 default 0x0 if !X86 && !VIDEO_BOCHS
77 Generally, video drivers request the amount of memory they need for
78 the frame buffer when they are bound, by setting the size field in
79 struct video_uc_plat. That memory is then reserved for use after
80 relocation. But PCI drivers cannot be bound before relocation unless
81 they are mentioned in the devicetree.
83 With this value set appropriately, it is possible for PCI video
84 devices to have a framebuffer allocated by U-Boot.
86 Note: the framebuffer needs to be large enough to store all pixels at
87 maximum resolution. For example, at 2560 x 1600 with 32 bits per
88 pixel, 2560 * 1600 * 32 / 8 = 0xfa0000 bytes are needed.
91 bool "Enable copying the frame buffer to a hardware copy"
93 On some machines (e.g. x86), reading from the frame buffer is very
94 slow because it is uncached. To improve performance, this feature
95 allows the frame buffer to be kept in cached memory (allocated by
96 U-Boot) and then copied to the hardware frame-buffer as needed.
98 To use this, your video driver must set @copy_base in
102 bool "Generic PWM based Backlight Driver"
103 depends on BACKLIGHT && DM_PWM
106 If you have a LCD backlight adjustable by PWM, say Y to enable
108 This driver can be use with "simple-panel" and
109 it understands the standard device tree
110 (leds/backlight/pwm-backlight.txt)
112 config BACKLIGHT_GPIO
113 bool "Generic GPIO based Backlight Driver"
116 If you have a LCD backlight adjustable by GPIO, say Y to enable
118 This driver can be used with "simple-panel" and
119 it understands the standard device tree
120 (leds/backlight/gpio-backlight.txt)
123 bool "Support 8-bit-per-pixel displays"
126 Support drawing text and bitmaps onto a 8-bit-per-pixel display.
127 Enabling this will include code to support this display. Without
128 this option, such displays will not be supported and console output
132 bool "Support 16-bit-per-pixel displays"
135 Support drawing text and bitmaps onto a 16-bit-per-pixel display.
136 Enabling this will include code to support this display. Without
137 this option, such displays will not be supported and console output
141 bool "Support 32-bit-per-pixel displays"
144 Support drawing text and bitmaps onto a 32-bit-per-pixel display.
145 Enabling this will include code to support this display. Without
146 this option, such displays will not be supported and console output
150 bool "Support ANSI escape sequences in video console"
151 default y if EFI_LOADER
153 Enable ANSI escape sequence decoding for a more fully functional
154 console. Functionality includes changing the text colour and moving
155 the cursor. These date from the 1970s and are still widely used today
156 to control a text terminal. U-Boot implements these by decoding the
157 sequences and performing the appropriate operation.
159 config VIDEO_MIPI_DSI
160 bool "Support MIPI DSI interface"
162 Support MIPI DSI interface for driving a MIPI compatible device.
163 The MIPI Display Serial Interface (MIPI DSI) defines a high-speed
164 serial interface between a host processor and a display module.
166 config CONSOLE_NORMAL
167 bool "Support a simple text console"
170 Support drawing text on the frame buffer console so that it can be
171 used as a console. Rotation is not supported by this driver (see
172 CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used
175 config CONSOLE_ROTATION
176 bool "Support rotated displays"
178 Sometimes, for example if the display is mounted in portrait
179 mode or even if it's mounted landscape but rotated by 180degree,
180 we need to rotate our content of the display relative to the
181 framebuffer, so that user can read the messages which are
182 printed out. Enable this option to include a text driver which can
183 support this. The rotation is set by the 'rot' parameter in
184 struct video_priv: 0=unrotated, 1=90 degrees clockwise, 2=180
185 degrees, 3=270 degrees.
187 config CONSOLE_TRUETYPE
188 bool "Support a console that uses TrueType fonts"
189 select X86_HARDFP if X86
191 TrueTrype fonts can provide outline-drawing capability rather than
192 needing to provide a bitmap for each font and size that is needed.
193 With this option you can adjust the text size and use a variety of
194 fonts. Note that this is noticeably slower than with normal console.
196 config CONSOLE_TRUETYPE_SIZE
197 int "TrueType font size"
198 depends on CONSOLE_TRUETYPE
201 This sets the font size for the console. The size is measured in
202 pixels and is the nominal height of a character. Note that fonts
203 are commonly measured in 'points', being 1/72 inch (about 3.52mm).
204 However that measurement depends on the size of your display and
205 there is no standard display density. At present there is not a
206 method to select the display's physical size, which would allow
207 U-Boot to calculate the correct font size.
209 config CONSOLE_TRUETYPE_MAX_METRICS
210 int "TrueType maximum number of font / size combinations"
211 depends on CONSOLE_TRUETYPE
215 This sets the number of font / size combinations which can be used by
216 the console. For simple console use a single font is enough. When
217 boot menus are in use, this may need to be increased.
219 Note that a separate entry is needed for each font size, even if the
220 font itself is the same. This is because the entry caches various
221 font metrics which are expensive to regenerate each time the font
224 config SYS_WHITE_ON_BLACK
225 bool "Display console as white on a black background"
226 default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || ARCH_TEGRA || X86 || ARCH_SUNXI
228 Normally the display is black on a white background, Enable this
229 option to invert this, i.e. white on a black background. This can be
230 better in low-light situations or to reduce eye strain in some
234 bool "Skip framebuffer clear"
236 If firmware (whatever loads u-boot) has already put a splash image
237 on screen, you might want to preserve it until whatever u-boot
238 loads takes over the screen. This, for example, can be used to
239 keep splash image on screen until grub graphical boot menu starts.
242 int "Video-sync period in milliseconds for foreground processing"
243 default 300 if SANDBOX
246 This sets the requested, maximum time before a video sync will take
247 place, in milliseconds. Note that the time between video syncs
248 may be longer than this, since syncs only happen when the video system
249 is used, e.g. by outputting a character to the console.
251 It may also be shorter, since the video uclass will automatically
252 force a sync in certain situations.
254 Many video-output systems require a sync operation before any output
255 is visible. This may flush the CPU cache or perhaps copy the
256 display contents to a hardware framebuffer. Without this, change to
257 the video may never be displayed.
259 config VIDEO_SYNC_CYCLIC_MS
260 int "Video-sync period in milliseconds for cyclic processing"
262 default 100 if SANDBOX
265 This sets the frequency of cyclic video syncs. The cyclic system is
266 used to ensure that when U-Boot is idle, it syncs the video. This
267 improves the responsiveness of the command line to new characters
271 bool "Enable panel uclass support"
274 This provides panel uclass driver that enables basic panel support.
277 bool "Enable simple panel support"
278 depends on PANEL && BACKLIGHT && DM_GPIO
281 This turns on a simple panel driver that enables a compatible
285 bool "Enable Himax HX-8238D LCD driver"
288 Support for HX-8238D LCD Panel
289 The HX8238-D is a single chip controller and driver LSI that
290 integrates the power circuit.
291 It can drive a maximum 960x240 dot graphics on a-TFT panel
292 displays in 16M colors with dithering.
294 source "drivers/video/fonts/Kconfig"
296 config VIDCONSOLE_AS_LCD
297 bool "Use 'vidconsole' when CONFIG_VIDCONSOLE_AS_NAME string is seen in stdout"
299 This is a work-around for boards which have 'lcd' or 'vga' in their
300 stdout environment variable, but have moved to use driver model for
301 video. In this case the console will no-longer work. While it is
302 possible to update the environment, the breakage may be confusing for
303 users. This option will be removed around the end of 2020.
305 config VIDCONSOLE_AS_NAME
306 string "Use 'vidconsole' when string defined here is seen in stdout"
307 depends on VIDCONSOLE_AS_LCD
308 default "lcd" if LCD || TEGRA_COMMON
309 default "vga" if !LCD
311 This is a work-around for boards which have 'lcd' or 'vga' in their
312 stdout environment variable, but have moved to use driver model for
313 video. In this case the console will no-longer work. While it is
314 possible to update the environment, the breakage may be confusing for
315 users. This option will be removed around the end of 2020.
318 bool "Enable Bochs video emulation for QEMU"
320 Enable this to use the Bochs video support provided in the QEMU
321 emulator. This appears as a PCI device which U-Boot can set up to
322 provide a frame buffer.
326 config VIDEO_BOCHS_SIZE_X
327 int "Width of display (X resolution)"
330 Sets the width of the display.
332 These two options control the size of the display set up by QEMU.
333 Typical sizes are 1024 x 768 or 1280 x 1024.
335 config VIDEO_BOCHS_SIZE_Y
336 int "High of display (Y resolution)"
339 Sets the height of the display.
341 These two options control the size of the display set up by QEMU.
342 Typical sizes are 1024 x 768 or 1280 x 1024.
346 config VIDEO_COREBOOT
347 bool "Enable coreboot framebuffer driver support"
350 Turn on this option to enable a framebuffer driver when U-Boot is
351 loaded by coreboot where the graphics device is configured by
352 coreboot already. This can in principle be used with any platform
353 that coreboot supports.
356 bool "Enable EFI framebuffer driver support"
357 depends on EFI_STUB || EFI_APP
359 Turn on this option to enable a framebuffeer driver when U-Boot is
360 loaded as a payload (see README.u-boot_on_efi) by an EFI BIOS where
361 the graphics device is configured by the EFI BIOS already. This can
362 in principle be used with any platform that has an EFI BIOS.
365 bool "Enable VESA video driver support"
367 Turn on this option to enable a very simple driver which uses vesa
368 to discover the video mode and then provides a frame buffer for use
369 by U-Boot. This can in principle be used with any platform that
370 supports PCI and video cards that support VESA BIOS Extension (VBE).
372 config FRAMEBUFFER_SET_VESA_MODE
373 bool "Set framebuffer graphics resolution"
374 depends on VIDEO_VESA || VIDEO_BROADWELL_IGD
376 Set VESA/native framebuffer mode (needed for bootsplash and graphical
380 prompt "framebuffer graphics resolution"
381 default FRAMEBUFFER_VESA_MODE_118
382 depends on FRAMEBUFFER_SET_VESA_MODE
384 This option sets the resolution used for the U-Boot framebuffer (and
387 config FRAMEBUFFER_VESA_MODE_100
388 bool "640x400 256-color"
390 config FRAMEBUFFER_VESA_MODE_101
391 bool "640x480 256-color"
393 config FRAMEBUFFER_VESA_MODE_102
394 bool "800x600 16-color"
396 config FRAMEBUFFER_VESA_MODE_103
397 bool "800x600 256-color"
399 config FRAMEBUFFER_VESA_MODE_104
400 bool "1024x768 16-color"
402 config FRAMEBUFFER_VESA_MODE_105
403 bool "1024x768 256-color"
405 config FRAMEBUFFER_VESA_MODE_106
406 bool "1280x1024 16-color"
408 config FRAMEBUFFER_VESA_MODE_107
409 bool "1280x1024 256-color"
411 config FRAMEBUFFER_VESA_MODE_108
414 config FRAMEBUFFER_VESA_MODE_109
417 config FRAMEBUFFER_VESA_MODE_10A
420 config FRAMEBUFFER_VESA_MODE_10B
423 config FRAMEBUFFER_VESA_MODE_10C
426 config FRAMEBUFFER_VESA_MODE_10D
427 bool "320x200 32k-color (1:5:5:5)"
429 config FRAMEBUFFER_VESA_MODE_10E
430 bool "320x200 64k-color (5:6:5)"
432 config FRAMEBUFFER_VESA_MODE_10F
433 bool "320x200 16.8M-color (8:8:8)"
435 config FRAMEBUFFER_VESA_MODE_110
436 bool "640x480 32k-color (1:5:5:5)"
438 config FRAMEBUFFER_VESA_MODE_111
439 bool "640x480 64k-color (5:6:5)"
441 config FRAMEBUFFER_VESA_MODE_112
442 bool "640x480 16.8M-color (8:8:8)"
444 config FRAMEBUFFER_VESA_MODE_113
445 bool "800x600 32k-color (1:5:5:5)"
447 config FRAMEBUFFER_VESA_MODE_114
448 bool "800x600 64k-color (5:6:5)"
450 config FRAMEBUFFER_VESA_MODE_115
451 bool "800x600 16.8M-color (8:8:8)"
453 config FRAMEBUFFER_VESA_MODE_116
454 bool "1024x768 32k-color (1:5:5:5)"
456 config FRAMEBUFFER_VESA_MODE_117
457 bool "1024x768 64k-color (5:6:5)"
459 config FRAMEBUFFER_VESA_MODE_118
460 bool "1024x768 16.8M-color (8:8:8)"
462 config FRAMEBUFFER_VESA_MODE_119
463 bool "1280x1024 32k-color (1:5:5:5)"
465 config FRAMEBUFFER_VESA_MODE_11A
466 bool "1280x1024 64k-color (5:6:5)"
468 config FRAMEBUFFER_VESA_MODE_11B
469 bool "1280x1024 16.8M-color (8:8:8)"
471 config FRAMEBUFFER_VESA_MODE_USER
472 bool "Manually select VESA mode"
476 # Map the config names to an integer (KB).
477 config FRAMEBUFFER_VESA_MODE
478 prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER
480 default 0x100 if FRAMEBUFFER_VESA_MODE_100
481 default 0x101 if FRAMEBUFFER_VESA_MODE_101
482 default 0x102 if FRAMEBUFFER_VESA_MODE_102
483 default 0x103 if FRAMEBUFFER_VESA_MODE_103
484 default 0x104 if FRAMEBUFFER_VESA_MODE_104
485 default 0x105 if FRAMEBUFFER_VESA_MODE_105
486 default 0x106 if FRAMEBUFFER_VESA_MODE_106
487 default 0x107 if FRAMEBUFFER_VESA_MODE_107
488 default 0x108 if FRAMEBUFFER_VESA_MODE_108
489 default 0x109 if FRAMEBUFFER_VESA_MODE_109
490 default 0x10A if FRAMEBUFFER_VESA_MODE_10A
491 default 0x10B if FRAMEBUFFER_VESA_MODE_10B
492 default 0x10C if FRAMEBUFFER_VESA_MODE_10C
493 default 0x10D if FRAMEBUFFER_VESA_MODE_10D
494 default 0x10E if FRAMEBUFFER_VESA_MODE_10E
495 default 0x10F if FRAMEBUFFER_VESA_MODE_10F
496 default 0x110 if FRAMEBUFFER_VESA_MODE_110
497 default 0x111 if FRAMEBUFFER_VESA_MODE_111
498 default 0x112 if FRAMEBUFFER_VESA_MODE_112
499 default 0x113 if FRAMEBUFFER_VESA_MODE_113
500 default 0x114 if FRAMEBUFFER_VESA_MODE_114
501 default 0x115 if FRAMEBUFFER_VESA_MODE_115
502 default 0x116 if FRAMEBUFFER_VESA_MODE_116
503 default 0x117 if FRAMEBUFFER_VESA_MODE_117
504 default 0x118 if FRAMEBUFFER_VESA_MODE_118
505 default 0x119 if FRAMEBUFFER_VESA_MODE_119
506 default 0x11A if FRAMEBUFFER_VESA_MODE_11A
507 default 0x11B if FRAMEBUFFER_VESA_MODE_11B
508 default 0x117 if FRAMEBUFFER_VESA_MODE_USER
510 config VIDEO_LCD_ANX9804
511 bool "ANX9804 bridge chip"
513 Support for the ANX9804 bridge chip, which can take pixel data coming
514 from a parallel LCD interface and translate it on the fy into a DP
515 interface for driving eDP TFT displays. It uses I2C for configuration.
518 bool "Atmel LCD panel support"
521 config ATMEL_LCD_BGR555
522 bool "Display in BGR555 mode"
524 Use the BGR555 output mode. Otherwise RGB565 is used.
527 bool "Display support for BCM2835"
529 The graphics processor already sets up the display so this driver
530 simply checks the resolution and then sets up the frame buffer with
531 that same resolution (or as near as possible) and 32bpp depth, so
532 that U-Boot can access it with full colour depth.
534 config VIDEO_LCD_ENDEAVORU
535 tristate "Endeavoru 720x1280 DSI video mode panel"
536 depends on PANEL && BACKLIGHT
537 select VIDEO_MIPI_DSI
539 Say Y here if you want to enable support for the IPS-LCD panel
540 module for HTC One X. Driver supports a family of panels,
541 made at least by 3 vendors (Sharp, Sony and AUO), but set up
542 using the same DSI command sequence. The panel has a 720x1280
543 resolution and uses 24 bit RGB per pixel.
545 config VIDEO_LCD_HIMAX_HX8394
546 bool "Himax HX8394 DSI LCD panel support"
547 depends on PANEL && BACKLIGHT
548 select VIDEO_MIPI_DSI
550 Say Y here if you want to enable support for Himax HX8394
553 config VIDEO_LCD_ORISETECH_OTM8009A
554 bool "OTM8009A DSI LCD panel support"
555 select VIDEO_MIPI_DSI
557 Say Y here if you want to enable support for Orise Technology
558 otm8009a 480x800 dsi 2dl panel.
560 config VIDEO_LCD_LG_LD070WX3
561 bool "LD070WX3 DSI LCD panel support"
562 depends on PANEL && BACKLIGHT
563 select VIDEO_MIPI_DSI
565 Say Y here if you want to enable support for LG LD070WX3
566 800x1280 DSI video mode panel.
568 config VIDEO_LCD_RAYDIUM_RM68200
569 bool "RM68200 DSI LCD panel support"
570 select VIDEO_MIPI_DSI
572 Say Y here if you want to enable support for Raydium RM68200
573 720x1280 DSI video mode panel.
575 config VIDEO_LCD_RENESAS_R61307
576 tristate "Renesas R61307 DSI video mode panel"
577 depends on PANEL && BACKLIGHT
578 select VIDEO_MIPI_DSI
580 Say Y here if you want to enable support for KOE tx13d100vm0eaa
581 IPS-LCD module with Renesas R69328 IC. The panel has a 1024x768
582 resolution and uses 24 bit RGB per pixel.
584 config VIDEO_LCD_RENESAS_R69328
585 tristate "Renesas R69328 720x1280 DSI video mode panel"
586 depends on PANEL && BACKLIGHT
587 select VIDEO_MIPI_DSI
589 Say Y here if you want to enable support for JDI dx12d100vm0eaa
590 IPS-LCD module with Renesas R69328 IC. The panel has a 720x1280
591 resolution and uses 24 bit RGB per pixel.
593 config VIDEO_LCD_SAMSUNG_LTL106HL02
594 tristate "Samsung LTL106HL02 1920x1080 DSI video mode panel"
595 depends on PANEL && BACKLIGHT
596 select VIDEO_MIPI_DSI
598 Say Y here if you want to enable support for Samsung LTL106HL02
599 LCD module found in Microsoft Surface 2. The panel has a FullHD
600 resolution (1920x1080).
602 config VIDEO_LCD_SHARP_LQ101R1SX01
603 tristate "Sharp LQ101R1SX01 2560x1600 DSI video mode panel"
604 depends on PANEL && BACKLIGHT
605 select VIDEO_MIPI_DSI
607 Say Y here if you want to enable support for Sharp LQ101R1SX01
608 LCD module found in ASUS Transformer TF701T. The panel has a
609 WQXGA resolution (2560x1600).
611 config VIDEO_LCD_SSD2828
612 bool "SSD2828 bridge chip"
614 Support for the SSD2828 bridge chip, which can take pixel data coming
615 from a parallel LCD interface and translate it on the fly into MIPI DSI
616 interface for driving a MIPI compatible LCD panel. It uses SPI for
619 config VIDEO_LCD_SSD2828_TX_CLK
620 int "SSD2828 TX_CLK frequency (in MHz)"
621 depends on VIDEO_LCD_SSD2828
624 The frequency of the crystal, which is clocking SSD2828. It may be
625 anything in the 8MHz-30MHz range and the exact value should be
626 retrieved from the board schematics. Or in the case of Allwinner
627 hardware, it can be usually found as 'lcd_xtal_freq' variable in
628 FEX files. It can be also set to 0 for selecting PCLK from the
629 parallel LCD interface instead of TX_CLK as the PLL clock source.
631 config VIDEO_LCD_SSD2828_RESET
632 string "RESET pin of SSD2828"
633 depends on VIDEO_LCD_SSD2828
636 The reset pin of SSD2828 chip. This takes a string in the format
637 understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H.
639 config VIDEO_LCD_TDO_TL070WSH30
640 bool "TDO TL070WSH30 DSI LCD panel support"
641 select VIDEO_MIPI_DSI
643 Say Y here if you want to enable support for TDO TL070WSH30
644 1024x600 DSI video mode panel.
646 config VIDEO_LCD_HITACHI_TX18D42VM
647 bool "Hitachi tx18d42vm LVDS LCD panel support"
649 Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a
650 lcd controller which needs to be initialized over SPI, once that is
651 done they work like a regular LVDS panel.
653 config VIDEO_LCD_SPI_CS
654 string "SPI CS pin for LCD related config job"
655 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
658 This is one of the SPI communication pins, involved in setting up a
659 working LCD configuration. The exact role of SPI may differ for
660 different hardware setups. The option takes a string in the format
661 understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H.
663 config VIDEO_LCD_SPI_SCLK
664 string "SPI SCLK pin for LCD related config job"
665 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
668 This is one of the SPI communication pins, involved in setting up a
669 working LCD configuration. The exact role of SPI may differ for
670 different hardware setups. The option takes a string in the format
671 understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H.
673 config VIDEO_LCD_SPI_MOSI
674 string "SPI MOSI pin for LCD related config job"
675 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
678 This is one of the SPI communication pins, involved in setting up a
679 working LCD configuration. The exact role of SPI may differ for
680 different hardware setups. The option takes a string in the format
681 understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H.
683 config VIDEO_LCD_SPI_MISO
684 string "SPI MISO pin for LCD related config job (optional)"
685 depends on VIDEO_LCD_SSD2828
688 This is one of the SPI communication pins, involved in setting up a
689 working LCD configuration. The exact role of SPI may differ for
690 different hardware setups. If wired up, this pin may provide additional
691 useful functionality. Such as bi-directional communication with the
692 hardware and LCD panel id retrieval (if the panel can report it). The
693 option takes a string in the format understood by 'sunxi_name_to_gpio'
694 function, e.g. PH1 for pin 1 of port H.
696 source "drivers/video/meson/Kconfig"
699 bool "Armada XP LCD controller"
701 Support for the LCD controller integrated in the Marvell
705 bool "Enable OMAP3+ DSS Support"
706 depends on ARCH_OMAP2PLUS
708 This enables the Display subsystem (DSS) on OMAP3+ boards.
711 bool "Enable EDID library"
713 This enables library for accessing EDID data from an LCD panel.
716 bool "Enable Display support"
720 This supports drivers that provide a display, such as eDP (Embedded
721 DisplayPort) and HDMI (High Definition Multimedia Interface).
722 The devices provide a simple interface to start up the display,
723 read display information and enable it.
726 bool "Enable NXP TDA19988 support"
729 This enables support for the NXP TDA19988 HDMI encoder. This encoder
730 will convert RGB data streams into HDMI-encoded signals.
733 bool "Enable ATMEL video support using HLCDC"
735 HLCDC supports video output to an attached LCD panel.
737 config BACKLIGHT_LM3533
738 bool "Backlight Driver for LM3533"
742 Say Y to enable the backlight driver for National Semiconductor / TI
743 LM3533 Lighting Power chip. Only Bank A is supported as for now.
744 Supported backlight level range is from 2 to 255 with step of 1.
746 source "drivers/video/ti/Kconfig"
748 source "drivers/video/exynos/Kconfig"
750 config LOGICORE_DP_TX
751 bool "Enable Logicore DP TX driver"
754 Enable the driver for the transmitter part of the Xilinx LogiCORE
755 DisplayPort, a IP core for Xilinx FPGAs that implements a DisplayPort
756 video interface as defined by VESA DisplayPort v1.2.
758 Note that this is a pure transmitter device, and has no display
759 capabilities by itself.
761 config VIDEO_BROADWELL_IGD
762 bool "Enable Intel Broadwell integrated graphics device"
765 This enables support for integrated graphics on Intel broadwell
766 devices. Initialisation is mostly performed by a VGA boot ROM, with
767 some setup handled by U-Boot itself. The graphics adaptor works as
768 a VESA device and supports LCD panels, eDP and LVDS outputs.
769 Configuration of most aspects of device operation is performed using
770 a special tool which configures the VGA ROM, but the graphics
771 resolution can be selected in U-Boot.
773 config VIDEO_IVYBRIDGE_IGD
774 bool "Enable Intel Ivybridge integration graphics support"
777 This enables support for integrated graphics on Intel ivybridge
778 devices. Initialisation is mostly performed by a VGA boot ROM, with
779 some setup handled by U-Boot itself. The graphics adaptor works as
780 a VESA device and supports LCD panels, eDP and LVDS outputs.
781 Configuration of most aspects of device operation is performed using
782 a special tool which configures the VGA ROM, but the graphics
783 resolution can be selected in U-Boot.
785 source "drivers/video/rockchip/Kconfig"
787 config VIDEO_ARM_MALIDP
788 bool "Enable Arm Mali Display Processor support"
789 depends on OF_CONTROL
792 This enables support for Arm Ltd Mali Display Processors from
793 the DP500, DP550 and DP650 family.
795 config VIDEO_SANDBOX_SDL
796 bool "Enable sandbox video console using SDL"
797 depends on SANDBOX_SDL
799 When using sandbox you can enable an emulated LCD display which
800 appears as an SDL (Simple DirectMedia Layer) window. This is a
801 console device and can display stdout output. Within U-Boot is is
802 a normal bitmap display and can display images as well as text.
804 source "drivers/video/stm32/Kconfig"
806 source "drivers/video/tidss/Kconfig"
808 config VIDEO_TEGRA124
809 bool "Enable video support on Tegra124"
811 Tegra124 supports many video output options including eDP and
812 HDMI. At present only eDP is supported by U-Boot. This option
813 enables this support which can be used on devices which
814 have an eDP display connected.
816 source "drivers/video/bridge/Kconfig"
818 source "drivers/video/tegra20/Kconfig"
820 source "drivers/video/imx/Kconfig"
823 bool "Enable video support on i.MX28/i.MX6UL/i.MX7 SoCs"
825 Enable framebuffer driver for i.MX28/i.MX6UL/i.MX7 processors
828 bool "Enable video support on Nexell SoC"
829 depends on ARCH_S5P6818 || ARCH_S5P4418
831 Nexell SoC supports many video output options including eDP and
832 HDMI. This option enables this support which can be used on devices
833 which have an eDP display connected.
836 bool "Enable video support for Seps525"
839 Enable support for the Syncoam PM-OLED display driver (RGB 160x128).
840 Currently driver is supporting only SPI interface.
842 source "drivers/video/zynqmp/Kconfig"
843 source "drivers/video/nexell/Kconfig"
845 config CONSOLE_SCROLL_LINES
846 int "Number of lines to scroll the console by"
849 When the console need to be scrolled, this is the number of
850 lines to scroll by. It defaults to 1. Increasing this makes the
851 console jump but can help speed up operation when scrolling
857 Enables the common driver code for the Designware HDMI TX
858 block found in SoCs from various vendors.
859 As this does not provide any functionality by itself (but
860 rather requires a SoC-specific glue driver to call it), it
861 can not be enabled from the configuration menu.
863 config VIDEO_DSI_HOST_SANDBOX
864 bool "Enable sandbox for dsi host"
866 select VIDEO_MIPI_DSI
868 Enable support for sandbox dsi host device used for testing
870 Display Serial Interface (DSI) defines a serial bus and
871 a communication protocol between the host and the device
874 config VIDEO_DW_MIPI_DSI
876 select VIDEO_MIPI_DSI
878 Enables the common driver code for the Synopsis Designware
879 MIPI DSI block found in SoCs from various vendors.
880 As this does not provide any functionality by itself (but
881 rather requires a SoC-specific glue driver to call it), it
882 can not be enabled from the configuration menu.
885 bool "Simple display driver for preconfigured display"
887 Enables a simple generic display driver which utilizes the
888 simple-framebuffer devicetree bindings.
890 This driver assumes that the display hardware has been initialized
891 before u-boot starts, and u-boot will simply render to the pre-
892 allocated frame buffer surface.
894 config VIDEO_DT_SIMPLEFB
895 bool "Enable SimpleFB support for passing framebuffer to OS"
897 Enables the code to pass the framebuffer to the kernel as a
898 simple framebuffer in the device tree.
899 The video output is initialized by U-Boot, and kept by the
902 config VIDEO_MCDE_SIMPLE
903 bool "Simple driver for ST-Ericsson MCDE with preconfigured display"
905 Enables a simple display driver for ST-Ericsson MCDE
906 (Multichannel Display Engine), which reads the configuration from
909 This driver assumes that the display hardware has been initialized
910 before u-boot starts, and u-boot will simply render to the pre-
911 allocated frame buffer surface.
914 bool "Enable OSD support"
917 This supports drivers that provide a OSD (on-screen display), which
918 is a (usually text-oriented) graphics buffer to show information on
922 bool "Enable sandbox OSD"
925 Enable support for sandbox OSD device used for testing purposes.
928 bool "Enable IHS video out driver"
931 Enable support for the gdsys Integrated Hardware Systems (IHS) video
932 out On-screen Display (OSD) used on gdsys FPGAs to control dynamic
933 textual overlays of the display outputs.
936 bool "Remove video driver"
938 Use this option to specify if user wants to call remove method of
939 video driver in u-boot proper stage.
942 bool "Show a splash-screen image"
944 If this option is set, the environment is checked for a variable
945 "splashimage". If found, the usual display of logo, copyright and
946 system information on the LCD is suppressed and the BMP image at the
947 address specified in "splashimage" is loaded instead. The console is
948 redirected to the "nulldev", too. This allows for a "silent" boot
949 where a splash screen is loaded very quickly after power-on.
951 The splash_screen_prepare() function is a weak function defined in
952 common/splash.c. It is called as part of the splash screen display
953 sequence. It gives the board an opportunity to prepare the splash
954 image data before it is processed and sent to the frame buffer by
955 U-Boot. Define your own version to use this feature.
959 config SPLASH_SCREEN_ALIGN
960 bool "Allow positioning the splash image anywhere on the display"
962 If this option is set the splash image can be freely positioned
963 on the screen. Environment variable "splashpos" specifies the
964 position as "x,y". If a positive number is given it is used as
965 number of pixel from left/top. If a negative number is given it
966 is used as number of pixel from right/bottom. You can also
967 specify 'm' for centering the image.
971 => image at center of screen
973 setenv splashpos 30,20
974 => image at x = 30 and y = 20
976 setenv splashpos -10,m
977 => vertically centered image
978 at x = dspWidth - bmpWidth - 9
980 config HIDE_LOGO_VERSION
981 bool "Hide the version information on the splash screen"
983 Normally the U-Boot version string is shown on the display when the
984 splash screen is enabled. This information is not otherwise visible
985 since video starts up after U-Boot has displayed the initial banner.
987 Enable this option to hide this information.
990 bool "Control the source of the splash image"
992 Use the splash_source.c library. This library provides facilities to
993 declare board specific splash image locations, routines for loading
994 splash image from supported locations, and a way of controlling the
995 selected splash location using the "splashsource" environment
998 This CONFIG works as follows:
1000 - If splashsource is set to a supported location name as defined by
1001 board code, use that splash location.
1002 - If splashsource is undefined, use the first splash location as
1004 - If splashsource is set to an unsupported value, do not load a splash
1007 A splash source location can describe either storage with raw data, a
1008 storage formatted with a file system or a FIT image. In case of a
1009 filesystem, the splash screen data is loaded as a file. The name of
1010 the splash screen file can be controlled with the environment variable
1013 To enable loading the splash image from a FIT image, CONFIG_FIT must
1014 be enabled. The FIT image has to start at the 'offset' field address
1015 in the selected splash location. The name of splash image within the
1016 FIT shall be specified by the environment variable "splashfile".
1018 In case the environment variable "splashfile" is not defined the
1019 default name 'splash.bmp' will be used.
1021 endif # SPLASH_SCREEN
1024 bool "Enable bmp image display"
1026 Enable bmp functions to display bmp image and get bmp info.
1028 BMP is a simple graphics-image file format designed to store bitmap
1029 images. It is primarily used on Windows devices.
1031 config VIDEO_BMP_GZIP
1032 bool "Gzip compressed BMP image support"
1033 depends on BMP || SPLASH_SCREEN
1035 If this option is set, additionally to standard BMP
1036 images, gzipped BMP images can be displayed via the
1037 splashscreen support or the bmp command.
1039 config VIDEO_LOGO_MAX_SIZE
1040 hex "Maximum size of the bitmap logo in bytes"
1043 Sets the maximum uncompressed size of the logo. This is needed when
1044 decompressing a BMP file using the gzip algorithm, since it cannot
1045 read the size from the bitmap header.
1047 config VIDEO_BMP_RLE8
1048 bool "Run length encoded BMP image (RLE8) support"
1050 If this option is set, the 8-bit RLE compressed BMP images
1054 bool "16-bit-per-pixel BMP image support"
1056 Support display of bitmaps file with 16-bit-per-pixel
1059 bool "24-bit-per-pixel BMP image support"
1061 Support display of bitmaps file with 24-bit-per-pixel.
1064 bool "32-bit-per-pixel BMP image support"
1066 Support display of bitmaps file with 32-bit-per-pixel.
1071 bool "Enable driver model support for LCD/video in SPL"
1074 The video subsystem adds a small amount of overhead to the image.
1075 If this is acceptable and you have a need to use video drivers in
1076 SPL, enable this option. It might provide a cleaner interface to
1077 setting up video within SPL, and allows the same drivers to be
1078 used as U-Boot proper.
1081 source "drivers/video/tidss/Kconfig"
1083 config SPL_VIDEO_HANDOFF
1084 bool "Pass the video frame-buffer through to U-Boot proper"
1085 depends on SPL_BLOBLIST
1088 Enable this to set up video-handoff information in SPL which can be
1089 picked up in U-Boot proper. This includes the frame buffer and
1090 various other pieces of information. With this enabled, SPL can set
1091 up video and avoid re-initing it later.
1093 config SPL_VIDEO_LOGO
1094 bool "Show the U-Boot logo on the display at SPL"
1095 default y if !SPL_SPLASH_SCREEN
1096 select SPL_VIDEO_BMP_RLE8
1098 This enables showing the U-Boot logo on the display when a video
1099 device is probed. It appears at the top right. The logo itself is at
1100 tools/logos/u-boot_logo.bmp and looks best when the display has a
1103 config SPL_SPLASH_SCREEN
1104 bool "Show a splash-screen image at SPL"
1106 If this option is set, the environment is checked for a variable
1107 "splashimage" at spl stage.
1109 config SPL_SYS_WHITE_ON_BLACK
1110 bool "Display console as white on a black background at SPL"
1112 Normally the display is black on a white background, Enable this
1113 option to invert this, i.e. white on a black background at spl stage.
1114 This can be better in low-light situations or to reduce eye strain in
1117 config SPL_VIDEO_PCI_DEFAULT_FB_SIZE
1118 hex "Default framebuffer size to use if no drivers request it at SPL"
1119 default 0x1000000 if X86
1120 default 0x800000 if !X86 && VIDEO_BOCHS
1121 default 0x0 if !X86 && !VIDEO_BOCHS
1123 Generally, video drivers request the amount of memory they need for
1124 the frame buffer when they are bound, by setting the size field in
1125 struct video_uc_plat. That memory is then reserved for use after
1126 relocation. But PCI drivers cannot be bound before relocation unless
1127 they are mentioned in the devicetree.
1129 With this value set appropriately, it is possible for PCI video
1130 devices to have a framebuffer allocated by U-Boot.
1132 Note: the framebuffer needs to be large enough to store all pixels at
1133 maximum resolution. For example, at 2560 x 1600 with 32 bits per
1134 pixel, 2560 * 1600 * 32 / 8 = 0xfa0000 bytes are needed.
1136 config SPL_CONSOLE_SCROLL_LINES
1137 int "Number of lines to scroll the console by at SPL"
1140 When the console need to be scrolled, this is the number of
1141 lines to scroll by. It defaults to 1. Increasing this makes the
1142 console jump but can help speed up operation when scrolling
1145 config SPL_CONSOLE_NORMAL
1146 bool "Support a simple text console at SPL"
1149 Support drawing text on the frame buffer console so that it can be
1150 used as a console. Rotation is not supported by this driver (see
1151 CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used
1154 config SPL_BACKLIGHT
1155 bool "Enable panel backlight uclass support at SPL"
1158 This provides backlight uclass driver that enables basic panel
1162 bool "Enable panel uclass support at SPL"
1165 This provides panel uclass driver that enables basic panel support.
1167 config SPL_SIMPLE_PANEL
1168 bool "Enable simple panel support at SPL"
1169 depends on SPL_PANEL && SPL_BACKLIGHT && SPL_DM_GPIO
1172 This turns on a simple panel driver that enables a compatible
1175 config SPL_SYS_WHITE_ON_BLACK
1176 bool "Display console as white on a black background at SPL"
1178 Normally the display is black on a white background, Enable this
1179 option to invert this, i.e. white on a black background at spl stage.
1180 This can be better in low-light situations or to reduce eye strain in
1183 config SPL_VIDEO_REMOVE
1184 bool "Remove video driver after SPL stage"
1186 if this option is enabled video driver will be removed at the end of
1187 SPL stage, before loading the next stage.
1189 if SPL_SPLASH_SCREEN
1191 config SPL_SPLASH_SCREEN_ALIGN
1192 bool "Allow positioning the splash image anywhere on the display at SPL"
1194 If this option is set the splash image can be freely positioned
1195 on the screen only at SPL. Environment variable "splashpos" specifies
1196 the position as "x,y". If a positive number is given it is used as
1197 number of pixel from left/top. If a negative number is given it
1198 is used as number of pixel from right/bottom.
1200 config SPL_SPLASH_SOURCE
1201 bool "Control the source of the splash image at SPL"
1203 Use the splash_source.c library. This library provides facilities to
1204 declare board specific splash image locations, routines for loading
1205 splash image from supported locations, and a way of controlling the
1206 selected splash location using the "splashsource" environment
1209 This CONFIG works as follows:
1211 - If splashsource is set to a supported location name as defined by
1212 board code, use that splash location.
1213 - If splashsource is undefined, use the first splash location as
1215 - If splashsource is set to an unsupported value, do not load a splash
1218 A splash source location can describe either storage with raw data, a
1219 storage formatted with a file system or a FIT image. In case of a
1220 filesystem, the splash screen data is loaded as a file. The name of
1221 the splash screen file can be controlled with the environment variable
1224 To enable loading the splash image from a FIT image, CONFIG_FIT must
1225 be enabled. The FIT image has to start at the 'offset' field address
1226 in the selected splash location. The name of splash image within the
1227 FIT shall be specified by the environment variable "splashfile".
1229 In case the environment variable "splashfile" is not defined the
1230 default name 'splash.bmp' will be used.
1232 endif # SPL_SPLASH_SCREEN
1235 bool "Enable bmp image display at SPL"
1237 Enable bmp functions to display bmp image and get bmp info in SPL.
1239 BMP is a simple graphics-image file format designed to store bitmap
1240 images. It is primarily used on Windows devices.
1242 config SPL_VIDEO_BMP_GZIP
1243 bool "Gzip compressed BMP image support at SPL"
1244 depends on SPL_SPLASH_SCREEN || SPL_BMP
1246 If this option is set, additionally to standard BMP
1247 images, gzipped BMP images can be displayed via the
1248 splashscreen supportat SPL stage.
1250 config SPL_VIDEO_LOGO_MAX_SIZE
1251 hex "Maximum size of the bitmap logo in bytes at SPL"
1254 Sets the maximum uncompressed size of the logo. This is needed when
1255 decompressing a BMP file using the gzip algorithm, since it cannot
1256 read the size from the bitmap header.
1258 config SPL_VIDEO_BMP_RLE8
1259 bool "Run length encoded BMP image (RLE8) support at SPL"
1261 If this option is set, the 8-bit RLE compressed BMP images
1264 config SPL_BMP_16BPP
1265 bool "16-bit-per-pixel BMP image support at SPL"
1267 Support display of bitmaps file with 16-bit-per-pixel
1269 config SPL_BMP_24BPP
1270 bool "24-bit-per-pixel BMP image support at SPL"
1272 Support display of bitmaps file with 24-bit-per-pixel.
1274 config SPL_BMP_32BPP
1275 bool "32-bit-per-pixel BMP image support at SPL"
1277 Support display of bitmaps file with 32-bit-per-pixel.
1279 config SPL_VIDEO_BPP8
1280 bool "Support 8-bit-per-pixel displays at SPL"
1283 Support drawing text and bitmaps onto a 8-bit-per-pixel display.
1284 Enabling this will include code to support this display. Without
1285 this option, such displays will not be supported and console output
1288 config SPL_VIDEO_BPP16
1289 bool "Support 16-bit-per-pixel displays at SPL"
1292 Support drawing text and bitmaps onto a 16-bit-per-pixel display.
1293 Enabling this will include code to support this display. Without
1294 this option, such displays will not be supported and console output
1297 config SPL_VIDEO_BPP32
1298 bool "Support 32-bit-per-pixel displays at SPL"
1301 Support drawing text and bitmaps onto a 32-bit-per-pixel display.
1302 Enabling this will include code to support this display. Without
1303 this option, such displays will not be supported and console output
1306 config SPL_HIDE_LOGO_VERSION
1307 bool "Hide the version information on the splash screen at SPL"
1309 Normally the U-Boot version string is shown on the display when the
1310 splash screen is enabled. This information is not otherwise visible
1311 since video starts up after U-Boot has displayed the initial banner.
1313 Enable this option to hide this information.