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