Masahiro Yamada | 0b11dbf | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 1 | # |
| 2 | # Video configuration |
| 3 | # |
| 4 | |
| 5 | menu "Graphics support" |
| 6 | |
Simon Glass | b86986c | 2022-10-18 07:46:31 -0600 | [diff] [blame] | 7 | config VIDEO |
Simon Glass | 1acafc7 | 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 | b86986c | 2022-10-18 07:46:31 -0600 | [diff] [blame] | 17 | if VIDEO |
Simon Glass | feda193 | 2022-10-18 07:35:17 -0600 | [diff] [blame] | 18 | |
Dzmitry Sankouski | 39c1fa2 | 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 | e24db86 | 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 | 0d6c089 | 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 | 64cfeda | 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 | 7a8555d | 2021-11-19 13:24:04 -0700 | [diff] [blame] | 50 | default y if !SPLASH_SCREEN |
Simon Glass | 84e63ab | 2021-11-19 13:24:03 -0700 | [diff] [blame] | 51 | select VIDEO_BMP_RLE8 |
Simon Glass | 64cfeda | 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 | e26e520 | 2020-05-26 00:20:49 +0200 | [diff] [blame] | 58 | config BACKLIGHT |
| 59 | bool "Enable panel backlight uclass support" |
Anatolij Gustschin | e26e520 | 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 | 551ca0e | 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 | 551ca0e | 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 | 196947b | 2021-01-23 19:43:52 +0100 | [diff] [blame] | 72 | struct video_uc_plat. That memory is then reserved for use after |
Simon Glass | 551ca0e | 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 | 9beac5d | 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 | 9beac5d | 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 | 196947b | 2021-01-23 19:43:52 +0100 | [diff] [blame] | 92 | struct video_uc_plat. |
Simon Glass | 9beac5d | 2020-07-02 21:12:20 -0600 | [diff] [blame] | 93 | |
Patrick Delaunay | 08a43cf | 2017-08-03 12:36:06 +0200 | [diff] [blame] | 94 | config BACKLIGHT_PWM |
| 95 | bool "Generic PWM based Backlight Driver" |
Anatolij Gustschin | e26e520 | 2020-05-26 00:20:49 +0200 | [diff] [blame] | 96 | depends on BACKLIGHT && DM_PWM |
Patrick Delaunay | 08a43cf | 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 | 5b6a6a9 | 2017-08-03 12:36:07 +0200 | [diff] [blame] | 105 | config BACKLIGHT_GPIO |
| 106 | bool "Generic GPIO based Backlight Driver" |
Anatolij Gustschin | e26e520 | 2020-05-26 00:20:49 +0200 | [diff] [blame] | 107 | depends on BACKLIGHT |
Patrick Delaunay | 5b6a6a9 | 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 | 1acafc7 | 2016-01-18 19:52:15 -0700 | [diff] [blame] | 115 | config VIDEO_BPP8 |
| 116 | bool "Support 8-bit-per-pixel displays" |
Anatolij Gustschin | 8a6ffed | 2020-02-04 22:43:06 +0100 | [diff] [blame] | 117 | default y |
Simon Glass | 1acafc7 | 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 | 8a6ffed | 2020-02-04 22:43:06 +0100 | [diff] [blame] | 126 | default y |
Simon Glass | 1acafc7 | 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 | 8a6ffed | 2020-02-04 22:43:06 +0100 | [diff] [blame] | 135 | default y |
Simon Glass | 1acafc7 | 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 | a085aa1 | 2017-09-13 18:12:21 -0400 | [diff] [blame] | 142 | config VIDEO_ANSI |
| 143 | bool "Support ANSI escape sequences in video console" |
Simon Glass | 72a0dd8 | 2023-01-06 08:52:29 -0600 | [diff] [blame] | 144 | default y if EFI_LOADER |
Rob Clark | a085aa1 | 2017-09-13 18:12:21 -0400 | [diff] [blame] | 145 | help |
| 146 | Enable ANSI escape sequence decoding for a more fully functional |
Simon Glass | 72a0dd8 | 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 | a085aa1 | 2017-09-13 18:12:21 -0400 | [diff] [blame] | 151 | |
Yannick Fertré | 66c3724 | 2019-10-07 15:29:04 +0200 | [diff] [blame] | 152 | config VIDEO_MIPI_DSI |
| 153 | bool "Support MIPI DSI interface" |
Yannick Fertré | 66c3724 | 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 | 6e42e25 | 2016-01-22 21:53:37 +0100 | [diff] [blame] | 159 | config CONSOLE_NORMAL |
| 160 | bool "Support a simple text console" |
Simon Glass | feda193 | 2022-10-18 07:35:17 -0600 | [diff] [blame] | 161 | default y |
Simon Glass | 6e42e25 | 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 | b5146b2 | 2016-01-18 19:52:19 -0700 | [diff] [blame] | 169 | bool "Support rotated displays" |
Simon Glass | b5146b2 | 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 | a29b012 | 2016-01-14 18:10:42 -0700 | [diff] [blame] | 180 | config CONSOLE_TRUETYPE |
| 181 | bool "Support a console that uses TrueType fonts" |
Dzmitry Sankouski | e7ee1fd | 2023-03-07 13:21:16 +0300 | [diff] [blame] | 182 | select CMD_SELECT_FONT |
Simon Glass | a29b012 | 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 | 31efa25 | 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 | 983b103 | 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 | 18138ab | 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 | 983b103 | 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 | 8ef0535 | 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 | e26e520 | 2020-05-26 00:20:49 +0200 | [diff] [blame] | 234 | config PANEL |
| 235 | bool "Enable panel uclass support" |
Anatolij Gustschin | e26e520 | 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 | 1bed576 | 2021-03-03 14:46:47 +1100 | [diff] [blame] | 242 | depends on PANEL && BACKLIGHT && DM_GPIO |
Anatolij Gustschin | e26e520 | 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 | 820b589 | 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 | a29b012 | 2016-01-14 18:10:42 -0700 | [diff] [blame] | 258 | source "drivers/video/fonts/Kconfig" |
| 259 | |
Simon Glass | a2931b3 | 2016-02-06 14:31:37 -0700 | [diff] [blame] | 260 | config VIDCONSOLE_AS_LCD |
Patrick Delaunay | 27b5b9e | 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 | 27b5b9e | 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 | 22b897a | 2020-05-23 17:11:20 +0200 | [diff] [blame] | 272 | default "lcd" if LCD || TEGRA_COMMON |
| 273 | default "vga" if !LCD |
Simon Glass | a2931b3 | 2016-02-06 14:31:37 -0700 | [diff] [blame] | 274 | help |
Anatolij Gustschin | 22b897a | 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 | a2931b3 | 2016-02-06 14:31:37 -0700 | [diff] [blame] | 280 | |
Simon Glass | e2d934b | 2023-07-15 21:39:18 -0600 | [diff] [blame^] | 281 | config VIDEO_BOCHS |
| 282 | bool "Enable Bochs video emulation for QEMU" |
| 283 | depends on X86 |
| 284 | help |
| 285 | Enable this to use the Bochs video support provided in the QEMU |
| 286 | emulator. This appears as a PCI device which U-Boot can set up to |
| 287 | provide a frame buffer. |
| 288 | |
| 289 | if VIDEO_BOCHS |
| 290 | |
| 291 | config VIDEO_BOCHS_SIZE_X |
| 292 | int "Width of display (X resolution)" |
| 293 | default 1280 |
| 294 | help |
| 295 | Sets the width of the display. |
| 296 | |
| 297 | These two options control the size of the display set up by QEMU. |
| 298 | Typical sizes are 1024 x 768 or 1280 x 1024. |
| 299 | |
| 300 | config VIDEO_BOCHS_SIZE_Y |
| 301 | int "High of display (Y resolution)" |
| 302 | default 1024 |
| 303 | help |
| 304 | Sets the height of the display. |
| 305 | |
| 306 | These two options control the size of the display set up by QEMU. |
| 307 | Typical sizes are 1024 x 768 or 1280 x 1024. |
| 308 | |
| 309 | endif |
| 310 | |
Bin Meng | 13b2bfc | 2016-10-09 04:14:16 -0700 | [diff] [blame] | 311 | config VIDEO_COREBOOT |
| 312 | bool "Enable coreboot framebuffer driver support" |
Simon Glass | 19987c9 | 2021-03-15 18:00:27 +1300 | [diff] [blame] | 313 | depends on X86 |
Bin Meng | 13b2bfc | 2016-10-09 04:14:16 -0700 | [diff] [blame] | 314 | help |
| 315 | Turn on this option to enable a framebuffer driver when U-Boot is |
| 316 | loaded by coreboot where the graphics device is configured by |
| 317 | coreboot already. This can in principle be used with any platform |
| 318 | that coreboot supports. |
| 319 | |
Bin Meng | 4a08c74 | 2018-06-12 08:36:22 -0700 | [diff] [blame] | 320 | config VIDEO_EFI |
| 321 | bool "Enable EFI framebuffer driver support" |
Simon Glass | 1834c08 | 2021-11-03 21:09:10 -0600 | [diff] [blame] | 322 | depends on EFI_STUB || EFI_APP |
Bin Meng | 4a08c74 | 2018-06-12 08:36:22 -0700 | [diff] [blame] | 323 | help |
| 324 | Turn on this option to enable a framebuffeer driver when U-Boot is |
| 325 | loaded as a payload (see README.u-boot_on_efi) by an EFI BIOS where |
| 326 | the graphics device is configured by the EFI BIOS already. This can |
| 327 | in principle be used with any platform that has an EFI BIOS. |
| 328 | |
Simon Glass | 6b1ba98 | 2014-12-29 19:32:28 -0700 | [diff] [blame] | 329 | config VIDEO_VESA |
| 330 | bool "Enable VESA video driver support" |
Simon Glass | 6b1ba98 | 2014-12-29 19:32:28 -0700 | [diff] [blame] | 331 | help |
| 332 | Turn on this option to enable a very simple driver which uses vesa |
| 333 | to discover the video mode and then provides a frame buffer for use |
| 334 | by U-Boot. This can in principle be used with any platform that |
| 335 | supports PCI and video cards that support VESA BIOS Extension (VBE). |
| 336 | |
Bin Meng | 6bde2dc | 2015-05-11 07:36:29 +0800 | [diff] [blame] | 337 | config FRAMEBUFFER_SET_VESA_MODE |
| 338 | bool "Set framebuffer graphics resolution" |
Simon Glass | 97cb092 | 2016-03-11 22:07:30 -0700 | [diff] [blame] | 339 | depends on VIDEO_VESA || VIDEO_BROADWELL_IGD |
Bin Meng | 6bde2dc | 2015-05-11 07:36:29 +0800 | [diff] [blame] | 340 | help |
| 341 | Set VESA/native framebuffer mode (needed for bootsplash and graphical |
| 342 | framebuffer console) |
| 343 | |
| 344 | choice |
| 345 | prompt "framebuffer graphics resolution" |
Bin Meng | 17b07d7 | 2018-04-11 22:02:16 -0700 | [diff] [blame] | 346 | default FRAMEBUFFER_VESA_MODE_118 |
Bin Meng | 6bde2dc | 2015-05-11 07:36:29 +0800 | [diff] [blame] | 347 | depends on FRAMEBUFFER_SET_VESA_MODE |
| 348 | help |
| 349 | This option sets the resolution used for the U-Boot framebuffer (and |
| 350 | bootsplash screen). |
| 351 | |
| 352 | config FRAMEBUFFER_VESA_MODE_100 |
| 353 | bool "640x400 256-color" |
| 354 | |
| 355 | config FRAMEBUFFER_VESA_MODE_101 |
| 356 | bool "640x480 256-color" |
| 357 | |
| 358 | config FRAMEBUFFER_VESA_MODE_102 |
| 359 | bool "800x600 16-color" |
| 360 | |
| 361 | config FRAMEBUFFER_VESA_MODE_103 |
| 362 | bool "800x600 256-color" |
| 363 | |
| 364 | config FRAMEBUFFER_VESA_MODE_104 |
| 365 | bool "1024x768 16-color" |
| 366 | |
| 367 | config FRAMEBUFFER_VESA_MODE_105 |
Bin Meng | 57dccb5 | 2015-08-09 23:26:59 -0700 | [diff] [blame] | 368 | bool "1024x768 256-color" |
Bin Meng | 6bde2dc | 2015-05-11 07:36:29 +0800 | [diff] [blame] | 369 | |
| 370 | config FRAMEBUFFER_VESA_MODE_106 |
| 371 | bool "1280x1024 16-color" |
| 372 | |
| 373 | config FRAMEBUFFER_VESA_MODE_107 |
| 374 | bool "1280x1024 256-color" |
| 375 | |
| 376 | config FRAMEBUFFER_VESA_MODE_108 |
| 377 | bool "80x60 text" |
| 378 | |
| 379 | config FRAMEBUFFER_VESA_MODE_109 |
| 380 | bool "132x25 text" |
| 381 | |
| 382 | config FRAMEBUFFER_VESA_MODE_10A |
| 383 | bool "132x43 text" |
| 384 | |
| 385 | config FRAMEBUFFER_VESA_MODE_10B |
| 386 | bool "132x50 text" |
| 387 | |
| 388 | config FRAMEBUFFER_VESA_MODE_10C |
| 389 | bool "132x60 text" |
| 390 | |
| 391 | config FRAMEBUFFER_VESA_MODE_10D |
| 392 | bool "320x200 32k-color (1:5:5:5)" |
| 393 | |
| 394 | config FRAMEBUFFER_VESA_MODE_10E |
| 395 | bool "320x200 64k-color (5:6:5)" |
| 396 | |
| 397 | config FRAMEBUFFER_VESA_MODE_10F |
| 398 | bool "320x200 16.8M-color (8:8:8)" |
| 399 | |
| 400 | config FRAMEBUFFER_VESA_MODE_110 |
| 401 | bool "640x480 32k-color (1:5:5:5)" |
| 402 | |
| 403 | config FRAMEBUFFER_VESA_MODE_111 |
| 404 | bool "640x480 64k-color (5:6:5)" |
| 405 | |
| 406 | config FRAMEBUFFER_VESA_MODE_112 |
| 407 | bool "640x480 16.8M-color (8:8:8)" |
| 408 | |
| 409 | config FRAMEBUFFER_VESA_MODE_113 |
| 410 | bool "800x600 32k-color (1:5:5:5)" |
| 411 | |
| 412 | config FRAMEBUFFER_VESA_MODE_114 |
| 413 | bool "800x600 64k-color (5:6:5)" |
| 414 | |
| 415 | config FRAMEBUFFER_VESA_MODE_115 |
| 416 | bool "800x600 16.8M-color (8:8:8)" |
| 417 | |
| 418 | config FRAMEBUFFER_VESA_MODE_116 |
| 419 | bool "1024x768 32k-color (1:5:5:5)" |
| 420 | |
| 421 | config FRAMEBUFFER_VESA_MODE_117 |
| 422 | bool "1024x768 64k-color (5:6:5)" |
| 423 | |
| 424 | config FRAMEBUFFER_VESA_MODE_118 |
| 425 | bool "1024x768 16.8M-color (8:8:8)" |
| 426 | |
| 427 | config FRAMEBUFFER_VESA_MODE_119 |
| 428 | bool "1280x1024 32k-color (1:5:5:5)" |
| 429 | |
| 430 | config FRAMEBUFFER_VESA_MODE_11A |
| 431 | bool "1280x1024 64k-color (5:6:5)" |
| 432 | |
| 433 | config FRAMEBUFFER_VESA_MODE_11B |
| 434 | bool "1280x1024 16.8M-color (8:8:8)" |
| 435 | |
| 436 | config FRAMEBUFFER_VESA_MODE_USER |
| 437 | bool "Manually select VESA mode" |
| 438 | |
| 439 | endchoice |
| 440 | |
| 441 | # Map the config names to an integer (KB). |
| 442 | config FRAMEBUFFER_VESA_MODE |
| 443 | prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER |
| 444 | hex |
| 445 | default 0x100 if FRAMEBUFFER_VESA_MODE_100 |
| 446 | default 0x101 if FRAMEBUFFER_VESA_MODE_101 |
| 447 | default 0x102 if FRAMEBUFFER_VESA_MODE_102 |
| 448 | default 0x103 if FRAMEBUFFER_VESA_MODE_103 |
| 449 | default 0x104 if FRAMEBUFFER_VESA_MODE_104 |
| 450 | default 0x105 if FRAMEBUFFER_VESA_MODE_105 |
| 451 | default 0x106 if FRAMEBUFFER_VESA_MODE_106 |
| 452 | default 0x107 if FRAMEBUFFER_VESA_MODE_107 |
| 453 | default 0x108 if FRAMEBUFFER_VESA_MODE_108 |
| 454 | default 0x109 if FRAMEBUFFER_VESA_MODE_109 |
| 455 | default 0x10A if FRAMEBUFFER_VESA_MODE_10A |
| 456 | default 0x10B if FRAMEBUFFER_VESA_MODE_10B |
| 457 | default 0x10C if FRAMEBUFFER_VESA_MODE_10C |
| 458 | default 0x10D if FRAMEBUFFER_VESA_MODE_10D |
| 459 | default 0x10E if FRAMEBUFFER_VESA_MODE_10E |
| 460 | default 0x10F if FRAMEBUFFER_VESA_MODE_10F |
| 461 | default 0x110 if FRAMEBUFFER_VESA_MODE_110 |
| 462 | default 0x111 if FRAMEBUFFER_VESA_MODE_111 |
| 463 | default 0x112 if FRAMEBUFFER_VESA_MODE_112 |
| 464 | default 0x113 if FRAMEBUFFER_VESA_MODE_113 |
| 465 | default 0x114 if FRAMEBUFFER_VESA_MODE_114 |
| 466 | default 0x115 if FRAMEBUFFER_VESA_MODE_115 |
| 467 | default 0x116 if FRAMEBUFFER_VESA_MODE_116 |
| 468 | default 0x117 if FRAMEBUFFER_VESA_MODE_117 |
| 469 | default 0x118 if FRAMEBUFFER_VESA_MODE_118 |
| 470 | default 0x119 if FRAMEBUFFER_VESA_MODE_119 |
| 471 | default 0x11A if FRAMEBUFFER_VESA_MODE_11A |
| 472 | default 0x11B if FRAMEBUFFER_VESA_MODE_11B |
| 473 | default 0x117 if FRAMEBUFFER_VESA_MODE_USER |
| 474 | |
Hans de Goede | 66525bb | 2015-08-08 16:03:29 +0200 | [diff] [blame] | 475 | config VIDEO_LCD_ANX9804 |
| 476 | bool "ANX9804 bridge chip" |
Hans de Goede | 66525bb | 2015-08-08 16:03:29 +0200 | [diff] [blame] | 477 | ---help--- |
| 478 | Support for the ANX9804 bridge chip, which can take pixel data coming |
| 479 | from a parallel LCD interface and translate it on the fy into a DP |
| 480 | interface for driving eDP TFT displays. It uses I2C for configuration. |
| 481 | |
Tom Rini | 286c453 | 2022-03-18 08:38:28 -0400 | [diff] [blame] | 482 | config ATMEL_LCD |
| 483 | bool "Atmel LCD panel support" |
Simon Glass | feda193 | 2022-10-18 07:35:17 -0600 | [diff] [blame] | 484 | depends on ARCH_AT91 |
Tom Rini | 286c453 | 2022-03-18 08:38:28 -0400 | [diff] [blame] | 485 | |
| 486 | config ATMEL_LCD_BGR555 |
| 487 | bool "Display in BGR555 mode" |
| 488 | help |
| 489 | Use the BGR555 output mode. Otherwise RGB565 is used. |
| 490 | |
Simon Glass | 2cbc1c0 | 2022-01-23 07:04:14 -0700 | [diff] [blame] | 491 | config VIDEO_BCM2835 |
| 492 | bool "Display support for BCM2835" |
| 493 | help |
| 494 | The graphics processor already sets up the display so this driver |
| 495 | simply checks the resolution and then sets up the frame buffer with |
| 496 | that same resolution (or as near as possible) and 32bpp depth, so |
| 497 | that U-Boot can access it with full colour depth. |
| 498 | |
Svyatoslav Ryhel | def72d5 | 2023-04-25 10:51:47 +0300 | [diff] [blame] | 499 | config VIDEO_LCD_ENDEAVORU |
| 500 | tristate "Endeavoru 720x1280 DSI video mode panel" |
| 501 | depends on PANEL && BACKLIGHT |
| 502 | select VIDEO_MIPI_DSI |
| 503 | help |
| 504 | Say Y here if you want to enable support for the IPS-LCD panel |
| 505 | module for HTC One X. Driver supports a family of panels, |
| 506 | made at least by 3 vendors (Sharp, Sony and AUO), but set up |
| 507 | using the same DSI command sequence. The panel has a 720x1280 |
| 508 | resolution and uses 24 bit RGB per pixel. |
| 509 | |
Yannick Fertré | 78157b2 | 2019-10-07 15:29:08 +0200 | [diff] [blame] | 510 | config VIDEO_LCD_ORISETECH_OTM8009A |
| 511 | bool "OTM8009A DSI LCD panel support" |
Yannick Fertré | 78157b2 | 2019-10-07 15:29:08 +0200 | [diff] [blame] | 512 | select VIDEO_MIPI_DSI |
Yannick Fertré | 78157b2 | 2019-10-07 15:29:08 +0200 | [diff] [blame] | 513 | help |
| 514 | Say Y here if you want to enable support for Orise Technology |
| 515 | otm8009a 480x800 dsi 2dl panel. |
| 516 | |
Yannick Fertré | 06ef131 | 2019-10-07 15:29:09 +0200 | [diff] [blame] | 517 | config VIDEO_LCD_RAYDIUM_RM68200 |
| 518 | bool "RM68200 DSI LCD panel support" |
Yannick Fertré | 06ef131 | 2019-10-07 15:29:09 +0200 | [diff] [blame] | 519 | select VIDEO_MIPI_DSI |
Yannick Fertré | 06ef131 | 2019-10-07 15:29:09 +0200 | [diff] [blame] | 520 | help |
| 521 | Say Y here if you want to enable support for Raydium RM68200 |
| 522 | 720x1280 DSI video mode panel. |
| 523 | |
Svyatoslav Ryhel | dcee478 | 2023-04-25 10:51:44 +0300 | [diff] [blame] | 524 | config VIDEO_LCD_RENESAS_R61307 |
| 525 | tristate "Renesas R61307 DSI video mode panel" |
| 526 | depends on PANEL && BACKLIGHT |
| 527 | select VIDEO_MIPI_DSI |
| 528 | help |
| 529 | Say Y here if you want to enable support for KOE tx13d100vm0eaa |
| 530 | IPS-LCD module with Renesas R69328 IC. The panel has a 1024x768 |
| 531 | resolution and uses 24 bit RGB per pixel. |
| 532 | |
Svyatoslav Ryhel | 6d9b3a7 | 2023-04-25 10:51:45 +0300 | [diff] [blame] | 533 | config VIDEO_LCD_RENESAS_R69328 |
| 534 | tristate "Renesas R69328 720x1280 DSI video mode panel" |
| 535 | depends on PANEL && BACKLIGHT |
| 536 | select VIDEO_MIPI_DSI |
| 537 | help |
| 538 | Say Y here if you want to enable support for JDI dx12d100vm0eaa |
| 539 | IPS-LCD module with Renesas R69328 IC. The panel has a 720x1280 |
| 540 | resolution and uses 24 bit RGB per pixel. |
| 541 | |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 542 | config VIDEO_LCD_SSD2828 |
| 543 | bool "SSD2828 bridge chip" |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 544 | ---help--- |
| 545 | Support for the SSD2828 bridge chip, which can take pixel data coming |
| 546 | from a parallel LCD interface and translate it on the fly into MIPI DSI |
| 547 | interface for driving a MIPI compatible LCD panel. It uses SPI for |
| 548 | configuration. |
| 549 | |
| 550 | config VIDEO_LCD_SSD2828_TX_CLK |
| 551 | int "SSD2828 TX_CLK frequency (in MHz)" |
| 552 | depends on VIDEO_LCD_SSD2828 |
Siarhei Siamashka | dddccd6 | 2015-01-19 05:23:35 +0200 | [diff] [blame] | 553 | default 0 |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 554 | ---help--- |
| 555 | The frequency of the crystal, which is clocking SSD2828. It may be |
| 556 | anything in the 8MHz-30MHz range and the exact value should be |
| 557 | retrieved from the board schematics. Or in the case of Allwinner |
| 558 | hardware, it can be usually found as 'lcd_xtal_freq' variable in |
Siarhei Siamashka | dddccd6 | 2015-01-19 05:23:35 +0200 | [diff] [blame] | 559 | FEX files. It can be also set to 0 for selecting PCLK from the |
| 560 | parallel LCD interface instead of TX_CLK as the PLL clock source. |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 561 | |
| 562 | config VIDEO_LCD_SSD2828_RESET |
| 563 | string "RESET pin of SSD2828" |
| 564 | depends on VIDEO_LCD_SSD2828 |
| 565 | default "" |
| 566 | ---help--- |
| 567 | The reset pin of SSD2828 chip. This takes a string in the format |
Samuel Holland | 4d9958b | 2021-09-11 16:50:48 -0500 | [diff] [blame] | 568 | understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H. |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 569 | |
Neil Armstrong | c823f24 | 2020-09-29 11:53:53 +0200 | [diff] [blame] | 570 | config VIDEO_LCD_TDO_TL070WSH30 |
| 571 | bool "TDO TL070WSH30 DSI LCD panel support" |
Neil Armstrong | c823f24 | 2020-09-29 11:53:53 +0200 | [diff] [blame] | 572 | select VIDEO_MIPI_DSI |
Neil Armstrong | c823f24 | 2020-09-29 11:53:53 +0200 | [diff] [blame] | 573 | help |
| 574 | Say Y here if you want to enable support for TDO TL070WSH30 |
| 575 | 1024x600 DSI video mode panel. |
| 576 | |
Hans de Goede | a5464f2 | 2015-01-20 09:22:26 +0100 | [diff] [blame] | 577 | config VIDEO_LCD_HITACHI_TX18D42VM |
| 578 | bool "Hitachi tx18d42vm LVDS LCD panel support" |
Hans de Goede | a5464f2 | 2015-01-20 09:22:26 +0100 | [diff] [blame] | 579 | ---help--- |
| 580 | Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a |
| 581 | lcd controller which needs to be initialized over SPI, once that is |
| 582 | done they work like a regular LVDS panel. |
| 583 | |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 584 | config VIDEO_LCD_SPI_CS |
| 585 | string "SPI CS pin for LCD related config job" |
Hans de Goede | a5464f2 | 2015-01-20 09:22:26 +0100 | [diff] [blame] | 586 | depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 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. The option takes a string in the format |
Samuel Holland | 4d9958b | 2021-09-11 16:50:48 -0500 | [diff] [blame] | 592 | understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H. |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 593 | |
| 594 | config VIDEO_LCD_SPI_SCLK |
| 595 | string "SPI SCLK pin for LCD related config job" |
Hans de Goede | a5464f2 | 2015-01-20 09:22:26 +0100 | [diff] [blame] | 596 | depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 597 | default "" |
| 598 | ---help--- |
| 599 | This is one of the SPI communication pins, involved in setting up a |
| 600 | working LCD configuration. The exact role of SPI may differ for |
| 601 | different hardware setups. The option takes a string in the format |
Samuel Holland | 4d9958b | 2021-09-11 16:50:48 -0500 | [diff] [blame] | 602 | understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H. |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 603 | |
| 604 | config VIDEO_LCD_SPI_MOSI |
| 605 | string "SPI MOSI pin for LCD related config job" |
Hans de Goede | a5464f2 | 2015-01-20 09:22:26 +0100 | [diff] [blame] | 606 | depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 607 | default "" |
| 608 | ---help--- |
| 609 | This is one of the SPI communication pins, involved in setting up a |
| 610 | working LCD configuration. The exact role of SPI may differ for |
| 611 | different hardware setups. The option takes a string in the format |
Samuel Holland | 4d9958b | 2021-09-11 16:50:48 -0500 | [diff] [blame] | 612 | understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H. |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 613 | |
| 614 | config VIDEO_LCD_SPI_MISO |
| 615 | string "SPI MISO pin for LCD related config job (optional)" |
| 616 | depends on VIDEO_LCD_SSD2828 |
| 617 | default "" |
| 618 | ---help--- |
| 619 | This is one of the SPI communication pins, involved in setting up a |
| 620 | working LCD configuration. The exact role of SPI may differ for |
| 621 | different hardware setups. If wired up, this pin may provide additional |
| 622 | useful functionality. Such as bi-directional communication with the |
| 623 | hardware and LCD panel id retrieval (if the panel can report it). The |
Samuel Holland | 4d9958b | 2021-09-11 16:50:48 -0500 | [diff] [blame] | 624 | option takes a string in the format understood by 'sunxi_name_to_gpio' |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 625 | function, e.g. PH1 for pin 1 of port H. |
Simon Glass | 51f2c99 | 2015-04-14 21:03:38 -0600 | [diff] [blame] | 626 | |
Neil Armstrong | 3bed422 | 2018-07-24 17:45:28 +0200 | [diff] [blame] | 627 | source "drivers/video/meson/Kconfig" |
| 628 | |
Stefan Roese | 913d1be | 2016-01-20 08:13:28 +0100 | [diff] [blame] | 629 | config VIDEO_MVEBU |
| 630 | bool "Armada XP LCD controller" |
Stefan Roese | 913d1be | 2016-01-20 08:13:28 +0100 | [diff] [blame] | 631 | ---help--- |
| 632 | Support for the LCD controller integrated in the Marvell |
| 633 | Armada XP SoC. |
| 634 | |
Adam Ford | 244eaea | 2018-08-02 08:50:20 -0500 | [diff] [blame] | 635 | config VIDEO_OMAP3 |
| 636 | bool "Enable OMAP3+ DSS Support" |
| 637 | depends on ARCH_OMAP2PLUS |
| 638 | help |
| 639 | This enables the Display subsystem (DSS) on OMAP3+ boards. |
| 640 | |
Anatolij Gustschin | 7588c31 | 2016-01-25 17:17:22 +0100 | [diff] [blame] | 641 | config I2C_EDID |
| 642 | bool "Enable EDID library" |
Anatolij Gustschin | 7588c31 | 2016-01-25 17:17:22 +0100 | [diff] [blame] | 643 | help |
| 644 | This enables library for accessing EDID data from an LCD panel. |
| 645 | |
Simon Glass | 2dcf143 | 2016-01-21 19:45:00 -0700 | [diff] [blame] | 646 | config DISPLAY |
| 647 | bool "Enable Display support" |
| 648 | depends on DM |
Anatolij Gustschin | 7588c31 | 2016-01-25 17:17:22 +0100 | [diff] [blame] | 649 | select I2C_EDID |
Simon Glass | 51f2c99 | 2015-04-14 21:03:38 -0600 | [diff] [blame] | 650 | help |
Simon Glass | 2dcf143 | 2016-01-21 19:45:00 -0700 | [diff] [blame] | 651 | This supports drivers that provide a display, such as eDP (Embedded |
| 652 | DisplayPort) and HDMI (High Definition Multimedia Interface). |
| 653 | The devices provide a simple interface to start up the display, |
| 654 | read display information and enable it. |
Simon Glass | e7e8823 | 2015-04-14 21:03:42 -0600 | [diff] [blame] | 655 | |
Liviu Dudau | 055da18 | 2018-09-28 13:49:31 +0100 | [diff] [blame] | 656 | config NXP_TDA19988 |
| 657 | bool "Enable NXP TDA19988 support" |
| 658 | depends on DISPLAY |
Liviu Dudau | 055da18 | 2018-09-28 13:49:31 +0100 | [diff] [blame] | 659 | help |
| 660 | This enables support for the NXP TDA19988 HDMI encoder. This encoder |
| 661 | will convert RGB data streams into HDMI-encoded signals. |
| 662 | |
Songjun Wu | 7927831 | 2017-04-11 16:33:30 +0800 | [diff] [blame] | 663 | config ATMEL_HLCD |
| 664 | bool "Enable ATMEL video support using HLCDC" |
Songjun Wu | 7927831 | 2017-04-11 16:33:30 +0800 | [diff] [blame] | 665 | help |
| 666 | HLCDC supports video output to an attached LCD panel. |
| 667 | |
Svyatoslav Ryhel | 0602083 | 2023-04-25 10:51:42 +0300 | [diff] [blame] | 668 | config BACKLIGHT_LM3533 |
| 669 | bool "Backlight Driver for LM3533" |
| 670 | depends on BACKLIGHT |
| 671 | select DM_I2C |
| 672 | help |
| 673 | Say Y to enable the backlight driver for National Semiconductor / TI |
| 674 | LM3533 Lighting Power chip. Only Bank A is supported as for now. |
| 675 | Supported backlight level range is from 2 to 255 with step of 1. |
| 676 | |
Dario Binacchi | f4cf871 | 2023-01-28 16:55:31 +0100 | [diff] [blame] | 677 | source "drivers/video/ti/Kconfig" |
| 678 | |
Tom Rini | 4d2cab3 | 2022-06-10 22:59:34 -0400 | [diff] [blame] | 679 | source "drivers/video/exynos/Kconfig" |
| 680 | |
Mario Six | 25a9f97 | 2018-08-09 14:51:23 +0200 | [diff] [blame] | 681 | config LOGICORE_DP_TX |
| 682 | bool "Enable Logicore DP TX driver" |
| 683 | depends on DISPLAY |
| 684 | help |
| 685 | Enable the driver for the transmitter part of the Xilinx LogiCORE |
| 686 | DisplayPort, a IP core for Xilinx FPGAs that implements a DisplayPort |
| 687 | video interface as defined by VESA DisplayPort v1.2. |
| 688 | |
| 689 | Note that this is a pure transmitter device, and has no display |
| 690 | capabilities by itself. |
| 691 | |
Simon Glass | 97cb092 | 2016-03-11 22:07:30 -0700 | [diff] [blame] | 692 | config VIDEO_BROADWELL_IGD |
| 693 | bool "Enable Intel Broadwell integrated graphics device" |
| 694 | depends on X86 |
| 695 | help |
Simon Glass | 1df9127 | 2016-10-05 20:42:14 -0600 | [diff] [blame] | 696 | This enables support for integrated graphics on Intel broadwell |
Simon Glass | 97cb092 | 2016-03-11 22:07:30 -0700 | [diff] [blame] | 697 | devices. Initialisation is mostly performed by a VGA boot ROM, with |
| 698 | some setup handled by U-Boot itself. The graphics adaptor works as |
| 699 | a VESA device and supports LCD panels, eDP and LVDS outputs. |
| 700 | Configuration of most aspects of device operation is performed using |
| 701 | a special tool which configures the VGA ROM, but the graphics |
| 702 | resolution can be selected in U-Boot. |
| 703 | |
Simon Glass | 2c94380 | 2016-10-05 20:42:15 -0600 | [diff] [blame] | 704 | config VIDEO_IVYBRIDGE_IGD |
| 705 | bool "Enable Intel Ivybridge integration graphics support" |
| 706 | depends on X86 |
| 707 | help |
| 708 | This enables support for integrated graphics on Intel ivybridge |
| 709 | devices. Initialisation is mostly performed by a VGA boot ROM, with |
| 710 | some setup handled by U-Boot itself. The graphics adaptor works as |
| 711 | a VESA device and supports LCD panels, eDP and LVDS outputs. |
| 712 | Configuration of most aspects of device operation is performed using |
| 713 | a special tool which configures the VGA ROM, but the graphics |
| 714 | resolution can be selected in U-Boot. |
| 715 | |
eric.gao@rock-chips.com | b98f0a3 | 2017-04-17 22:24:23 +0800 | [diff] [blame] | 716 | source "drivers/video/rockchip/Kconfig" |
Simon Glass | c253948 | 2016-01-21 19:45:03 -0700 | [diff] [blame] | 717 | |
Liviu Dudau | c1a65a8 | 2018-09-28 13:50:53 +0100 | [diff] [blame] | 718 | config VIDEO_ARM_MALIDP |
| 719 | bool "Enable Arm Mali Display Processor support" |
Simon Glass | feda193 | 2022-10-18 07:35:17 -0600 | [diff] [blame] | 720 | depends on OF_CONTROL |
Liviu Dudau | c1a65a8 | 2018-09-28 13:50:53 +0100 | [diff] [blame] | 721 | select VEXPRESS_CLK |
| 722 | help |
| 723 | This enables support for Arm Ltd Mali Display Processors from |
| 724 | the DP500, DP550 and DP650 family. |
| 725 | |
Simon Glass | 1e69ad0 | 2016-01-18 19:52:24 -0700 | [diff] [blame] | 726 | config VIDEO_SANDBOX_SDL |
| 727 | bool "Enable sandbox video console using SDL" |
Tom Rini | d948c89 | 2022-11-19 18:45:43 -0500 | [diff] [blame] | 728 | depends on SANDBOX_SDL |
Simon Glass | 1e69ad0 | 2016-01-18 19:52:24 -0700 | [diff] [blame] | 729 | help |
| 730 | When using sandbox you can enable an emulated LCD display which |
| 731 | appears as an SDL (Simple DirectMedia Layer) window. This is a |
| 732 | console device and can display stdout output. Within U-Boot is is |
| 733 | a normal bitmap display and can display images as well as text. |
| 734 | |
Philippe CORNU | 72719d2 | 2017-08-03 12:36:08 +0200 | [diff] [blame] | 735 | source "drivers/video/stm32/Kconfig" |
| 736 | |
Nikhil M Jain | 5f9f816 | 2023-01-31 15:35:17 +0530 | [diff] [blame] | 737 | source "drivers/video/tidss/Kconfig" |
| 738 | |
Simon Glass | e7e8823 | 2015-04-14 21:03:42 -0600 | [diff] [blame] | 739 | config VIDEO_TEGRA124 |
| 740 | bool "Enable video support on Tegra124" |
| 741 | help |
| 742 | Tegra124 supports many video output options including eDP and |
| 743 | HDMI. At present only eDP is supported by U-Boot. This option |
| 744 | enables this support which can be used on devices which |
| 745 | have an eDP display connected. |
Simon Glass | 801ab9e | 2015-07-02 18:16:08 -0600 | [diff] [blame] | 746 | |
| 747 | source "drivers/video/bridge/Kconfig" |
Masahiro Yamada | 0b11dbf | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 748 | |
Svyatoslav Ryhel | cf291ba | 2023-03-27 11:11:41 +0300 | [diff] [blame] | 749 | source "drivers/video/tegra20/Kconfig" |
| 750 | |
Anatolij Gustschin | bffd131 | 2019-03-18 23:29:32 +0100 | [diff] [blame] | 751 | source "drivers/video/imx/Kconfig" |
Anatolij Gustschin | 57f065f | 2019-03-18 23:29:31 +0100 | [diff] [blame] | 752 | |
Anatolij Gustschin | 79c0533 | 2021-10-04 17:33:12 +0200 | [diff] [blame] | 753 | config VIDEO_MXS |
| 754 | bool "Enable video support on i.MX28/i.MX6UL/i.MX7 SoCs" |
Anatolij Gustschin | 79c0533 | 2021-10-04 17:33:12 +0200 | [diff] [blame] | 755 | help |
| 756 | Enable framebuffer driver for i.MX28/i.MX6UL/i.MX7 processors |
| 757 | |
Stefan Bosch | e1e96ba | 2020-07-10 19:07:36 +0200 | [diff] [blame] | 758 | config VIDEO_NX |
| 759 | bool "Enable video support on Nexell SoC" |
| 760 | depends on ARCH_S5P6818 || ARCH_S5P4418 |
| 761 | help |
| 762 | Nexell SoC supports many video output options including eDP and |
| 763 | HDMI. This option enables this support which can be used on devices |
| 764 | which have an eDP display connected. |
| 765 | |
Michal Simek | b66d7af | 2020-12-03 09:31:35 +0100 | [diff] [blame] | 766 | config VIDEO_SEPS525 |
| 767 | bool "Enable video support for Seps525" |
Simon Glass | feda193 | 2022-10-18 07:35:17 -0600 | [diff] [blame] | 768 | depends on DM_GPIO |
Michal Simek | b66d7af | 2020-12-03 09:31:35 +0100 | [diff] [blame] | 769 | help |
| 770 | Enable support for the Syncoam PM-OLED display driver (RGB 160x128). |
| 771 | Currently driver is supporting only SPI interface. |
| 772 | |
Venkatesh Yadav Abbarapu | c4865e1 | 2023-05-17 10:42:09 +0200 | [diff] [blame] | 773 | source "drivers/video/zynqmp/Kconfig" |
Stefan Bosch | e1e96ba | 2020-07-10 19:07:36 +0200 | [diff] [blame] | 774 | source "drivers/video/nexell/Kconfig" |
| 775 | |
Simon Glass | b87ca80 | 2016-10-17 20:12:57 -0600 | [diff] [blame] | 776 | config CONSOLE_SCROLL_LINES |
| 777 | int "Number of lines to scroll the console by" |
Simon Glass | b87ca80 | 2016-10-17 20:12:57 -0600 | [diff] [blame] | 778 | default 1 |
| 779 | help |
| 780 | When the console need to be scrolled, this is the number of |
| 781 | lines to scroll by. It defaults to 1. Increasing this makes the |
| 782 | console jump but can help speed up operation when scrolling |
| 783 | is slow. |
| 784 | |
Philipp Tomsich | 8517f64 | 2017-05-05 21:48:26 +0200 | [diff] [blame] | 785 | config VIDEO_DW_HDMI |
| 786 | bool |
| 787 | help |
| 788 | Enables the common driver code for the Designware HDMI TX |
| 789 | block found in SoCs from various vendors. |
| 790 | As this does not provide any functionality by itself (but |
| 791 | rather requires a SoC-specific glue driver to call it), it |
| 792 | can not be enabled from the configuration menu. |
| 793 | |
Yannick Fertré | 23f965a | 2019-10-07 15:29:05 +0200 | [diff] [blame] | 794 | config VIDEO_DSI_HOST_SANDBOX |
| 795 | bool "Enable sandbox for dsi host" |
| 796 | depends on SANDBOX |
| 797 | select VIDEO_MIPI_DSI |
| 798 | help |
| 799 | Enable support for sandbox dsi host device used for testing |
| 800 | purposes. |
| 801 | Display Serial Interface (DSI) defines a serial bus and |
| 802 | a communication protocol between the host and the device |
| 803 | (panel, bridge). |
| 804 | |
Yannick Fertré | d4f7ea8 | 2019-10-07 15:29:06 +0200 | [diff] [blame] | 805 | config VIDEO_DW_MIPI_DSI |
| 806 | bool |
| 807 | select VIDEO_MIPI_DSI |
| 808 | help |
| 809 | Enables the common driver code for the Synopsis Designware |
| 810 | MIPI DSI block found in SoCs from various vendors. |
| 811 | As this does not provide any functionality by itself (but |
| 812 | rather requires a SoC-specific glue driver to call it), it |
| 813 | can not be enabled from the configuration menu. |
| 814 | |
Rob Clark | 971d7e6 | 2017-08-03 12:47:00 -0400 | [diff] [blame] | 815 | config VIDEO_SIMPLE |
| 816 | bool "Simple display driver for preconfigured display" |
| 817 | help |
| 818 | Enables a simple generic display driver which utilizes the |
| 819 | simple-framebuffer devicetree bindings. |
| 820 | |
| 821 | This driver assumes that the display hardware has been initialized |
| 822 | before u-boot starts, and u-boot will simply render to the pre- |
| 823 | allocated frame buffer surface. |
| 824 | |
Icenowy Zheng | f6bdddc | 2017-10-26 11:14:46 +0800 | [diff] [blame] | 825 | config VIDEO_DT_SIMPLEFB |
| 826 | bool "Enable SimpleFB support for passing framebuffer to OS" |
| 827 | help |
| 828 | Enables the code to pass the framebuffer to the kernel as a |
| 829 | simple framebuffer in the device tree. |
| 830 | The video output is initialized by U-Boot, and kept by the |
| 831 | kernel. |
| 832 | |
Stephan Gerhold | 21a151a | 2021-07-02 19:21:56 +0200 | [diff] [blame] | 833 | config VIDEO_MCDE_SIMPLE |
| 834 | bool "Simple driver for ST-Ericsson MCDE with preconfigured display" |
Stephan Gerhold | 21a151a | 2021-07-02 19:21:56 +0200 | [diff] [blame] | 835 | help |
| 836 | Enables a simple display driver for ST-Ericsson MCDE |
| 837 | (Multichannel Display Engine), which reads the configuration from |
| 838 | the MCDE registers. |
| 839 | |
| 840 | This driver assumes that the display hardware has been initialized |
| 841 | before u-boot starts, and u-boot will simply render to the pre- |
| 842 | allocated frame buffer surface. |
| 843 | |
Mario Six | 39a336f | 2018-09-27 09:19:29 +0200 | [diff] [blame] | 844 | config OSD |
| 845 | bool "Enable OSD support" |
| 846 | depends on DM |
Mario Six | 39a336f | 2018-09-27 09:19:29 +0200 | [diff] [blame] | 847 | help |
| 848 | This supports drivers that provide a OSD (on-screen display), which |
| 849 | is a (usually text-oriented) graphics buffer to show information on |
| 850 | a display. |
Mario Six | 9671f69 | 2018-09-27 09:19:30 +0200 | [diff] [blame] | 851 | |
Mario Six | 4eea531 | 2018-09-27 09:19:31 +0200 | [diff] [blame] | 852 | config SANDBOX_OSD |
| 853 | bool "Enable sandbox OSD" |
| 854 | depends on OSD |
| 855 | help |
| 856 | Enable support for sandbox OSD device used for testing purposes. |
| 857 | |
Mario Six | 9671f69 | 2018-09-27 09:19:30 +0200 | [diff] [blame] | 858 | config IHS_VIDEO_OUT |
| 859 | bool "Enable IHS video out driver" |
| 860 | depends on OSD |
| 861 | help |
| 862 | Enable support for the gdsys Integrated Hardware Systems (IHS) video |
| 863 | out On-screen Display (OSD) used on gdsys FPGAs to control dynamic |
| 864 | textual overlays of the display outputs. |
| 865 | |
Simon Glass | 35bd70c | 2020-08-11 11:23:35 -0600 | [diff] [blame] | 866 | config SPLASH_SCREEN |
| 867 | bool "Show a splash-screen image" |
| 868 | help |
| 869 | If this option is set, the environment is checked for a variable |
| 870 | "splashimage". If found, the usual display of logo, copyright and |
| 871 | system information on the LCD is suppressed and the BMP image at the |
| 872 | address specified in "splashimage" is loaded instead. The console is |
| 873 | redirected to the "nulldev", too. This allows for a "silent" boot |
| 874 | where a splash screen is loaded very quickly after power-on. |
| 875 | |
| 876 | The splash_screen_prepare() function is a weak function defined in |
| 877 | common/splash.c. It is called as part of the splash screen display |
| 878 | sequence. It gives the board an opportunity to prepare the splash |
| 879 | image data before it is processed and sent to the frame buffer by |
| 880 | U-Boot. Define your own version to use this feature. |
| 881 | |
Simon Glass | 988d19d | 2022-10-18 06:24:16 -0600 | [diff] [blame] | 882 | if SPLASH_SCREEN |
| 883 | |
Simon Glass | 35bd70c | 2020-08-11 11:23:35 -0600 | [diff] [blame] | 884 | config SPLASH_SCREEN_ALIGN |
| 885 | bool "Allow positioning the splash image anywhere on the display" |
Simon Glass | 35bd70c | 2020-08-11 11:23:35 -0600 | [diff] [blame] | 886 | help |
| 887 | If this option is set the splash image can be freely positioned |
| 888 | on the screen. Environment variable "splashpos" specifies the |
| 889 | position as "x,y". If a positive number is given it is used as |
| 890 | number of pixel from left/top. If a negative number is given it |
| 891 | is used as number of pixel from right/bottom. You can also |
| 892 | specify 'm' for centering the image. |
| 893 | |
| 894 | Example: |
| 895 | setenv splashpos m,m |
| 896 | => image at center of screen |
| 897 | |
| 898 | setenv splashpos 30,20 |
| 899 | => image at x = 30 and y = 20 |
| 900 | |
| 901 | setenv splashpos -10,m |
| 902 | => vertically centered image |
| 903 | at x = dspWidth - bmpWidth - 9 |
| 904 | |
Simon Glass | 4adc28e | 2022-10-18 06:30:56 -0600 | [diff] [blame] | 905 | config HIDE_LOGO_VERSION |
| 906 | bool "Hide the version information on the splash screen" |
| 907 | help |
| 908 | Normally the U-Boot version string is shown on the display when the |
| 909 | splash screen is enabled. This information is not otherwise visible |
| 910 | since video starts up after U-Boot has displayed the initial banner. |
| 911 | |
| 912 | Enable this option to hide this information. |
| 913 | |
Simon Glass | 35bd70c | 2020-08-11 11:23:35 -0600 | [diff] [blame] | 914 | config SPLASH_SOURCE |
| 915 | bool "Control the source of the splash image" |
Simon Glass | 35bd70c | 2020-08-11 11:23:35 -0600 | [diff] [blame] | 916 | help |
| 917 | Use the splash_source.c library. This library provides facilities to |
| 918 | declare board specific splash image locations, routines for loading |
| 919 | splash image from supported locations, and a way of controlling the |
| 920 | selected splash location using the "splashsource" environment |
| 921 | variable. |
| 922 | |
| 923 | This CONFIG works as follows: |
| 924 | |
| 925 | - If splashsource is set to a supported location name as defined by |
| 926 | board code, use that splash location. |
| 927 | - If splashsource is undefined, use the first splash location as |
| 928 | default. |
| 929 | - If splashsource is set to an unsupported value, do not load a splash |
| 930 | screen. |
| 931 | |
| 932 | A splash source location can describe either storage with raw data, a |
| 933 | storage formatted with a file system or a FIT image. In case of a |
| 934 | filesystem, the splash screen data is loaded as a file. The name of |
| 935 | the splash screen file can be controlled with the environment variable |
| 936 | "splashfile". |
| 937 | |
| 938 | To enable loading the splash image from a FIT image, CONFIG_FIT must |
| 939 | be enabled. The FIT image has to start at the 'offset' field address |
| 940 | in the selected splash location. The name of splash image within the |
| 941 | FIT shall be specified by the environment variable "splashfile". |
| 942 | |
| 943 | In case the environment variable "splashfile" is not defined the |
| 944 | default name 'splash.bmp' will be used. |
| 945 | |
Simon Glass | 988d19d | 2022-10-18 06:24:16 -0600 | [diff] [blame] | 946 | endif # SPLASH_SCREEN |
| 947 | |
Patrick Delaunay | 0ed6c0f | 2020-09-28 11:30:14 +0200 | [diff] [blame] | 948 | config VIDEO_BMP_GZIP |
| 949 | bool "Gzip compressed BMP image support" |
Nikhil M Jain | 857d02d | 2023-04-20 17:40:59 +0530 | [diff] [blame] | 950 | depends on BMP || SPLASH_SCREEN |
Patrick Delaunay | 0ed6c0f | 2020-09-28 11:30:14 +0200 | [diff] [blame] | 951 | help |
| 952 | If this option is set, additionally to standard BMP |
| 953 | images, gzipped BMP images can be displayed via the |
| 954 | splashscreen support or the bmp command. |
| 955 | |
Simon Glass | e655003 | 2022-10-18 06:46:08 -0600 | [diff] [blame] | 956 | config VIDEO_LOGO_MAX_SIZE |
Simon Glass | 2fd5a57 | 2022-10-18 06:49:18 -0600 | [diff] [blame] | 957 | hex "Maximum size of the bitmap logo in bytes" |
| 958 | default 0x100000 |
| 959 | help |
| 960 | Sets the maximum uncompressed size of the logo. This is needed when |
| 961 | decompressing a BMP file using the gzip algorithm, since it cannot |
| 962 | read the size from the bitmap header. |
Simon Glass | e655003 | 2022-10-18 06:46:08 -0600 | [diff] [blame] | 963 | |
Patrick Delaunay | f9a4865 | 2020-09-28 11:30:15 +0200 | [diff] [blame] | 964 | config VIDEO_BMP_RLE8 |
| 965 | bool "Run length encoded BMP image (RLE8) support" |
Patrick Delaunay | f9a4865 | 2020-09-28 11:30:15 +0200 | [diff] [blame] | 966 | help |
| 967 | If this option is set, the 8-bit RLE compressed BMP images |
| 968 | is supported. |
| 969 | |
Patrick Delaunay | 8fc78fc | 2020-09-28 11:30:16 +0200 | [diff] [blame] | 970 | config BMP_16BPP |
| 971 | bool "16-bit-per-pixel BMP image support" |
Patrick Delaunay | 8fc78fc | 2020-09-28 11:30:16 +0200 | [diff] [blame] | 972 | help |
| 973 | Support display of bitmaps file with 16-bit-per-pixel |
| 974 | |
| 975 | config BMP_24BPP |
| 976 | bool "24-bit-per-pixel BMP image support" |
Patrick Delaunay | 8fc78fc | 2020-09-28 11:30:16 +0200 | [diff] [blame] | 977 | help |
| 978 | Support display of bitmaps file with 24-bit-per-pixel. |
| 979 | |
| 980 | config BMP_32BPP |
| 981 | bool "32-bit-per-pixel BMP image support" |
Patrick Delaunay | 8fc78fc | 2020-09-28 11:30:16 +0200 | [diff] [blame] | 982 | help |
| 983 | Support display of bitmaps file with 32-bit-per-pixel. |
| 984 | |
Simon Glass | b86986c | 2022-10-18 07:46:31 -0600 | [diff] [blame] | 985 | endif # VIDEO |
Simon Glass | feda193 | 2022-10-18 07:35:17 -0600 | [diff] [blame] | 986 | |
Nikhil M Jain | 857d02d | 2023-04-20 17:40:59 +0530 | [diff] [blame] | 987 | config SPL_VIDEO |
John Keeping | 03972ff | 2023-05-09 12:02:50 +0100 | [diff] [blame] | 988 | bool "Enable driver model support for LCD/video in SPL" |
Nikhil M Jain | 857d02d | 2023-04-20 17:40:59 +0530 | [diff] [blame] | 989 | depends on SPL_DM |
| 990 | help |
| 991 | The video subsystem adds a small amount of overhead to the image. |
| 992 | If this is acceptable and you have a need to use video drivers in |
| 993 | SPL, enable this option. It might provide a cleaner interface to |
| 994 | setting up video within SPL, and allows the same drivers to be |
| 995 | used as U-Boot proper. |
| 996 | |
| 997 | if SPL_VIDEO |
| 998 | source "drivers/video/tidss/Kconfig" |
| 999 | |
| 1000 | config SPL_VIDEO_LOGO |
| 1001 | bool "Show the U-Boot logo on the display at SPL" |
| 1002 | default y if !SPL_SPLASH_SCREEN |
| 1003 | select SPL_VIDEO_BMP_RLE8 |
| 1004 | help |
| 1005 | This enables showing the U-Boot logo on the display when a video |
| 1006 | device is probed. It appears at the top right. The logo itself is at |
| 1007 | tools/logos/u-boot_logo.bmp and looks best when the display has a |
| 1008 | black background. |
| 1009 | |
| 1010 | config SPL_SPLASH_SCREEN |
| 1011 | bool "Show a splash-screen image at SPL" |
| 1012 | help |
| 1013 | If this option is set, the environment is checked for a variable |
| 1014 | "splashimage" at spl stage. |
| 1015 | |
| 1016 | config SPL_SYS_WHITE_ON_BLACK |
| 1017 | bool "Display console as white on a black background at SPL" |
| 1018 | help |
| 1019 | Normally the display is black on a white background, Enable this |
| 1020 | option to invert this, i.e. white on a black background at spl stage. |
| 1021 | This can be better in low-light situations or to reduce eye strain in |
| 1022 | some cases. |
| 1023 | |
| 1024 | config SPL_VIDEO_PCI_DEFAULT_FB_SIZE |
| 1025 | hex "Default framebuffer size to use if no drivers request it at SPL" |
| 1026 | default 0x1000000 if X86 && PCI |
| 1027 | default 0 if !(X86 && PCI) |
| 1028 | help |
| 1029 | Generally, video drivers request the amount of memory they need for |
| 1030 | the frame buffer when they are bound, by setting the size field in |
| 1031 | struct video_uc_plat. That memory is then reserved for use after |
| 1032 | relocation. But PCI drivers cannot be bound before relocation unless |
| 1033 | they are mentioned in the devicetree. |
| 1034 | |
| 1035 | With this value set appropriately, it is possible for PCI video |
| 1036 | devices to have a framebuffer allocated by U-Boot. |
| 1037 | |
| 1038 | Note: the framebuffer needs to be large enough to store all pixels at |
| 1039 | maximum resolution. For example, at 1920 x 1200 with 32 bits per |
| 1040 | pixel, 2560 * 1600 * 32 / 8 = 0xfa0000 bytes are needed. |
| 1041 | |
| 1042 | config SPL_CONSOLE_SCROLL_LINES |
| 1043 | int "Number of lines to scroll the console by at SPL" |
| 1044 | default 1 |
| 1045 | help |
| 1046 | When the console need to be scrolled, this is the number of |
| 1047 | lines to scroll by. It defaults to 1. Increasing this makes the |
| 1048 | console jump but can help speed up operation when scrolling |
| 1049 | is slow. |
| 1050 | |
| 1051 | config SPL_CONSOLE_NORMAL |
| 1052 | bool "Support a simple text console at SPL" |
| 1053 | default y |
| 1054 | help |
| 1055 | Support drawing text on the frame buffer console so that it can be |
| 1056 | used as a console. Rotation is not supported by this driver (see |
| 1057 | CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used |
| 1058 | for the display. |
| 1059 | |
| 1060 | config SPL_BACKLIGHT |
| 1061 | bool "Enable panel backlight uclass support at SPL" |
| 1062 | default y |
| 1063 | help |
| 1064 | This provides backlight uclass driver that enables basic panel |
| 1065 | backlight support. |
| 1066 | |
| 1067 | config SPL_PANEL |
| 1068 | bool "Enable panel uclass support at SPL" |
| 1069 | default y |
| 1070 | help |
| 1071 | This provides panel uclass driver that enables basic panel support. |
| 1072 | |
| 1073 | config SPL_SIMPLE_PANEL |
| 1074 | bool "Enable simple panel support at SPL" |
| 1075 | depends on SPL_PANEL && SPL_BACKLIGHT && SPL_DM_GPIO |
| 1076 | default y |
| 1077 | help |
| 1078 | This turns on a simple panel driver that enables a compatible |
| 1079 | video panel. |
| 1080 | |
| 1081 | config SPL_SYS_WHITE_ON_BLACK |
| 1082 | bool "Display console as white on a black background at SPL" |
| 1083 | help |
| 1084 | Normally the display is black on a white background, Enable this |
| 1085 | option to invert this, i.e. white on a black background at spl stage. |
| 1086 | This can be better in low-light situations or to reduce eye strain in |
| 1087 | some cases. |
| 1088 | |
| 1089 | if SPL_SPLASH_SCREEN |
| 1090 | |
| 1091 | config SPL_SPLASH_SCREEN_ALIGN |
| 1092 | bool "Allow positioning the splash image anywhere on the display at SPL" |
| 1093 | help |
| 1094 | If this option is set the splash image can be freely positioned |
| 1095 | on the screen only at SPL. Environment variable "splashpos" specifies |
| 1096 | the position as "x,y". If a positive number is given it is used as |
| 1097 | number of pixel from left/top. If a negative number is given it |
| 1098 | is used as number of pixel from right/bottom. |
| 1099 | |
| 1100 | config SPL_SPLASH_SOURCE |
| 1101 | bool "Control the source of the splash image at SPL" |
| 1102 | help |
| 1103 | Use the splash_source.c library. This library provides facilities to |
| 1104 | declare board specific splash image locations, routines for loading |
| 1105 | splash image from supported locations, and a way of controlling the |
| 1106 | selected splash location using the "splashsource" environment |
| 1107 | variable. |
| 1108 | |
| 1109 | This CONFIG works as follows: |
| 1110 | |
| 1111 | - If splashsource is set to a supported location name as defined by |
| 1112 | board code, use that splash location. |
| 1113 | - If splashsource is undefined, use the first splash location as |
| 1114 | default. |
| 1115 | - If splashsource is set to an unsupported value, do not load a splash |
| 1116 | screen. |
| 1117 | |
| 1118 | A splash source location can describe either storage with raw data, a |
| 1119 | storage formatted with a file system or a FIT image. In case of a |
| 1120 | filesystem, the splash screen data is loaded as a file. The name of |
| 1121 | the splash screen file can be controlled with the environment variable |
| 1122 | "splashfile". |
| 1123 | |
| 1124 | To enable loading the splash image from a FIT image, CONFIG_FIT must |
| 1125 | be enabled. The FIT image has to start at the 'offset' field address |
| 1126 | in the selected splash location. The name of splash image within the |
| 1127 | FIT shall be specified by the environment variable "splashfile". |
| 1128 | |
| 1129 | In case the environment variable "splashfile" is not defined the |
| 1130 | default name 'splash.bmp' will be used. |
| 1131 | |
| 1132 | endif # SPL_SPLASH_SCREEN |
| 1133 | |
| 1134 | config SPL_VIDEO_BMP_GZIP |
| 1135 | bool "Gzip compressed BMP image support at SPL" |
| 1136 | depends on SPL_SPLASH_SCREEN || SPL_BMP |
| 1137 | help |
| 1138 | If this option is set, additionally to standard BMP |
| 1139 | images, gzipped BMP images can be displayed via the |
| 1140 | splashscreen supportat SPL stage. |
| 1141 | |
| 1142 | config SPL_VIDEO_LOGO_MAX_SIZE |
| 1143 | hex "Maximum size of the bitmap logo in bytes at SPL" |
| 1144 | default 0x100000 |
| 1145 | help |
| 1146 | Sets the maximum uncompressed size of the logo. This is needed when |
| 1147 | decompressing a BMP file using the gzip algorithm, since it cannot |
| 1148 | read the size from the bitmap header. |
| 1149 | |
| 1150 | config SPL_VIDEO_BMP_RLE8 |
| 1151 | bool "Run length encoded BMP image (RLE8) support at SPL" |
| 1152 | help |
| 1153 | If this option is set, the 8-bit RLE compressed BMP images |
| 1154 | is supported. |
| 1155 | |
| 1156 | config SPL_BMP_16BPP |
| 1157 | bool "16-bit-per-pixel BMP image support at SPL" |
| 1158 | help |
| 1159 | Support display of bitmaps file with 16-bit-per-pixel |
| 1160 | |
| 1161 | config SPL_BMP_24BPP |
| 1162 | bool "24-bit-per-pixel BMP image support at SPL" |
| 1163 | help |
| 1164 | Support display of bitmaps file with 24-bit-per-pixel. |
| 1165 | |
| 1166 | config SPL_BMP_32BPP |
| 1167 | bool "32-bit-per-pixel BMP image support at SPL" |
| 1168 | help |
| 1169 | Support display of bitmaps file with 32-bit-per-pixel. |
| 1170 | |
| 1171 | config SPL_VIDEO_BPP8 |
| 1172 | bool "Support 8-bit-per-pixel displays at SPL" |
| 1173 | default y |
| 1174 | help |
| 1175 | Support drawing text and bitmaps onto a 8-bit-per-pixel display. |
| 1176 | Enabling this will include code to support this display. Without |
| 1177 | this option, such displays will not be supported and console output |
| 1178 | will be empty. |
| 1179 | |
| 1180 | config SPL_VIDEO_BPP16 |
| 1181 | bool "Support 16-bit-per-pixel displays at SPL" |
| 1182 | default y |
| 1183 | help |
| 1184 | Support drawing text and bitmaps onto a 16-bit-per-pixel display. |
| 1185 | Enabling this will include code to support this display. Without |
| 1186 | this option, such displays will not be supported and console output |
| 1187 | will be empty. |
| 1188 | |
| 1189 | config SPL_VIDEO_BPP32 |
| 1190 | bool "Support 32-bit-per-pixel displays at SPL" |
| 1191 | default y |
| 1192 | help |
| 1193 | Support drawing text and bitmaps onto a 32-bit-per-pixel display. |
| 1194 | Enabling this will include code to support this display. Without |
| 1195 | this option, such displays will not be supported and console output |
| 1196 | will be empty. |
| 1197 | |
| 1198 | config SPL_HIDE_LOGO_VERSION |
| 1199 | bool "Hide the version information on the splash screen at SPL" |
| 1200 | help |
| 1201 | Normally the U-Boot version string is shown on the display when the |
| 1202 | splash screen is enabled. This information is not otherwise visible |
| 1203 | since video starts up after U-Boot has displayed the initial banner. |
| 1204 | |
| 1205 | Enable this option to hide this information. |
| 1206 | endif |
| 1207 | |
Masahiro Yamada | 0b11dbf | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 1208 | endmenu |