Masahiro Yamada | cc85b7b | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 1 | # |
| 2 | # Video configuration |
| 3 | # |
| 4 | |
| 5 | menu "Graphics support" |
| 6 | |
Simon Glass | 623d28f | 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 | |
Simon Glass | 8e5a8b6 | 2021-11-19 13:24:01 -0700 | [diff] [blame] | 17 | config VIDEO_LOGO |
| 18 | bool "Show the U-Boot logo on the display" |
| 19 | depends on DM_VIDEO |
Simon Glass | 7a652859 | 2021-11-19 13:24:04 -0700 | [diff] [blame] | 20 | default y if !SPLASH_SCREEN |
Simon Glass | 87a3cd7 | 2021-11-19 13:24:03 -0700 | [diff] [blame] | 21 | select VIDEO_BMP_RLE8 |
Simon Glass | 8e5a8b6 | 2021-11-19 13:24:01 -0700 | [diff] [blame] | 22 | help |
| 23 | This enables showing the U-Boot logo on the display when a video |
| 24 | device is probed. It appears at the top right. The logo itself is at |
| 25 | tools/logos/u-boot_logo.bmp and looks best when the display has a |
| 26 | black background. |
| 27 | |
Anatolij Gustschin | 0dcb3fd | 2020-05-26 00:20:49 +0200 | [diff] [blame] | 28 | config BACKLIGHT |
| 29 | bool "Enable panel backlight uclass support" |
| 30 | depends on DM_VIDEO |
| 31 | default y |
| 32 | help |
| 33 | This provides backlight uclass driver that enables basic panel |
| 34 | backlight support. |
| 35 | |
Simon Glass | c3d2f35 | 2020-07-02 21:12:33 -0600 | [diff] [blame] | 36 | config VIDEO_PCI_DEFAULT_FB_SIZE |
| 37 | hex "Default framebuffer size to use if no drivers request it" |
| 38 | depends on DM_VIDEO |
| 39 | default 0x1000000 if X86 && PCI |
| 40 | default 0 if !(X86 && PCI) |
| 41 | help |
| 42 | Generally, video drivers request the amount of memory they need for |
| 43 | the frame buffer when they are bound, by setting the size field in |
Dario Binacchi | 2ec8577 | 2021-01-23 19:43:52 +0100 | [diff] [blame] | 44 | struct video_uc_plat. That memory is then reserved for use after |
Simon Glass | c3d2f35 | 2020-07-02 21:12:33 -0600 | [diff] [blame] | 45 | relocation. But PCI drivers cannot be bound before relocation unless |
| 46 | they are mentioned in the devicetree. |
| 47 | |
| 48 | With this value set appropriately, it is possible for PCI video |
| 49 | devices to have a framebuffer allocated by U-Boot. |
| 50 | |
| 51 | Note: the framebuffer needs to be large enough to store all pixels at |
| 52 | maximum resolution. For example, at 1920 x 1200 with 32 bits per |
| 53 | pixel, 2560 * 1600 * 32 / 8 = 0xfa0000 bytes are needed. |
| 54 | |
Simon Glass | 73c9c37 | 2020-07-02 21:12:20 -0600 | [diff] [blame] | 55 | config VIDEO_COPY |
| 56 | bool "Enable copying the frame buffer to a hardware copy" |
| 57 | depends on DM_VIDEO |
| 58 | help |
| 59 | On some machines (e.g. x86), reading from the frame buffer is very |
| 60 | slow because it is uncached. To improve performance, this feature |
| 61 | allows the frame buffer to be kept in cached memory (allocated by |
| 62 | U-Boot) and then copied to the hardware frame-buffer as needed. |
| 63 | |
| 64 | To use this, your video driver must set @copy_base in |
Dario Binacchi | 2ec8577 | 2021-01-23 19:43:52 +0100 | [diff] [blame] | 65 | struct video_uc_plat. |
Simon Glass | 73c9c37 | 2020-07-02 21:12:20 -0600 | [diff] [blame] | 66 | |
Patrick Delaunay | 4300f07 | 2017-08-03 12:36:06 +0200 | [diff] [blame] | 67 | config BACKLIGHT_PWM |
| 68 | bool "Generic PWM based Backlight Driver" |
Anatolij Gustschin | 0dcb3fd | 2020-05-26 00:20:49 +0200 | [diff] [blame] | 69 | depends on BACKLIGHT && DM_PWM |
Patrick Delaunay | 4300f07 | 2017-08-03 12:36:06 +0200 | [diff] [blame] | 70 | default y |
| 71 | help |
| 72 | If you have a LCD backlight adjustable by PWM, say Y to enable |
| 73 | this driver. |
| 74 | This driver can be use with "simple-panel" and |
| 75 | it understands the standard device tree |
| 76 | (leds/backlight/pwm-backlight.txt) |
| 77 | |
Patrick Delaunay | a3c046f | 2017-08-03 12:36:07 +0200 | [diff] [blame] | 78 | config BACKLIGHT_GPIO |
| 79 | bool "Generic GPIO based Backlight Driver" |
Anatolij Gustschin | 0dcb3fd | 2020-05-26 00:20:49 +0200 | [diff] [blame] | 80 | depends on BACKLIGHT |
Patrick Delaunay | a3c046f | 2017-08-03 12:36:07 +0200 | [diff] [blame] | 81 | help |
| 82 | If you have a LCD backlight adjustable by GPIO, say Y to enable |
| 83 | this driver. |
| 84 | This driver can be used with "simple-panel" and |
| 85 | it understands the standard device tree |
| 86 | (leds/backlight/gpio-backlight.txt) |
| 87 | |
Simon Glass | 623d28f | 2016-01-18 19:52:15 -0700 | [diff] [blame] | 88 | config VIDEO_BPP8 |
| 89 | bool "Support 8-bit-per-pixel displays" |
| 90 | depends on DM_VIDEO |
Anatolij Gustschin | dba3670 | 2020-02-04 22:43:06 +0100 | [diff] [blame] | 91 | default y |
Simon Glass | 623d28f | 2016-01-18 19:52:15 -0700 | [diff] [blame] | 92 | help |
| 93 | Support drawing text and bitmaps onto a 8-bit-per-pixel display. |
| 94 | Enabling this will include code to support this display. Without |
| 95 | this option, such displays will not be supported and console output |
| 96 | will be empty. |
| 97 | |
| 98 | config VIDEO_BPP16 |
| 99 | bool "Support 16-bit-per-pixel displays" |
| 100 | depends on DM_VIDEO |
Anatolij Gustschin | dba3670 | 2020-02-04 22:43:06 +0100 | [diff] [blame] | 101 | default y |
Simon Glass | 623d28f | 2016-01-18 19:52:15 -0700 | [diff] [blame] | 102 | help |
| 103 | Support drawing text and bitmaps onto a 16-bit-per-pixel display. |
| 104 | Enabling this will include code to support this display. Without |
| 105 | this option, such displays will not be supported and console output |
| 106 | will be empty. |
| 107 | |
| 108 | config VIDEO_BPP32 |
| 109 | bool "Support 32-bit-per-pixel displays" |
| 110 | depends on DM_VIDEO |
Anatolij Gustschin | dba3670 | 2020-02-04 22:43:06 +0100 | [diff] [blame] | 111 | default y |
Simon Glass | 623d28f | 2016-01-18 19:52:15 -0700 | [diff] [blame] | 112 | help |
| 113 | Support drawing text and bitmaps onto a 32-bit-per-pixel display. |
| 114 | Enabling this will include code to support this display. Without |
| 115 | this option, such displays will not be supported and console output |
| 116 | will be empty. |
| 117 | |
Rob Clark | 06e7a0d | 2017-09-13 18:12:21 -0400 | [diff] [blame] | 118 | config VIDEO_ANSI |
| 119 | bool "Support ANSI escape sequences in video console" |
| 120 | depends on DM_VIDEO |
Anatolij Gustschin | dba3670 | 2020-02-04 22:43:06 +0100 | [diff] [blame] | 121 | default y |
Rob Clark | 06e7a0d | 2017-09-13 18:12:21 -0400 | [diff] [blame] | 122 | help |
| 123 | Enable ANSI escape sequence decoding for a more fully functional |
| 124 | console. |
| 125 | |
Yannick Fertré | d08fb32 | 2019-10-07 15:29:04 +0200 | [diff] [blame] | 126 | config VIDEO_MIPI_DSI |
| 127 | bool "Support MIPI DSI interface" |
| 128 | depends on DM_VIDEO |
| 129 | help |
| 130 | Support MIPI DSI interface for driving a MIPI compatible device. |
| 131 | The MIPI Display Serial Interface (MIPI DSI) defines a high-speed |
| 132 | serial interface between a host processor and a display module. |
| 133 | |
Simon Glass | 6e0721d | 2016-01-22 21:53:37 +0100 | [diff] [blame] | 134 | config CONSOLE_NORMAL |
| 135 | bool "Support a simple text console" |
| 136 | depends on DM_VIDEO |
| 137 | default y if DM_VIDEO |
| 138 | help |
| 139 | Support drawing text on the frame buffer console so that it can be |
| 140 | used as a console. Rotation is not supported by this driver (see |
| 141 | CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used |
| 142 | for the display. |
| 143 | |
| 144 | config CONSOLE_ROTATION |
Simon Glass | 87aae88 | 2016-01-18 19:52:19 -0700 | [diff] [blame] | 145 | bool "Support rotated displays" |
| 146 | depends on DM_VIDEO |
| 147 | help |
| 148 | Sometimes, for example if the display is mounted in portrait |
| 149 | mode or even if it's mounted landscape but rotated by 180degree, |
| 150 | we need to rotate our content of the display relative to the |
| 151 | framebuffer, so that user can read the messages which are |
| 152 | printed out. Enable this option to include a text driver which can |
| 153 | support this. The rotation is set by the 'rot' parameter in |
| 154 | struct video_priv: 0=unrotated, 1=90 degrees clockwise, 2=180 |
| 155 | degrees, 3=270 degrees. |
| 156 | |
Simon Glass | 2ef353e | 2016-01-14 18:10:42 -0700 | [diff] [blame] | 157 | config CONSOLE_TRUETYPE |
| 158 | bool "Support a console that uses TrueType fonts" |
| 159 | depends on DM_VIDEO |
| 160 | help |
| 161 | TrueTrype fonts can provide outline-drawing capability rather than |
| 162 | needing to provide a bitmap for each font and size that is needed. |
| 163 | With this option you can adjust the text size and use a variety of |
| 164 | fonts. Note that this is noticeably slower than with normal console. |
| 165 | |
| 166 | config CONSOLE_TRUETYPE_SIZE |
| 167 | int "TrueType font size" |
| 168 | depends on CONSOLE_TRUETYPE |
| 169 | default 18 |
| 170 | help |
| 171 | This sets the font size for the console. The size is measured in |
| 172 | pixels and is the nominal height of a character. Note that fonts |
| 173 | are commonly measured in 'points', being 1/72 inch (about 3.52mm). |
| 174 | However that measurement depends on the size of your display and |
| 175 | there is no standard display density. At present there is not a |
| 176 | method to select the display's physical size, which would allow |
| 177 | U-Boot to calculate the correct font size. |
| 178 | |
Simon Glass | 7959776 | 2022-10-06 08:36:11 -0600 | [diff] [blame] | 179 | config CONSOLE_TRUETYPE_MAX_METRICS |
| 180 | int "TrueType maximum number of font / size combinations" |
| 181 | depends on CONSOLE_TRUETYPE |
| 182 | default 10 if EXPO |
| 183 | default 1 |
| 184 | help |
| 185 | This sets the number of font / size combinations which can be used by |
| 186 | the console. For simple console use a single font is enough. When |
| 187 | boot menus are in use, this may need to be increased. |
| 188 | |
| 189 | Note that a separate entry is needed for each font size, even if the |
| 190 | font itself is the same. This is because the entry caches various |
| 191 | font metrics which are expensive to regenerate each time the font |
| 192 | size changes. |
| 193 | |
Simon Glass | d65a142 | 2017-04-26 22:27:57 -0600 | [diff] [blame] | 194 | config SYS_WHITE_ON_BLACK |
| 195 | bool "Display console as white on a black background" |
Trevor Woerner | 513f640 | 2020-05-06 08:02:41 -0400 | [diff] [blame] | 196 | default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || ARCH_TEGRA || X86 || ARCH_SUNXI |
Simon Glass | d65a142 | 2017-04-26 22:27:57 -0600 | [diff] [blame] | 197 | help |
| 198 | Normally the display is black on a white background, Enable this |
| 199 | option to invert this, i.e. white on a black background. This can be |
| 200 | better in low-light situations or to reduce eye strain in some |
| 201 | cases. |
| 202 | |
Rob Clark | f141188 | 2017-08-03 12:47:01 -0400 | [diff] [blame] | 203 | config NO_FB_CLEAR |
| 204 | bool "Skip framebuffer clear" |
| 205 | help |
| 206 | If firmware (whatever loads u-boot) has already put a splash image |
| 207 | on screen, you might want to preserve it until whatever u-boot |
| 208 | loads takes over the screen. This, for example, can be used to |
| 209 | keep splash image on screen until grub graphical boot menu starts. |
| 210 | |
Anatolij Gustschin | 0dcb3fd | 2020-05-26 00:20:49 +0200 | [diff] [blame] | 211 | config PANEL |
| 212 | bool "Enable panel uclass support" |
| 213 | depends on DM_VIDEO |
| 214 | default y |
| 215 | help |
| 216 | This provides panel uclass driver that enables basic panel support. |
| 217 | |
| 218 | config SIMPLE_PANEL |
| 219 | bool "Enable simple panel support" |
Asherah Connor | 81b0f61 | 2021-03-03 14:46:47 +1100 | [diff] [blame] | 220 | depends on PANEL && BACKLIGHT && DM_GPIO |
Anatolij Gustschin | 0dcb3fd | 2020-05-26 00:20:49 +0200 | [diff] [blame] | 221 | default y |
| 222 | help |
| 223 | This turns on a simple panel driver that enables a compatible |
| 224 | video panel. |
| 225 | |
Simon Glass | f8360fe | 2022-10-06 08:36:07 -0600 | [diff] [blame] | 226 | config PANEL_HX8238D |
| 227 | bool "Enable Himax HX-8238D LCD driver" |
| 228 | depends on PANEL |
| 229 | help |
| 230 | Support for HX-8238D LCD Panel |
| 231 | The HX8238-D is a single chip controller and driver LSI that |
| 232 | integrates the power circuit. |
| 233 | It can drive a maximum 960x240 dot graphics on a-TFT panel |
| 234 | displays in 16M colors with dithering. |
| 235 | |
Simon Glass | 2ef353e | 2016-01-14 18:10:42 -0700 | [diff] [blame] | 236 | source "drivers/video/fonts/Kconfig" |
| 237 | |
Simon Glass | 86f0746 | 2016-02-06 14:31:37 -0700 | [diff] [blame] | 238 | config VIDCONSOLE_AS_LCD |
Patrick Delaunay | 60b9224 | 2020-07-01 14:56:10 +0200 | [diff] [blame] | 239 | bool "Use 'vidconsole' when CONFIG_VIDCONSOLE_AS_NAME string is seen in stdout" |
Simon Glass | 86f0746 | 2016-02-06 14:31:37 -0700 | [diff] [blame] | 240 | depends on DM_VIDEO |
Patrick Delaunay | 60b9224 | 2020-07-01 14:56:10 +0200 | [diff] [blame] | 241 | help |
| 242 | This is a work-around for boards which have 'lcd' or 'vga' in their |
| 243 | stdout environment variable, but have moved to use driver model for |
| 244 | video. In this case the console will no-longer work. While it is |
| 245 | possible to update the environment, the breakage may be confusing for |
| 246 | users. This option will be removed around the end of 2020. |
| 247 | |
| 248 | config VIDCONSOLE_AS_NAME |
| 249 | string "Use 'vidconsole' when string defined here is seen in stdout" |
| 250 | depends on VIDCONSOLE_AS_LCD |
Anatolij Gustschin | 4702064 | 2020-05-23 17:11:20 +0200 | [diff] [blame] | 251 | default "lcd" if LCD || TEGRA_COMMON |
| 252 | default "vga" if !LCD |
Simon Glass | 86f0746 | 2016-02-06 14:31:37 -0700 | [diff] [blame] | 253 | help |
Anatolij Gustschin | 4702064 | 2020-05-23 17:11:20 +0200 | [diff] [blame] | 254 | This is a work-around for boards which have 'lcd' or 'vga' in their |
| 255 | stdout environment variable, but have moved to use driver model for |
| 256 | video. In this case the console will no-longer work. While it is |
| 257 | possible to update the environment, the breakage may be confusing for |
| 258 | users. This option will be removed around the end of 2020. |
Simon Glass | 86f0746 | 2016-02-06 14:31:37 -0700 | [diff] [blame] | 259 | |
Bin Meng | a0676be | 2016-10-09 04:14:16 -0700 | [diff] [blame] | 260 | config VIDEO_COREBOOT |
| 261 | bool "Enable coreboot framebuffer driver support" |
Simon Glass | d2398ab | 2021-03-15 18:00:27 +1300 | [diff] [blame] | 262 | depends on X86 |
Bin Meng | a0676be | 2016-10-09 04:14:16 -0700 | [diff] [blame] | 263 | help |
| 264 | Turn on this option to enable a framebuffer driver when U-Boot is |
| 265 | loaded by coreboot where the graphics device is configured by |
| 266 | coreboot already. This can in principle be used with any platform |
| 267 | that coreboot supports. |
| 268 | |
Bin Meng | 0f862b9 | 2018-06-12 08:36:22 -0700 | [diff] [blame] | 269 | config VIDEO_EFI |
| 270 | bool "Enable EFI framebuffer driver support" |
Simon Glass | 04c26ff | 2021-11-03 21:09:10 -0600 | [diff] [blame] | 271 | depends on EFI_STUB || EFI_APP |
Bin Meng | 0f862b9 | 2018-06-12 08:36:22 -0700 | [diff] [blame] | 272 | help |
| 273 | Turn on this option to enable a framebuffeer driver when U-Boot is |
| 274 | loaded as a payload (see README.u-boot_on_efi) by an EFI BIOS where |
| 275 | the graphics device is configured by the EFI BIOS already. This can |
| 276 | in principle be used with any platform that has an EFI BIOS. |
| 277 | |
Simon Glass | 42bf3ee | 2014-12-29 19:32:28 -0700 | [diff] [blame] | 278 | config VIDEO_VESA |
| 279 | bool "Enable VESA video driver support" |
Simon Glass | 42bf3ee | 2014-12-29 19:32:28 -0700 | [diff] [blame] | 280 | help |
| 281 | Turn on this option to enable a very simple driver which uses vesa |
| 282 | to discover the video mode and then provides a frame buffer for use |
| 283 | by U-Boot. This can in principle be used with any platform that |
| 284 | supports PCI and video cards that support VESA BIOS Extension (VBE). |
| 285 | |
Bin Meng | 072b79d | 2015-05-11 07:36:29 +0800 | [diff] [blame] | 286 | config FRAMEBUFFER_SET_VESA_MODE |
| 287 | bool "Set framebuffer graphics resolution" |
Simon Glass | dec49b7 | 2016-03-11 22:07:30 -0700 | [diff] [blame] | 288 | depends on VIDEO_VESA || VIDEO_BROADWELL_IGD |
Bin Meng | 072b79d | 2015-05-11 07:36:29 +0800 | [diff] [blame] | 289 | help |
| 290 | Set VESA/native framebuffer mode (needed for bootsplash and graphical |
| 291 | framebuffer console) |
| 292 | |
| 293 | choice |
| 294 | prompt "framebuffer graphics resolution" |
Bin Meng | 4da8a3f | 2018-04-11 22:02:16 -0700 | [diff] [blame] | 295 | default FRAMEBUFFER_VESA_MODE_118 |
Bin Meng | 072b79d | 2015-05-11 07:36:29 +0800 | [diff] [blame] | 296 | depends on FRAMEBUFFER_SET_VESA_MODE |
| 297 | help |
| 298 | This option sets the resolution used for the U-Boot framebuffer (and |
| 299 | bootsplash screen). |
| 300 | |
| 301 | config FRAMEBUFFER_VESA_MODE_100 |
| 302 | bool "640x400 256-color" |
| 303 | |
| 304 | config FRAMEBUFFER_VESA_MODE_101 |
| 305 | bool "640x480 256-color" |
| 306 | |
| 307 | config FRAMEBUFFER_VESA_MODE_102 |
| 308 | bool "800x600 16-color" |
| 309 | |
| 310 | config FRAMEBUFFER_VESA_MODE_103 |
| 311 | bool "800x600 256-color" |
| 312 | |
| 313 | config FRAMEBUFFER_VESA_MODE_104 |
| 314 | bool "1024x768 16-color" |
| 315 | |
| 316 | config FRAMEBUFFER_VESA_MODE_105 |
Bin Meng | 932adc6 | 2015-08-09 23:26:59 -0700 | [diff] [blame] | 317 | bool "1024x768 256-color" |
Bin Meng | 072b79d | 2015-05-11 07:36:29 +0800 | [diff] [blame] | 318 | |
| 319 | config FRAMEBUFFER_VESA_MODE_106 |
| 320 | bool "1280x1024 16-color" |
| 321 | |
| 322 | config FRAMEBUFFER_VESA_MODE_107 |
| 323 | bool "1280x1024 256-color" |
| 324 | |
| 325 | config FRAMEBUFFER_VESA_MODE_108 |
| 326 | bool "80x60 text" |
| 327 | |
| 328 | config FRAMEBUFFER_VESA_MODE_109 |
| 329 | bool "132x25 text" |
| 330 | |
| 331 | config FRAMEBUFFER_VESA_MODE_10A |
| 332 | bool "132x43 text" |
| 333 | |
| 334 | config FRAMEBUFFER_VESA_MODE_10B |
| 335 | bool "132x50 text" |
| 336 | |
| 337 | config FRAMEBUFFER_VESA_MODE_10C |
| 338 | bool "132x60 text" |
| 339 | |
| 340 | config FRAMEBUFFER_VESA_MODE_10D |
| 341 | bool "320x200 32k-color (1:5:5:5)" |
| 342 | |
| 343 | config FRAMEBUFFER_VESA_MODE_10E |
| 344 | bool "320x200 64k-color (5:6:5)" |
| 345 | |
| 346 | config FRAMEBUFFER_VESA_MODE_10F |
| 347 | bool "320x200 16.8M-color (8:8:8)" |
| 348 | |
| 349 | config FRAMEBUFFER_VESA_MODE_110 |
| 350 | bool "640x480 32k-color (1:5:5:5)" |
| 351 | |
| 352 | config FRAMEBUFFER_VESA_MODE_111 |
| 353 | bool "640x480 64k-color (5:6:5)" |
| 354 | |
| 355 | config FRAMEBUFFER_VESA_MODE_112 |
| 356 | bool "640x480 16.8M-color (8:8:8)" |
| 357 | |
| 358 | config FRAMEBUFFER_VESA_MODE_113 |
| 359 | bool "800x600 32k-color (1:5:5:5)" |
| 360 | |
| 361 | config FRAMEBUFFER_VESA_MODE_114 |
| 362 | bool "800x600 64k-color (5:6:5)" |
| 363 | |
| 364 | config FRAMEBUFFER_VESA_MODE_115 |
| 365 | bool "800x600 16.8M-color (8:8:8)" |
| 366 | |
| 367 | config FRAMEBUFFER_VESA_MODE_116 |
| 368 | bool "1024x768 32k-color (1:5:5:5)" |
| 369 | |
| 370 | config FRAMEBUFFER_VESA_MODE_117 |
| 371 | bool "1024x768 64k-color (5:6:5)" |
| 372 | |
| 373 | config FRAMEBUFFER_VESA_MODE_118 |
| 374 | bool "1024x768 16.8M-color (8:8:8)" |
| 375 | |
| 376 | config FRAMEBUFFER_VESA_MODE_119 |
| 377 | bool "1280x1024 32k-color (1:5:5:5)" |
| 378 | |
| 379 | config FRAMEBUFFER_VESA_MODE_11A |
| 380 | bool "1280x1024 64k-color (5:6:5)" |
| 381 | |
| 382 | config FRAMEBUFFER_VESA_MODE_11B |
| 383 | bool "1280x1024 16.8M-color (8:8:8)" |
| 384 | |
| 385 | config FRAMEBUFFER_VESA_MODE_USER |
| 386 | bool "Manually select VESA mode" |
| 387 | |
| 388 | endchoice |
| 389 | |
| 390 | # Map the config names to an integer (KB). |
| 391 | config FRAMEBUFFER_VESA_MODE |
| 392 | prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER |
| 393 | hex |
| 394 | default 0x100 if FRAMEBUFFER_VESA_MODE_100 |
| 395 | default 0x101 if FRAMEBUFFER_VESA_MODE_101 |
| 396 | default 0x102 if FRAMEBUFFER_VESA_MODE_102 |
| 397 | default 0x103 if FRAMEBUFFER_VESA_MODE_103 |
| 398 | default 0x104 if FRAMEBUFFER_VESA_MODE_104 |
| 399 | default 0x105 if FRAMEBUFFER_VESA_MODE_105 |
| 400 | default 0x106 if FRAMEBUFFER_VESA_MODE_106 |
| 401 | default 0x107 if FRAMEBUFFER_VESA_MODE_107 |
| 402 | default 0x108 if FRAMEBUFFER_VESA_MODE_108 |
| 403 | default 0x109 if FRAMEBUFFER_VESA_MODE_109 |
| 404 | default 0x10A if FRAMEBUFFER_VESA_MODE_10A |
| 405 | default 0x10B if FRAMEBUFFER_VESA_MODE_10B |
| 406 | default 0x10C if FRAMEBUFFER_VESA_MODE_10C |
| 407 | default 0x10D if FRAMEBUFFER_VESA_MODE_10D |
| 408 | default 0x10E if FRAMEBUFFER_VESA_MODE_10E |
| 409 | default 0x10F if FRAMEBUFFER_VESA_MODE_10F |
| 410 | default 0x110 if FRAMEBUFFER_VESA_MODE_110 |
| 411 | default 0x111 if FRAMEBUFFER_VESA_MODE_111 |
| 412 | default 0x112 if FRAMEBUFFER_VESA_MODE_112 |
| 413 | default 0x113 if FRAMEBUFFER_VESA_MODE_113 |
| 414 | default 0x114 if FRAMEBUFFER_VESA_MODE_114 |
| 415 | default 0x115 if FRAMEBUFFER_VESA_MODE_115 |
| 416 | default 0x116 if FRAMEBUFFER_VESA_MODE_116 |
| 417 | default 0x117 if FRAMEBUFFER_VESA_MODE_117 |
| 418 | default 0x118 if FRAMEBUFFER_VESA_MODE_118 |
| 419 | default 0x119 if FRAMEBUFFER_VESA_MODE_119 |
| 420 | default 0x11A if FRAMEBUFFER_VESA_MODE_11A |
| 421 | default 0x11B if FRAMEBUFFER_VESA_MODE_11B |
| 422 | default 0x117 if FRAMEBUFFER_VESA_MODE_USER |
| 423 | |
Hans de Goede | dfc1efe | 2015-08-08 16:03:29 +0200 | [diff] [blame] | 424 | config VIDEO_LCD_ANX9804 |
| 425 | bool "ANX9804 bridge chip" |
Hans de Goede | dfc1efe | 2015-08-08 16:03:29 +0200 | [diff] [blame] | 426 | ---help--- |
| 427 | Support for the ANX9804 bridge chip, which can take pixel data coming |
| 428 | from a parallel LCD interface and translate it on the fy into a DP |
| 429 | interface for driving eDP TFT displays. It uses I2C for configuration. |
| 430 | |
Tom Rini | 4c04742 | 2022-03-18 08:38:28 -0400 | [diff] [blame] | 431 | config ATMEL_LCD |
| 432 | bool "Atmel LCD panel support" |
| 433 | depends on LCD && ARCH_AT91 |
| 434 | |
| 435 | config ATMEL_LCD_BGR555 |
| 436 | bool "Display in BGR555 mode" |
| 437 | help |
| 438 | Use the BGR555 output mode. Otherwise RGB565 is used. |
| 439 | |
Simon Glass | 7b3fabb | 2022-01-23 07:04:14 -0700 | [diff] [blame] | 440 | config VIDEO_BCM2835 |
| 441 | bool "Display support for BCM2835" |
| 442 | help |
| 443 | The graphics processor already sets up the display so this driver |
| 444 | simply checks the resolution and then sets up the frame buffer with |
| 445 | that same resolution (or as near as possible) and 32bpp depth, so |
| 446 | that U-Boot can access it with full colour depth. |
| 447 | |
Yannick Fertré | 5b855d4 | 2019-10-07 15:29:08 +0200 | [diff] [blame] | 448 | config VIDEO_LCD_ORISETECH_OTM8009A |
| 449 | bool "OTM8009A DSI LCD panel support" |
| 450 | depends on DM_VIDEO |
| 451 | select VIDEO_MIPI_DSI |
Yannick Fertré | 5b855d4 | 2019-10-07 15:29:08 +0200 | [diff] [blame] | 452 | help |
| 453 | Say Y here if you want to enable support for Orise Technology |
| 454 | otm8009a 480x800 dsi 2dl panel. |
| 455 | |
Yannick Fertré | b038fed | 2019-10-07 15:29:09 +0200 | [diff] [blame] | 456 | config VIDEO_LCD_RAYDIUM_RM68200 |
| 457 | bool "RM68200 DSI LCD panel support" |
| 458 | depends on DM_VIDEO |
| 459 | select VIDEO_MIPI_DSI |
Yannick Fertré | b038fed | 2019-10-07 15:29:09 +0200 | [diff] [blame] | 460 | help |
| 461 | Say Y here if you want to enable support for Raydium RM68200 |
| 462 | 720x1280 DSI video mode panel. |
| 463 | |
Siarhei Siamashka | 4c19cf2 | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 464 | config VIDEO_LCD_SSD2828 |
| 465 | bool "SSD2828 bridge chip" |
Siarhei Siamashka | 4c19cf2 | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 466 | ---help--- |
| 467 | Support for the SSD2828 bridge chip, which can take pixel data coming |
| 468 | from a parallel LCD interface and translate it on the fly into MIPI DSI |
| 469 | interface for driving a MIPI compatible LCD panel. It uses SPI for |
| 470 | configuration. |
| 471 | |
| 472 | config VIDEO_LCD_SSD2828_TX_CLK |
| 473 | int "SSD2828 TX_CLK frequency (in MHz)" |
| 474 | depends on VIDEO_LCD_SSD2828 |
Siarhei Siamashka | 61fb91f | 2015-01-19 05:23:35 +0200 | [diff] [blame] | 475 | default 0 |
Siarhei Siamashka | 4c19cf2 | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 476 | ---help--- |
| 477 | The frequency of the crystal, which is clocking SSD2828. It may be |
| 478 | anything in the 8MHz-30MHz range and the exact value should be |
| 479 | retrieved from the board schematics. Or in the case of Allwinner |
| 480 | hardware, it can be usually found as 'lcd_xtal_freq' variable in |
Siarhei Siamashka | 61fb91f | 2015-01-19 05:23:35 +0200 | [diff] [blame] | 481 | FEX files. It can be also set to 0 for selecting PCLK from the |
| 482 | parallel LCD interface instead of TX_CLK as the PLL clock source. |
Siarhei Siamashka | 4c19cf2 | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 483 | |
| 484 | config VIDEO_LCD_SSD2828_RESET |
| 485 | string "RESET pin of SSD2828" |
| 486 | depends on VIDEO_LCD_SSD2828 |
| 487 | default "" |
| 488 | ---help--- |
| 489 | The reset pin of SSD2828 chip. This takes a string in the format |
Samuel Holland | c7ab95d | 2021-09-11 16:50:48 -0500 | [diff] [blame] | 490 | understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H. |
Siarhei Siamashka | 4c19cf2 | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 491 | |
Neil Armstrong | 4a4057a | 2020-09-29 11:53:53 +0200 | [diff] [blame] | 492 | config VIDEO_LCD_TDO_TL070WSH30 |
| 493 | bool "TDO TL070WSH30 DSI LCD panel support" |
| 494 | depends on DM_VIDEO |
| 495 | select VIDEO_MIPI_DSI |
Neil Armstrong | 4a4057a | 2020-09-29 11:53:53 +0200 | [diff] [blame] | 496 | help |
| 497 | Say Y here if you want to enable support for TDO TL070WSH30 |
| 498 | 1024x600 DSI video mode panel. |
| 499 | |
Hans de Goede | c048203 | 2015-01-20 09:22:26 +0100 | [diff] [blame] | 500 | config VIDEO_LCD_HITACHI_TX18D42VM |
| 501 | bool "Hitachi tx18d42vm LVDS LCD panel support" |
Hans de Goede | c048203 | 2015-01-20 09:22:26 +0100 | [diff] [blame] | 502 | ---help--- |
| 503 | Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a |
| 504 | lcd controller which needs to be initialized over SPI, once that is |
| 505 | done they work like a regular LVDS panel. |
| 506 | |
Siarhei Siamashka | 4c19cf2 | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 507 | config VIDEO_LCD_SPI_CS |
| 508 | string "SPI CS pin for LCD related config job" |
Hans de Goede | c048203 | 2015-01-20 09:22:26 +0100 | [diff] [blame] | 509 | depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM |
Siarhei Siamashka | 4c19cf2 | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 510 | default "" |
| 511 | ---help--- |
| 512 | This is one of the SPI communication pins, involved in setting up a |
| 513 | working LCD configuration. The exact role of SPI may differ for |
| 514 | different hardware setups. The option takes a string in the format |
Samuel Holland | c7ab95d | 2021-09-11 16:50:48 -0500 | [diff] [blame] | 515 | understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H. |
Siarhei Siamashka | 4c19cf2 | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 516 | |
| 517 | config VIDEO_LCD_SPI_SCLK |
| 518 | string "SPI SCLK pin for LCD related config job" |
Hans de Goede | c048203 | 2015-01-20 09:22:26 +0100 | [diff] [blame] | 519 | depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM |
Siarhei Siamashka | 4c19cf2 | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 520 | default "" |
| 521 | ---help--- |
| 522 | This is one of the SPI communication pins, involved in setting up a |
| 523 | working LCD configuration. The exact role of SPI may differ for |
| 524 | different hardware setups. The option takes a string in the format |
Samuel Holland | c7ab95d | 2021-09-11 16:50:48 -0500 | [diff] [blame] | 525 | understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H. |
Siarhei Siamashka | 4c19cf2 | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 526 | |
| 527 | config VIDEO_LCD_SPI_MOSI |
| 528 | string "SPI MOSI pin for LCD related config job" |
Hans de Goede | c048203 | 2015-01-20 09:22:26 +0100 | [diff] [blame] | 529 | depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM |
Siarhei Siamashka | 4c19cf2 | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 530 | default "" |
| 531 | ---help--- |
| 532 | This is one of the SPI communication pins, involved in setting up a |
| 533 | working LCD configuration. The exact role of SPI may differ for |
| 534 | different hardware setups. The option takes a string in the format |
Samuel Holland | c7ab95d | 2021-09-11 16:50:48 -0500 | [diff] [blame] | 535 | understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H. |
Siarhei Siamashka | 4c19cf2 | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 536 | |
| 537 | config VIDEO_LCD_SPI_MISO |
| 538 | string "SPI MISO pin for LCD related config job (optional)" |
| 539 | depends on VIDEO_LCD_SSD2828 |
| 540 | default "" |
| 541 | ---help--- |
| 542 | This is one of the SPI communication pins, involved in setting up a |
| 543 | working LCD configuration. The exact role of SPI may differ for |
| 544 | different hardware setups. If wired up, this pin may provide additional |
| 545 | useful functionality. Such as bi-directional communication with the |
| 546 | hardware and LCD panel id retrieval (if the panel can report it). The |
Samuel Holland | c7ab95d | 2021-09-11 16:50:48 -0500 | [diff] [blame] | 547 | option takes a string in the format understood by 'sunxi_name_to_gpio' |
Siarhei Siamashka | 4c19cf2 | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 548 | function, e.g. PH1 for pin 1 of port H. |
Simon Glass | 06679ad | 2015-04-14 21:03:38 -0600 | [diff] [blame] | 549 | |
Neil Armstrong | add986c | 2018-07-24 17:45:28 +0200 | [diff] [blame] | 550 | source "drivers/video/meson/Kconfig" |
| 551 | |
Stefan Roese | ab91fd5 | 2016-01-20 08:13:28 +0100 | [diff] [blame] | 552 | config VIDEO_MVEBU |
| 553 | bool "Armada XP LCD controller" |
Stefan Roese | ab91fd5 | 2016-01-20 08:13:28 +0100 | [diff] [blame] | 554 | ---help--- |
| 555 | Support for the LCD controller integrated in the Marvell |
| 556 | Armada XP SoC. |
| 557 | |
Adam Ford | 60a59d4 | 2018-08-02 08:50:20 -0500 | [diff] [blame] | 558 | config VIDEO_OMAP3 |
| 559 | bool "Enable OMAP3+ DSS Support" |
| 560 | depends on ARCH_OMAP2PLUS |
| 561 | help |
| 562 | This enables the Display subsystem (DSS) on OMAP3+ boards. |
| 563 | |
Anatolij Gustschin | 4601eb4 | 2016-01-25 17:17:22 +0100 | [diff] [blame] | 564 | config I2C_EDID |
| 565 | bool "Enable EDID library" |
Anatolij Gustschin | 4601eb4 | 2016-01-25 17:17:22 +0100 | [diff] [blame] | 566 | help |
| 567 | This enables library for accessing EDID data from an LCD panel. |
| 568 | |
Simon Glass | 7d3d776 | 2016-01-21 19:45:00 -0700 | [diff] [blame] | 569 | config DISPLAY |
| 570 | bool "Enable Display support" |
| 571 | depends on DM |
Anatolij Gustschin | 4601eb4 | 2016-01-25 17:17:22 +0100 | [diff] [blame] | 572 | select I2C_EDID |
Simon Glass | 06679ad | 2015-04-14 21:03:38 -0600 | [diff] [blame] | 573 | help |
Simon Glass | 7d3d776 | 2016-01-21 19:45:00 -0700 | [diff] [blame] | 574 | This supports drivers that provide a display, such as eDP (Embedded |
| 575 | DisplayPort) and HDMI (High Definition Multimedia Interface). |
| 576 | The devices provide a simple interface to start up the display, |
| 577 | read display information and enable it. |
Simon Glass | 3ef2a72 | 2015-04-14 21:03:42 -0600 | [diff] [blame] | 578 | |
Liviu Dudau | 3396710 | 2018-09-28 13:49:31 +0100 | [diff] [blame] | 579 | config NXP_TDA19988 |
| 580 | bool "Enable NXP TDA19988 support" |
| 581 | depends on DISPLAY |
Liviu Dudau | 3396710 | 2018-09-28 13:49:31 +0100 | [diff] [blame] | 582 | help |
| 583 | This enables support for the NXP TDA19988 HDMI encoder. This encoder |
| 584 | will convert RGB data streams into HDMI-encoded signals. |
| 585 | |
Songjun Wu | 72ac56a | 2017-04-11 16:33:30 +0800 | [diff] [blame] | 586 | config ATMEL_HLCD |
| 587 | bool "Enable ATMEL video support using HLCDC" |
Songjun Wu | 72ac56a | 2017-04-11 16:33:30 +0800 | [diff] [blame] | 588 | help |
| 589 | HLCDC supports video output to an attached LCD panel. |
| 590 | |
Dario Binacchi | 3624854 | 2020-12-30 00:16:31 +0100 | [diff] [blame] | 591 | source "drivers/video/ti/Kconfig" |
Dario Binacchi | 017b469 | 2020-02-22 14:05:45 +0100 | [diff] [blame] | 592 | |
Tom Rini | 3eeabf5 | 2022-06-10 22:59:34 -0400 | [diff] [blame] | 593 | source "drivers/video/exynos/Kconfig" |
| 594 | |
Mario Six | c13ee19 | 2018-08-09 14:51:23 +0200 | [diff] [blame] | 595 | config LOGICORE_DP_TX |
| 596 | bool "Enable Logicore DP TX driver" |
| 597 | depends on DISPLAY |
| 598 | help |
| 599 | Enable the driver for the transmitter part of the Xilinx LogiCORE |
| 600 | DisplayPort, a IP core for Xilinx FPGAs that implements a DisplayPort |
| 601 | video interface as defined by VESA DisplayPort v1.2. |
| 602 | |
| 603 | Note that this is a pure transmitter device, and has no display |
| 604 | capabilities by itself. |
| 605 | |
Simon Glass | dec49b7 | 2016-03-11 22:07:30 -0700 | [diff] [blame] | 606 | config VIDEO_BROADWELL_IGD |
| 607 | bool "Enable Intel Broadwell integrated graphics device" |
| 608 | depends on X86 |
| 609 | help |
Simon Glass | a3fdd00 | 2016-10-05 20:42:14 -0600 | [diff] [blame] | 610 | This enables support for integrated graphics on Intel broadwell |
Simon Glass | dec49b7 | 2016-03-11 22:07:30 -0700 | [diff] [blame] | 611 | devices. Initialisation is mostly performed by a VGA boot ROM, with |
| 612 | some setup handled by U-Boot itself. The graphics adaptor works as |
| 613 | a VESA device and supports LCD panels, eDP and LVDS outputs. |
| 614 | Configuration of most aspects of device operation is performed using |
| 615 | a special tool which configures the VGA ROM, but the graphics |
| 616 | resolution can be selected in U-Boot. |
| 617 | |
Simon Glass | 03f2a51 | 2016-10-05 20:42:15 -0600 | [diff] [blame] | 618 | config VIDEO_IVYBRIDGE_IGD |
| 619 | bool "Enable Intel Ivybridge integration graphics support" |
| 620 | depends on X86 |
| 621 | help |
| 622 | This enables support for integrated graphics on Intel ivybridge |
| 623 | devices. Initialisation is mostly performed by a VGA boot ROM, with |
| 624 | some setup handled by U-Boot itself. The graphics adaptor works as |
| 625 | a VESA device and supports LCD panels, eDP and LVDS outputs. |
| 626 | Configuration of most aspects of device operation is performed using |
| 627 | a special tool which configures the VGA ROM, but the graphics |
| 628 | resolution can be selected in U-Boot. |
| 629 | |
eric.gao@rock-chips.com | 735ddea | 2017-04-17 22:24:23 +0800 | [diff] [blame] | 630 | source "drivers/video/rockchip/Kconfig" |
Simon Glass | 0139ae6 | 2016-01-21 19:45:03 -0700 | [diff] [blame] | 631 | |
Liviu Dudau | 8373ed3 | 2018-09-28 13:50:53 +0100 | [diff] [blame] | 632 | config VIDEO_ARM_MALIDP |
| 633 | bool "Enable Arm Mali Display Processor support" |
| 634 | depends on DM_VIDEO && OF_CONTROL |
| 635 | select VEXPRESS_CLK |
| 636 | help |
| 637 | This enables support for Arm Ltd Mali Display Processors from |
| 638 | the DP500, DP550 and DP650 family. |
| 639 | |
Simon Glass | 161eea7 | 2016-01-18 19:52:24 -0700 | [diff] [blame] | 640 | config VIDEO_SANDBOX_SDL |
| 641 | bool "Enable sandbox video console using SDL" |
| 642 | depends on SANDBOX |
| 643 | help |
| 644 | When using sandbox you can enable an emulated LCD display which |
| 645 | appears as an SDL (Simple DirectMedia Layer) window. This is a |
| 646 | console device and can display stdout output. Within U-Boot is is |
| 647 | a normal bitmap display and can display images as well as text. |
| 648 | |
Philippe CORNU | dcbad9a | 2017-08-03 12:36:08 +0200 | [diff] [blame] | 649 | source "drivers/video/stm32/Kconfig" |
| 650 | |
Simon Glass | 89c0346 | 2016-01-30 16:37:51 -0700 | [diff] [blame] | 651 | config VIDEO_TEGRA20 |
| 652 | bool "Enable LCD support on Tegra20" |
Simon Glass | 54832f2 | 2016-01-30 16:37:54 -0700 | [diff] [blame] | 653 | depends on OF_CONTROL |
Simon Glass | 89c0346 | 2016-01-30 16:37:51 -0700 | [diff] [blame] | 654 | help |
| 655 | Tegra20 supports video output to an attached LCD panel as well as |
| 656 | other options such as HDMI. Only the LCD is supported in U-Boot. |
| 657 | This option enables this support which can be used on devices which |
| 658 | have an LCD display connected. |
| 659 | |
Simon Glass | 3ef2a72 | 2015-04-14 21:03:42 -0600 | [diff] [blame] | 660 | config VIDEO_TEGRA124 |
| 661 | bool "Enable video support on Tegra124" |
Simon Glass | fad7218 | 2016-01-30 16:37:50 -0700 | [diff] [blame] | 662 | depends on DM_VIDEO |
Simon Glass | 3ef2a72 | 2015-04-14 21:03:42 -0600 | [diff] [blame] | 663 | help |
| 664 | Tegra124 supports many video output options including eDP and |
| 665 | HDMI. At present only eDP is supported by U-Boot. This option |
| 666 | enables this support which can be used on devices which |
| 667 | have an eDP display connected. |
Simon Glass | 7cf1757 | 2015-07-02 18:16:08 -0600 | [diff] [blame] | 668 | |
| 669 | source "drivers/video/bridge/Kconfig" |
Masahiro Yamada | cc85b7b | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 670 | |
Anatolij Gustschin | 411e73d | 2019-03-18 23:29:32 +0100 | [diff] [blame] | 671 | source "drivers/video/imx/Kconfig" |
Anatolij Gustschin | 983e2f2a | 2019-03-18 23:29:31 +0100 | [diff] [blame] | 672 | |
Anatolij Gustschin | e22e08e | 2021-10-04 17:33:12 +0200 | [diff] [blame] | 673 | config VIDEO_MXS |
| 674 | bool "Enable video support on i.MX28/i.MX6UL/i.MX7 SoCs" |
| 675 | depends on DM_VIDEO |
| 676 | help |
| 677 | Enable framebuffer driver for i.MX28/i.MX6UL/i.MX7 processors |
| 678 | |
Stefan Bosch | 5ed5ad4 | 2020-07-10 19:07:36 +0200 | [diff] [blame] | 679 | config VIDEO_NX |
| 680 | bool "Enable video support on Nexell SoC" |
| 681 | depends on ARCH_S5P6818 || ARCH_S5P4418 |
| 682 | help |
| 683 | Nexell SoC supports many video output options including eDP and |
| 684 | HDMI. This option enables this support which can be used on devices |
| 685 | which have an eDP display connected. |
| 686 | |
Michal Simek | 32058b8 | 2020-12-03 09:31:35 +0100 | [diff] [blame] | 687 | config VIDEO_SEPS525 |
| 688 | bool "Enable video support for Seps525" |
Michal Simek | 9f846d9 | 2022-02-04 08:36:54 +0100 | [diff] [blame] | 689 | depends on DM_VIDEO && DM_GPIO |
Michal Simek | 32058b8 | 2020-12-03 09:31:35 +0100 | [diff] [blame] | 690 | help |
| 691 | Enable support for the Syncoam PM-OLED display driver (RGB 160x128). |
| 692 | Currently driver is supporting only SPI interface. |
| 693 | |
Michal Simek | ab2829a | 2022-02-23 15:52:02 +0100 | [diff] [blame] | 694 | config VIDEO_ZYNQMP_DPSUB |
| 695 | bool "Enable video support for ZynqMP Display Port" |
| 696 | depends on DM_VIDEO && ZYNQMP_POWER_DOMAIN |
| 697 | help |
| 698 | Enable support for Xilinx ZynqMP Display Port. Currently this file |
| 699 | is used as placeholder for driver. The main reason is to record |
| 700 | compatible string and calling power domain driver. |
| 701 | |
Stefan Bosch | 5ed5ad4 | 2020-07-10 19:07:36 +0200 | [diff] [blame] | 702 | source "drivers/video/nexell/Kconfig" |
| 703 | |
Simon Glass | e9d797a | 2016-10-17 20:12:40 -0600 | [diff] [blame] | 704 | config VIDEO |
| 705 | bool "Enable legacy video support" |
| 706 | depends on !DM_VIDEO |
| 707 | help |
| 708 | Define this for video support, without using driver model. Some |
| 709 | drivers use this because they are not yet converted to driver |
| 710 | model. Video drivers typically provide a colour text console and |
| 711 | cursor. |
| 712 | |
Simon Glass | d76f29a | 2016-10-17 20:12:57 -0600 | [diff] [blame] | 713 | config CONSOLE_SCROLL_LINES |
| 714 | int "Number of lines to scroll the console by" |
Simon Glass | 03fbd25 | 2022-01-23 07:04:08 -0700 | [diff] [blame] | 715 | depends on DM_VIDEO || LCD |
Simon Glass | d76f29a | 2016-10-17 20:12:57 -0600 | [diff] [blame] | 716 | default 1 |
| 717 | help |
| 718 | When the console need to be scrolled, this is the number of |
| 719 | lines to scroll by. It defaults to 1. Increasing this makes the |
| 720 | console jump but can help speed up operation when scrolling |
| 721 | is slow. |
| 722 | |
Simon Glass | 169bb3b | 2016-10-17 20:12:56 -0600 | [diff] [blame] | 723 | config LCD |
| 724 | bool "Enable legacy LCD support" |
| 725 | help |
| 726 | Define this to enable LCD support (for output to LCD display). |
| 727 | You will also need to select an LCD driver using an additional |
| 728 | CONFIG option. See the README for details. Drives which have been |
| 729 | converted to driver model will instead used CONFIG_DM_VIDEO. |
| 730 | |
Tom Rini | 8381e63 | 2022-03-18 08:38:29 -0400 | [diff] [blame] | 731 | config LCD_INFO |
| 732 | bool "Show LCD info on-screen" |
| 733 | depends on LCD |
| 734 | |
| 735 | config LCD_LOGO |
| 736 | bool "Show a logo on screen" |
| 737 | depends on LCD |
| 738 | |
| 739 | config LCD_INFO_BELOW_LOGO |
| 740 | bool "Show LCD info below the on-screen logo" |
| 741 | depends on LCD_INFO && LCD_LOGO |
| 742 | |
Philipp Tomsich | 3a53b3e | 2017-05-05 21:48:26 +0200 | [diff] [blame] | 743 | config VIDEO_DW_HDMI |
| 744 | bool |
| 745 | help |
| 746 | Enables the common driver code for the Designware HDMI TX |
| 747 | block found in SoCs from various vendors. |
| 748 | As this does not provide any functionality by itself (but |
| 749 | rather requires a SoC-specific glue driver to call it), it |
| 750 | can not be enabled from the configuration menu. |
| 751 | |
Yannick Fertré | 9712c82 | 2019-10-07 15:29:05 +0200 | [diff] [blame] | 752 | config VIDEO_DSI_HOST_SANDBOX |
| 753 | bool "Enable sandbox for dsi host" |
| 754 | depends on SANDBOX |
| 755 | select VIDEO_MIPI_DSI |
| 756 | help |
| 757 | Enable support for sandbox dsi host device used for testing |
| 758 | purposes. |
| 759 | Display Serial Interface (DSI) defines a serial bus and |
| 760 | a communication protocol between the host and the device |
| 761 | (panel, bridge). |
| 762 | |
Yannick Fertré | 764af46 | 2019-10-07 15:29:06 +0200 | [diff] [blame] | 763 | config VIDEO_DW_MIPI_DSI |
| 764 | bool |
| 765 | select VIDEO_MIPI_DSI |
| 766 | help |
| 767 | Enables the common driver code for the Synopsis Designware |
| 768 | MIPI DSI block found in SoCs from various vendors. |
| 769 | As this does not provide any functionality by itself (but |
| 770 | rather requires a SoC-specific glue driver to call it), it |
| 771 | can not be enabled from the configuration menu. |
| 772 | |
Rob Clark | cf7ab0c | 2017-08-03 12:47:00 -0400 | [diff] [blame] | 773 | config VIDEO_SIMPLE |
| 774 | bool "Simple display driver for preconfigured display" |
| 775 | help |
| 776 | Enables a simple generic display driver which utilizes the |
| 777 | simple-framebuffer devicetree bindings. |
| 778 | |
| 779 | This driver assumes that the display hardware has been initialized |
| 780 | before u-boot starts, and u-boot will simply render to the pre- |
| 781 | allocated frame buffer surface. |
| 782 | |
Icenowy Zheng | 60e4b8f | 2017-10-26 11:14:46 +0800 | [diff] [blame] | 783 | config VIDEO_DT_SIMPLEFB |
| 784 | bool "Enable SimpleFB support for passing framebuffer to OS" |
| 785 | help |
| 786 | Enables the code to pass the framebuffer to the kernel as a |
| 787 | simple framebuffer in the device tree. |
| 788 | The video output is initialized by U-Boot, and kept by the |
| 789 | kernel. |
| 790 | |
Stephan Gerhold | 36f654a | 2021-07-02 19:21:56 +0200 | [diff] [blame] | 791 | config VIDEO_MCDE_SIMPLE |
| 792 | bool "Simple driver for ST-Ericsson MCDE with preconfigured display" |
| 793 | depends on DM_VIDEO |
| 794 | help |
| 795 | Enables a simple display driver for ST-Ericsson MCDE |
| 796 | (Multichannel Display Engine), which reads the configuration from |
| 797 | the MCDE registers. |
| 798 | |
| 799 | This driver assumes that the display hardware has been initialized |
| 800 | before u-boot starts, and u-boot will simply render to the pre- |
| 801 | allocated frame buffer surface. |
| 802 | |
Mario Six | 1b77320 | 2018-09-27 09:19:29 +0200 | [diff] [blame] | 803 | config OSD |
| 804 | bool "Enable OSD support" |
| 805 | depends on DM |
Mario Six | 1b77320 | 2018-09-27 09:19:29 +0200 | [diff] [blame] | 806 | help |
| 807 | This supports drivers that provide a OSD (on-screen display), which |
| 808 | is a (usually text-oriented) graphics buffer to show information on |
| 809 | a display. |
Mario Six | 8ea19da | 2018-09-27 09:19:30 +0200 | [diff] [blame] | 810 | |
Mario Six | 02ad6fb | 2018-09-27 09:19:31 +0200 | [diff] [blame] | 811 | config SANDBOX_OSD |
| 812 | bool "Enable sandbox OSD" |
| 813 | depends on OSD |
| 814 | help |
| 815 | Enable support for sandbox OSD device used for testing purposes. |
| 816 | |
Mario Six | 8ea19da | 2018-09-27 09:19:30 +0200 | [diff] [blame] | 817 | config IHS_VIDEO_OUT |
| 818 | bool "Enable IHS video out driver" |
| 819 | depends on OSD |
| 820 | help |
| 821 | Enable support for the gdsys Integrated Hardware Systems (IHS) video |
| 822 | out On-screen Display (OSD) used on gdsys FPGAs to control dynamic |
| 823 | textual overlays of the display outputs. |
| 824 | |
Simon Glass | 2d7a794 | 2020-08-11 11:23:35 -0600 | [diff] [blame] | 825 | config SPLASH_SCREEN |
| 826 | bool "Show a splash-screen image" |
| 827 | help |
| 828 | If this option is set, the environment is checked for a variable |
| 829 | "splashimage". If found, the usual display of logo, copyright and |
| 830 | system information on the LCD is suppressed and the BMP image at the |
| 831 | address specified in "splashimage" is loaded instead. The console is |
| 832 | redirected to the "nulldev", too. This allows for a "silent" boot |
| 833 | where a splash screen is loaded very quickly after power-on. |
| 834 | |
| 835 | The splash_screen_prepare() function is a weak function defined in |
| 836 | common/splash.c. It is called as part of the splash screen display |
| 837 | sequence. It gives the board an opportunity to prepare the splash |
| 838 | image data before it is processed and sent to the frame buffer by |
| 839 | U-Boot. Define your own version to use this feature. |
| 840 | |
Simon Glass | 8b883a3 | 2022-10-18 06:24:16 -0600 | [diff] [blame] | 841 | if SPLASH_SCREEN |
| 842 | |
Simon Glass | 2d7a794 | 2020-08-11 11:23:35 -0600 | [diff] [blame] | 843 | config SPLASHIMAGE_GUARD |
| 844 | bool "Support unaligned BMP images" |
Simon Glass | 2d7a794 | 2020-08-11 11:23:35 -0600 | [diff] [blame] | 845 | help |
| 846 | If this option is set, then U-Boot will prevent the environment |
| 847 | variable "splashimage" from being set to a problematic address |
| 848 | (see doc/README.displaying-bmps). |
| 849 | |
| 850 | This option is useful for targets where, due to alignment |
| 851 | restrictions, an improperly aligned BMP image will cause a data |
| 852 | abort. If you think you will not have problems with unaligned |
| 853 | accesses (for example because your toolchain prevents them) |
| 854 | there is no need to set this option. |
| 855 | |
| 856 | config SPLASH_SCREEN_ALIGN |
| 857 | bool "Allow positioning the splash image anywhere on the display" |
Simon Glass | 2d7a794 | 2020-08-11 11:23:35 -0600 | [diff] [blame] | 858 | help |
| 859 | If this option is set the splash image can be freely positioned |
| 860 | on the screen. Environment variable "splashpos" specifies the |
| 861 | position as "x,y". If a positive number is given it is used as |
| 862 | number of pixel from left/top. If a negative number is given it |
| 863 | is used as number of pixel from right/bottom. You can also |
| 864 | specify 'm' for centering the image. |
| 865 | |
| 866 | Example: |
| 867 | setenv splashpos m,m |
| 868 | => image at center of screen |
| 869 | |
| 870 | setenv splashpos 30,20 |
| 871 | => image at x = 30 and y = 20 |
| 872 | |
| 873 | setenv splashpos -10,m |
| 874 | => vertically centered image |
| 875 | at x = dspWidth - bmpWidth - 9 |
| 876 | |
Simon Glass | 45c0a7e | 2022-10-18 06:30:56 -0600 | [diff] [blame] | 877 | config HIDE_LOGO_VERSION |
| 878 | bool "Hide the version information on the splash screen" |
| 879 | help |
| 880 | Normally the U-Boot version string is shown on the display when the |
| 881 | splash screen is enabled. This information is not otherwise visible |
| 882 | since video starts up after U-Boot has displayed the initial banner. |
| 883 | |
| 884 | Enable this option to hide this information. |
| 885 | |
Simon Glass | 2d7a794 | 2020-08-11 11:23:35 -0600 | [diff] [blame] | 886 | config SPLASH_SOURCE |
| 887 | bool "Control the source of the splash image" |
Simon Glass | 2d7a794 | 2020-08-11 11:23:35 -0600 | [diff] [blame] | 888 | help |
| 889 | Use the splash_source.c library. This library provides facilities to |
| 890 | declare board specific splash image locations, routines for loading |
| 891 | splash image from supported locations, and a way of controlling the |
| 892 | selected splash location using the "splashsource" environment |
| 893 | variable. |
| 894 | |
| 895 | This CONFIG works as follows: |
| 896 | |
| 897 | - If splashsource is set to a supported location name as defined by |
| 898 | board code, use that splash location. |
| 899 | - If splashsource is undefined, use the first splash location as |
| 900 | default. |
| 901 | - If splashsource is set to an unsupported value, do not load a splash |
| 902 | screen. |
| 903 | |
| 904 | A splash source location can describe either storage with raw data, a |
| 905 | storage formatted with a file system or a FIT image. In case of a |
| 906 | filesystem, the splash screen data is loaded as a file. The name of |
| 907 | the splash screen file can be controlled with the environment variable |
| 908 | "splashfile". |
| 909 | |
| 910 | To enable loading the splash image from a FIT image, CONFIG_FIT must |
| 911 | be enabled. The FIT image has to start at the 'offset' field address |
| 912 | in the selected splash location. The name of splash image within the |
| 913 | FIT shall be specified by the environment variable "splashfile". |
| 914 | |
| 915 | In case the environment variable "splashfile" is not defined the |
| 916 | default name 'splash.bmp' will be used. |
| 917 | |
Simon Glass | 8b883a3 | 2022-10-18 06:24:16 -0600 | [diff] [blame] | 918 | endif # SPLASH_SCREEN |
| 919 | |
Patrick Delaunay | 5d0e2ab | 2020-09-28 11:30:14 +0200 | [diff] [blame] | 920 | config VIDEO_BMP_GZIP |
| 921 | bool "Gzip compressed BMP image support" |
| 922 | depends on CMD_BMP || SPLASH_SCREEN |
| 923 | help |
| 924 | If this option is set, additionally to standard BMP |
| 925 | images, gzipped BMP images can be displayed via the |
| 926 | splashscreen support or the bmp command. |
| 927 | |
Simon Glass | 858198c | 2022-10-18 06:46:08 -0600 | [diff] [blame^] | 928 | config VIDEO_LOGO_MAX_SIZE |
| 929 | bool "Maximum size of the bitmap logo in bytes" |
| 930 | |
Patrick Delaunay | c47fe77 | 2020-09-28 11:30:15 +0200 | [diff] [blame] | 931 | config VIDEO_BMP_RLE8 |
| 932 | bool "Run length encoded BMP image (RLE8) support" |
Simon Glass | 03fbd25 | 2022-01-23 07:04:08 -0700 | [diff] [blame] | 933 | depends on DM_VIDEO |
Patrick Delaunay | c47fe77 | 2020-09-28 11:30:15 +0200 | [diff] [blame] | 934 | help |
| 935 | If this option is set, the 8-bit RLE compressed BMP images |
| 936 | is supported. |
| 937 | |
Patrick Delaunay | b1f1763 | 2020-09-28 11:30:16 +0200 | [diff] [blame] | 938 | config BMP_16BPP |
| 939 | bool "16-bit-per-pixel BMP image support" |
| 940 | depends on DM_VIDEO || LCD |
| 941 | help |
| 942 | Support display of bitmaps file with 16-bit-per-pixel |
| 943 | |
| 944 | config BMP_24BPP |
| 945 | bool "24-bit-per-pixel BMP image support" |
| 946 | depends on DM_VIDEO || LCD |
| 947 | help |
| 948 | Support display of bitmaps file with 24-bit-per-pixel. |
| 949 | |
| 950 | config BMP_32BPP |
| 951 | bool "32-bit-per-pixel BMP image support" |
| 952 | depends on DM_VIDEO || LCD |
| 953 | help |
| 954 | Support display of bitmaps file with 32-bit-per-pixel. |
| 955 | |
Anatolij Gustschin | 3d471a1 | 2020-10-18 20:32:35 +0200 | [diff] [blame] | 956 | config VIDEO_VCXK |
| 957 | bool "Enable VCXK video controller driver support" |
Anatolij Gustschin | 3d471a1 | 2020-10-18 20:32:35 +0200 | [diff] [blame] | 958 | help |
| 959 | This enables VCXK driver which can be used with VC2K, VC4K |
| 960 | and VC8K devices on various boards from BuS Elektronik GmbH. |
| 961 | |
Masahiro Yamada | cc85b7b | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 962 | endmenu |