5 menu "Graphics support"
8 bool "Enable VESA video driver support"
10 Turn on this option to enable a very simple driver which uses vesa
11 to discover the video mode and then provides a frame buffer for use
12 by U-Boot. This can in principle be used with any platform that
13 supports PCI and video cards that support VESA BIOS Extension (VBE).
15 config FRAMEBUFFER_SET_VESA_MODE
16 bool "Set framebuffer graphics resolution"
19 Set VESA/native framebuffer mode (needed for bootsplash and graphical
23 prompt "framebuffer graphics resolution"
24 default FRAMEBUFFER_VESA_MODE_117
25 depends on FRAMEBUFFER_SET_VESA_MODE
27 This option sets the resolution used for the U-Boot framebuffer (and
30 config FRAMEBUFFER_VESA_MODE_100
31 bool "640x400 256-color"
33 config FRAMEBUFFER_VESA_MODE_101
34 bool "640x480 256-color"
36 config FRAMEBUFFER_VESA_MODE_102
37 bool "800x600 16-color"
39 config FRAMEBUFFER_VESA_MODE_103
40 bool "800x600 256-color"
42 config FRAMEBUFFER_VESA_MODE_104
43 bool "1024x768 16-color"
45 config FRAMEBUFFER_VESA_MODE_105
46 bool "1024x768 256-color"
48 config FRAMEBUFFER_VESA_MODE_106
49 bool "1280x1024 16-color"
51 config FRAMEBUFFER_VESA_MODE_107
52 bool "1280x1024 256-color"
54 config FRAMEBUFFER_VESA_MODE_108
57 config FRAMEBUFFER_VESA_MODE_109
60 config FRAMEBUFFER_VESA_MODE_10A
63 config FRAMEBUFFER_VESA_MODE_10B
66 config FRAMEBUFFER_VESA_MODE_10C
69 config FRAMEBUFFER_VESA_MODE_10D
70 bool "320x200 32k-color (1:5:5:5)"
72 config FRAMEBUFFER_VESA_MODE_10E
73 bool "320x200 64k-color (5:6:5)"
75 config FRAMEBUFFER_VESA_MODE_10F
76 bool "320x200 16.8M-color (8:8:8)"
78 config FRAMEBUFFER_VESA_MODE_110
79 bool "640x480 32k-color (1:5:5:5)"
81 config FRAMEBUFFER_VESA_MODE_111
82 bool "640x480 64k-color (5:6:5)"
84 config FRAMEBUFFER_VESA_MODE_112
85 bool "640x480 16.8M-color (8:8:8)"
87 config FRAMEBUFFER_VESA_MODE_113
88 bool "800x600 32k-color (1:5:5:5)"
90 config FRAMEBUFFER_VESA_MODE_114
91 bool "800x600 64k-color (5:6:5)"
93 config FRAMEBUFFER_VESA_MODE_115
94 bool "800x600 16.8M-color (8:8:8)"
96 config FRAMEBUFFER_VESA_MODE_116
97 bool "1024x768 32k-color (1:5:5:5)"
99 config FRAMEBUFFER_VESA_MODE_117
100 bool "1024x768 64k-color (5:6:5)"
102 config FRAMEBUFFER_VESA_MODE_118
103 bool "1024x768 16.8M-color (8:8:8)"
105 config FRAMEBUFFER_VESA_MODE_119
106 bool "1280x1024 32k-color (1:5:5:5)"
108 config FRAMEBUFFER_VESA_MODE_11A
109 bool "1280x1024 64k-color (5:6:5)"
111 config FRAMEBUFFER_VESA_MODE_11B
112 bool "1280x1024 16.8M-color (8:8:8)"
114 config FRAMEBUFFER_VESA_MODE_USER
115 bool "Manually select VESA mode"
119 # Map the config names to an integer (KB).
120 config FRAMEBUFFER_VESA_MODE
121 prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER
123 default 0x100 if FRAMEBUFFER_VESA_MODE_100
124 default 0x101 if FRAMEBUFFER_VESA_MODE_101
125 default 0x102 if FRAMEBUFFER_VESA_MODE_102
126 default 0x103 if FRAMEBUFFER_VESA_MODE_103
127 default 0x104 if FRAMEBUFFER_VESA_MODE_104
128 default 0x105 if FRAMEBUFFER_VESA_MODE_105
129 default 0x106 if FRAMEBUFFER_VESA_MODE_106
130 default 0x107 if FRAMEBUFFER_VESA_MODE_107
131 default 0x108 if FRAMEBUFFER_VESA_MODE_108
132 default 0x109 if FRAMEBUFFER_VESA_MODE_109
133 default 0x10A if FRAMEBUFFER_VESA_MODE_10A
134 default 0x10B if FRAMEBUFFER_VESA_MODE_10B
135 default 0x10C if FRAMEBUFFER_VESA_MODE_10C
136 default 0x10D if FRAMEBUFFER_VESA_MODE_10D
137 default 0x10E if FRAMEBUFFER_VESA_MODE_10E
138 default 0x10F if FRAMEBUFFER_VESA_MODE_10F
139 default 0x110 if FRAMEBUFFER_VESA_MODE_110
140 default 0x111 if FRAMEBUFFER_VESA_MODE_111
141 default 0x112 if FRAMEBUFFER_VESA_MODE_112
142 default 0x113 if FRAMEBUFFER_VESA_MODE_113
143 default 0x114 if FRAMEBUFFER_VESA_MODE_114
144 default 0x115 if FRAMEBUFFER_VESA_MODE_115
145 default 0x116 if FRAMEBUFFER_VESA_MODE_116
146 default 0x117 if FRAMEBUFFER_VESA_MODE_117
147 default 0x118 if FRAMEBUFFER_VESA_MODE_118
148 default 0x119 if FRAMEBUFFER_VESA_MODE_119
149 default 0x11A if FRAMEBUFFER_VESA_MODE_11A
150 default 0x11B if FRAMEBUFFER_VESA_MODE_11B
151 default 0x117 if FRAMEBUFFER_VESA_MODE_USER
153 config VIDEO_LCD_ANX9804
154 bool "ANX9804 bridge chip"
156 Support for the ANX9804 bridge chip, which can take pixel data coming
157 from a parallel LCD interface and translate it on the fy into a DP
158 interface for driving eDP TFT displays. It uses I2C for configuration.
160 config VIDEO_LCD_SSD2828
161 bool "SSD2828 bridge chip"
163 Support for the SSD2828 bridge chip, which can take pixel data coming
164 from a parallel LCD interface and translate it on the fly into MIPI DSI
165 interface for driving a MIPI compatible LCD panel. It uses SPI for
168 config VIDEO_LCD_SSD2828_TX_CLK
169 int "SSD2828 TX_CLK frequency (in MHz)"
170 depends on VIDEO_LCD_SSD2828
173 The frequency of the crystal, which is clocking SSD2828. It may be
174 anything in the 8MHz-30MHz range and the exact value should be
175 retrieved from the board schematics. Or in the case of Allwinner
176 hardware, it can be usually found as 'lcd_xtal_freq' variable in
177 FEX files. It can be also set to 0 for selecting PCLK from the
178 parallel LCD interface instead of TX_CLK as the PLL clock source.
180 config VIDEO_LCD_SSD2828_RESET
181 string "RESET pin of SSD2828"
182 depends on VIDEO_LCD_SSD2828
185 The reset pin of SSD2828 chip. This takes a string in the format
186 understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
188 config VIDEO_LCD_HITACHI_TX18D42VM
189 bool "Hitachi tx18d42vm LVDS LCD panel support"
192 Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a
193 lcd controller which needs to be initialized over SPI, once that is
194 done they work like a regular LVDS panel.
196 config VIDEO_LCD_SPI_CS
197 string "SPI CS pin for LCD related config job"
198 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
201 This is one of the SPI communication pins, involved in setting up a
202 working LCD configuration. The exact role of SPI may differ for
203 different hardware setups. The option takes a string in the format
204 understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
206 config VIDEO_LCD_SPI_SCLK
207 string "SPI SCLK pin for LCD related config job"
208 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
211 This is one of the SPI communication pins, involved in setting up a
212 working LCD configuration. The exact role of SPI may differ for
213 different hardware setups. The option takes a string in the format
214 understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
216 config VIDEO_LCD_SPI_MOSI
217 string "SPI MOSI pin for LCD related config job"
218 depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
221 This is one of the SPI communication pins, involved in setting up a
222 working LCD configuration. The exact role of SPI may differ for
223 different hardware setups. The option takes a string in the format
224 understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
226 config VIDEO_LCD_SPI_MISO
227 string "SPI MISO pin for LCD related config job (optional)"
228 depends on VIDEO_LCD_SSD2828
231 This is one of the SPI communication pins, involved in setting up a
232 working LCD configuration. The exact role of SPI may differ for
233 different hardware setups. If wired up, this pin may provide additional
234 useful functionality. Such as bi-directional communication with the
235 hardware and LCD panel id retrieval (if the panel can report it). The
236 option takes a string in the format understood by 'name_to_gpio'
237 function, e.g. PH1 for pin 1 of port H.
240 bool "Enable DisplayPort support"
242 eDP (Embedded DisplayPort) is a standard widely used in laptops
243 to drive LCD panels. This framework provides support for enabling
244 these displays where supported by the video hardware.
246 config VIDEO_TEGRA124
247 bool "Enable video support on Tegra124"
249 Tegra124 supports many video output options including eDP and
250 HDMI. At present only eDP is supported by U-Boot. This option
251 enables this support which can be used on devices which
252 have an eDP display connected.
254 source "drivers/video/bridge/Kconfig"