Masahiro Yamada | 0b11dbf | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 1 | # |
| 2 | # Video configuration |
| 3 | # |
| 4 | |
| 5 | menu "Graphics support" |
| 6 | |
Simon Glass | 1acafc7 | 2016-01-18 19:52:15 -0700 | [diff] [blame] | 7 | config DM_VIDEO |
| 8 | bool "Enable driver model support for LCD/video" |
| 9 | depends on DM |
| 10 | help |
| 11 | This enables driver model for LCD and video devices. These support |
| 12 | a bitmap display of various sizes and depths which can be drawn on |
| 13 | to display a command-line console or splash screen. Enabling this |
| 14 | option compiles in the video uclass and routes all LCD/video access |
| 15 | through this. |
| 16 | |
Patrick Delaunay | 08a43cf | 2017-08-03 12:36:06 +0200 | [diff] [blame] | 17 | config BACKLIGHT_PWM |
| 18 | bool "Generic PWM based Backlight Driver" |
| 19 | depends on DM_VIDEO && DM_PWM |
| 20 | default y |
| 21 | help |
| 22 | If you have a LCD backlight adjustable by PWM, say Y to enable |
| 23 | this driver. |
| 24 | This driver can be use with "simple-panel" and |
| 25 | it understands the standard device tree |
| 26 | (leds/backlight/pwm-backlight.txt) |
| 27 | |
Patrick Delaunay | 5b6a6a9 | 2017-08-03 12:36:07 +0200 | [diff] [blame] | 28 | config BACKLIGHT_GPIO |
| 29 | bool "Generic GPIO based Backlight Driver" |
| 30 | depends on DM_VIDEO |
| 31 | help |
| 32 | If you have a LCD backlight adjustable by GPIO, say Y to enable |
| 33 | this driver. |
| 34 | This driver can be used with "simple-panel" and |
| 35 | it understands the standard device tree |
| 36 | (leds/backlight/gpio-backlight.txt) |
| 37 | |
Simon Glass | 1acafc7 | 2016-01-18 19:52:15 -0700 | [diff] [blame] | 38 | config VIDEO_BPP8 |
| 39 | bool "Support 8-bit-per-pixel displays" |
| 40 | depends on DM_VIDEO |
| 41 | default y if DM_VIDEO |
| 42 | help |
| 43 | Support drawing text and bitmaps onto a 8-bit-per-pixel display. |
| 44 | Enabling this will include code to support this display. Without |
| 45 | this option, such displays will not be supported and console output |
| 46 | will be empty. |
| 47 | |
| 48 | config VIDEO_BPP16 |
| 49 | bool "Support 16-bit-per-pixel displays" |
| 50 | depends on DM_VIDEO |
| 51 | default y if DM_VIDEO |
| 52 | help |
| 53 | Support drawing text and bitmaps onto a 16-bit-per-pixel display. |
| 54 | Enabling this will include code to support this display. Without |
| 55 | this option, such displays will not be supported and console output |
| 56 | will be empty. |
| 57 | |
| 58 | config VIDEO_BPP32 |
| 59 | bool "Support 32-bit-per-pixel displays" |
| 60 | depends on DM_VIDEO |
| 61 | default y if DM_VIDEO |
| 62 | help |
| 63 | Support drawing text and bitmaps onto a 32-bit-per-pixel display. |
| 64 | Enabling this will include code to support this display. Without |
| 65 | this option, such displays will not be supported and console output |
| 66 | will be empty. |
| 67 | |
Rob Clark | a085aa1 | 2017-09-13 18:12:21 -0400 | [diff] [blame] | 68 | config VIDEO_ANSI |
| 69 | bool "Support ANSI escape sequences in video console" |
| 70 | depends on DM_VIDEO |
| 71 | default y if DM_VIDEO |
| 72 | help |
| 73 | Enable ANSI escape sequence decoding for a more fully functional |
| 74 | console. |
| 75 | |
Simon Glass | 6e42e25 | 2016-01-22 21:53:37 +0100 | [diff] [blame] | 76 | config CONSOLE_NORMAL |
| 77 | bool "Support a simple text console" |
| 78 | depends on DM_VIDEO |
| 79 | default y if DM_VIDEO |
| 80 | help |
| 81 | Support drawing text on the frame buffer console so that it can be |
| 82 | used as a console. Rotation is not supported by this driver (see |
| 83 | CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used |
| 84 | for the display. |
| 85 | |
| 86 | config CONSOLE_ROTATION |
Simon Glass | b5146b2 | 2016-01-18 19:52:19 -0700 | [diff] [blame] | 87 | bool "Support rotated displays" |
| 88 | depends on DM_VIDEO |
| 89 | help |
| 90 | Sometimes, for example if the display is mounted in portrait |
| 91 | mode or even if it's mounted landscape but rotated by 180degree, |
| 92 | we need to rotate our content of the display relative to the |
| 93 | framebuffer, so that user can read the messages which are |
| 94 | printed out. Enable this option to include a text driver which can |
| 95 | support this. The rotation is set by the 'rot' parameter in |
| 96 | struct video_priv: 0=unrotated, 1=90 degrees clockwise, 2=180 |
| 97 | degrees, 3=270 degrees. |
| 98 | |
Simon Glass | a29b012 | 2016-01-14 18:10:42 -0700 | [diff] [blame] | 99 | config CONSOLE_TRUETYPE |
| 100 | bool "Support a console that uses TrueType fonts" |
| 101 | depends on DM_VIDEO |
| 102 | help |
| 103 | TrueTrype fonts can provide outline-drawing capability rather than |
| 104 | needing to provide a bitmap for each font and size that is needed. |
| 105 | With this option you can adjust the text size and use a variety of |
| 106 | fonts. Note that this is noticeably slower than with normal console. |
| 107 | |
| 108 | config CONSOLE_TRUETYPE_SIZE |
| 109 | int "TrueType font size" |
| 110 | depends on CONSOLE_TRUETYPE |
| 111 | default 18 |
| 112 | help |
| 113 | This sets the font size for the console. The size is measured in |
| 114 | pixels and is the nominal height of a character. Note that fonts |
| 115 | are commonly measured in 'points', being 1/72 inch (about 3.52mm). |
| 116 | However that measurement depends on the size of your display and |
| 117 | there is no standard display density. At present there is not a |
| 118 | method to select the display's physical size, which would allow |
| 119 | U-Boot to calculate the correct font size. |
| 120 | |
Simon Glass | 983b103 | 2017-04-26 22:27:57 -0600 | [diff] [blame] | 121 | config SYS_WHITE_ON_BLACK |
| 122 | bool "Display console as white on a black background" |
Andre Przywara | 7b64a70 | 2019-03-23 01:30:02 +0000 | [diff] [blame^] | 123 | default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || TEGRA || X86 || ARCH_SUNXI |
Simon Glass | 983b103 | 2017-04-26 22:27:57 -0600 | [diff] [blame] | 124 | help |
| 125 | Normally the display is black on a white background, Enable this |
| 126 | option to invert this, i.e. white on a black background. This can be |
| 127 | better in low-light situations or to reduce eye strain in some |
| 128 | cases. |
| 129 | |
Rob Clark | 8ef0535 | 2017-08-03 12:47:01 -0400 | [diff] [blame] | 130 | config NO_FB_CLEAR |
| 131 | bool "Skip framebuffer clear" |
| 132 | help |
| 133 | If firmware (whatever loads u-boot) has already put a splash image |
| 134 | on screen, you might want to preserve it until whatever u-boot |
| 135 | loads takes over the screen. This, for example, can be used to |
| 136 | keep splash image on screen until grub graphical boot menu starts. |
| 137 | |
Simon Glass | a29b012 | 2016-01-14 18:10:42 -0700 | [diff] [blame] | 138 | source "drivers/video/fonts/Kconfig" |
| 139 | |
Simon Glass | a2931b3 | 2016-02-06 14:31:37 -0700 | [diff] [blame] | 140 | config VIDCONSOLE_AS_LCD |
| 141 | bool "Use 'vidconsole' when 'lcd' is seen in stdout" |
| 142 | depends on DM_VIDEO |
| 143 | help |
| 144 | This is a work-around for boards which have 'lcd' in their stdout |
| 145 | environment variable, but have moved to use driver model for video. |
| 146 | In this case the console will no-longer work. While it is possible |
| 147 | to update the environment, the breakage may be confusing for users. |
| 148 | This option will be removed around the end of 2016. |
| 149 | |
Bin Meng | 13b2bfc | 2016-10-09 04:14:16 -0700 | [diff] [blame] | 150 | config VIDEO_COREBOOT |
| 151 | bool "Enable coreboot framebuffer driver support" |
| 152 | depends on X86 && SYS_COREBOOT |
| 153 | help |
| 154 | Turn on this option to enable a framebuffer driver when U-Boot is |
| 155 | loaded by coreboot where the graphics device is configured by |
| 156 | coreboot already. This can in principle be used with any platform |
| 157 | that coreboot supports. |
| 158 | |
Bin Meng | 4a08c74 | 2018-06-12 08:36:22 -0700 | [diff] [blame] | 159 | config VIDEO_EFI |
| 160 | bool "Enable EFI framebuffer driver support" |
| 161 | depends on EFI_STUB |
| 162 | help |
| 163 | Turn on this option to enable a framebuffeer driver when U-Boot is |
| 164 | loaded as a payload (see README.u-boot_on_efi) by an EFI BIOS where |
| 165 | the graphics device is configured by the EFI BIOS already. This can |
| 166 | in principle be used with any platform that has an EFI BIOS. |
| 167 | |
Simon Glass | 6b1ba98 | 2014-12-29 19:32:28 -0700 | [diff] [blame] | 168 | config VIDEO_VESA |
| 169 | bool "Enable VESA video driver support" |
Simon Glass | 6b1ba98 | 2014-12-29 19:32:28 -0700 | [diff] [blame] | 170 | default n |
| 171 | help |
| 172 | Turn on this option to enable a very simple driver which uses vesa |
| 173 | to discover the video mode and then provides a frame buffer for use |
| 174 | by U-Boot. This can in principle be used with any platform that |
| 175 | supports PCI and video cards that support VESA BIOS Extension (VBE). |
| 176 | |
Bin Meng | 6bde2dc | 2015-05-11 07:36:29 +0800 | [diff] [blame] | 177 | config FRAMEBUFFER_SET_VESA_MODE |
| 178 | bool "Set framebuffer graphics resolution" |
Simon Glass | 97cb092 | 2016-03-11 22:07:30 -0700 | [diff] [blame] | 179 | depends on VIDEO_VESA || VIDEO_BROADWELL_IGD |
Bin Meng | 6bde2dc | 2015-05-11 07:36:29 +0800 | [diff] [blame] | 180 | help |
| 181 | Set VESA/native framebuffer mode (needed for bootsplash and graphical |
| 182 | framebuffer console) |
| 183 | |
| 184 | choice |
| 185 | prompt "framebuffer graphics resolution" |
Bin Meng | 17b07d7 | 2018-04-11 22:02:16 -0700 | [diff] [blame] | 186 | default FRAMEBUFFER_VESA_MODE_118 |
Bin Meng | 6bde2dc | 2015-05-11 07:36:29 +0800 | [diff] [blame] | 187 | depends on FRAMEBUFFER_SET_VESA_MODE |
| 188 | help |
| 189 | This option sets the resolution used for the U-Boot framebuffer (and |
| 190 | bootsplash screen). |
| 191 | |
| 192 | config FRAMEBUFFER_VESA_MODE_100 |
| 193 | bool "640x400 256-color" |
| 194 | |
| 195 | config FRAMEBUFFER_VESA_MODE_101 |
| 196 | bool "640x480 256-color" |
| 197 | |
| 198 | config FRAMEBUFFER_VESA_MODE_102 |
| 199 | bool "800x600 16-color" |
| 200 | |
| 201 | config FRAMEBUFFER_VESA_MODE_103 |
| 202 | bool "800x600 256-color" |
| 203 | |
| 204 | config FRAMEBUFFER_VESA_MODE_104 |
| 205 | bool "1024x768 16-color" |
| 206 | |
| 207 | config FRAMEBUFFER_VESA_MODE_105 |
Bin Meng | 57dccb5 | 2015-08-09 23:26:59 -0700 | [diff] [blame] | 208 | bool "1024x768 256-color" |
Bin Meng | 6bde2dc | 2015-05-11 07:36:29 +0800 | [diff] [blame] | 209 | |
| 210 | config FRAMEBUFFER_VESA_MODE_106 |
| 211 | bool "1280x1024 16-color" |
| 212 | |
| 213 | config FRAMEBUFFER_VESA_MODE_107 |
| 214 | bool "1280x1024 256-color" |
| 215 | |
| 216 | config FRAMEBUFFER_VESA_MODE_108 |
| 217 | bool "80x60 text" |
| 218 | |
| 219 | config FRAMEBUFFER_VESA_MODE_109 |
| 220 | bool "132x25 text" |
| 221 | |
| 222 | config FRAMEBUFFER_VESA_MODE_10A |
| 223 | bool "132x43 text" |
| 224 | |
| 225 | config FRAMEBUFFER_VESA_MODE_10B |
| 226 | bool "132x50 text" |
| 227 | |
| 228 | config FRAMEBUFFER_VESA_MODE_10C |
| 229 | bool "132x60 text" |
| 230 | |
| 231 | config FRAMEBUFFER_VESA_MODE_10D |
| 232 | bool "320x200 32k-color (1:5:5:5)" |
| 233 | |
| 234 | config FRAMEBUFFER_VESA_MODE_10E |
| 235 | bool "320x200 64k-color (5:6:5)" |
| 236 | |
| 237 | config FRAMEBUFFER_VESA_MODE_10F |
| 238 | bool "320x200 16.8M-color (8:8:8)" |
| 239 | |
| 240 | config FRAMEBUFFER_VESA_MODE_110 |
| 241 | bool "640x480 32k-color (1:5:5:5)" |
| 242 | |
| 243 | config FRAMEBUFFER_VESA_MODE_111 |
| 244 | bool "640x480 64k-color (5:6:5)" |
| 245 | |
| 246 | config FRAMEBUFFER_VESA_MODE_112 |
| 247 | bool "640x480 16.8M-color (8:8:8)" |
| 248 | |
| 249 | config FRAMEBUFFER_VESA_MODE_113 |
| 250 | bool "800x600 32k-color (1:5:5:5)" |
| 251 | |
| 252 | config FRAMEBUFFER_VESA_MODE_114 |
| 253 | bool "800x600 64k-color (5:6:5)" |
| 254 | |
| 255 | config FRAMEBUFFER_VESA_MODE_115 |
| 256 | bool "800x600 16.8M-color (8:8:8)" |
| 257 | |
| 258 | config FRAMEBUFFER_VESA_MODE_116 |
| 259 | bool "1024x768 32k-color (1:5:5:5)" |
| 260 | |
| 261 | config FRAMEBUFFER_VESA_MODE_117 |
| 262 | bool "1024x768 64k-color (5:6:5)" |
| 263 | |
| 264 | config FRAMEBUFFER_VESA_MODE_118 |
| 265 | bool "1024x768 16.8M-color (8:8:8)" |
| 266 | |
| 267 | config FRAMEBUFFER_VESA_MODE_119 |
| 268 | bool "1280x1024 32k-color (1:5:5:5)" |
| 269 | |
| 270 | config FRAMEBUFFER_VESA_MODE_11A |
| 271 | bool "1280x1024 64k-color (5:6:5)" |
| 272 | |
| 273 | config FRAMEBUFFER_VESA_MODE_11B |
| 274 | bool "1280x1024 16.8M-color (8:8:8)" |
| 275 | |
| 276 | config FRAMEBUFFER_VESA_MODE_USER |
| 277 | bool "Manually select VESA mode" |
| 278 | |
| 279 | endchoice |
| 280 | |
| 281 | # Map the config names to an integer (KB). |
| 282 | config FRAMEBUFFER_VESA_MODE |
| 283 | prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER |
| 284 | hex |
| 285 | default 0x100 if FRAMEBUFFER_VESA_MODE_100 |
| 286 | default 0x101 if FRAMEBUFFER_VESA_MODE_101 |
| 287 | default 0x102 if FRAMEBUFFER_VESA_MODE_102 |
| 288 | default 0x103 if FRAMEBUFFER_VESA_MODE_103 |
| 289 | default 0x104 if FRAMEBUFFER_VESA_MODE_104 |
| 290 | default 0x105 if FRAMEBUFFER_VESA_MODE_105 |
| 291 | default 0x106 if FRAMEBUFFER_VESA_MODE_106 |
| 292 | default 0x107 if FRAMEBUFFER_VESA_MODE_107 |
| 293 | default 0x108 if FRAMEBUFFER_VESA_MODE_108 |
| 294 | default 0x109 if FRAMEBUFFER_VESA_MODE_109 |
| 295 | default 0x10A if FRAMEBUFFER_VESA_MODE_10A |
| 296 | default 0x10B if FRAMEBUFFER_VESA_MODE_10B |
| 297 | default 0x10C if FRAMEBUFFER_VESA_MODE_10C |
| 298 | default 0x10D if FRAMEBUFFER_VESA_MODE_10D |
| 299 | default 0x10E if FRAMEBUFFER_VESA_MODE_10E |
| 300 | default 0x10F if FRAMEBUFFER_VESA_MODE_10F |
| 301 | default 0x110 if FRAMEBUFFER_VESA_MODE_110 |
| 302 | default 0x111 if FRAMEBUFFER_VESA_MODE_111 |
| 303 | default 0x112 if FRAMEBUFFER_VESA_MODE_112 |
| 304 | default 0x113 if FRAMEBUFFER_VESA_MODE_113 |
| 305 | default 0x114 if FRAMEBUFFER_VESA_MODE_114 |
| 306 | default 0x115 if FRAMEBUFFER_VESA_MODE_115 |
| 307 | default 0x116 if FRAMEBUFFER_VESA_MODE_116 |
| 308 | default 0x117 if FRAMEBUFFER_VESA_MODE_117 |
| 309 | default 0x118 if FRAMEBUFFER_VESA_MODE_118 |
| 310 | default 0x119 if FRAMEBUFFER_VESA_MODE_119 |
| 311 | default 0x11A if FRAMEBUFFER_VESA_MODE_11A |
| 312 | default 0x11B if FRAMEBUFFER_VESA_MODE_11B |
| 313 | default 0x117 if FRAMEBUFFER_VESA_MODE_USER |
| 314 | |
Hans de Goede | 66525bb | 2015-08-08 16:03:29 +0200 | [diff] [blame] | 315 | config VIDEO_LCD_ANX9804 |
| 316 | bool "ANX9804 bridge chip" |
| 317 | default n |
| 318 | ---help--- |
| 319 | Support for the ANX9804 bridge chip, which can take pixel data coming |
| 320 | from a parallel LCD interface and translate it on the fy into a DP |
| 321 | interface for driving eDP TFT displays. It uses I2C for configuration. |
| 322 | |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 323 | config VIDEO_LCD_SSD2828 |
| 324 | bool "SSD2828 bridge chip" |
| 325 | default n |
| 326 | ---help--- |
| 327 | Support for the SSD2828 bridge chip, which can take pixel data coming |
| 328 | from a parallel LCD interface and translate it on the fly into MIPI DSI |
| 329 | interface for driving a MIPI compatible LCD panel. It uses SPI for |
| 330 | configuration. |
| 331 | |
| 332 | config VIDEO_LCD_SSD2828_TX_CLK |
| 333 | int "SSD2828 TX_CLK frequency (in MHz)" |
| 334 | depends on VIDEO_LCD_SSD2828 |
Siarhei Siamashka | dddccd6 | 2015-01-19 05:23:35 +0200 | [diff] [blame] | 335 | default 0 |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 336 | ---help--- |
| 337 | The frequency of the crystal, which is clocking SSD2828. It may be |
| 338 | anything in the 8MHz-30MHz range and the exact value should be |
| 339 | retrieved from the board schematics. Or in the case of Allwinner |
| 340 | hardware, it can be usually found as 'lcd_xtal_freq' variable in |
Siarhei Siamashka | dddccd6 | 2015-01-19 05:23:35 +0200 | [diff] [blame] | 341 | FEX files. It can be also set to 0 for selecting PCLK from the |
| 342 | parallel LCD interface instead of TX_CLK as the PLL clock source. |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 343 | |
| 344 | config VIDEO_LCD_SSD2828_RESET |
| 345 | string "RESET pin of SSD2828" |
| 346 | depends on VIDEO_LCD_SSD2828 |
| 347 | default "" |
| 348 | ---help--- |
| 349 | The reset pin of SSD2828 chip. This takes a string in the format |
| 350 | understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H. |
| 351 | |
Hans de Goede | a5464f2 | 2015-01-20 09:22:26 +0100 | [diff] [blame] | 352 | config VIDEO_LCD_HITACHI_TX18D42VM |
| 353 | bool "Hitachi tx18d42vm LVDS LCD panel support" |
| 354 | depends on VIDEO |
| 355 | default n |
| 356 | ---help--- |
| 357 | Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a |
| 358 | lcd controller which needs to be initialized over SPI, once that is |
| 359 | done they work like a regular LVDS panel. |
| 360 | |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 361 | config VIDEO_LCD_SPI_CS |
| 362 | string "SPI CS pin for LCD related config job" |
Hans de Goede | a5464f2 | 2015-01-20 09:22:26 +0100 | [diff] [blame] | 363 | depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 364 | default "" |
| 365 | ---help--- |
| 366 | This is one of the SPI communication pins, involved in setting up a |
| 367 | working LCD configuration. The exact role of SPI may differ for |
| 368 | different hardware setups. The option takes a string in the format |
| 369 | understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H. |
| 370 | |
| 371 | config VIDEO_LCD_SPI_SCLK |
| 372 | string "SPI SCLK pin for LCD related config job" |
Hans de Goede | a5464f2 | 2015-01-20 09:22:26 +0100 | [diff] [blame] | 373 | depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 374 | default "" |
| 375 | ---help--- |
| 376 | This is one of the SPI communication pins, involved in setting up a |
| 377 | working LCD configuration. The exact role of SPI may differ for |
| 378 | different hardware setups. The option takes a string in the format |
| 379 | understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H. |
| 380 | |
| 381 | config VIDEO_LCD_SPI_MOSI |
| 382 | string "SPI MOSI pin for LCD related config job" |
Hans de Goede | a5464f2 | 2015-01-20 09:22:26 +0100 | [diff] [blame] | 383 | depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 384 | default "" |
| 385 | ---help--- |
| 386 | This is one of the SPI communication pins, involved in setting up a |
| 387 | working LCD configuration. The exact role of SPI may differ for |
| 388 | different hardware setups. The option takes a string in the format |
| 389 | understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H. |
| 390 | |
| 391 | config VIDEO_LCD_SPI_MISO |
| 392 | string "SPI MISO pin for LCD related config job (optional)" |
| 393 | depends on VIDEO_LCD_SSD2828 |
| 394 | default "" |
| 395 | ---help--- |
| 396 | This is one of the SPI communication pins, involved in setting up a |
| 397 | working LCD configuration. The exact role of SPI may differ for |
| 398 | different hardware setups. If wired up, this pin may provide additional |
| 399 | useful functionality. Such as bi-directional communication with the |
| 400 | hardware and LCD panel id retrieval (if the panel can report it). The |
| 401 | option takes a string in the format understood by 'name_to_gpio' |
| 402 | function, e.g. PH1 for pin 1 of port H. |
Simon Glass | 51f2c99 | 2015-04-14 21:03:38 -0600 | [diff] [blame] | 403 | |
Neil Armstrong | 3bed422 | 2018-07-24 17:45:28 +0200 | [diff] [blame] | 404 | source "drivers/video/meson/Kconfig" |
| 405 | |
Stefan Roese | 913d1be | 2016-01-20 08:13:28 +0100 | [diff] [blame] | 406 | config VIDEO_MVEBU |
| 407 | bool "Armada XP LCD controller" |
| 408 | default n |
| 409 | ---help--- |
| 410 | Support for the LCD controller integrated in the Marvell |
| 411 | Armada XP SoC. |
| 412 | |
Adam Ford | 244eaea | 2018-08-02 08:50:20 -0500 | [diff] [blame] | 413 | config VIDEO_OMAP3 |
| 414 | bool "Enable OMAP3+ DSS Support" |
| 415 | depends on ARCH_OMAP2PLUS |
| 416 | help |
| 417 | This enables the Display subsystem (DSS) on OMAP3+ boards. |
| 418 | |
Anatolij Gustschin | 7588c31 | 2016-01-25 17:17:22 +0100 | [diff] [blame] | 419 | config I2C_EDID |
| 420 | bool "Enable EDID library" |
Anatolij Gustschin | 7588c31 | 2016-01-25 17:17:22 +0100 | [diff] [blame] | 421 | default n |
| 422 | help |
| 423 | This enables library for accessing EDID data from an LCD panel. |
| 424 | |
Simon Glass | 2dcf143 | 2016-01-21 19:45:00 -0700 | [diff] [blame] | 425 | config DISPLAY |
| 426 | bool "Enable Display support" |
| 427 | depends on DM |
Anatolij Gustschin | 7588c31 | 2016-01-25 17:17:22 +0100 | [diff] [blame] | 428 | default n |
| 429 | select I2C_EDID |
Simon Glass | 51f2c99 | 2015-04-14 21:03:38 -0600 | [diff] [blame] | 430 | help |
Simon Glass | 2dcf143 | 2016-01-21 19:45:00 -0700 | [diff] [blame] | 431 | This supports drivers that provide a display, such as eDP (Embedded |
| 432 | DisplayPort) and HDMI (High Definition Multimedia Interface). |
| 433 | The devices provide a simple interface to start up the display, |
| 434 | read display information and enable it. |
Simon Glass | e7e8823 | 2015-04-14 21:03:42 -0600 | [diff] [blame] | 435 | |
Liviu Dudau | 055da18 | 2018-09-28 13:49:31 +0100 | [diff] [blame] | 436 | config NXP_TDA19988 |
| 437 | bool "Enable NXP TDA19988 support" |
| 438 | depends on DISPLAY |
| 439 | default n |
| 440 | help |
| 441 | This enables support for the NXP TDA19988 HDMI encoder. This encoder |
| 442 | will convert RGB data streams into HDMI-encoded signals. |
| 443 | |
Songjun Wu | 7927831 | 2017-04-11 16:33:30 +0800 | [diff] [blame] | 444 | config ATMEL_HLCD |
| 445 | bool "Enable ATMEL video support using HLCDC" |
| 446 | depends on DM_VIDEO |
| 447 | help |
| 448 | HLCDC supports video output to an attached LCD panel. |
| 449 | |
Mario Six | 25a9f97 | 2018-08-09 14:51:23 +0200 | [diff] [blame] | 450 | config LOGICORE_DP_TX |
| 451 | bool "Enable Logicore DP TX driver" |
| 452 | depends on DISPLAY |
| 453 | help |
| 454 | Enable the driver for the transmitter part of the Xilinx LogiCORE |
| 455 | DisplayPort, a IP core for Xilinx FPGAs that implements a DisplayPort |
| 456 | video interface as defined by VESA DisplayPort v1.2. |
| 457 | |
| 458 | Note that this is a pure transmitter device, and has no display |
| 459 | capabilities by itself. |
| 460 | |
Simon Glass | 97cb092 | 2016-03-11 22:07:30 -0700 | [diff] [blame] | 461 | config VIDEO_BROADWELL_IGD |
| 462 | bool "Enable Intel Broadwell integrated graphics device" |
| 463 | depends on X86 |
| 464 | help |
Simon Glass | 1df9127 | 2016-10-05 20:42:14 -0600 | [diff] [blame] | 465 | This enables support for integrated graphics on Intel broadwell |
Simon Glass | 97cb092 | 2016-03-11 22:07:30 -0700 | [diff] [blame] | 466 | devices. Initialisation is mostly performed by a VGA boot ROM, with |
| 467 | some setup handled by U-Boot itself. The graphics adaptor works as |
| 468 | a VESA device and supports LCD panels, eDP and LVDS outputs. |
| 469 | Configuration of most aspects of device operation is performed using |
| 470 | a special tool which configures the VGA ROM, but the graphics |
| 471 | resolution can be selected in U-Boot. |
| 472 | |
Simon Glass | 2c94380 | 2016-10-05 20:42:15 -0600 | [diff] [blame] | 473 | config VIDEO_IVYBRIDGE_IGD |
| 474 | bool "Enable Intel Ivybridge integration graphics support" |
| 475 | depends on X86 |
| 476 | help |
| 477 | This enables support for integrated graphics on Intel ivybridge |
| 478 | devices. Initialisation is mostly performed by a VGA boot ROM, with |
| 479 | some setup handled by U-Boot itself. The graphics adaptor works as |
| 480 | a VESA device and supports LCD panels, eDP and LVDS outputs. |
| 481 | Configuration of most aspects of device operation is performed using |
| 482 | a special tool which configures the VGA ROM, but the graphics |
| 483 | resolution can be selected in U-Boot. |
| 484 | |
Sanchayan Maity | b215fb3 | 2017-04-11 11:12:09 +0530 | [diff] [blame] | 485 | config VIDEO_FSL_DCU_FB |
| 486 | bool "Enable Freescale Display Control Unit" |
| 487 | depends on VIDEO |
| 488 | help |
| 489 | This enables support for Freescale Display Control Unit (DCU4) |
| 490 | module found on Freescale Vybrid and QorIQ family of SoCs. |
| 491 | |
Stefan Agner | 77810e6 | 2017-04-11 11:12:10 +0530 | [diff] [blame] | 492 | config VIDEO_FSL_DCU_MAX_FB_SIZE_MB |
| 493 | int "Freescale DCU framebuffer size" |
| 494 | depends on VIDEO_FSL_DCU_FB |
| 495 | default 4194304 |
| 496 | help |
| 497 | Set maximum framebuffer size to be used for Freescale Display |
| 498 | Controller Unit (DCU4). |
| 499 | |
eric.gao@rock-chips.com | b98f0a3 | 2017-04-17 22:24:23 +0800 | [diff] [blame] | 500 | source "drivers/video/rockchip/Kconfig" |
Simon Glass | c253948 | 2016-01-21 19:45:03 -0700 | [diff] [blame] | 501 | |
Liviu Dudau | c1a65a8 | 2018-09-28 13:50:53 +0100 | [diff] [blame] | 502 | config VIDEO_ARM_MALIDP |
| 503 | bool "Enable Arm Mali Display Processor support" |
| 504 | depends on DM_VIDEO && OF_CONTROL |
| 505 | select VEXPRESS_CLK |
| 506 | help |
| 507 | This enables support for Arm Ltd Mali Display Processors from |
| 508 | the DP500, DP550 and DP650 family. |
| 509 | |
Simon Glass | 1e69ad0 | 2016-01-18 19:52:24 -0700 | [diff] [blame] | 510 | config VIDEO_SANDBOX_SDL |
| 511 | bool "Enable sandbox video console using SDL" |
| 512 | depends on SANDBOX |
| 513 | help |
| 514 | When using sandbox you can enable an emulated LCD display which |
| 515 | appears as an SDL (Simple DirectMedia Layer) window. This is a |
| 516 | console device and can display stdout output. Within U-Boot is is |
| 517 | a normal bitmap display and can display images as well as text. |
| 518 | |
Philippe CORNU | 72719d2 | 2017-08-03 12:36:08 +0200 | [diff] [blame] | 519 | source "drivers/video/stm32/Kconfig" |
| 520 | |
Simon Glass | d2f9065 | 2016-01-30 16:37:51 -0700 | [diff] [blame] | 521 | config VIDEO_TEGRA20 |
| 522 | bool "Enable LCD support on Tegra20" |
Simon Glass | 40d56a9 | 2016-01-30 16:37:54 -0700 | [diff] [blame] | 523 | depends on OF_CONTROL |
Simon Glass | d2f9065 | 2016-01-30 16:37:51 -0700 | [diff] [blame] | 524 | help |
| 525 | Tegra20 supports video output to an attached LCD panel as well as |
| 526 | other options such as HDMI. Only the LCD is supported in U-Boot. |
| 527 | This option enables this support which can be used on devices which |
| 528 | have an LCD display connected. |
| 529 | |
Simon Glass | e7e8823 | 2015-04-14 21:03:42 -0600 | [diff] [blame] | 530 | config VIDEO_TEGRA124 |
| 531 | bool "Enable video support on Tegra124" |
Simon Glass | d765921 | 2016-01-30 16:37:50 -0700 | [diff] [blame] | 532 | depends on DM_VIDEO |
Simon Glass | e7e8823 | 2015-04-14 21:03:42 -0600 | [diff] [blame] | 533 | help |
| 534 | Tegra124 supports many video output options including eDP and |
| 535 | HDMI. At present only eDP is supported by U-Boot. This option |
| 536 | enables this support which can be used on devices which |
| 537 | have an eDP display connected. |
Simon Glass | 801ab9e | 2015-07-02 18:16:08 -0600 | [diff] [blame] | 538 | |
| 539 | source "drivers/video/bridge/Kconfig" |
Masahiro Yamada | 0b11dbf | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 540 | |
Simon Glass | 27604b1 | 2016-10-17 20:12:40 -0600 | [diff] [blame] | 541 | config VIDEO |
| 542 | bool "Enable legacy video support" |
| 543 | depends on !DM_VIDEO |
| 544 | help |
| 545 | Define this for video support, without using driver model. Some |
| 546 | drivers use this because they are not yet converted to driver |
| 547 | model. Video drivers typically provide a colour text console and |
| 548 | cursor. |
| 549 | |
Jagan Teki | 7db7455 | 2016-12-06 00:00:54 +0100 | [diff] [blame] | 550 | config VIDEO_IPUV3 |
| 551 | bool "i.MX IPUv3 Core video support" |
| 552 | depends on VIDEO && MX6 |
| 553 | help |
| 554 | This enables framebuffer driver for i.MX processors working |
| 555 | on the IPUv3(Image Processing Unit) internal graphic processor. |
| 556 | |
Simon Glass | bdba2b3 | 2016-10-17 20:12:41 -0600 | [diff] [blame] | 557 | config CFB_CONSOLE |
| 558 | bool "Enable colour frame buffer console" |
| 559 | depends on VIDEO |
| 560 | default y if VIDEO |
| 561 | help |
| 562 | Enables the colour frame buffer driver. This supports colour |
| 563 | output on a bitmap display from an in-memory frame buffer. |
| 564 | Several colour devices are supported along with various options to |
| 565 | adjust the supported features. The driver is implemented in |
| 566 | cfb_console.c |
| 567 | |
| 568 | The following defines are needed (cf. smiLynxEM, i8042) |
| 569 | VIDEO_FB_LITTLE_ENDIAN graphic memory organisation |
| 570 | (default big endian) |
| 571 | VIDEO_HW_RECTFILL graphic chip supports |
| 572 | rectangle fill (cf. smiLynxEM) |
| 573 | VIDEO_HW_BITBLT graphic chip supports |
| 574 | bit-blit (cf. smiLynxEM) |
| 575 | VIDEO_VISIBLE_COLS visible pixel columns (cols=pitch) |
| 576 | VIDEO_VISIBLE_ROWS visible pixel rows |
| 577 | VIDEO_PIXEL_SIZE bytes per pixel |
| 578 | VIDEO_DATA_FORMAT graphic data format |
| 579 | (0-5, cf. cfb_console.c) |
| 580 | VIDEO_FB_ADRS framebuffer address |
| 581 | VIDEO_KBD_INIT_FCT keyboard int fct (i.e. rx51_kp_init()) |
| 582 | VIDEO_TSTC_FCT test char fct (i.e. rx51_kp_tstc) |
| 583 | VIDEO_GETC_FCT get char fct (i.e. rx51_kp_getc) |
| 584 | CONFIG_VIDEO_LOGO display Linux logo in upper left corner |
| 585 | CONFIG_VIDEO_BMP_LOGO use bmp_logo.h instead of linux_logo.h |
| 586 | for logo. Requires CONFIG_VIDEO_LOGO |
| 587 | CONFIG_CONSOLE_EXTRA_INFO |
| 588 | additional board info beside |
| 589 | the logo |
| 590 | CONFIG_HIDE_LOGO_VERSION |
| 591 | do not display bootloader |
| 592 | version string |
| 593 | |
| 594 | When CONFIG_CFB_CONSOLE is defined, the video console is the |
| 595 | default console. The serial console can be forced by setting the |
| 596 | environment 'console=serial'. |
| 597 | |
Simon Glass | c674519 | 2016-10-17 20:12:42 -0600 | [diff] [blame] | 598 | config CFB_CONSOLE_ANSI |
| 599 | bool "Support ANSI escape sequences" |
| 600 | depends on CFB_CONSOLE |
| 601 | help |
| 602 | This allows the colour buffer frame buffer driver to support |
| 603 | a limited number of ANSI escape sequences (cursor control, |
| 604 | erase functions and limited graphics rendition control). Normal |
| 605 | output from U-Boot will pass through this filter. |
| 606 | |
Simon Glass | 1e1a0fb | 2016-10-17 20:12:49 -0600 | [diff] [blame] | 607 | config VGA_AS_SINGLE_DEVICE |
| 608 | bool "Set the video as an output-only device" |
| 609 | depends on CFB_CONSOLE |
| 610 | default y |
| 611 | help |
| 612 | If enable the framebuffer device will be initialized as an |
| 613 | output-only device. The Keyboard driver will not be set up. This |
| 614 | may be used if you have no keyboard device, or more than one |
| 615 | (USB Keyboard, AT Keyboard). |
| 616 | |
Simon Glass | 0872d44 | 2016-10-17 20:12:51 -0600 | [diff] [blame] | 617 | config VIDEO_SW_CURSOR |
| 618 | bool "Enable a software cursor" |
| 619 | depends on CFB_CONSOLE |
| 620 | default y if CFB_CONSOLE |
| 621 | help |
| 622 | This draws a cursor after the last character. No blinking is |
| 623 | provided. This makes it possible to see the current cursor |
| 624 | position when entering text on the console. It is recommended to |
| 625 | enable this. |
| 626 | |
Simon Glass | fbda683 | 2016-10-17 20:12:53 -0600 | [diff] [blame] | 627 | config CONSOLE_EXTRA_INFO |
| 628 | bool "Display additional board information" |
| 629 | depends on CFB_CONSOLE |
| 630 | help |
| 631 | Display additional board information strings that normally go to |
| 632 | the serial port. When this option is enabled, a board-specific |
| 633 | function video_get_info_str() is called to get the string for |
| 634 | each line of the display. The function should return the string, |
| 635 | which can be empty if there is nothing to display for that line. |
| 636 | |
Simon Glass | b87ca80 | 2016-10-17 20:12:57 -0600 | [diff] [blame] | 637 | config CONSOLE_SCROLL_LINES |
| 638 | int "Number of lines to scroll the console by" |
| 639 | depends on CFB_CONSOLE || DM_VIDEO || LCD |
| 640 | default 1 |
| 641 | help |
| 642 | When the console need to be scrolled, this is the number of |
| 643 | lines to scroll by. It defaults to 1. Increasing this makes the |
| 644 | console jump but can help speed up operation when scrolling |
| 645 | is slow. |
| 646 | |
Simon Glass | 002f967 | 2016-10-17 20:12:44 -0600 | [diff] [blame] | 647 | config SYS_CONSOLE_BG_COL |
| 648 | hex "Background colour" |
Bin Meng | c674e00 | 2017-08-03 21:56:50 -0700 | [diff] [blame] | 649 | depends on CFB_CONSOLE |
Simon Glass | 002f967 | 2016-10-17 20:12:44 -0600 | [diff] [blame] | 650 | default 0x00 |
| 651 | help |
| 652 | Defines the background colour for the console. The value is from |
| 653 | 0x00 to 0xff and the meaning depends on the graphics card. |
| 654 | Typically, 0x00 means black and 0xff means white. Do not set |
| 655 | the background and foreground to the same colour or you will see |
| 656 | nothing. |
| 657 | |
| 658 | config SYS_CONSOLE_FG_COL |
| 659 | hex "Foreground colour" |
Bin Meng | c674e00 | 2017-08-03 21:56:50 -0700 | [diff] [blame] | 660 | depends on CFB_CONSOLE |
Simon Glass | 002f967 | 2016-10-17 20:12:44 -0600 | [diff] [blame] | 661 | default 0xa0 |
| 662 | help |
| 663 | Defines the foreground colour for the console. The value is from |
| 664 | 0x00 to 0xff and the meaning depends on the graphics card. |
| 665 | Typically, 0x00 means black and 0xff means white. Do not set |
| 666 | the background and foreground to the same colour or you will see |
| 667 | nothing. |
| 668 | |
Simon Glass | f8b19a8 | 2016-10-17 20:12:56 -0600 | [diff] [blame] | 669 | config LCD |
| 670 | bool "Enable legacy LCD support" |
| 671 | help |
| 672 | Define this to enable LCD support (for output to LCD display). |
| 673 | You will also need to select an LCD driver using an additional |
| 674 | CONFIG option. See the README for details. Drives which have been |
| 675 | converted to driver model will instead used CONFIG_DM_VIDEO. |
| 676 | |
Philipp Tomsich | 8517f64 | 2017-05-05 21:48:26 +0200 | [diff] [blame] | 677 | config VIDEO_DW_HDMI |
| 678 | bool |
| 679 | help |
| 680 | Enables the common driver code for the Designware HDMI TX |
| 681 | block found in SoCs from various vendors. |
| 682 | As this does not provide any functionality by itself (but |
| 683 | rather requires a SoC-specific glue driver to call it), it |
| 684 | can not be enabled from the configuration menu. |
| 685 | |
Rob Clark | 971d7e6 | 2017-08-03 12:47:00 -0400 | [diff] [blame] | 686 | config VIDEO_SIMPLE |
| 687 | bool "Simple display driver for preconfigured display" |
| 688 | help |
| 689 | Enables a simple generic display driver which utilizes the |
| 690 | simple-framebuffer devicetree bindings. |
| 691 | |
| 692 | This driver assumes that the display hardware has been initialized |
| 693 | before u-boot starts, and u-boot will simply render to the pre- |
| 694 | allocated frame buffer surface. |
| 695 | |
Icenowy Zheng | f6bdddc | 2017-10-26 11:14:46 +0800 | [diff] [blame] | 696 | config VIDEO_DT_SIMPLEFB |
| 697 | bool "Enable SimpleFB support for passing framebuffer to OS" |
| 698 | help |
| 699 | Enables the code to pass the framebuffer to the kernel as a |
| 700 | simple framebuffer in the device tree. |
| 701 | The video output is initialized by U-Boot, and kept by the |
| 702 | kernel. |
| 703 | |
Mario Six | 39a336f | 2018-09-27 09:19:29 +0200 | [diff] [blame] | 704 | config OSD |
| 705 | bool "Enable OSD support" |
| 706 | depends on DM |
| 707 | default n |
| 708 | help |
| 709 | This supports drivers that provide a OSD (on-screen display), which |
| 710 | is a (usually text-oriented) graphics buffer to show information on |
| 711 | a display. |
Mario Six | 9671f69 | 2018-09-27 09:19:30 +0200 | [diff] [blame] | 712 | |
Mario Six | 4eea531 | 2018-09-27 09:19:31 +0200 | [diff] [blame] | 713 | config SANDBOX_OSD |
| 714 | bool "Enable sandbox OSD" |
| 715 | depends on OSD |
| 716 | help |
| 717 | Enable support for sandbox OSD device used for testing purposes. |
| 718 | |
Mario Six | 9671f69 | 2018-09-27 09:19:30 +0200 | [diff] [blame] | 719 | config IHS_VIDEO_OUT |
| 720 | bool "Enable IHS video out driver" |
| 721 | depends on OSD |
| 722 | help |
| 723 | Enable support for the gdsys Integrated Hardware Systems (IHS) video |
| 724 | out On-screen Display (OSD) used on gdsys FPGAs to control dynamic |
| 725 | textual overlays of the display outputs. |
| 726 | |
Masahiro Yamada | 0b11dbf | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 727 | endmenu |