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