xref: /openbmc/u-boot/drivers/video/Kconfig (revision 1df91276)
10b11dbf7SMasahiro Yamada#
20b11dbf7SMasahiro Yamada# Video configuration
30b11dbf7SMasahiro Yamada#
40b11dbf7SMasahiro Yamada
50b11dbf7SMasahiro Yamadamenu "Graphics support"
60b11dbf7SMasahiro Yamada
71acafc73SSimon Glassconfig DM_VIDEO
81acafc73SSimon Glass	bool "Enable driver model support for LCD/video"
91acafc73SSimon Glass	depends on DM
101acafc73SSimon Glass	help
111acafc73SSimon Glass	  This enables driver model for LCD and video devices. These support
121acafc73SSimon Glass	  a bitmap display of various sizes and depths which can be drawn on
131acafc73SSimon Glass	  to display a command-line console or splash screen. Enabling this
141acafc73SSimon Glass	  option compiles in the video uclass and routes all LCD/video access
151acafc73SSimon Glass	  through this.
161acafc73SSimon Glass
171acafc73SSimon Glassconfig VIDEO_BPP8
181acafc73SSimon Glass	bool "Support 8-bit-per-pixel displays"
191acafc73SSimon Glass	depends on DM_VIDEO
201acafc73SSimon Glass	default y if DM_VIDEO
211acafc73SSimon Glass	help
221acafc73SSimon Glass	  Support drawing text and bitmaps onto a 8-bit-per-pixel display.
231acafc73SSimon Glass	  Enabling this will include code to support this display. Without
241acafc73SSimon Glass	  this option, such displays will not be supported and console output
251acafc73SSimon Glass	  will be empty.
261acafc73SSimon Glass
271acafc73SSimon Glassconfig VIDEO_BPP16
281acafc73SSimon Glass	bool "Support 16-bit-per-pixel displays"
291acafc73SSimon Glass	depends on DM_VIDEO
301acafc73SSimon Glass	default y if DM_VIDEO
311acafc73SSimon Glass	help
321acafc73SSimon Glass	  Support drawing text and bitmaps onto a 16-bit-per-pixel display.
331acafc73SSimon Glass	  Enabling this will include code to support this display. Without
341acafc73SSimon Glass	  this option, such displays will not be supported and console output
351acafc73SSimon Glass	  will be empty.
361acafc73SSimon Glass
371acafc73SSimon Glassconfig VIDEO_BPP32
381acafc73SSimon Glass	bool "Support 32-bit-per-pixel displays"
391acafc73SSimon Glass	depends on DM_VIDEO
401acafc73SSimon Glass	default y if DM_VIDEO
411acafc73SSimon Glass	help
421acafc73SSimon Glass	  Support drawing text and bitmaps onto a 32-bit-per-pixel display.
431acafc73SSimon Glass	  Enabling this will include code to support this display. Without
441acafc73SSimon Glass	  this option, such displays will not be supported and console output
451acafc73SSimon Glass	  will be empty.
461acafc73SSimon Glass
476e42e251SSimon Glassconfig CONSOLE_NORMAL
486e42e251SSimon Glass	bool "Support a simple text console"
496e42e251SSimon Glass	depends on DM_VIDEO
506e42e251SSimon Glass	default y if DM_VIDEO
516e42e251SSimon Glass	help
526e42e251SSimon Glass	  Support drawing text on the frame buffer console so that it can be
536e42e251SSimon Glass	  used as a console. Rotation is not supported by this driver (see
546e42e251SSimon Glass	  CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used
556e42e251SSimon Glass	  for the display.
566e42e251SSimon Glass
576e42e251SSimon Glassconfig CONSOLE_ROTATION
58b5146b28SSimon Glass	bool "Support rotated displays"
59b5146b28SSimon Glass	depends on DM_VIDEO
60b5146b28SSimon Glass	help
61b5146b28SSimon Glass	  Sometimes, for example if the display is mounted in portrait
62b5146b28SSimon Glass	  mode or even if it's mounted landscape but rotated by 180degree,
63b5146b28SSimon Glass	  we need to rotate our content of the display relative to the
64b5146b28SSimon Glass	  framebuffer, so that user can read the messages which are
65b5146b28SSimon Glass	  printed out. Enable this option to include a text driver which can
66b5146b28SSimon Glass	  support this. The rotation is set by the 'rot' parameter in
67b5146b28SSimon Glass	  struct video_priv: 0=unrotated, 1=90 degrees clockwise, 2=180
68b5146b28SSimon Glass	  degrees, 3=270 degrees.
69b5146b28SSimon Glass
70a29b0120SSimon Glassconfig CONSOLE_TRUETYPE
71a29b0120SSimon Glass	bool "Support a console that uses TrueType fonts"
72a29b0120SSimon Glass	depends on DM_VIDEO
73a29b0120SSimon Glass	help
74a29b0120SSimon Glass	  TrueTrype fonts can provide outline-drawing capability rather than
75a29b0120SSimon Glass	  needing to provide a bitmap for each font and size that is needed.
76a29b0120SSimon Glass	  With this option you can adjust the text size and use a variety of
77a29b0120SSimon Glass	  fonts. Note that this is noticeably slower than with normal console.
78a29b0120SSimon Glass
79a29b0120SSimon Glassconfig CONSOLE_TRUETYPE_SIZE
80a29b0120SSimon Glass	int "TrueType font size"
81a29b0120SSimon Glass	depends on CONSOLE_TRUETYPE
82a29b0120SSimon Glass	default 18
83a29b0120SSimon Glass	help
84a29b0120SSimon Glass	  This sets the font size for the console. The size is measured in
85a29b0120SSimon Glass	  pixels and is the nominal height of a character. Note that fonts
86a29b0120SSimon Glass	  are commonly measured in 'points', being 1/72 inch (about 3.52mm).
87a29b0120SSimon Glass	  However that measurement depends on the size of your display and
88a29b0120SSimon Glass	  there is no standard display density. At present there is not a
89a29b0120SSimon Glass	  method to select the display's physical size, which would allow
90a29b0120SSimon Glass	  U-Boot to calculate the correct font size.
91a29b0120SSimon Glass
92a29b0120SSimon Glasssource "drivers/video/fonts/Kconfig"
93a29b0120SSimon Glass
94a2931b30SSimon Glassconfig VIDCONSOLE_AS_LCD
95a2931b30SSimon Glass	bool "Use 'vidconsole' when 'lcd' is seen in stdout"
96a2931b30SSimon Glass	depends on DM_VIDEO
97a2931b30SSimon Glass	help
98a2931b30SSimon Glass	  This is a work-around for boards which have 'lcd' in their stdout
99a2931b30SSimon Glass	  environment variable, but have moved to use driver model for video.
100a2931b30SSimon Glass	  In this case the console will no-longer work. While it is possible
101a2931b30SSimon Glass	  to update the environment, the breakage may be confusing for users.
102a2931b30SSimon Glass	  This option will be removed around the end of 2016.
103a2931b30SSimon Glass
1046b1ba984SSimon Glassconfig VIDEO_VESA
1056b1ba984SSimon Glass	bool "Enable VESA video driver support"
1066b1ba984SSimon Glass	default n
1076b1ba984SSimon Glass	help
1086b1ba984SSimon Glass	  Turn on this option to enable a very simple driver which uses vesa
1096b1ba984SSimon Glass	  to discover the video mode and then provides a frame buffer for use
1106b1ba984SSimon Glass	  by U-Boot. This can in principle be used with any platform that
1116b1ba984SSimon Glass	  supports PCI and video cards that support VESA BIOS Extension (VBE).
1126b1ba984SSimon Glass
1136bde2dc5SBin Mengconfig FRAMEBUFFER_SET_VESA_MODE
1146bde2dc5SBin Meng	bool "Set framebuffer graphics resolution"
11597cb0927SSimon Glass	depends on VIDEO_VESA || VIDEO_BROADWELL_IGD
1166bde2dc5SBin Meng	help
1176bde2dc5SBin Meng	  Set VESA/native framebuffer mode (needed for bootsplash and graphical
1186bde2dc5SBin Meng	  framebuffer console)
1196bde2dc5SBin Meng
1206bde2dc5SBin Mengchoice
1216bde2dc5SBin Meng	prompt "framebuffer graphics resolution"
1226bde2dc5SBin Meng	default FRAMEBUFFER_VESA_MODE_117
1236bde2dc5SBin Meng	depends on FRAMEBUFFER_SET_VESA_MODE
1246bde2dc5SBin Meng	help
1256bde2dc5SBin Meng	  This option sets the resolution used for the U-Boot framebuffer (and
1266bde2dc5SBin Meng	  bootsplash screen).
1276bde2dc5SBin Meng
1286bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_100
1296bde2dc5SBin Meng	bool "640x400 256-color"
1306bde2dc5SBin Meng
1316bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_101
1326bde2dc5SBin Meng	bool "640x480 256-color"
1336bde2dc5SBin Meng
1346bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_102
1356bde2dc5SBin Meng	bool "800x600 16-color"
1366bde2dc5SBin Meng
1376bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_103
1386bde2dc5SBin Meng	bool "800x600 256-color"
1396bde2dc5SBin Meng
1406bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_104
1416bde2dc5SBin Meng	bool "1024x768 16-color"
1426bde2dc5SBin Meng
1436bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_105
14457dccb55SBin Meng	bool "1024x768 256-color"
1456bde2dc5SBin Meng
1466bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_106
1476bde2dc5SBin Meng	bool "1280x1024 16-color"
1486bde2dc5SBin Meng
1496bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_107
1506bde2dc5SBin Meng	bool "1280x1024 256-color"
1516bde2dc5SBin Meng
1526bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_108
1536bde2dc5SBin Meng	bool "80x60 text"
1546bde2dc5SBin Meng
1556bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_109
1566bde2dc5SBin Meng	bool "132x25 text"
1576bde2dc5SBin Meng
1586bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_10A
1596bde2dc5SBin Meng	bool "132x43 text"
1606bde2dc5SBin Meng
1616bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_10B
1626bde2dc5SBin Meng	bool "132x50 text"
1636bde2dc5SBin Meng
1646bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_10C
1656bde2dc5SBin Meng	bool "132x60 text"
1666bde2dc5SBin Meng
1676bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_10D
1686bde2dc5SBin Meng	bool "320x200 32k-color (1:5:5:5)"
1696bde2dc5SBin Meng
1706bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_10E
1716bde2dc5SBin Meng	bool "320x200 64k-color (5:6:5)"
1726bde2dc5SBin Meng
1736bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_10F
1746bde2dc5SBin Meng	bool "320x200 16.8M-color (8:8:8)"
1756bde2dc5SBin Meng
1766bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_110
1776bde2dc5SBin Meng	bool "640x480 32k-color (1:5:5:5)"
1786bde2dc5SBin Meng
1796bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_111
1806bde2dc5SBin Meng	bool "640x480 64k-color (5:6:5)"
1816bde2dc5SBin Meng
1826bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_112
1836bde2dc5SBin Meng	bool "640x480 16.8M-color (8:8:8)"
1846bde2dc5SBin Meng
1856bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_113
1866bde2dc5SBin Meng	bool "800x600 32k-color (1:5:5:5)"
1876bde2dc5SBin Meng
1886bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_114
1896bde2dc5SBin Meng	bool "800x600 64k-color (5:6:5)"
1906bde2dc5SBin Meng
1916bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_115
1926bde2dc5SBin Meng	bool "800x600 16.8M-color (8:8:8)"
1936bde2dc5SBin Meng
1946bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_116
1956bde2dc5SBin Meng	bool "1024x768 32k-color (1:5:5:5)"
1966bde2dc5SBin Meng
1976bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_117
1986bde2dc5SBin Meng	bool "1024x768 64k-color (5:6:5)"
1996bde2dc5SBin Meng
2006bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_118
2016bde2dc5SBin Meng	bool "1024x768 16.8M-color (8:8:8)"
2026bde2dc5SBin Meng
2036bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_119
2046bde2dc5SBin Meng	bool "1280x1024 32k-color (1:5:5:5)"
2056bde2dc5SBin Meng
2066bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_11A
2076bde2dc5SBin Meng	bool "1280x1024 64k-color (5:6:5)"
2086bde2dc5SBin Meng
2096bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_11B
2106bde2dc5SBin Meng	bool "1280x1024 16.8M-color (8:8:8)"
2116bde2dc5SBin Meng
2126bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE_USER
2136bde2dc5SBin Meng	bool "Manually select VESA mode"
2146bde2dc5SBin Meng
2156bde2dc5SBin Mengendchoice
2166bde2dc5SBin Meng
2176bde2dc5SBin Meng# Map the config names to an integer (KB).
2186bde2dc5SBin Mengconfig FRAMEBUFFER_VESA_MODE
2196bde2dc5SBin Meng	prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER
2206bde2dc5SBin Meng	hex
2216bde2dc5SBin Meng	default 0x100 if FRAMEBUFFER_VESA_MODE_100
2226bde2dc5SBin Meng	default 0x101 if FRAMEBUFFER_VESA_MODE_101
2236bde2dc5SBin Meng	default 0x102 if FRAMEBUFFER_VESA_MODE_102
2246bde2dc5SBin Meng	default 0x103 if FRAMEBUFFER_VESA_MODE_103
2256bde2dc5SBin Meng	default 0x104 if FRAMEBUFFER_VESA_MODE_104
2266bde2dc5SBin Meng	default 0x105 if FRAMEBUFFER_VESA_MODE_105
2276bde2dc5SBin Meng	default 0x106 if FRAMEBUFFER_VESA_MODE_106
2286bde2dc5SBin Meng	default 0x107 if FRAMEBUFFER_VESA_MODE_107
2296bde2dc5SBin Meng	default 0x108 if FRAMEBUFFER_VESA_MODE_108
2306bde2dc5SBin Meng	default 0x109 if FRAMEBUFFER_VESA_MODE_109
2316bde2dc5SBin Meng	default 0x10A if FRAMEBUFFER_VESA_MODE_10A
2326bde2dc5SBin Meng	default 0x10B if FRAMEBUFFER_VESA_MODE_10B
2336bde2dc5SBin Meng	default 0x10C if FRAMEBUFFER_VESA_MODE_10C
2346bde2dc5SBin Meng	default 0x10D if FRAMEBUFFER_VESA_MODE_10D
2356bde2dc5SBin Meng	default 0x10E if FRAMEBUFFER_VESA_MODE_10E
2366bde2dc5SBin Meng	default 0x10F if FRAMEBUFFER_VESA_MODE_10F
2376bde2dc5SBin Meng	default 0x110 if FRAMEBUFFER_VESA_MODE_110
2386bde2dc5SBin Meng	default 0x111 if FRAMEBUFFER_VESA_MODE_111
2396bde2dc5SBin Meng	default 0x112 if FRAMEBUFFER_VESA_MODE_112
2406bde2dc5SBin Meng	default 0x113 if FRAMEBUFFER_VESA_MODE_113
2416bde2dc5SBin Meng	default 0x114 if FRAMEBUFFER_VESA_MODE_114
2426bde2dc5SBin Meng	default 0x115 if FRAMEBUFFER_VESA_MODE_115
2436bde2dc5SBin Meng	default 0x116 if FRAMEBUFFER_VESA_MODE_116
2446bde2dc5SBin Meng	default 0x117 if FRAMEBUFFER_VESA_MODE_117
2456bde2dc5SBin Meng	default 0x118 if FRAMEBUFFER_VESA_MODE_118
2466bde2dc5SBin Meng	default 0x119 if FRAMEBUFFER_VESA_MODE_119
2476bde2dc5SBin Meng	default 0x11A if FRAMEBUFFER_VESA_MODE_11A
2486bde2dc5SBin Meng	default 0x11B if FRAMEBUFFER_VESA_MODE_11B
2496bde2dc5SBin Meng	default 0x117 if FRAMEBUFFER_VESA_MODE_USER
2506bde2dc5SBin Meng
25166525bb7SHans de Goedeconfig VIDEO_LCD_ANX9804
25266525bb7SHans de Goede	bool "ANX9804 bridge chip"
25366525bb7SHans de Goede	default n
25466525bb7SHans de Goede	---help---
25566525bb7SHans de Goede	Support for the ANX9804 bridge chip, which can take pixel data coming
25666525bb7SHans de Goede	from a parallel LCD interface and translate it on the fy into a DP
25766525bb7SHans de Goede	interface for driving eDP TFT displays. It uses I2C for configuration.
25866525bb7SHans de Goede
259b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SSD2828
260b8329acfSSiarhei Siamashka	bool "SSD2828 bridge chip"
261b8329acfSSiarhei Siamashka	default n
262b8329acfSSiarhei Siamashka	---help---
263b8329acfSSiarhei Siamashka	Support for the SSD2828 bridge chip, which can take pixel data coming
264b8329acfSSiarhei Siamashka	from a parallel LCD interface and translate it on the fly into MIPI DSI
265b8329acfSSiarhei Siamashka	interface for driving a MIPI compatible LCD panel. It uses SPI for
266b8329acfSSiarhei Siamashka	configuration.
267b8329acfSSiarhei Siamashka
268b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SSD2828_TX_CLK
269b8329acfSSiarhei Siamashka	int "SSD2828 TX_CLK frequency (in MHz)"
270b8329acfSSiarhei Siamashka	depends on VIDEO_LCD_SSD2828
271dddccd69SSiarhei Siamashka	default 0
272b8329acfSSiarhei Siamashka	---help---
273b8329acfSSiarhei Siamashka	The frequency of the crystal, which is clocking SSD2828. It may be
274b8329acfSSiarhei Siamashka	anything in the 8MHz-30MHz range and the exact value should be
275b8329acfSSiarhei Siamashka	retrieved from the board schematics. Or in the case of Allwinner
276b8329acfSSiarhei Siamashka	hardware, it can be usually found as 'lcd_xtal_freq' variable in
277dddccd69SSiarhei Siamashka	FEX files. It can be also set to 0 for selecting PCLK from the
278dddccd69SSiarhei Siamashka	parallel LCD interface instead of TX_CLK as the PLL clock source.
279b8329acfSSiarhei Siamashka
280b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SSD2828_RESET
281b8329acfSSiarhei Siamashka	string "RESET pin of SSD2828"
282b8329acfSSiarhei Siamashka	depends on VIDEO_LCD_SSD2828
283b8329acfSSiarhei Siamashka	default ""
284b8329acfSSiarhei Siamashka	---help---
285b8329acfSSiarhei Siamashka	The reset pin of SSD2828 chip. This takes a string in the format
286b8329acfSSiarhei Siamashka	understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
287b8329acfSSiarhei Siamashka
288a5464f2bSHans de Goedeconfig VIDEO_LCD_HITACHI_TX18D42VM
289a5464f2bSHans de Goede	bool "Hitachi tx18d42vm LVDS LCD panel support"
290a5464f2bSHans de Goede	depends on VIDEO
291a5464f2bSHans de Goede	default n
292a5464f2bSHans de Goede	---help---
293a5464f2bSHans de Goede	Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a
294a5464f2bSHans de Goede	lcd controller which needs to be initialized over SPI, once that is
295a5464f2bSHans de Goede	done they work like a regular LVDS panel.
296a5464f2bSHans de Goede
297b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SPI_CS
298b8329acfSSiarhei Siamashka	string "SPI CS pin for LCD related config job"
299a5464f2bSHans de Goede	depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
300b8329acfSSiarhei Siamashka	default ""
301b8329acfSSiarhei Siamashka	---help---
302b8329acfSSiarhei Siamashka	This is one of the SPI communication pins, involved in setting up a
303b8329acfSSiarhei Siamashka	working LCD configuration. The exact role of SPI may differ for
304b8329acfSSiarhei Siamashka	different hardware setups. The option takes a string in the format
305b8329acfSSiarhei Siamashka	understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
306b8329acfSSiarhei Siamashka
307b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SPI_SCLK
308b8329acfSSiarhei Siamashka	string "SPI SCLK pin for LCD related config job"
309a5464f2bSHans de Goede	depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
310b8329acfSSiarhei Siamashka	default ""
311b8329acfSSiarhei Siamashka	---help---
312b8329acfSSiarhei Siamashka	This is one of the SPI communication pins, involved in setting up a
313b8329acfSSiarhei Siamashka	working LCD configuration. The exact role of SPI may differ for
314b8329acfSSiarhei Siamashka	different hardware setups. The option takes a string in the format
315b8329acfSSiarhei Siamashka	understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
316b8329acfSSiarhei Siamashka
317b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SPI_MOSI
318b8329acfSSiarhei Siamashka	string "SPI MOSI pin for LCD related config job"
319a5464f2bSHans de Goede	depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
320b8329acfSSiarhei Siamashka	default ""
321b8329acfSSiarhei Siamashka	---help---
322b8329acfSSiarhei Siamashka	This is one of the SPI communication pins, involved in setting up a
323b8329acfSSiarhei Siamashka	working LCD configuration. The exact role of SPI may differ for
324b8329acfSSiarhei Siamashka	different hardware setups. The option takes a string in the format
325b8329acfSSiarhei Siamashka	understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
326b8329acfSSiarhei Siamashka
327b8329acfSSiarhei Siamashkaconfig VIDEO_LCD_SPI_MISO
328b8329acfSSiarhei Siamashka	string "SPI MISO pin for LCD related config job (optional)"
329b8329acfSSiarhei Siamashka	depends on VIDEO_LCD_SSD2828
330b8329acfSSiarhei Siamashka	default ""
331b8329acfSSiarhei Siamashka	---help---
332b8329acfSSiarhei Siamashka	This is one of the SPI communication pins, involved in setting up a
333b8329acfSSiarhei Siamashka	working LCD configuration. The exact role of SPI may differ for
334b8329acfSSiarhei Siamashka	different hardware setups. If wired up, this pin may provide additional
335b8329acfSSiarhei Siamashka	useful functionality. Such as bi-directional communication with the
336b8329acfSSiarhei Siamashka	hardware and LCD panel id retrieval (if the panel can report it). The
337b8329acfSSiarhei Siamashka	option takes a string in the format understood by 'name_to_gpio'
338b8329acfSSiarhei Siamashka	function, e.g. PH1 for pin 1 of port H.
33951f2c99eSSimon Glass
340913d1be2SStefan Roeseconfig VIDEO_MVEBU
341913d1be2SStefan Roese	bool "Armada XP LCD controller"
342913d1be2SStefan Roese	default n
343913d1be2SStefan Roese	---help---
344913d1be2SStefan Roese	Support for the LCD controller integrated in the Marvell
345913d1be2SStefan Roese	Armada XP SoC.
346913d1be2SStefan Roese
3477588c312SAnatolij Gustschinconfig I2C_EDID
3487588c312SAnatolij Gustschin	bool "Enable EDID library"
3497588c312SAnatolij Gustschin	depends on DM_I2C
3507588c312SAnatolij Gustschin	default n
3517588c312SAnatolij Gustschin	help
3527588c312SAnatolij Gustschin	   This enables library for accessing EDID data from an LCD panel.
3537588c312SAnatolij Gustschin
3542dcf1433SSimon Glassconfig DISPLAY
3552dcf1433SSimon Glass	bool "Enable Display support"
3562dcf1433SSimon Glass	depends on DM
3577588c312SAnatolij Gustschin	default n
3587588c312SAnatolij Gustschin	select I2C_EDID
35951f2c99eSSimon Glass	help
3602dcf1433SSimon Glass	   This supports drivers that provide a display, such as eDP (Embedded
3612dcf1433SSimon Glass	   DisplayPort) and HDMI (High Definition Multimedia Interface).
3622dcf1433SSimon Glass	   The devices provide a simple interface to start up the display,
3632dcf1433SSimon Glass	   read display information and enable it.
364e7e8823cSSimon Glass
36597cb0927SSimon Glassconfig VIDEO_BROADWELL_IGD
36697cb0927SSimon Glass	bool "Enable Intel Broadwell integrated graphics device"
36797cb0927SSimon Glass	depends on X86
36897cb0927SSimon Glass	help
369*1df91276SSimon Glass	  This enables support for integrated graphics on Intel broadwell
37097cb0927SSimon Glass	  devices. Initialisation is mostly performed by a VGA boot ROM, with
37197cb0927SSimon Glass	  some setup handled by U-Boot itself. The graphics adaptor works as
37297cb0927SSimon Glass	  a VESA device and supports LCD panels, eDP and LVDS outputs.
37397cb0927SSimon Glass	  Configuration of most aspects of device operation is performed using
37497cb0927SSimon Glass	  a special tool which configures the VGA ROM, but the graphics
37597cb0927SSimon Glass	  resolution can be selected in U-Boot.
37697cb0927SSimon Glass
377c2539483SSimon Glassconfig VIDEO_ROCKCHIP
378c2539483SSimon Glass	bool "Enable Rockchip video support"
379c2539483SSimon Glass	depends on DM_VIDEO
380c2539483SSimon Glass	help
381c2539483SSimon Glass	   Rockchip SoCs provide video output capabilities for High-Definition
382c2539483SSimon Glass	   Multimedia Interface (HDMI), Low-voltage Differential Signalling
383c2539483SSimon Glass	   (LVDS), embedded DisplayPort (eDP) and Display Serial Interface
384c2539483SSimon Glass	   (DSI). This driver supports the on-chip video output device, and
385c2539483SSimon Glass	   targets the Rockchip RK3288.
386c2539483SSimon Glass
3871e69ad01SSimon Glassconfig VIDEO_SANDBOX_SDL
3881e69ad01SSimon Glass	bool "Enable sandbox video console using SDL"
3891e69ad01SSimon Glass	depends on SANDBOX
3901e69ad01SSimon Glass	help
3911e69ad01SSimon Glass	  When using sandbox you can enable an emulated LCD display which
3921e69ad01SSimon Glass	  appears as an SDL (Simple DirectMedia Layer) window. This is a
3931e69ad01SSimon Glass	  console device and can display stdout output. Within U-Boot is is
3941e69ad01SSimon Glass	  a normal bitmap display and can display images as well as text.
3951e69ad01SSimon Glass
396d2f90650SSimon Glassconfig VIDEO_TEGRA20
397d2f90650SSimon Glass	bool "Enable LCD support on Tegra20"
39840d56a91SSimon Glass	depends on OF_CONTROL
399d2f90650SSimon Glass	help
400d2f90650SSimon Glass	   Tegra20 supports video output to an attached LCD panel as well as
401d2f90650SSimon Glass	   other options such as HDMI. Only the LCD is supported in U-Boot.
402d2f90650SSimon Glass	   This option enables this support which can be used on devices which
403d2f90650SSimon Glass	   have an LCD display connected.
404d2f90650SSimon Glass
405e7e8823cSSimon Glassconfig VIDEO_TEGRA124
406e7e8823cSSimon Glass	bool "Enable video support on Tegra124"
407d7659212SSimon Glass	depends on DM_VIDEO
408e7e8823cSSimon Glass	help
409e7e8823cSSimon Glass	   Tegra124 supports many video output options including eDP and
410e7e8823cSSimon Glass	   HDMI. At present only eDP is supported by U-Boot. This option
411e7e8823cSSimon Glass	   enables this support which can be used on devices which
412e7e8823cSSimon Glass	   have an eDP display connected.
413801ab9e9SSimon Glass
414801ab9e9SSimon Glasssource "drivers/video/bridge/Kconfig"
4150b11dbf7SMasahiro Yamada
4160b11dbf7SMasahiro Yamadaendmenu
417