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