blob: 44ab9e708f5ceffc40d7b1eb038d4280e02d87f2 [file] [log] [blame]
Masahiro Yamadacc85b7b2015-07-26 02:46:26 +09001#
2# Video configuration
3#
4
5menu "Graphics support"
6
Simon Glass623d28f2016-01-18 19:52:15 -07007config DM_VIDEO
8 bool "Enable driver model support for LCD/video"
9 depends on DM
10 help
11 This enables driver model for LCD and video devices. These support
12 a bitmap display of various sizes and depths which can be drawn on
13 to display a command-line console or splash screen. Enabling this
14 option compiles in the video uclass and routes all LCD/video access
15 through this.
16
Simon Glass8e5a8b62021-11-19 13:24:01 -070017config VIDEO_LOGO
18 bool "Show the U-Boot logo on the display"
19 depends on DM_VIDEO
Simon Glass7a6528592021-11-19 13:24:04 -070020 default y if !SPLASH_SCREEN
Simon Glass87a3cd72021-11-19 13:24:03 -070021 select VIDEO_BMP_RLE8
Simon Glass8e5a8b62021-11-19 13:24:01 -070022 help
23 This enables showing the U-Boot logo on the display when a video
24 device is probed. It appears at the top right. The logo itself is at
25 tools/logos/u-boot_logo.bmp and looks best when the display has a
26 black background.
27
Anatolij Gustschin0dcb3fd2020-05-26 00:20:49 +020028config BACKLIGHT
29 bool "Enable panel backlight uclass support"
30 depends on DM_VIDEO
31 default y
32 help
33 This provides backlight uclass driver that enables basic panel
34 backlight support.
35
Simon Glassc3d2f352020-07-02 21:12:33 -060036config VIDEO_PCI_DEFAULT_FB_SIZE
37 hex "Default framebuffer size to use if no drivers request it"
38 depends on DM_VIDEO
39 default 0x1000000 if X86 && PCI
40 default 0 if !(X86 && PCI)
41 help
42 Generally, video drivers request the amount of memory they need for
43 the frame buffer when they are bound, by setting the size field in
Dario Binacchi2ec85772021-01-23 19:43:52 +010044 struct video_uc_plat. That memory is then reserved for use after
Simon Glassc3d2f352020-07-02 21:12:33 -060045 relocation. But PCI drivers cannot be bound before relocation unless
46 they are mentioned in the devicetree.
47
48 With this value set appropriately, it is possible for PCI video
49 devices to have a framebuffer allocated by U-Boot.
50
51 Note: the framebuffer needs to be large enough to store all pixels at
52 maximum resolution. For example, at 1920 x 1200 with 32 bits per
53 pixel, 2560 * 1600 * 32 / 8 = 0xfa0000 bytes are needed.
54
Simon Glass73c9c372020-07-02 21:12:20 -060055config VIDEO_COPY
56 bool "Enable copying the frame buffer to a hardware copy"
57 depends on DM_VIDEO
58 help
59 On some machines (e.g. x86), reading from the frame buffer is very
60 slow because it is uncached. To improve performance, this feature
61 allows the frame buffer to be kept in cached memory (allocated by
62 U-Boot) and then copied to the hardware frame-buffer as needed.
63
64 To use this, your video driver must set @copy_base in
Dario Binacchi2ec85772021-01-23 19:43:52 +010065 struct video_uc_plat.
Simon Glass73c9c372020-07-02 21:12:20 -060066
Patrick Delaunay4300f072017-08-03 12:36:06 +020067config BACKLIGHT_PWM
68 bool "Generic PWM based Backlight Driver"
Anatolij Gustschin0dcb3fd2020-05-26 00:20:49 +020069 depends on BACKLIGHT && DM_PWM
Patrick Delaunay4300f072017-08-03 12:36:06 +020070 default y
71 help
72 If you have a LCD backlight adjustable by PWM, say Y to enable
73 this driver.
74 This driver can be use with "simple-panel" and
75 it understands the standard device tree
76 (leds/backlight/pwm-backlight.txt)
77
Patrick Delaunaya3c046f2017-08-03 12:36:07 +020078config BACKLIGHT_GPIO
79 bool "Generic GPIO based Backlight Driver"
Anatolij Gustschin0dcb3fd2020-05-26 00:20:49 +020080 depends on BACKLIGHT
Patrick Delaunaya3c046f2017-08-03 12:36:07 +020081 help
82 If you have a LCD backlight adjustable by GPIO, say Y to enable
83 this driver.
84 This driver can be used with "simple-panel" and
85 it understands the standard device tree
86 (leds/backlight/gpio-backlight.txt)
87
Simon Glass623d28f2016-01-18 19:52:15 -070088config VIDEO_BPP8
89 bool "Support 8-bit-per-pixel displays"
90 depends on DM_VIDEO
Anatolij Gustschindba36702020-02-04 22:43:06 +010091 default y
Simon Glass623d28f2016-01-18 19:52:15 -070092 help
93 Support drawing text and bitmaps onto a 8-bit-per-pixel display.
94 Enabling this will include code to support this display. Without
95 this option, such displays will not be supported and console output
96 will be empty.
97
98config VIDEO_BPP16
99 bool "Support 16-bit-per-pixel displays"
100 depends on DM_VIDEO
Anatolij Gustschindba36702020-02-04 22:43:06 +0100101 default y
Simon Glass623d28f2016-01-18 19:52:15 -0700102 help
103 Support drawing text and bitmaps onto a 16-bit-per-pixel display.
104 Enabling this will include code to support this display. Without
105 this option, such displays will not be supported and console output
106 will be empty.
107
108config VIDEO_BPP32
109 bool "Support 32-bit-per-pixel displays"
110 depends on DM_VIDEO
Anatolij Gustschindba36702020-02-04 22:43:06 +0100111 default y
Simon Glass623d28f2016-01-18 19:52:15 -0700112 help
113 Support drawing text and bitmaps onto a 32-bit-per-pixel display.
114 Enabling this will include code to support this display. Without
115 this option, such displays will not be supported and console output
116 will be empty.
117
Rob Clark06e7a0d2017-09-13 18:12:21 -0400118config VIDEO_ANSI
119 bool "Support ANSI escape sequences in video console"
120 depends on DM_VIDEO
Anatolij Gustschindba36702020-02-04 22:43:06 +0100121 default y
Rob Clark06e7a0d2017-09-13 18:12:21 -0400122 help
123 Enable ANSI escape sequence decoding for a more fully functional
124 console.
125
Yannick Fertréd08fb322019-10-07 15:29:04 +0200126config VIDEO_MIPI_DSI
127 bool "Support MIPI DSI interface"
128 depends on DM_VIDEO
129 help
130 Support MIPI DSI interface for driving a MIPI compatible device.
131 The MIPI Display Serial Interface (MIPI DSI) defines a high-speed
132 serial interface between a host processor and a display module.
133
Simon Glass6e0721d2016-01-22 21:53:37 +0100134config CONSOLE_NORMAL
135 bool "Support a simple text console"
136 depends on DM_VIDEO
137 default y if DM_VIDEO
138 help
139 Support drawing text on the frame buffer console so that it can be
140 used as a console. Rotation is not supported by this driver (see
141 CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used
142 for the display.
143
144config CONSOLE_ROTATION
Simon Glass87aae882016-01-18 19:52:19 -0700145 bool "Support rotated displays"
146 depends on DM_VIDEO
147 help
148 Sometimes, for example if the display is mounted in portrait
149 mode or even if it's mounted landscape but rotated by 180degree,
150 we need to rotate our content of the display relative to the
151 framebuffer, so that user can read the messages which are
152 printed out. Enable this option to include a text driver which can
153 support this. The rotation is set by the 'rot' parameter in
154 struct video_priv: 0=unrotated, 1=90 degrees clockwise, 2=180
155 degrees, 3=270 degrees.
156
Simon Glass2ef353e2016-01-14 18:10:42 -0700157config CONSOLE_TRUETYPE
158 bool "Support a console that uses TrueType fonts"
159 depends on DM_VIDEO
160 help
161 TrueTrype fonts can provide outline-drawing capability rather than
162 needing to provide a bitmap for each font and size that is needed.
163 With this option you can adjust the text size and use a variety of
164 fonts. Note that this is noticeably slower than with normal console.
165
166config CONSOLE_TRUETYPE_SIZE
167 int "TrueType font size"
168 depends on CONSOLE_TRUETYPE
169 default 18
170 help
171 This sets the font size for the console. The size is measured in
172 pixels and is the nominal height of a character. Note that fonts
173 are commonly measured in 'points', being 1/72 inch (about 3.52mm).
174 However that measurement depends on the size of your display and
175 there is no standard display density. At present there is not a
176 method to select the display's physical size, which would allow
177 U-Boot to calculate the correct font size.
178
Simon Glassd65a1422017-04-26 22:27:57 -0600179config SYS_WHITE_ON_BLACK
180 bool "Display console as white on a black background"
Trevor Woerner513f6402020-05-06 08:02:41 -0400181 default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || ARCH_TEGRA || X86 || ARCH_SUNXI
Simon Glassd65a1422017-04-26 22:27:57 -0600182 help
183 Normally the display is black on a white background, Enable this
184 option to invert this, i.e. white on a black background. This can be
185 better in low-light situations or to reduce eye strain in some
186 cases.
187
Rob Clarkf1411882017-08-03 12:47:01 -0400188config NO_FB_CLEAR
189 bool "Skip framebuffer clear"
190 help
191 If firmware (whatever loads u-boot) has already put a splash image
192 on screen, you might want to preserve it until whatever u-boot
193 loads takes over the screen. This, for example, can be used to
194 keep splash image on screen until grub graphical boot menu starts.
195
Anatolij Gustschin0dcb3fd2020-05-26 00:20:49 +0200196config PANEL
197 bool "Enable panel uclass support"
198 depends on DM_VIDEO
199 default y
200 help
201 This provides panel uclass driver that enables basic panel support.
202
203config SIMPLE_PANEL
204 bool "Enable simple panel support"
Asherah Connor81b0f612021-03-03 14:46:47 +1100205 depends on PANEL && BACKLIGHT && DM_GPIO
Anatolij Gustschin0dcb3fd2020-05-26 00:20:49 +0200206 default y
207 help
208 This turns on a simple panel driver that enables a compatible
209 video panel.
210
Simon Glassf8360fe2022-10-06 08:36:07 -0600211config PANEL_HX8238D
212 bool "Enable Himax HX-8238D LCD driver"
213 depends on PANEL
214 help
215 Support for HX-8238D LCD Panel
216 The HX8238-D is a single chip controller and driver LSI that
217 integrates the power circuit.
218 It can drive a maximum 960x240 dot graphics on a-TFT panel
219 displays in 16M colors with dithering.
220
Simon Glass2ef353e2016-01-14 18:10:42 -0700221source "drivers/video/fonts/Kconfig"
222
Simon Glass86f07462016-02-06 14:31:37 -0700223config VIDCONSOLE_AS_LCD
Patrick Delaunay60b92242020-07-01 14:56:10 +0200224 bool "Use 'vidconsole' when CONFIG_VIDCONSOLE_AS_NAME string is seen in stdout"
Simon Glass86f07462016-02-06 14:31:37 -0700225 depends on DM_VIDEO
Patrick Delaunay60b92242020-07-01 14:56:10 +0200226 help
227 This is a work-around for boards which have 'lcd' or 'vga' in their
228 stdout environment variable, but have moved to use driver model for
229 video. In this case the console will no-longer work. While it is
230 possible to update the environment, the breakage may be confusing for
231 users. This option will be removed around the end of 2020.
232
233config VIDCONSOLE_AS_NAME
234 string "Use 'vidconsole' when string defined here is seen in stdout"
235 depends on VIDCONSOLE_AS_LCD
Anatolij Gustschin47020642020-05-23 17:11:20 +0200236 default "lcd" if LCD || TEGRA_COMMON
237 default "vga" if !LCD
Simon Glass86f07462016-02-06 14:31:37 -0700238 help
Anatolij Gustschin47020642020-05-23 17:11:20 +0200239 This is a work-around for boards which have 'lcd' or 'vga' in their
240 stdout environment variable, but have moved to use driver model for
241 video. In this case the console will no-longer work. While it is
242 possible to update the environment, the breakage may be confusing for
243 users. This option will be removed around the end of 2020.
Simon Glass86f07462016-02-06 14:31:37 -0700244
Bin Menga0676be2016-10-09 04:14:16 -0700245config VIDEO_COREBOOT
246 bool "Enable coreboot framebuffer driver support"
Simon Glassd2398ab2021-03-15 18:00:27 +1300247 depends on X86
Bin Menga0676be2016-10-09 04:14:16 -0700248 help
249 Turn on this option to enable a framebuffer driver when U-Boot is
250 loaded by coreboot where the graphics device is configured by
251 coreboot already. This can in principle be used with any platform
252 that coreboot supports.
253
Bin Meng0f862b92018-06-12 08:36:22 -0700254config VIDEO_EFI
255 bool "Enable EFI framebuffer driver support"
Simon Glass04c26ff2021-11-03 21:09:10 -0600256 depends on EFI_STUB || EFI_APP
Bin Meng0f862b92018-06-12 08:36:22 -0700257 help
258 Turn on this option to enable a framebuffeer driver when U-Boot is
259 loaded as a payload (see README.u-boot_on_efi) by an EFI BIOS where
260 the graphics device is configured by the EFI BIOS already. This can
261 in principle be used with any platform that has an EFI BIOS.
262
Simon Glass42bf3ee2014-12-29 19:32:28 -0700263config VIDEO_VESA
264 bool "Enable VESA video driver support"
Simon Glass42bf3ee2014-12-29 19:32:28 -0700265 help
266 Turn on this option to enable a very simple driver which uses vesa
267 to discover the video mode and then provides a frame buffer for use
268 by U-Boot. This can in principle be used with any platform that
269 supports PCI and video cards that support VESA BIOS Extension (VBE).
270
Bin Meng072b79d2015-05-11 07:36:29 +0800271config FRAMEBUFFER_SET_VESA_MODE
272 bool "Set framebuffer graphics resolution"
Simon Glassdec49b72016-03-11 22:07:30 -0700273 depends on VIDEO_VESA || VIDEO_BROADWELL_IGD
Bin Meng072b79d2015-05-11 07:36:29 +0800274 help
275 Set VESA/native framebuffer mode (needed for bootsplash and graphical
276 framebuffer console)
277
278choice
279 prompt "framebuffer graphics resolution"
Bin Meng4da8a3f2018-04-11 22:02:16 -0700280 default FRAMEBUFFER_VESA_MODE_118
Bin Meng072b79d2015-05-11 07:36:29 +0800281 depends on FRAMEBUFFER_SET_VESA_MODE
282 help
283 This option sets the resolution used for the U-Boot framebuffer (and
284 bootsplash screen).
285
286config FRAMEBUFFER_VESA_MODE_100
287 bool "640x400 256-color"
288
289config FRAMEBUFFER_VESA_MODE_101
290 bool "640x480 256-color"
291
292config FRAMEBUFFER_VESA_MODE_102
293 bool "800x600 16-color"
294
295config FRAMEBUFFER_VESA_MODE_103
296 bool "800x600 256-color"
297
298config FRAMEBUFFER_VESA_MODE_104
299 bool "1024x768 16-color"
300
301config FRAMEBUFFER_VESA_MODE_105
Bin Meng932adc62015-08-09 23:26:59 -0700302 bool "1024x768 256-color"
Bin Meng072b79d2015-05-11 07:36:29 +0800303
304config FRAMEBUFFER_VESA_MODE_106
305 bool "1280x1024 16-color"
306
307config FRAMEBUFFER_VESA_MODE_107
308 bool "1280x1024 256-color"
309
310config FRAMEBUFFER_VESA_MODE_108
311 bool "80x60 text"
312
313config FRAMEBUFFER_VESA_MODE_109
314 bool "132x25 text"
315
316config FRAMEBUFFER_VESA_MODE_10A
317 bool "132x43 text"
318
319config FRAMEBUFFER_VESA_MODE_10B
320 bool "132x50 text"
321
322config FRAMEBUFFER_VESA_MODE_10C
323 bool "132x60 text"
324
325config FRAMEBUFFER_VESA_MODE_10D
326 bool "320x200 32k-color (1:5:5:5)"
327
328config FRAMEBUFFER_VESA_MODE_10E
329 bool "320x200 64k-color (5:6:5)"
330
331config FRAMEBUFFER_VESA_MODE_10F
332 bool "320x200 16.8M-color (8:8:8)"
333
334config FRAMEBUFFER_VESA_MODE_110
335 bool "640x480 32k-color (1:5:5:5)"
336
337config FRAMEBUFFER_VESA_MODE_111
338 bool "640x480 64k-color (5:6:5)"
339
340config FRAMEBUFFER_VESA_MODE_112
341 bool "640x480 16.8M-color (8:8:8)"
342
343config FRAMEBUFFER_VESA_MODE_113
344 bool "800x600 32k-color (1:5:5:5)"
345
346config FRAMEBUFFER_VESA_MODE_114
347 bool "800x600 64k-color (5:6:5)"
348
349config FRAMEBUFFER_VESA_MODE_115
350 bool "800x600 16.8M-color (8:8:8)"
351
352config FRAMEBUFFER_VESA_MODE_116
353 bool "1024x768 32k-color (1:5:5:5)"
354
355config FRAMEBUFFER_VESA_MODE_117
356 bool "1024x768 64k-color (5:6:5)"
357
358config FRAMEBUFFER_VESA_MODE_118
359 bool "1024x768 16.8M-color (8:8:8)"
360
361config FRAMEBUFFER_VESA_MODE_119
362 bool "1280x1024 32k-color (1:5:5:5)"
363
364config FRAMEBUFFER_VESA_MODE_11A
365 bool "1280x1024 64k-color (5:6:5)"
366
367config FRAMEBUFFER_VESA_MODE_11B
368 bool "1280x1024 16.8M-color (8:8:8)"
369
370config FRAMEBUFFER_VESA_MODE_USER
371 bool "Manually select VESA mode"
372
373endchoice
374
375# Map the config names to an integer (KB).
376config FRAMEBUFFER_VESA_MODE
377 prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER
378 hex
379 default 0x100 if FRAMEBUFFER_VESA_MODE_100
380 default 0x101 if FRAMEBUFFER_VESA_MODE_101
381 default 0x102 if FRAMEBUFFER_VESA_MODE_102
382 default 0x103 if FRAMEBUFFER_VESA_MODE_103
383 default 0x104 if FRAMEBUFFER_VESA_MODE_104
384 default 0x105 if FRAMEBUFFER_VESA_MODE_105
385 default 0x106 if FRAMEBUFFER_VESA_MODE_106
386 default 0x107 if FRAMEBUFFER_VESA_MODE_107
387 default 0x108 if FRAMEBUFFER_VESA_MODE_108
388 default 0x109 if FRAMEBUFFER_VESA_MODE_109
389 default 0x10A if FRAMEBUFFER_VESA_MODE_10A
390 default 0x10B if FRAMEBUFFER_VESA_MODE_10B
391 default 0x10C if FRAMEBUFFER_VESA_MODE_10C
392 default 0x10D if FRAMEBUFFER_VESA_MODE_10D
393 default 0x10E if FRAMEBUFFER_VESA_MODE_10E
394 default 0x10F if FRAMEBUFFER_VESA_MODE_10F
395 default 0x110 if FRAMEBUFFER_VESA_MODE_110
396 default 0x111 if FRAMEBUFFER_VESA_MODE_111
397 default 0x112 if FRAMEBUFFER_VESA_MODE_112
398 default 0x113 if FRAMEBUFFER_VESA_MODE_113
399 default 0x114 if FRAMEBUFFER_VESA_MODE_114
400 default 0x115 if FRAMEBUFFER_VESA_MODE_115
401 default 0x116 if FRAMEBUFFER_VESA_MODE_116
402 default 0x117 if FRAMEBUFFER_VESA_MODE_117
403 default 0x118 if FRAMEBUFFER_VESA_MODE_118
404 default 0x119 if FRAMEBUFFER_VESA_MODE_119
405 default 0x11A if FRAMEBUFFER_VESA_MODE_11A
406 default 0x11B if FRAMEBUFFER_VESA_MODE_11B
407 default 0x117 if FRAMEBUFFER_VESA_MODE_USER
408
Hans de Goededfc1efe2015-08-08 16:03:29 +0200409config VIDEO_LCD_ANX9804
410 bool "ANX9804 bridge chip"
Hans de Goededfc1efe2015-08-08 16:03:29 +0200411 ---help---
412 Support for the ANX9804 bridge chip, which can take pixel data coming
413 from a parallel LCD interface and translate it on the fy into a DP
414 interface for driving eDP TFT displays. It uses I2C for configuration.
415
Tom Rini4c047422022-03-18 08:38:28 -0400416config ATMEL_LCD
417 bool "Atmel LCD panel support"
418 depends on LCD && ARCH_AT91
419
420config ATMEL_LCD_BGR555
421 bool "Display in BGR555 mode"
422 help
423 Use the BGR555 output mode. Otherwise RGB565 is used.
424
Simon Glass7b3fabb2022-01-23 07:04:14 -0700425config VIDEO_BCM2835
426 bool "Display support for BCM2835"
427 help
428 The graphics processor already sets up the display so this driver
429 simply checks the resolution and then sets up the frame buffer with
430 that same resolution (or as near as possible) and 32bpp depth, so
431 that U-Boot can access it with full colour depth.
432
Yannick Fertré5b855d42019-10-07 15:29:08 +0200433config VIDEO_LCD_ORISETECH_OTM8009A
434 bool "OTM8009A DSI LCD panel support"
435 depends on DM_VIDEO
436 select VIDEO_MIPI_DSI
Yannick Fertré5b855d42019-10-07 15:29:08 +0200437 help
438 Say Y here if you want to enable support for Orise Technology
439 otm8009a 480x800 dsi 2dl panel.
440
Yannick Fertréb038fed2019-10-07 15:29:09 +0200441config VIDEO_LCD_RAYDIUM_RM68200
442 bool "RM68200 DSI LCD panel support"
443 depends on DM_VIDEO
444 select VIDEO_MIPI_DSI
Yannick Fertréb038fed2019-10-07 15:29:09 +0200445 help
446 Say Y here if you want to enable support for Raydium RM68200
447 720x1280 DSI video mode panel.
448
Siarhei Siamashka4c19cf22015-01-19 05:23:32 +0200449config VIDEO_LCD_SSD2828
450 bool "SSD2828 bridge chip"
Siarhei Siamashka4c19cf22015-01-19 05:23:32 +0200451 ---help---
452 Support for the SSD2828 bridge chip, which can take pixel data coming
453 from a parallel LCD interface and translate it on the fly into MIPI DSI
454 interface for driving a MIPI compatible LCD panel. It uses SPI for
455 configuration.
456
457config VIDEO_LCD_SSD2828_TX_CLK
458 int "SSD2828 TX_CLK frequency (in MHz)"
459 depends on VIDEO_LCD_SSD2828
Siarhei Siamashka61fb91f2015-01-19 05:23:35 +0200460 default 0
Siarhei Siamashka4c19cf22015-01-19 05:23:32 +0200461 ---help---
462 The frequency of the crystal, which is clocking SSD2828. It may be
463 anything in the 8MHz-30MHz range and the exact value should be
464 retrieved from the board schematics. Or in the case of Allwinner
465 hardware, it can be usually found as 'lcd_xtal_freq' variable in
Siarhei Siamashka61fb91f2015-01-19 05:23:35 +0200466 FEX files. It can be also set to 0 for selecting PCLK from the
467 parallel LCD interface instead of TX_CLK as the PLL clock source.
Siarhei Siamashka4c19cf22015-01-19 05:23:32 +0200468
469config VIDEO_LCD_SSD2828_RESET
470 string "RESET pin of SSD2828"
471 depends on VIDEO_LCD_SSD2828
472 default ""
473 ---help---
474 The reset pin of SSD2828 chip. This takes a string in the format
Samuel Hollandc7ab95d2021-09-11 16:50:48 -0500475 understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H.
Siarhei Siamashka4c19cf22015-01-19 05:23:32 +0200476
Neil Armstrong4a4057a2020-09-29 11:53:53 +0200477config VIDEO_LCD_TDO_TL070WSH30
478 bool "TDO TL070WSH30 DSI LCD panel support"
479 depends on DM_VIDEO
480 select VIDEO_MIPI_DSI
Neil Armstrong4a4057a2020-09-29 11:53:53 +0200481 help
482 Say Y here if you want to enable support for TDO TL070WSH30
483 1024x600 DSI video mode panel.
484
Hans de Goedec0482032015-01-20 09:22:26 +0100485config VIDEO_LCD_HITACHI_TX18D42VM
486 bool "Hitachi tx18d42vm LVDS LCD panel support"
Hans de Goedec0482032015-01-20 09:22:26 +0100487 ---help---
488 Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a
489 lcd controller which needs to be initialized over SPI, once that is
490 done they work like a regular LVDS panel.
491
Siarhei Siamashka4c19cf22015-01-19 05:23:32 +0200492config VIDEO_LCD_SPI_CS
493 string "SPI CS pin for LCD related config job"
Hans de Goedec0482032015-01-20 09:22:26 +0100494 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
Siarhei Siamashka4c19cf22015-01-19 05:23:32 +0200495 default ""
496 ---help---
497 This is one of the SPI communication pins, involved in setting up a
498 working LCD configuration. The exact role of SPI may differ for
499 different hardware setups. The option takes a string in the format
Samuel Hollandc7ab95d2021-09-11 16:50:48 -0500500 understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H.
Siarhei Siamashka4c19cf22015-01-19 05:23:32 +0200501
502config VIDEO_LCD_SPI_SCLK
503 string "SPI SCLK pin for LCD related config job"
Hans de Goedec0482032015-01-20 09:22:26 +0100504 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
Siarhei Siamashka4c19cf22015-01-19 05:23:32 +0200505 default ""
506 ---help---
507 This is one of the SPI communication pins, involved in setting up a
508 working LCD configuration. The exact role of SPI may differ for
509 different hardware setups. The option takes a string in the format
Samuel Hollandc7ab95d2021-09-11 16:50:48 -0500510 understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H.
Siarhei Siamashka4c19cf22015-01-19 05:23:32 +0200511
512config VIDEO_LCD_SPI_MOSI
513 string "SPI MOSI pin for LCD related config job"
Hans de Goedec0482032015-01-20 09:22:26 +0100514 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
Siarhei Siamashka4c19cf22015-01-19 05:23:32 +0200515 default ""
516 ---help---
517 This is one of the SPI communication pins, involved in setting up a
518 working LCD configuration. The exact role of SPI may differ for
519 different hardware setups. The option takes a string in the format
Samuel Hollandc7ab95d2021-09-11 16:50:48 -0500520 understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H.
Siarhei Siamashka4c19cf22015-01-19 05:23:32 +0200521
522config VIDEO_LCD_SPI_MISO
523 string "SPI MISO pin for LCD related config job (optional)"
524 depends on VIDEO_LCD_SSD2828
525 default ""
526 ---help---
527 This is one of the SPI communication pins, involved in setting up a
528 working LCD configuration. The exact role of SPI may differ for
529 different hardware setups. If wired up, this pin may provide additional
530 useful functionality. Such as bi-directional communication with the
531 hardware and LCD panel id retrieval (if the panel can report it). The
Samuel Hollandc7ab95d2021-09-11 16:50:48 -0500532 option takes a string in the format understood by 'sunxi_name_to_gpio'
Siarhei Siamashka4c19cf22015-01-19 05:23:32 +0200533 function, e.g. PH1 for pin 1 of port H.
Simon Glass06679ad2015-04-14 21:03:38 -0600534
Neil Armstrongadd986c2018-07-24 17:45:28 +0200535source "drivers/video/meson/Kconfig"
536
Stefan Roeseab91fd52016-01-20 08:13:28 +0100537config VIDEO_MVEBU
538 bool "Armada XP LCD controller"
Stefan Roeseab91fd52016-01-20 08:13:28 +0100539 ---help---
540 Support for the LCD controller integrated in the Marvell
541 Armada XP SoC.
542
Adam Ford60a59d42018-08-02 08:50:20 -0500543config VIDEO_OMAP3
544 bool "Enable OMAP3+ DSS Support"
545 depends on ARCH_OMAP2PLUS
546 help
547 This enables the Display subsystem (DSS) on OMAP3+ boards.
548
Anatolij Gustschin4601eb42016-01-25 17:17:22 +0100549config I2C_EDID
550 bool "Enable EDID library"
Anatolij Gustschin4601eb42016-01-25 17:17:22 +0100551 help
552 This enables library for accessing EDID data from an LCD panel.
553
Simon Glass7d3d7762016-01-21 19:45:00 -0700554config DISPLAY
555 bool "Enable Display support"
556 depends on DM
Anatolij Gustschin4601eb42016-01-25 17:17:22 +0100557 select I2C_EDID
Simon Glass06679ad2015-04-14 21:03:38 -0600558 help
Simon Glass7d3d7762016-01-21 19:45:00 -0700559 This supports drivers that provide a display, such as eDP (Embedded
560 DisplayPort) and HDMI (High Definition Multimedia Interface).
561 The devices provide a simple interface to start up the display,
562 read display information and enable it.
Simon Glass3ef2a722015-04-14 21:03:42 -0600563
Liviu Dudau33967102018-09-28 13:49:31 +0100564config NXP_TDA19988
565 bool "Enable NXP TDA19988 support"
566 depends on DISPLAY
Liviu Dudau33967102018-09-28 13:49:31 +0100567 help
568 This enables support for the NXP TDA19988 HDMI encoder. This encoder
569 will convert RGB data streams into HDMI-encoded signals.
570
Songjun Wu72ac56a2017-04-11 16:33:30 +0800571config ATMEL_HLCD
572 bool "Enable ATMEL video support using HLCDC"
Songjun Wu72ac56a2017-04-11 16:33:30 +0800573 help
574 HLCDC supports video output to an attached LCD panel.
575
Dario Binacchi36248542020-12-30 00:16:31 +0100576source "drivers/video/ti/Kconfig"
Dario Binacchi017b4692020-02-22 14:05:45 +0100577
Tom Rini3eeabf52022-06-10 22:59:34 -0400578source "drivers/video/exynos/Kconfig"
579
Mario Sixc13ee192018-08-09 14:51:23 +0200580config LOGICORE_DP_TX
581 bool "Enable Logicore DP TX driver"
582 depends on DISPLAY
583 help
584 Enable the driver for the transmitter part of the Xilinx LogiCORE
585 DisplayPort, a IP core for Xilinx FPGAs that implements a DisplayPort
586 video interface as defined by VESA DisplayPort v1.2.
587
588 Note that this is a pure transmitter device, and has no display
589 capabilities by itself.
590
Simon Glassdec49b72016-03-11 22:07:30 -0700591config VIDEO_BROADWELL_IGD
592 bool "Enable Intel Broadwell integrated graphics device"
593 depends on X86
594 help
Simon Glassa3fdd002016-10-05 20:42:14 -0600595 This enables support for integrated graphics on Intel broadwell
Simon Glassdec49b72016-03-11 22:07:30 -0700596 devices. Initialisation is mostly performed by a VGA boot ROM, with
597 some setup handled by U-Boot itself. The graphics adaptor works as
598 a VESA device and supports LCD panels, eDP and LVDS outputs.
599 Configuration of most aspects of device operation is performed using
600 a special tool which configures the VGA ROM, but the graphics
601 resolution can be selected in U-Boot.
602
Simon Glass03f2a512016-10-05 20:42:15 -0600603config VIDEO_IVYBRIDGE_IGD
604 bool "Enable Intel Ivybridge integration graphics support"
605 depends on X86
606 help
607 This enables support for integrated graphics on Intel ivybridge
608 devices. Initialisation is mostly performed by a VGA boot ROM, with
609 some setup handled by U-Boot itself. The graphics adaptor works as
610 a VESA device and supports LCD panels, eDP and LVDS outputs.
611 Configuration of most aspects of device operation is performed using
612 a special tool which configures the VGA ROM, but the graphics
613 resolution can be selected in U-Boot.
614
eric.gao@rock-chips.com735ddea2017-04-17 22:24:23 +0800615source "drivers/video/rockchip/Kconfig"
Simon Glass0139ae62016-01-21 19:45:03 -0700616
Liviu Dudau8373ed32018-09-28 13:50:53 +0100617config VIDEO_ARM_MALIDP
618 bool "Enable Arm Mali Display Processor support"
619 depends on DM_VIDEO && OF_CONTROL
620 select VEXPRESS_CLK
621 help
622 This enables support for Arm Ltd Mali Display Processors from
623 the DP500, DP550 and DP650 family.
624
Simon Glass161eea72016-01-18 19:52:24 -0700625config VIDEO_SANDBOX_SDL
626 bool "Enable sandbox video console using SDL"
627 depends on SANDBOX
628 help
629 When using sandbox you can enable an emulated LCD display which
630 appears as an SDL (Simple DirectMedia Layer) window. This is a
631 console device and can display stdout output. Within U-Boot is is
632 a normal bitmap display and can display images as well as text.
633
Philippe CORNUdcbad9a2017-08-03 12:36:08 +0200634source "drivers/video/stm32/Kconfig"
635
Simon Glass89c03462016-01-30 16:37:51 -0700636config VIDEO_TEGRA20
637 bool "Enable LCD support on Tegra20"
Simon Glass54832f22016-01-30 16:37:54 -0700638 depends on OF_CONTROL
Simon Glass89c03462016-01-30 16:37:51 -0700639 help
640 Tegra20 supports video output to an attached LCD panel as well as
641 other options such as HDMI. Only the LCD is supported in U-Boot.
642 This option enables this support which can be used on devices which
643 have an LCD display connected.
644
Simon Glass3ef2a722015-04-14 21:03:42 -0600645config VIDEO_TEGRA124
646 bool "Enable video support on Tegra124"
Simon Glassfad72182016-01-30 16:37:50 -0700647 depends on DM_VIDEO
Simon Glass3ef2a722015-04-14 21:03:42 -0600648 help
649 Tegra124 supports many video output options including eDP and
650 HDMI. At present only eDP is supported by U-Boot. This option
651 enables this support which can be used on devices which
652 have an eDP display connected.
Simon Glass7cf17572015-07-02 18:16:08 -0600653
654source "drivers/video/bridge/Kconfig"
Masahiro Yamadacc85b7b2015-07-26 02:46:26 +0900655
Anatolij Gustschin411e73d2019-03-18 23:29:32 +0100656source "drivers/video/imx/Kconfig"
Anatolij Gustschin983e2f2a2019-03-18 23:29:31 +0100657
Anatolij Gustschine22e08e2021-10-04 17:33:12 +0200658config VIDEO_MXS
659 bool "Enable video support on i.MX28/i.MX6UL/i.MX7 SoCs"
660 depends on DM_VIDEO
661 help
662 Enable framebuffer driver for i.MX28/i.MX6UL/i.MX7 processors
663
Stefan Bosch5ed5ad42020-07-10 19:07:36 +0200664config VIDEO_NX
665 bool "Enable video support on Nexell SoC"
666 depends on ARCH_S5P6818 || ARCH_S5P4418
667 help
668 Nexell SoC supports many video output options including eDP and
669 HDMI. This option enables this support which can be used on devices
670 which have an eDP display connected.
671
Michal Simek32058b82020-12-03 09:31:35 +0100672config VIDEO_SEPS525
673 bool "Enable video support for Seps525"
Michal Simek9f846d92022-02-04 08:36:54 +0100674 depends on DM_VIDEO && DM_GPIO
Michal Simek32058b82020-12-03 09:31:35 +0100675 help
676 Enable support for the Syncoam PM-OLED display driver (RGB 160x128).
677 Currently driver is supporting only SPI interface.
678
Michal Simekab2829a2022-02-23 15:52:02 +0100679config VIDEO_ZYNQMP_DPSUB
680 bool "Enable video support for ZynqMP Display Port"
681 depends on DM_VIDEO && ZYNQMP_POWER_DOMAIN
682 help
683 Enable support for Xilinx ZynqMP Display Port. Currently this file
684 is used as placeholder for driver. The main reason is to record
685 compatible string and calling power domain driver.
686
Stefan Bosch5ed5ad42020-07-10 19:07:36 +0200687source "drivers/video/nexell/Kconfig"
688
Simon Glasse9d797a2016-10-17 20:12:40 -0600689config VIDEO
690 bool "Enable legacy video support"
691 depends on !DM_VIDEO
692 help
693 Define this for video support, without using driver model. Some
694 drivers use this because they are not yet converted to driver
695 model. Video drivers typically provide a colour text console and
696 cursor.
697
Simon Glassd76f29a2016-10-17 20:12:57 -0600698config CONSOLE_SCROLL_LINES
699 int "Number of lines to scroll the console by"
Simon Glass03fbd252022-01-23 07:04:08 -0700700 depends on DM_VIDEO || LCD
Simon Glassd76f29a2016-10-17 20:12:57 -0600701 default 1
702 help
703 When the console need to be scrolled, this is the number of
704 lines to scroll by. It defaults to 1. Increasing this makes the
705 console jump but can help speed up operation when scrolling
706 is slow.
707
Simon Glass169bb3b2016-10-17 20:12:56 -0600708config LCD
709 bool "Enable legacy LCD support"
710 help
711 Define this to enable LCD support (for output to LCD display).
712 You will also need to select an LCD driver using an additional
713 CONFIG option. See the README for details. Drives which have been
714 converted to driver model will instead used CONFIG_DM_VIDEO.
715
Tom Rini8381e632022-03-18 08:38:29 -0400716config LCD_INFO
717 bool "Show LCD info on-screen"
718 depends on LCD
719
720config LCD_LOGO
721 bool "Show a logo on screen"
722 depends on LCD
723
724config LCD_INFO_BELOW_LOGO
725 bool "Show LCD info below the on-screen logo"
726 depends on LCD_INFO && LCD_LOGO
727
Philipp Tomsich3a53b3e2017-05-05 21:48:26 +0200728config VIDEO_DW_HDMI
729 bool
730 help
731 Enables the common driver code for the Designware HDMI TX
732 block found in SoCs from various vendors.
733 As this does not provide any functionality by itself (but
734 rather requires a SoC-specific glue driver to call it), it
735 can not be enabled from the configuration menu.
736
Yannick Fertré9712c822019-10-07 15:29:05 +0200737config VIDEO_DSI_HOST_SANDBOX
738 bool "Enable sandbox for dsi host"
739 depends on SANDBOX
740 select VIDEO_MIPI_DSI
741 help
742 Enable support for sandbox dsi host device used for testing
743 purposes.
744 Display Serial Interface (DSI) defines a serial bus and
745 a communication protocol between the host and the device
746 (panel, bridge).
747
Yannick Fertré764af462019-10-07 15:29:06 +0200748config VIDEO_DW_MIPI_DSI
749 bool
750 select VIDEO_MIPI_DSI
751 help
752 Enables the common driver code for the Synopsis Designware
753 MIPI DSI block found in SoCs from various vendors.
754 As this does not provide any functionality by itself (but
755 rather requires a SoC-specific glue driver to call it), it
756 can not be enabled from the configuration menu.
757
Rob Clarkcf7ab0c2017-08-03 12:47:00 -0400758config VIDEO_SIMPLE
759 bool "Simple display driver for preconfigured display"
760 help
761 Enables a simple generic display driver which utilizes the
762 simple-framebuffer devicetree bindings.
763
764 This driver assumes that the display hardware has been initialized
765 before u-boot starts, and u-boot will simply render to the pre-
766 allocated frame buffer surface.
767
Icenowy Zheng60e4b8f2017-10-26 11:14:46 +0800768config VIDEO_DT_SIMPLEFB
769 bool "Enable SimpleFB support for passing framebuffer to OS"
770 help
771 Enables the code to pass the framebuffer to the kernel as a
772 simple framebuffer in the device tree.
773 The video output is initialized by U-Boot, and kept by the
774 kernel.
775
Stephan Gerhold36f654a2021-07-02 19:21:56 +0200776config VIDEO_MCDE_SIMPLE
777 bool "Simple driver for ST-Ericsson MCDE with preconfigured display"
778 depends on DM_VIDEO
779 help
780 Enables a simple display driver for ST-Ericsson MCDE
781 (Multichannel Display Engine), which reads the configuration from
782 the MCDE registers.
783
784 This driver assumes that the display hardware has been initialized
785 before u-boot starts, and u-boot will simply render to the pre-
786 allocated frame buffer surface.
787
Mario Six1b773202018-09-27 09:19:29 +0200788config OSD
789 bool "Enable OSD support"
790 depends on DM
Mario Six1b773202018-09-27 09:19:29 +0200791 help
792 This supports drivers that provide a OSD (on-screen display), which
793 is a (usually text-oriented) graphics buffer to show information on
794 a display.
Mario Six8ea19da2018-09-27 09:19:30 +0200795
Mario Six02ad6fb2018-09-27 09:19:31 +0200796config SANDBOX_OSD
797 bool "Enable sandbox OSD"
798 depends on OSD
799 help
800 Enable support for sandbox OSD device used for testing purposes.
801
Mario Six8ea19da2018-09-27 09:19:30 +0200802config IHS_VIDEO_OUT
803 bool "Enable IHS video out driver"
804 depends on OSD
805 help
806 Enable support for the gdsys Integrated Hardware Systems (IHS) video
807 out On-screen Display (OSD) used on gdsys FPGAs to control dynamic
808 textual overlays of the display outputs.
809
Simon Glass2d7a7942020-08-11 11:23:35 -0600810config SPLASH_SCREEN
811 bool "Show a splash-screen image"
812 help
813 If this option is set, the environment is checked for a variable
814 "splashimage". If found, the usual display of logo, copyright and
815 system information on the LCD is suppressed and the BMP image at the
816 address specified in "splashimage" is loaded instead. The console is
817 redirected to the "nulldev", too. This allows for a "silent" boot
818 where a splash screen is loaded very quickly after power-on.
819
820 The splash_screen_prepare() function is a weak function defined in
821 common/splash.c. It is called as part of the splash screen display
822 sequence. It gives the board an opportunity to prepare the splash
823 image data before it is processed and sent to the frame buffer by
824 U-Boot. Define your own version to use this feature.
825
826config SPLASHIMAGE_GUARD
827 bool "Support unaligned BMP images"
828 depends on SPLASH_SCREEN
829 help
830 If this option is set, then U-Boot will prevent the environment
831 variable "splashimage" from being set to a problematic address
832 (see doc/README.displaying-bmps).
833
834 This option is useful for targets where, due to alignment
835 restrictions, an improperly aligned BMP image will cause a data
836 abort. If you think you will not have problems with unaligned
837 accesses (for example because your toolchain prevents them)
838 there is no need to set this option.
839
840config SPLASH_SCREEN_ALIGN
841 bool "Allow positioning the splash image anywhere on the display"
842 depends on SPLASH_SCREEN || CMD_BMP
843 help
844 If this option is set the splash image can be freely positioned
845 on the screen. Environment variable "splashpos" specifies the
846 position as "x,y". If a positive number is given it is used as
847 number of pixel from left/top. If a negative number is given it
848 is used as number of pixel from right/bottom. You can also
849 specify 'm' for centering the image.
850
851 Example:
852 setenv splashpos m,m
853 => image at center of screen
854
855 setenv splashpos 30,20
856 => image at x = 30 and y = 20
857
858 setenv splashpos -10,m
859 => vertically centered image
860 at x = dspWidth - bmpWidth - 9
861
862config SPLASH_SOURCE
863 bool "Control the source of the splash image"
864 depends on SPLASH_SCREEN
865 help
866 Use the splash_source.c library. This library provides facilities to
867 declare board specific splash image locations, routines for loading
868 splash image from supported locations, and a way of controlling the
869 selected splash location using the "splashsource" environment
870 variable.
871
872 This CONFIG works as follows:
873
874 - If splashsource is set to a supported location name as defined by
875 board code, use that splash location.
876 - If splashsource is undefined, use the first splash location as
877 default.
878 - If splashsource is set to an unsupported value, do not load a splash
879 screen.
880
881 A splash source location can describe either storage with raw data, a
882 storage formatted with a file system or a FIT image. In case of a
883 filesystem, the splash screen data is loaded as a file. The name of
884 the splash screen file can be controlled with the environment variable
885 "splashfile".
886
887 To enable loading the splash image from a FIT image, CONFIG_FIT must
888 be enabled. The FIT image has to start at the 'offset' field address
889 in the selected splash location. The name of splash image within the
890 FIT shall be specified by the environment variable "splashfile".
891
892 In case the environment variable "splashfile" is not defined the
893 default name 'splash.bmp' will be used.
894
Patrick Delaunay5d0e2ab2020-09-28 11:30:14 +0200895config VIDEO_BMP_GZIP
896 bool "Gzip compressed BMP image support"
897 depends on CMD_BMP || SPLASH_SCREEN
898 help
899 If this option is set, additionally to standard BMP
900 images, gzipped BMP images can be displayed via the
901 splashscreen support or the bmp command.
902
Patrick Delaunayc47fe772020-09-28 11:30:15 +0200903config VIDEO_BMP_RLE8
904 bool "Run length encoded BMP image (RLE8) support"
Simon Glass03fbd252022-01-23 07:04:08 -0700905 depends on DM_VIDEO
Patrick Delaunayc47fe772020-09-28 11:30:15 +0200906 help
907 If this option is set, the 8-bit RLE compressed BMP images
908 is supported.
909
Patrick Delaunayb1f17632020-09-28 11:30:16 +0200910config BMP_16BPP
911 bool "16-bit-per-pixel BMP image support"
912 depends on DM_VIDEO || LCD
913 help
914 Support display of bitmaps file with 16-bit-per-pixel
915
916config BMP_24BPP
917 bool "24-bit-per-pixel BMP image support"
918 depends on DM_VIDEO || LCD
919 help
920 Support display of bitmaps file with 24-bit-per-pixel.
921
922config BMP_32BPP
923 bool "32-bit-per-pixel BMP image support"
924 depends on DM_VIDEO || LCD
925 help
926 Support display of bitmaps file with 32-bit-per-pixel.
927
Anatolij Gustschin3d471a12020-10-18 20:32:35 +0200928config VIDEO_VCXK
929 bool "Enable VCXK video controller driver support"
Anatolij Gustschin3d471a12020-10-18 20:32:35 +0200930 help
931 This enables VCXK driver which can be used with VC2K, VC4K
932 and VC8K devices on various boards from BuS Elektronik GmbH.
933
Masahiro Yamadacc85b7b2015-07-26 02:46:26 +0900934endmenu