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