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