5 menu "Graphics support"
8 bool "Enable driver model support for LCD/video"
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
18 bool "Support 8-bit-per-pixel displays"
22 Support drawing text and bitmaps onto a 8-bit-per-pixel display.
23 Enabling this will include code to support this display. Without
24 this option, such displays will not be supported and console output
28 bool "Support 16-bit-per-pixel displays"
32 Support drawing text and bitmaps onto a 16-bit-per-pixel display.
33 Enabling this will include code to support this display. Without
34 this option, such displays will not be supported and console output
38 bool "Support 32-bit-per-pixel displays"
42 Support drawing text and bitmaps onto a 32-bit-per-pixel display.
43 Enabling this will include code to support this display. Without
44 this option, such displays will not be supported and console output
48 bool "Support a simple text console"
52 Support drawing text on the frame buffer console so that it can be
53 used as a console. Rotation is not supported by this driver (see
54 CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used
57 config CONSOLE_ROTATION
58 bool "Support rotated displays"
61 Sometimes, for example if the display is mounted in portrait
62 mode or even if it's mounted landscape but rotated by 180degree,
63 we need to rotate our content of the display relative to the
64 framebuffer, so that user can read the messages which are
65 printed out. Enable this option to include a text driver which can
66 support this. The rotation is set by the 'rot' parameter in
67 struct video_priv: 0=unrotated, 1=90 degrees clockwise, 2=180
68 degrees, 3=270 degrees.
71 bool "Enable VESA video driver support"
74 Turn on this option to enable a very simple driver which uses vesa
75 to discover the video mode and then provides a frame buffer for use
76 by U-Boot. This can in principle be used with any platform that
77 supports PCI and video cards that support VESA BIOS Extension (VBE).
79 config FRAMEBUFFER_SET_VESA_MODE
80 bool "Set framebuffer graphics resolution"
83 Set VESA/native framebuffer mode (needed for bootsplash and graphical
87 prompt "framebuffer graphics resolution"
88 default FRAMEBUFFER_VESA_MODE_117
89 depends on FRAMEBUFFER_SET_VESA_MODE
91 This option sets the resolution used for the U-Boot framebuffer (and
94 config FRAMEBUFFER_VESA_MODE_100
95 bool "640x400 256-color"
97 config FRAMEBUFFER_VESA_MODE_101
98 bool "640x480 256-color"
100 config FRAMEBUFFER_VESA_MODE_102
101 bool "800x600 16-color"
103 config FRAMEBUFFER_VESA_MODE_103
104 bool "800x600 256-color"
106 config FRAMEBUFFER_VESA_MODE_104
107 bool "1024x768 16-color"
109 config FRAMEBUFFER_VESA_MODE_105
110 bool "1024x768 256-color"
112 config FRAMEBUFFER_VESA_MODE_106
113 bool "1280x1024 16-color"
115 config FRAMEBUFFER_VESA_MODE_107
116 bool "1280x1024 256-color"
118 config FRAMEBUFFER_VESA_MODE_108
121 config FRAMEBUFFER_VESA_MODE_109
124 config FRAMEBUFFER_VESA_MODE_10A
127 config FRAMEBUFFER_VESA_MODE_10B
130 config FRAMEBUFFER_VESA_MODE_10C
133 config FRAMEBUFFER_VESA_MODE_10D
134 bool "320x200 32k-color (1:5:5:5)"
136 config FRAMEBUFFER_VESA_MODE_10E
137 bool "320x200 64k-color (5:6:5)"
139 config FRAMEBUFFER_VESA_MODE_10F
140 bool "320x200 16.8M-color (8:8:8)"
142 config FRAMEBUFFER_VESA_MODE_110
143 bool "640x480 32k-color (1:5:5:5)"
145 config FRAMEBUFFER_VESA_MODE_111
146 bool "640x480 64k-color (5:6:5)"
148 config FRAMEBUFFER_VESA_MODE_112
149 bool "640x480 16.8M-color (8:8:8)"
151 config FRAMEBUFFER_VESA_MODE_113
152 bool "800x600 32k-color (1:5:5:5)"
154 config FRAMEBUFFER_VESA_MODE_114
155 bool "800x600 64k-color (5:6:5)"
157 config FRAMEBUFFER_VESA_MODE_115
158 bool "800x600 16.8M-color (8:8:8)"
160 config FRAMEBUFFER_VESA_MODE_116
161 bool "1024x768 32k-color (1:5:5:5)"
163 config FRAMEBUFFER_VESA_MODE_117
164 bool "1024x768 64k-color (5:6:5)"
166 config FRAMEBUFFER_VESA_MODE_118
167 bool "1024x768 16.8M-color (8:8:8)"
169 config FRAMEBUFFER_VESA_MODE_119
170 bool "1280x1024 32k-color (1:5:5:5)"
172 config FRAMEBUFFER_VESA_MODE_11A
173 bool "1280x1024 64k-color (5:6:5)"
175 config FRAMEBUFFER_VESA_MODE_11B
176 bool "1280x1024 16.8M-color (8:8:8)"
178 config FRAMEBUFFER_VESA_MODE_USER
179 bool "Manually select VESA mode"
183 # Map the config names to an integer (KB).
184 config FRAMEBUFFER_VESA_MODE
185 prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER
187 default 0x100 if FRAMEBUFFER_VESA_MODE_100
188 default 0x101 if FRAMEBUFFER_VESA_MODE_101
189 default 0x102 if FRAMEBUFFER_VESA_MODE_102
190 default 0x103 if FRAMEBUFFER_VESA_MODE_103
191 default 0x104 if FRAMEBUFFER_VESA_MODE_104
192 default 0x105 if FRAMEBUFFER_VESA_MODE_105
193 default 0x106 if FRAMEBUFFER_VESA_MODE_106
194 default 0x107 if FRAMEBUFFER_VESA_MODE_107
195 default 0x108 if FRAMEBUFFER_VESA_MODE_108
196 default 0x109 if FRAMEBUFFER_VESA_MODE_109
197 default 0x10A if FRAMEBUFFER_VESA_MODE_10A
198 default 0x10B if FRAMEBUFFER_VESA_MODE_10B
199 default 0x10C if FRAMEBUFFER_VESA_MODE_10C
200 default 0x10D if FRAMEBUFFER_VESA_MODE_10D
201 default 0x10E if FRAMEBUFFER_VESA_MODE_10E
202 default 0x10F if FRAMEBUFFER_VESA_MODE_10F
203 default 0x110 if FRAMEBUFFER_VESA_MODE_110
204 default 0x111 if FRAMEBUFFER_VESA_MODE_111
205 default 0x112 if FRAMEBUFFER_VESA_MODE_112
206 default 0x113 if FRAMEBUFFER_VESA_MODE_113
207 default 0x114 if FRAMEBUFFER_VESA_MODE_114
208 default 0x115 if FRAMEBUFFER_VESA_MODE_115
209 default 0x116 if FRAMEBUFFER_VESA_MODE_116
210 default 0x117 if FRAMEBUFFER_VESA_MODE_117
211 default 0x118 if FRAMEBUFFER_VESA_MODE_118
212 default 0x119 if FRAMEBUFFER_VESA_MODE_119
213 default 0x11A if FRAMEBUFFER_VESA_MODE_11A
214 default 0x11B if FRAMEBUFFER_VESA_MODE_11B
215 default 0x117 if FRAMEBUFFER_VESA_MODE_USER
217 config VIDEO_LCD_ANX9804
218 bool "ANX9804 bridge chip"
221 Support for the ANX9804 bridge chip, which can take pixel data coming
222 from a parallel LCD interface and translate it on the fy into a DP
223 interface for driving eDP TFT displays. It uses I2C for configuration.
225 config VIDEO_LCD_SSD2828
226 bool "SSD2828 bridge chip"
229 Support for the SSD2828 bridge chip, which can take pixel data coming
230 from a parallel LCD interface and translate it on the fly into MIPI DSI
231 interface for driving a MIPI compatible LCD panel. It uses SPI for
234 config VIDEO_LCD_SSD2828_TX_CLK
235 int "SSD2828 TX_CLK frequency (in MHz)"
236 depends on VIDEO_LCD_SSD2828
239 The frequency of the crystal, which is clocking SSD2828. It may be
240 anything in the 8MHz-30MHz range and the exact value should be
241 retrieved from the board schematics. Or in the case of Allwinner
242 hardware, it can be usually found as 'lcd_xtal_freq' variable in
243 FEX files. It can be also set to 0 for selecting PCLK from the
244 parallel LCD interface instead of TX_CLK as the PLL clock source.
246 config VIDEO_LCD_SSD2828_RESET
247 string "RESET pin of SSD2828"
248 depends on VIDEO_LCD_SSD2828
251 The reset pin of SSD2828 chip. This takes a string in the format
252 understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
254 config VIDEO_LCD_HITACHI_TX18D42VM
255 bool "Hitachi tx18d42vm LVDS LCD panel support"
259 Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a
260 lcd controller which needs to be initialized over SPI, once that is
261 done they work like a regular LVDS panel.
263 config VIDEO_LCD_SPI_CS
264 string "SPI CS pin for LCD related config job"
265 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
268 This is one of the SPI communication pins, involved in setting up a
269 working LCD configuration. The exact role of SPI may differ for
270 different hardware setups. The option takes a string in the format
271 understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
273 config VIDEO_LCD_SPI_SCLK
274 string "SPI SCLK pin for LCD related config job"
275 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
278 This is one of the SPI communication pins, involved in setting up a
279 working LCD configuration. The exact role of SPI may differ for
280 different hardware setups. The option takes a string in the format
281 understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
283 config VIDEO_LCD_SPI_MOSI
284 string "SPI MOSI pin for LCD related config job"
285 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
288 This is one of the SPI communication pins, involved in setting up a
289 working LCD configuration. The exact role of SPI may differ for
290 different hardware setups. The option takes a string in the format
291 understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
293 config VIDEO_LCD_SPI_MISO
294 string "SPI MISO pin for LCD related config job (optional)"
295 depends on VIDEO_LCD_SSD2828
298 This is one of the SPI communication pins, involved in setting up a
299 working LCD configuration. The exact role of SPI may differ for
300 different hardware setups. If wired up, this pin may provide additional
301 useful functionality. Such as bi-directional communication with the
302 hardware and LCD panel id retrieval (if the panel can report it). The
303 option takes a string in the format understood by 'name_to_gpio'
304 function, e.g. PH1 for pin 1 of port H.
307 bool "Armada XP LCD controller"
310 Support for the LCD controller integrated in the Marvell
314 bool "Enable EDID library"
318 This enables library for accessing EDID data from an LCD panel.
321 bool "Enable Display support"
326 This supports drivers that provide a display, such as eDP (Embedded
327 DisplayPort) and HDMI (High Definition Multimedia Interface).
328 The devices provide a simple interface to start up the display,
329 read display information and enable it.
331 config VIDEO_ROCKCHIP
332 bool "Enable Rockchip video support"
335 Rockchip SoCs provide video output capabilities for High-Definition
336 Multimedia Interface (HDMI), Low-voltage Differential Signalling
337 (LVDS), embedded DisplayPort (eDP) and Display Serial Interface
338 (DSI). This driver supports the on-chip video output device, and
339 targets the Rockchip RK3288.
341 config VIDEO_SANDBOX_SDL
342 bool "Enable sandbox video console using SDL"
345 When using sandbox you can enable an emulated LCD display which
346 appears as an SDL (Simple DirectMedia Layer) window. This is a
347 console device and can display stdout output. Within U-Boot is is
348 a normal bitmap display and can display images as well as text.
350 config VIDEO_TEGRA124
351 bool "Enable video support on Tegra124"
353 Tegra124 supports many video output options including eDP and
354 HDMI. At present only eDP is supported by U-Boot. This option
355 enables this support which can be used on devices which
356 have an eDP display connected.
358 source "drivers/video/bridge/Kconfig"