10b11dbf7SMasahiro Yamada# 20b11dbf7SMasahiro Yamada# Video configuration 30b11dbf7SMasahiro Yamada# 40b11dbf7SMasahiro Yamada 50b11dbf7SMasahiro Yamadamenu "Graphics support" 60b11dbf7SMasahiro Yamada 71acafc73SSimon Glassconfig DM_VIDEO 81acafc73SSimon Glass bool "Enable driver model support for LCD/video" 91acafc73SSimon Glass depends on DM 101acafc73SSimon Glass help 111acafc73SSimon Glass This enables driver model for LCD and video devices. These support 121acafc73SSimon Glass a bitmap display of various sizes and depths which can be drawn on 131acafc73SSimon Glass to display a command-line console or splash screen. Enabling this 141acafc73SSimon Glass option compiles in the video uclass and routes all LCD/video access 151acafc73SSimon Glass through this. 161acafc73SSimon Glass 1708a43cfbSPatrick Delaunayconfig BACKLIGHT_PWM 1808a43cfbSPatrick Delaunay bool "Generic PWM based Backlight Driver" 1908a43cfbSPatrick Delaunay depends on DM_VIDEO && DM_PWM 2008a43cfbSPatrick Delaunay default y 2108a43cfbSPatrick Delaunay help 2208a43cfbSPatrick Delaunay If you have a LCD backlight adjustable by PWM, say Y to enable 2308a43cfbSPatrick Delaunay this driver. 2408a43cfbSPatrick Delaunay This driver can be use with "simple-panel" and 2508a43cfbSPatrick Delaunay it understands the standard device tree 2608a43cfbSPatrick Delaunay (leds/backlight/pwm-backlight.txt) 2708a43cfbSPatrick Delaunay 285b6a6a91SPatrick Delaunayconfig BACKLIGHT_GPIO 295b6a6a91SPatrick Delaunay bool "Generic GPIO based Backlight Driver" 305b6a6a91SPatrick Delaunay depends on DM_VIDEO 315b6a6a91SPatrick Delaunay help 325b6a6a91SPatrick Delaunay If you have a LCD backlight adjustable by GPIO, say Y to enable 335b6a6a91SPatrick Delaunay this driver. 345b6a6a91SPatrick Delaunay This driver can be used with "simple-panel" and 355b6a6a91SPatrick Delaunay it understands the standard device tree 365b6a6a91SPatrick Delaunay (leds/backlight/gpio-backlight.txt) 375b6a6a91SPatrick Delaunay 381acafc73SSimon Glassconfig VIDEO_BPP8 391acafc73SSimon Glass bool "Support 8-bit-per-pixel displays" 401acafc73SSimon Glass depends on DM_VIDEO 411acafc73SSimon Glass default y if DM_VIDEO 421acafc73SSimon Glass help 431acafc73SSimon Glass Support drawing text and bitmaps onto a 8-bit-per-pixel display. 441acafc73SSimon Glass Enabling this will include code to support this display. Without 451acafc73SSimon Glass this option, such displays will not be supported and console output 461acafc73SSimon Glass will be empty. 471acafc73SSimon Glass 481acafc73SSimon Glassconfig VIDEO_BPP16 491acafc73SSimon Glass bool "Support 16-bit-per-pixel displays" 501acafc73SSimon Glass depends on DM_VIDEO 511acafc73SSimon Glass default y if DM_VIDEO 521acafc73SSimon Glass help 531acafc73SSimon Glass Support drawing text and bitmaps onto a 16-bit-per-pixel display. 541acafc73SSimon Glass Enabling this will include code to support this display. Without 551acafc73SSimon Glass this option, such displays will not be supported and console output 561acafc73SSimon Glass will be empty. 571acafc73SSimon Glass 581acafc73SSimon Glassconfig VIDEO_BPP32 591acafc73SSimon Glass bool "Support 32-bit-per-pixel displays" 601acafc73SSimon Glass depends on DM_VIDEO 611acafc73SSimon Glass default y if DM_VIDEO 621acafc73SSimon Glass help 631acafc73SSimon Glass Support drawing text and bitmaps onto a 32-bit-per-pixel display. 641acafc73SSimon Glass Enabling this will include code to support this display. Without 651acafc73SSimon Glass this option, such displays will not be supported and console output 661acafc73SSimon Glass will be empty. 671acafc73SSimon Glass 68a085aa1fSRob Clarkconfig VIDEO_ANSI 69a085aa1fSRob Clark bool "Support ANSI escape sequences in video console" 70a085aa1fSRob Clark depends on DM_VIDEO 71a085aa1fSRob Clark default y if DM_VIDEO 72a085aa1fSRob Clark help 73a085aa1fSRob Clark Enable ANSI escape sequence decoding for a more fully functional 74a085aa1fSRob Clark console. 75a085aa1fSRob Clark 766e42e251SSimon Glassconfig CONSOLE_NORMAL 776e42e251SSimon Glass bool "Support a simple text console" 786e42e251SSimon Glass depends on DM_VIDEO 796e42e251SSimon Glass default y if DM_VIDEO 806e42e251SSimon Glass help 816e42e251SSimon Glass Support drawing text on the frame buffer console so that it can be 826e42e251SSimon Glass used as a console. Rotation is not supported by this driver (see 836e42e251SSimon Glass CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used 846e42e251SSimon Glass for the display. 856e42e251SSimon Glass 866e42e251SSimon Glassconfig CONSOLE_ROTATION 87b5146b28SSimon Glass bool "Support rotated displays" 88b5146b28SSimon Glass depends on DM_VIDEO 89b5146b28SSimon Glass help 90b5146b28SSimon Glass Sometimes, for example if the display is mounted in portrait 91b5146b28SSimon Glass mode or even if it's mounted landscape but rotated by 180degree, 92b5146b28SSimon Glass we need to rotate our content of the display relative to the 93b5146b28SSimon Glass framebuffer, so that user can read the messages which are 94b5146b28SSimon Glass printed out. Enable this option to include a text driver which can 95b5146b28SSimon Glass support this. The rotation is set by the 'rot' parameter in 96b5146b28SSimon Glass struct video_priv: 0=unrotated, 1=90 degrees clockwise, 2=180 97b5146b28SSimon Glass degrees, 3=270 degrees. 98b5146b28SSimon Glass 99a29b0120SSimon Glassconfig CONSOLE_TRUETYPE 100a29b0120SSimon Glass bool "Support a console that uses TrueType fonts" 101a29b0120SSimon Glass depends on DM_VIDEO 102a29b0120SSimon Glass help 103a29b0120SSimon Glass TrueTrype fonts can provide outline-drawing capability rather than 104a29b0120SSimon Glass needing to provide a bitmap for each font and size that is needed. 105a29b0120SSimon Glass With this option you can adjust the text size and use a variety of 106a29b0120SSimon Glass fonts. Note that this is noticeably slower than with normal console. 107a29b0120SSimon Glass 108a29b0120SSimon Glassconfig CONSOLE_TRUETYPE_SIZE 109a29b0120SSimon Glass int "TrueType font size" 110a29b0120SSimon Glass depends on CONSOLE_TRUETYPE 111a29b0120SSimon Glass default 18 112a29b0120SSimon Glass help 113a29b0120SSimon Glass This sets the font size for the console. The size is measured in 114a29b0120SSimon Glass pixels and is the nominal height of a character. Note that fonts 115a29b0120SSimon Glass are commonly measured in 'points', being 1/72 inch (about 3.52mm). 116a29b0120SSimon Glass However that measurement depends on the size of your display and 117a29b0120SSimon Glass there is no standard display density. At present there is not a 118a29b0120SSimon Glass method to select the display's physical size, which would allow 119a29b0120SSimon Glass U-Boot to calculate the correct font size. 120a29b0120SSimon Glass 121983b103fSSimon Glassconfig SYS_WHITE_ON_BLACK 122983b103fSSimon Glass bool "Display console as white on a black background" 123983b103fSSimon Glass default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || TEGRA || X86 124983b103fSSimon Glass help 125983b103fSSimon Glass Normally the display is black on a white background, Enable this 126983b103fSSimon Glass option to invert this, i.e. white on a black background. This can be 127983b103fSSimon Glass better in low-light situations or to reduce eye strain in some 128983b103fSSimon Glass cases. 129983b103fSSimon Glass 1308ef05352SRob Clarkconfig NO_FB_CLEAR 1318ef05352SRob Clark bool "Skip framebuffer clear" 1328ef05352SRob Clark help 1338ef05352SRob Clark If firmware (whatever loads u-boot) has already put a splash image 1348ef05352SRob Clark on screen, you might want to preserve it until whatever u-boot 1358ef05352SRob Clark loads takes over the screen. This, for example, can be used to 1368ef05352SRob Clark keep splash image on screen until grub graphical boot menu starts. 1378ef05352SRob Clark 138a29b0120SSimon Glasssource "drivers/video/fonts/Kconfig" 139a29b0120SSimon Glass 140a2931b30SSimon Glassconfig VIDCONSOLE_AS_LCD 141a2931b30SSimon Glass bool "Use 'vidconsole' when 'lcd' is seen in stdout" 142a2931b30SSimon Glass depends on DM_VIDEO 143a2931b30SSimon Glass help 144a2931b30SSimon Glass This is a work-around for boards which have 'lcd' in their stdout 145a2931b30SSimon Glass environment variable, but have moved to use driver model for video. 146a2931b30SSimon Glass In this case the console will no-longer work. While it is possible 147a2931b30SSimon Glass to update the environment, the breakage may be confusing for users. 148a2931b30SSimon Glass This option will be removed around the end of 2016. 149a2931b30SSimon Glass 15013b2bfceSBin Mengconfig VIDEO_COREBOOT 15113b2bfceSBin Meng bool "Enable coreboot framebuffer driver support" 15213b2bfceSBin Meng depends on X86 && SYS_COREBOOT 15313b2bfceSBin Meng help 15413b2bfceSBin Meng Turn on this option to enable a framebuffer driver when U-Boot is 15513b2bfceSBin Meng loaded by coreboot where the graphics device is configured by 15613b2bfceSBin Meng coreboot already. This can in principle be used with any platform 15713b2bfceSBin Meng that coreboot supports. 15813b2bfceSBin Meng 1594a08c746SBin Mengconfig VIDEO_EFI 1604a08c746SBin Meng bool "Enable EFI framebuffer driver support" 1614a08c746SBin Meng depends on EFI_STUB 1624a08c746SBin Meng help 1634a08c746SBin Meng Turn on this option to enable a framebuffeer driver when U-Boot is 1644a08c746SBin Meng loaded as a payload (see README.u-boot_on_efi) by an EFI BIOS where 1654a08c746SBin Meng the graphics device is configured by the EFI BIOS already. This can 1664a08c746SBin Meng in principle be used with any platform that has an EFI BIOS. 1674a08c746SBin Meng 1686b1ba984SSimon Glassconfig VIDEO_VESA 1696b1ba984SSimon Glass bool "Enable VESA video driver support" 1706b1ba984SSimon Glass default n 1716b1ba984SSimon Glass help 1726b1ba984SSimon Glass Turn on this option to enable a very simple driver which uses vesa 1736b1ba984SSimon Glass to discover the video mode and then provides a frame buffer for use 1746b1ba984SSimon Glass by U-Boot. This can in principle be used with any platform that 1756b1ba984SSimon Glass supports PCI and video cards that support VESA BIOS Extension (VBE). 1766b1ba984SSimon Glass 1776bde2dc5SBin Mengconfig FRAMEBUFFER_SET_VESA_MODE 1786bde2dc5SBin Meng bool "Set framebuffer graphics resolution" 17997cb0927SSimon Glass depends on VIDEO_VESA || VIDEO_BROADWELL_IGD 1806bde2dc5SBin Meng help 1816bde2dc5SBin Meng Set VESA/native framebuffer mode (needed for bootsplash and graphical 1826bde2dc5SBin Meng framebuffer console) 1836bde2dc5SBin Meng 1846bde2dc5SBin Mengchoice 1856bde2dc5SBin Meng prompt "framebuffer graphics resolution" 18617b07d70SBin Meng default FRAMEBUFFER_VESA_MODE_118 1876bde2dc5SBin Meng depends on FRAMEBUFFER_SET_VESA_MODE 1886bde2dc5SBin Meng help 1896bde2dc5SBin Meng This option sets the resolution used for the U-Boot framebuffer (and 1906bde2dc5SBin Meng bootsplash screen). 1916bde2dc5SBin Meng 1926bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_100 1936bde2dc5SBin Meng bool "640x400 256-color" 1946bde2dc5SBin Meng 1956bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_101 1966bde2dc5SBin Meng bool "640x480 256-color" 1976bde2dc5SBin Meng 1986bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_102 1996bde2dc5SBin Meng bool "800x600 16-color" 2006bde2dc5SBin Meng 2016bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_103 2026bde2dc5SBin Meng bool "800x600 256-color" 2036bde2dc5SBin Meng 2046bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_104 2056bde2dc5SBin Meng bool "1024x768 16-color" 2066bde2dc5SBin Meng 2076bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_105 20857dccb55SBin Meng bool "1024x768 256-color" 2096bde2dc5SBin Meng 2106bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_106 2116bde2dc5SBin Meng bool "1280x1024 16-color" 2126bde2dc5SBin Meng 2136bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_107 2146bde2dc5SBin Meng bool "1280x1024 256-color" 2156bde2dc5SBin Meng 2166bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_108 2176bde2dc5SBin Meng bool "80x60 text" 2186bde2dc5SBin Meng 2196bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_109 2206bde2dc5SBin Meng bool "132x25 text" 2216bde2dc5SBin Meng 2226bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_10A 2236bde2dc5SBin Meng bool "132x43 text" 2246bde2dc5SBin Meng 2256bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_10B 2266bde2dc5SBin Meng bool "132x50 text" 2276bde2dc5SBin Meng 2286bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_10C 2296bde2dc5SBin Meng bool "132x60 text" 2306bde2dc5SBin Meng 2316bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_10D 2326bde2dc5SBin Meng bool "320x200 32k-color (1:5:5:5)" 2336bde2dc5SBin Meng 2346bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_10E 2356bde2dc5SBin Meng bool "320x200 64k-color (5:6:5)" 2366bde2dc5SBin Meng 2376bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_10F 2386bde2dc5SBin Meng bool "320x200 16.8M-color (8:8:8)" 2396bde2dc5SBin Meng 2406bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_110 2416bde2dc5SBin Meng bool "640x480 32k-color (1:5:5:5)" 2426bde2dc5SBin Meng 2436bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_111 2446bde2dc5SBin Meng bool "640x480 64k-color (5:6:5)" 2456bde2dc5SBin Meng 2466bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_112 2476bde2dc5SBin Meng bool "640x480 16.8M-color (8:8:8)" 2486bde2dc5SBin Meng 2496bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_113 2506bde2dc5SBin Meng bool "800x600 32k-color (1:5:5:5)" 2516bde2dc5SBin Meng 2526bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_114 2536bde2dc5SBin Meng bool "800x600 64k-color (5:6:5)" 2546bde2dc5SBin Meng 2556bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_115 2566bde2dc5SBin Meng bool "800x600 16.8M-color (8:8:8)" 2576bde2dc5SBin Meng 2586bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_116 2596bde2dc5SBin Meng bool "1024x768 32k-color (1:5:5:5)" 2606bde2dc5SBin Meng 2616bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_117 2626bde2dc5SBin Meng bool "1024x768 64k-color (5:6:5)" 2636bde2dc5SBin Meng 2646bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_118 2656bde2dc5SBin Meng bool "1024x768 16.8M-color (8:8:8)" 2666bde2dc5SBin Meng 2676bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_119 2686bde2dc5SBin Meng bool "1280x1024 32k-color (1:5:5:5)" 2696bde2dc5SBin Meng 2706bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_11A 2716bde2dc5SBin Meng bool "1280x1024 64k-color (5:6:5)" 2726bde2dc5SBin Meng 2736bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_11B 2746bde2dc5SBin Meng bool "1280x1024 16.8M-color (8:8:8)" 2756bde2dc5SBin Meng 2766bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_USER 2776bde2dc5SBin Meng bool "Manually select VESA mode" 2786bde2dc5SBin Meng 2796bde2dc5SBin Mengendchoice 2806bde2dc5SBin Meng 2816bde2dc5SBin Meng# Map the config names to an integer (KB). 2826bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE 2836bde2dc5SBin Meng prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER 2846bde2dc5SBin Meng hex 2856bde2dc5SBin Meng default 0x100 if FRAMEBUFFER_VESA_MODE_100 2866bde2dc5SBin Meng default 0x101 if FRAMEBUFFER_VESA_MODE_101 2876bde2dc5SBin Meng default 0x102 if FRAMEBUFFER_VESA_MODE_102 2886bde2dc5SBin Meng default 0x103 if FRAMEBUFFER_VESA_MODE_103 2896bde2dc5SBin Meng default 0x104 if FRAMEBUFFER_VESA_MODE_104 2906bde2dc5SBin Meng default 0x105 if FRAMEBUFFER_VESA_MODE_105 2916bde2dc5SBin Meng default 0x106 if FRAMEBUFFER_VESA_MODE_106 2926bde2dc5SBin Meng default 0x107 if FRAMEBUFFER_VESA_MODE_107 2936bde2dc5SBin Meng default 0x108 if FRAMEBUFFER_VESA_MODE_108 2946bde2dc5SBin Meng default 0x109 if FRAMEBUFFER_VESA_MODE_109 2956bde2dc5SBin Meng default 0x10A if FRAMEBUFFER_VESA_MODE_10A 2966bde2dc5SBin Meng default 0x10B if FRAMEBUFFER_VESA_MODE_10B 2976bde2dc5SBin Meng default 0x10C if FRAMEBUFFER_VESA_MODE_10C 2986bde2dc5SBin Meng default 0x10D if FRAMEBUFFER_VESA_MODE_10D 2996bde2dc5SBin Meng default 0x10E if FRAMEBUFFER_VESA_MODE_10E 3006bde2dc5SBin Meng default 0x10F if FRAMEBUFFER_VESA_MODE_10F 3016bde2dc5SBin Meng default 0x110 if FRAMEBUFFER_VESA_MODE_110 3026bde2dc5SBin Meng default 0x111 if FRAMEBUFFER_VESA_MODE_111 3036bde2dc5SBin Meng default 0x112 if FRAMEBUFFER_VESA_MODE_112 3046bde2dc5SBin Meng default 0x113 if FRAMEBUFFER_VESA_MODE_113 3056bde2dc5SBin Meng default 0x114 if FRAMEBUFFER_VESA_MODE_114 3066bde2dc5SBin Meng default 0x115 if FRAMEBUFFER_VESA_MODE_115 3076bde2dc5SBin Meng default 0x116 if FRAMEBUFFER_VESA_MODE_116 3086bde2dc5SBin Meng default 0x117 if FRAMEBUFFER_VESA_MODE_117 3096bde2dc5SBin Meng default 0x118 if FRAMEBUFFER_VESA_MODE_118 3106bde2dc5SBin Meng default 0x119 if FRAMEBUFFER_VESA_MODE_119 3116bde2dc5SBin Meng default 0x11A if FRAMEBUFFER_VESA_MODE_11A 3126bde2dc5SBin Meng default 0x11B if FRAMEBUFFER_VESA_MODE_11B 3136bde2dc5SBin Meng default 0x117 if FRAMEBUFFER_VESA_MODE_USER 3146bde2dc5SBin Meng 31566525bb7SHans de Goedeconfig VIDEO_LCD_ANX9804 31666525bb7SHans de Goede bool "ANX9804 bridge chip" 31766525bb7SHans de Goede default n 31866525bb7SHans de Goede ---help--- 31966525bb7SHans de Goede Support for the ANX9804 bridge chip, which can take pixel data coming 32066525bb7SHans de Goede from a parallel LCD interface and translate it on the fy into a DP 32166525bb7SHans de Goede interface for driving eDP TFT displays. It uses I2C for configuration. 32266525bb7SHans de Goede 323b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SSD2828 324b8329acfSSiarhei Siamashka bool "SSD2828 bridge chip" 325b8329acfSSiarhei Siamashka default n 326b8329acfSSiarhei Siamashka ---help--- 327b8329acfSSiarhei Siamashka Support for the SSD2828 bridge chip, which can take pixel data coming 328b8329acfSSiarhei Siamashka from a parallel LCD interface and translate it on the fly into MIPI DSI 329b8329acfSSiarhei Siamashka interface for driving a MIPI compatible LCD panel. It uses SPI for 330b8329acfSSiarhei Siamashka configuration. 331b8329acfSSiarhei Siamashka 332b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SSD2828_TX_CLK 333b8329acfSSiarhei Siamashka int "SSD2828 TX_CLK frequency (in MHz)" 334b8329acfSSiarhei Siamashka depends on VIDEO_LCD_SSD2828 335dddccd69SSiarhei Siamashka default 0 336b8329acfSSiarhei Siamashka ---help--- 337b8329acfSSiarhei Siamashka The frequency of the crystal, which is clocking SSD2828. It may be 338b8329acfSSiarhei Siamashka anything in the 8MHz-30MHz range and the exact value should be 339b8329acfSSiarhei Siamashka retrieved from the board schematics. Or in the case of Allwinner 340b8329acfSSiarhei Siamashka hardware, it can be usually found as 'lcd_xtal_freq' variable in 341dddccd69SSiarhei Siamashka FEX files. It can be also set to 0 for selecting PCLK from the 342dddccd69SSiarhei Siamashka parallel LCD interface instead of TX_CLK as the PLL clock source. 343b8329acfSSiarhei Siamashka 344b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SSD2828_RESET 345b8329acfSSiarhei Siamashka string "RESET pin of SSD2828" 346b8329acfSSiarhei Siamashka depends on VIDEO_LCD_SSD2828 347b8329acfSSiarhei Siamashka default "" 348b8329acfSSiarhei Siamashka ---help--- 349b8329acfSSiarhei Siamashka The reset pin of SSD2828 chip. This takes a string in the format 350b8329acfSSiarhei Siamashka understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H. 351b8329acfSSiarhei Siamashka 352a5464f2bSHans de Goedeconfig VIDEO_LCD_HITACHI_TX18D42VM 353a5464f2bSHans de Goede bool "Hitachi tx18d42vm LVDS LCD panel support" 354a5464f2bSHans de Goede depends on VIDEO 355a5464f2bSHans de Goede default n 356a5464f2bSHans de Goede ---help--- 357a5464f2bSHans de Goede Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a 358a5464f2bSHans de Goede lcd controller which needs to be initialized over SPI, once that is 359a5464f2bSHans de Goede done they work like a regular LVDS panel. 360a5464f2bSHans de Goede 361b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SPI_CS 362b8329acfSSiarhei Siamashka string "SPI CS pin for LCD related config job" 363a5464f2bSHans de Goede depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM 364b8329acfSSiarhei Siamashka default "" 365b8329acfSSiarhei Siamashka ---help--- 366b8329acfSSiarhei Siamashka This is one of the SPI communication pins, involved in setting up a 367b8329acfSSiarhei Siamashka working LCD configuration. The exact role of SPI may differ for 368b8329acfSSiarhei Siamashka different hardware setups. The option takes a string in the format 369b8329acfSSiarhei Siamashka understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H. 370b8329acfSSiarhei Siamashka 371b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SPI_SCLK 372b8329acfSSiarhei Siamashka string "SPI SCLK pin for LCD related config job" 373a5464f2bSHans de Goede depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM 374b8329acfSSiarhei Siamashka default "" 375b8329acfSSiarhei Siamashka ---help--- 376b8329acfSSiarhei Siamashka This is one of the SPI communication pins, involved in setting up a 377b8329acfSSiarhei Siamashka working LCD configuration. The exact role of SPI may differ for 378b8329acfSSiarhei Siamashka different hardware setups. The option takes a string in the format 379b8329acfSSiarhei Siamashka understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H. 380b8329acfSSiarhei Siamashka 381b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SPI_MOSI 382b8329acfSSiarhei Siamashka string "SPI MOSI pin for LCD related config job" 383a5464f2bSHans de Goede depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM 384b8329acfSSiarhei Siamashka default "" 385b8329acfSSiarhei Siamashka ---help--- 386b8329acfSSiarhei Siamashka This is one of the SPI communication pins, involved in setting up a 387b8329acfSSiarhei Siamashka working LCD configuration. The exact role of SPI may differ for 388b8329acfSSiarhei Siamashka different hardware setups. The option takes a string in the format 389b8329acfSSiarhei Siamashka understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H. 390b8329acfSSiarhei Siamashka 391b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SPI_MISO 392b8329acfSSiarhei Siamashka string "SPI MISO pin for LCD related config job (optional)" 393b8329acfSSiarhei Siamashka depends on VIDEO_LCD_SSD2828 394b8329acfSSiarhei Siamashka default "" 395b8329acfSSiarhei Siamashka ---help--- 396b8329acfSSiarhei Siamashka This is one of the SPI communication pins, involved in setting up a 397b8329acfSSiarhei Siamashka working LCD configuration. The exact role of SPI may differ for 398b8329acfSSiarhei Siamashka different hardware setups. If wired up, this pin may provide additional 399b8329acfSSiarhei Siamashka useful functionality. Such as bi-directional communication with the 400b8329acfSSiarhei Siamashka hardware and LCD panel id retrieval (if the panel can report it). The 401b8329acfSSiarhei Siamashka option takes a string in the format understood by 'name_to_gpio' 402b8329acfSSiarhei Siamashka function, e.g. PH1 for pin 1 of port H. 40351f2c99eSSimon Glass 404913d1be2SStefan Roeseconfig VIDEO_MVEBU 405913d1be2SStefan Roese bool "Armada XP LCD controller" 406913d1be2SStefan Roese default n 407913d1be2SStefan Roese ---help--- 408913d1be2SStefan Roese Support for the LCD controller integrated in the Marvell 409913d1be2SStefan Roese Armada XP SoC. 410913d1be2SStefan Roese 411244eaea6SAdam Fordconfig VIDEO_OMAP3 412244eaea6SAdam Ford bool "Enable OMAP3+ DSS Support" 413244eaea6SAdam Ford depends on ARCH_OMAP2PLUS 414244eaea6SAdam Ford help 415244eaea6SAdam Ford This enables the Display subsystem (DSS) on OMAP3+ boards. 416244eaea6SAdam Ford 4177588c312SAnatolij Gustschinconfig I2C_EDID 4187588c312SAnatolij Gustschin bool "Enable EDID library" 4197588c312SAnatolij Gustschin default n 4207588c312SAnatolij Gustschin help 4217588c312SAnatolij Gustschin This enables library for accessing EDID data from an LCD panel. 4227588c312SAnatolij Gustschin 4232dcf1433SSimon Glassconfig DISPLAY 4242dcf1433SSimon Glass bool "Enable Display support" 4252dcf1433SSimon Glass depends on DM 4267588c312SAnatolij Gustschin default n 4277588c312SAnatolij Gustschin select I2C_EDID 42851f2c99eSSimon Glass help 4292dcf1433SSimon Glass This supports drivers that provide a display, such as eDP (Embedded 4302dcf1433SSimon Glass DisplayPort) and HDMI (High Definition Multimedia Interface). 4312dcf1433SSimon Glass The devices provide a simple interface to start up the display, 4322dcf1433SSimon Glass read display information and enable it. 433e7e8823cSSimon Glass 4347927831eSSongjun Wuconfig ATMEL_HLCD 4357927831eSSongjun Wu bool "Enable ATMEL video support using HLCDC" 4367927831eSSongjun Wu depends on DM_VIDEO 4377927831eSSongjun Wu help 4387927831eSSongjun Wu HLCDC supports video output to an attached LCD panel. 4397927831eSSongjun Wu 44025a9f974SMario Sixconfig LOGICORE_DP_TX 44125a9f974SMario Six bool "Enable Logicore DP TX driver" 44225a9f974SMario Six depends on DISPLAY 44325a9f974SMario Six help 44425a9f974SMario Six Enable the driver for the transmitter part of the Xilinx LogiCORE 44525a9f974SMario Six DisplayPort, a IP core for Xilinx FPGAs that implements a DisplayPort 44625a9f974SMario Six video interface as defined by VESA DisplayPort v1.2. 44725a9f974SMario Six 44825a9f974SMario Six Note that this is a pure transmitter device, and has no display 44925a9f974SMario Six capabilities by itself. 45025a9f974SMario Six 45197cb0927SSimon Glassconfig VIDEO_BROADWELL_IGD 45297cb0927SSimon Glass bool "Enable Intel Broadwell integrated graphics device" 45397cb0927SSimon Glass depends on X86 45497cb0927SSimon Glass help 4551df91276SSimon Glass This enables support for integrated graphics on Intel broadwell 45697cb0927SSimon Glass devices. Initialisation is mostly performed by a VGA boot ROM, with 45797cb0927SSimon Glass some setup handled by U-Boot itself. The graphics adaptor works as 45897cb0927SSimon Glass a VESA device and supports LCD panels, eDP and LVDS outputs. 45997cb0927SSimon Glass Configuration of most aspects of device operation is performed using 46097cb0927SSimon Glass a special tool which configures the VGA ROM, but the graphics 46197cb0927SSimon Glass resolution can be selected in U-Boot. 46297cb0927SSimon Glass 4632c943804SSimon Glassconfig VIDEO_IVYBRIDGE_IGD 4642c943804SSimon Glass bool "Enable Intel Ivybridge integration graphics support" 4652c943804SSimon Glass depends on X86 4662c943804SSimon Glass help 4672c943804SSimon Glass This enables support for integrated graphics on Intel ivybridge 4682c943804SSimon Glass devices. Initialisation is mostly performed by a VGA boot ROM, with 4692c943804SSimon Glass some setup handled by U-Boot itself. The graphics adaptor works as 4702c943804SSimon Glass a VESA device and supports LCD panels, eDP and LVDS outputs. 4712c943804SSimon Glass Configuration of most aspects of device operation is performed using 4722c943804SSimon Glass a special tool which configures the VGA ROM, but the graphics 4732c943804SSimon Glass resolution can be selected in U-Boot. 4742c943804SSimon Glass 475b215fb3fSSanchayan Maityconfig VIDEO_FSL_DCU_FB 476b215fb3fSSanchayan Maity bool "Enable Freescale Display Control Unit" 477b215fb3fSSanchayan Maity depends on VIDEO 478b215fb3fSSanchayan Maity help 479b215fb3fSSanchayan Maity This enables support for Freescale Display Control Unit (DCU4) 480b215fb3fSSanchayan Maity module found on Freescale Vybrid and QorIQ family of SoCs. 481b215fb3fSSanchayan Maity 48277810e63SStefan Agnerconfig VIDEO_FSL_DCU_MAX_FB_SIZE_MB 48377810e63SStefan Agner int "Freescale DCU framebuffer size" 48477810e63SStefan Agner depends on VIDEO_FSL_DCU_FB 48577810e63SStefan Agner default 4194304 48677810e63SStefan Agner help 48777810e63SStefan Agner Set maximum framebuffer size to be used for Freescale Display 48877810e63SStefan Agner Controller Unit (DCU4). 48977810e63SStefan Agner 490b98f0a3dSeric.gao@rock-chips.comsource "drivers/video/rockchip/Kconfig" 491c2539483SSimon Glass 4921e69ad01SSimon Glassconfig VIDEO_SANDBOX_SDL 4931e69ad01SSimon Glass bool "Enable sandbox video console using SDL" 4941e69ad01SSimon Glass depends on SANDBOX 4951e69ad01SSimon Glass help 4961e69ad01SSimon Glass When using sandbox you can enable an emulated LCD display which 4971e69ad01SSimon Glass appears as an SDL (Simple DirectMedia Layer) window. This is a 4981e69ad01SSimon Glass console device and can display stdout output. Within U-Boot is is 4991e69ad01SSimon Glass a normal bitmap display and can display images as well as text. 5001e69ad01SSimon Glass 50172719d2fSPhilippe CORNUsource "drivers/video/stm32/Kconfig" 50272719d2fSPhilippe CORNU 503d2f90650SSimon Glassconfig VIDEO_TEGRA20 504d2f90650SSimon Glass bool "Enable LCD support on Tegra20" 50540d56a91SSimon Glass depends on OF_CONTROL 506d2f90650SSimon Glass help 507d2f90650SSimon Glass Tegra20 supports video output to an attached LCD panel as well as 508d2f90650SSimon Glass other options such as HDMI. Only the LCD is supported in U-Boot. 509d2f90650SSimon Glass This option enables this support which can be used on devices which 510d2f90650SSimon Glass have an LCD display connected. 511d2f90650SSimon Glass 512e7e8823cSSimon Glassconfig VIDEO_TEGRA124 513e7e8823cSSimon Glass bool "Enable video support on Tegra124" 514d7659212SSimon Glass depends on DM_VIDEO 515e7e8823cSSimon Glass help 516e7e8823cSSimon Glass Tegra124 supports many video output options including eDP and 517e7e8823cSSimon Glass HDMI. At present only eDP is supported by U-Boot. This option 518e7e8823cSSimon Glass enables this support which can be used on devices which 519e7e8823cSSimon Glass have an eDP display connected. 520801ab9e9SSimon Glass 521801ab9e9SSimon Glasssource "drivers/video/bridge/Kconfig" 5220b11dbf7SMasahiro Yamada 52327604b15SSimon Glassconfig VIDEO 52427604b15SSimon Glass bool "Enable legacy video support" 52527604b15SSimon Glass depends on !DM_VIDEO 52627604b15SSimon Glass help 52727604b15SSimon Glass Define this for video support, without using driver model. Some 52827604b15SSimon Glass drivers use this because they are not yet converted to driver 52927604b15SSimon Glass model. Video drivers typically provide a colour text console and 53027604b15SSimon Glass cursor. 53127604b15SSimon Glass 5327db7455bSJagan Tekiconfig VIDEO_IPUV3 5337db7455bSJagan Teki bool "i.MX IPUv3 Core video support" 5347db7455bSJagan Teki depends on VIDEO && MX6 5357db7455bSJagan Teki help 5367db7455bSJagan Teki This enables framebuffer driver for i.MX processors working 5377db7455bSJagan Teki on the IPUv3(Image Processing Unit) internal graphic processor. 5387db7455bSJagan Teki 539bdba2b3aSSimon Glassconfig CFB_CONSOLE 540bdba2b3aSSimon Glass bool "Enable colour frame buffer console" 541bdba2b3aSSimon Glass depends on VIDEO 542bdba2b3aSSimon Glass default y if VIDEO 543bdba2b3aSSimon Glass help 544bdba2b3aSSimon Glass Enables the colour frame buffer driver. This supports colour 545bdba2b3aSSimon Glass output on a bitmap display from an in-memory frame buffer. 546bdba2b3aSSimon Glass Several colour devices are supported along with various options to 547bdba2b3aSSimon Glass adjust the supported features. The driver is implemented in 548bdba2b3aSSimon Glass cfb_console.c 549bdba2b3aSSimon Glass 550bdba2b3aSSimon Glass The following defines are needed (cf. smiLynxEM, i8042) 551bdba2b3aSSimon Glass VIDEO_FB_LITTLE_ENDIAN graphic memory organisation 552bdba2b3aSSimon Glass (default big endian) 553bdba2b3aSSimon Glass VIDEO_HW_RECTFILL graphic chip supports 554bdba2b3aSSimon Glass rectangle fill (cf. smiLynxEM) 555bdba2b3aSSimon Glass VIDEO_HW_BITBLT graphic chip supports 556bdba2b3aSSimon Glass bit-blit (cf. smiLynxEM) 557bdba2b3aSSimon Glass VIDEO_VISIBLE_COLS visible pixel columns (cols=pitch) 558bdba2b3aSSimon Glass VIDEO_VISIBLE_ROWS visible pixel rows 559bdba2b3aSSimon Glass VIDEO_PIXEL_SIZE bytes per pixel 560bdba2b3aSSimon Glass VIDEO_DATA_FORMAT graphic data format 561bdba2b3aSSimon Glass (0-5, cf. cfb_console.c) 562bdba2b3aSSimon Glass VIDEO_FB_ADRS framebuffer address 563bdba2b3aSSimon Glass VIDEO_KBD_INIT_FCT keyboard int fct (i.e. rx51_kp_init()) 564bdba2b3aSSimon Glass VIDEO_TSTC_FCT test char fct (i.e. rx51_kp_tstc) 565bdba2b3aSSimon Glass VIDEO_GETC_FCT get char fct (i.e. rx51_kp_getc) 566bdba2b3aSSimon Glass CONFIG_VIDEO_LOGO display Linux logo in upper left corner 567bdba2b3aSSimon Glass CONFIG_VIDEO_BMP_LOGO use bmp_logo.h instead of linux_logo.h 568bdba2b3aSSimon Glass for logo. Requires CONFIG_VIDEO_LOGO 569bdba2b3aSSimon Glass CONFIG_CONSOLE_EXTRA_INFO 570bdba2b3aSSimon Glass additional board info beside 571bdba2b3aSSimon Glass the logo 572bdba2b3aSSimon Glass CONFIG_HIDE_LOGO_VERSION 573bdba2b3aSSimon Glass do not display bootloader 574bdba2b3aSSimon Glass version string 575bdba2b3aSSimon Glass 576bdba2b3aSSimon Glass When CONFIG_CFB_CONSOLE is defined, the video console is the 577bdba2b3aSSimon Glass default console. The serial console can be forced by setting the 578bdba2b3aSSimon Glass environment 'console=serial'. 579bdba2b3aSSimon Glass 580c6745195SSimon Glassconfig CFB_CONSOLE_ANSI 581c6745195SSimon Glass bool "Support ANSI escape sequences" 582c6745195SSimon Glass depends on CFB_CONSOLE 583c6745195SSimon Glass help 584c6745195SSimon Glass This allows the colour buffer frame buffer driver to support 585c6745195SSimon Glass a limited number of ANSI escape sequences (cursor control, 586c6745195SSimon Glass erase functions and limited graphics rendition control). Normal 587c6745195SSimon Glass output from U-Boot will pass through this filter. 588c6745195SSimon Glass 5891e1a0fb2SSimon Glassconfig VGA_AS_SINGLE_DEVICE 5901e1a0fb2SSimon Glass bool "Set the video as an output-only device" 5911e1a0fb2SSimon Glass depends on CFB_CONSOLE 5921e1a0fb2SSimon Glass default y 5931e1a0fb2SSimon Glass help 5941e1a0fb2SSimon Glass If enable the framebuffer device will be initialized as an 5951e1a0fb2SSimon Glass output-only device. The Keyboard driver will not be set up. This 5961e1a0fb2SSimon Glass may be used if you have no keyboard device, or more than one 5971e1a0fb2SSimon Glass (USB Keyboard, AT Keyboard). 5981e1a0fb2SSimon Glass 5990872d443SSimon Glassconfig VIDEO_SW_CURSOR 6000872d443SSimon Glass bool "Enable a software cursor" 6010872d443SSimon Glass depends on CFB_CONSOLE 6020872d443SSimon Glass default y if CFB_CONSOLE 6030872d443SSimon Glass help 6040872d443SSimon Glass This draws a cursor after the last character. No blinking is 6050872d443SSimon Glass provided. This makes it possible to see the current cursor 6060872d443SSimon Glass position when entering text on the console. It is recommended to 6070872d443SSimon Glass enable this. 6080872d443SSimon Glass 609fbda6832SSimon Glassconfig CONSOLE_EXTRA_INFO 610fbda6832SSimon Glass bool "Display additional board information" 611fbda6832SSimon Glass depends on CFB_CONSOLE 612fbda6832SSimon Glass help 613fbda6832SSimon Glass Display additional board information strings that normally go to 614fbda6832SSimon Glass the serial port. When this option is enabled, a board-specific 615fbda6832SSimon Glass function video_get_info_str() is called to get the string for 616fbda6832SSimon Glass each line of the display. The function should return the string, 617fbda6832SSimon Glass which can be empty if there is nothing to display for that line. 618fbda6832SSimon Glass 619b87ca80bSSimon Glassconfig CONSOLE_SCROLL_LINES 620b87ca80bSSimon Glass int "Number of lines to scroll the console by" 621b87ca80bSSimon Glass depends on CFB_CONSOLE || DM_VIDEO || LCD 622b87ca80bSSimon Glass default 1 623b87ca80bSSimon Glass help 624b87ca80bSSimon Glass When the console need to be scrolled, this is the number of 625b87ca80bSSimon Glass lines to scroll by. It defaults to 1. Increasing this makes the 626b87ca80bSSimon Glass console jump but can help speed up operation when scrolling 627b87ca80bSSimon Glass is slow. 628b87ca80bSSimon Glass 629002f967cSSimon Glassconfig SYS_CONSOLE_BG_COL 630002f967cSSimon Glass hex "Background colour" 631c674e00bSBin Meng depends on CFB_CONSOLE 632002f967cSSimon Glass default 0x00 633002f967cSSimon Glass help 634002f967cSSimon Glass Defines the background colour for the console. The value is from 635002f967cSSimon Glass 0x00 to 0xff and the meaning depends on the graphics card. 636002f967cSSimon Glass Typically, 0x00 means black and 0xff means white. Do not set 637002f967cSSimon Glass the background and foreground to the same colour or you will see 638002f967cSSimon Glass nothing. 639002f967cSSimon Glass 640002f967cSSimon Glassconfig SYS_CONSOLE_FG_COL 641002f967cSSimon Glass hex "Foreground colour" 642c674e00bSBin Meng depends on CFB_CONSOLE 643002f967cSSimon Glass default 0xa0 644002f967cSSimon Glass help 645002f967cSSimon Glass Defines the foreground colour for the console. The value is from 646002f967cSSimon Glass 0x00 to 0xff and the meaning depends on the graphics card. 647002f967cSSimon Glass Typically, 0x00 means black and 0xff means white. Do not set 648002f967cSSimon Glass the background and foreground to the same colour or you will see 649002f967cSSimon Glass nothing. 650002f967cSSimon Glass 651f8b19a88SSimon Glassconfig LCD 652f8b19a88SSimon Glass bool "Enable legacy LCD support" 653f8b19a88SSimon Glass help 654f8b19a88SSimon Glass Define this to enable LCD support (for output to LCD display). 655f8b19a88SSimon Glass You will also need to select an LCD driver using an additional 656f8b19a88SSimon Glass CONFIG option. See the README for details. Drives which have been 657f8b19a88SSimon Glass converted to driver model will instead used CONFIG_DM_VIDEO. 658f8b19a88SSimon Glass 6598517f64fSPhilipp Tomsichconfig VIDEO_DW_HDMI 6608517f64fSPhilipp Tomsich bool 6618517f64fSPhilipp Tomsich help 6628517f64fSPhilipp Tomsich Enables the common driver code for the Designware HDMI TX 6638517f64fSPhilipp Tomsich block found in SoCs from various vendors. 6648517f64fSPhilipp Tomsich As this does not provide any functionality by itself (but 6658517f64fSPhilipp Tomsich rather requires a SoC-specific glue driver to call it), it 6668517f64fSPhilipp Tomsich can not be enabled from the configuration menu. 6678517f64fSPhilipp Tomsich 668971d7e64SRob Clarkconfig VIDEO_SIMPLE 669971d7e64SRob Clark bool "Simple display driver for preconfigured display" 670971d7e64SRob Clark help 671971d7e64SRob Clark Enables a simple generic display driver which utilizes the 672971d7e64SRob Clark simple-framebuffer devicetree bindings. 673971d7e64SRob Clark 674971d7e64SRob Clark This driver assumes that the display hardware has been initialized 675971d7e64SRob Clark before u-boot starts, and u-boot will simply render to the pre- 676971d7e64SRob Clark allocated frame buffer surface. 677971d7e64SRob Clark 678f6bdddc9SIcenowy Zhengconfig VIDEO_DT_SIMPLEFB 679f6bdddc9SIcenowy Zheng bool "Enable SimpleFB support for passing framebuffer to OS" 680f6bdddc9SIcenowy Zheng help 681f6bdddc9SIcenowy Zheng Enables the code to pass the framebuffer to the kernel as a 682f6bdddc9SIcenowy Zheng simple framebuffer in the device tree. 683f6bdddc9SIcenowy Zheng The video output is initialized by U-Boot, and kept by the 684f6bdddc9SIcenowy Zheng kernel. 685f6bdddc9SIcenowy Zheng 686*39a336f1SMario Sixconfig OSD 687*39a336f1SMario Six bool "Enable OSD support" 688*39a336f1SMario Six depends on DM 689*39a336f1SMario Six default n 690*39a336f1SMario Six help 691*39a336f1SMario Six This supports drivers that provide a OSD (on-screen display), which 692*39a336f1SMario Six is a (usually text-oriented) graphics buffer to show information on 693*39a336f1SMario Six a display. 6940b11dbf7SMasahiro Yamadaendmenu 695