]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - drivers/video/Kconfig
kconfig: remove redundant 'default n'
[karo-tx-uboot.git] / drivers / video / Kconfig
1 #
2 # Video configuration
3 #
4
5 menu "Graphics support"
6
7 config VIDEO_VESA
8         bool "Enable VESA video driver support"
9         help
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).
14
15 config FRAMEBUFFER_SET_VESA_MODE
16         bool "Set framebuffer graphics resolution"
17         depends on VIDEO_VESA
18         help
19           Set VESA/native framebuffer mode (needed for bootsplash and graphical
20           framebuffer console)
21
22 choice
23         prompt "framebuffer graphics resolution"
24         default FRAMEBUFFER_VESA_MODE_117
25         depends on FRAMEBUFFER_SET_VESA_MODE
26         help
27           This option sets the resolution used for the U-Boot framebuffer (and
28           bootsplash screen).
29
30 config FRAMEBUFFER_VESA_MODE_100
31         bool "640x400 256-color"
32
33 config FRAMEBUFFER_VESA_MODE_101
34         bool "640x480 256-color"
35
36 config FRAMEBUFFER_VESA_MODE_102
37         bool "800x600 16-color"
38
39 config FRAMEBUFFER_VESA_MODE_103
40         bool "800x600 256-color"
41
42 config FRAMEBUFFER_VESA_MODE_104
43         bool "1024x768 16-color"
44
45 config FRAMEBUFFER_VESA_MODE_105
46         bool "1024x768 256-color"
47
48 config FRAMEBUFFER_VESA_MODE_106
49         bool "1280x1024 16-color"
50
51 config FRAMEBUFFER_VESA_MODE_107
52         bool "1280x1024 256-color"
53
54 config FRAMEBUFFER_VESA_MODE_108
55         bool "80x60 text"
56
57 config FRAMEBUFFER_VESA_MODE_109
58         bool "132x25 text"
59
60 config FRAMEBUFFER_VESA_MODE_10A
61         bool "132x43 text"
62
63 config FRAMEBUFFER_VESA_MODE_10B
64         bool "132x50 text"
65
66 config FRAMEBUFFER_VESA_MODE_10C
67         bool "132x60 text"
68
69 config FRAMEBUFFER_VESA_MODE_10D
70         bool "320x200 32k-color (1:5:5:5)"
71
72 config FRAMEBUFFER_VESA_MODE_10E
73         bool "320x200 64k-color (5:6:5)"
74
75 config FRAMEBUFFER_VESA_MODE_10F
76         bool "320x200 16.8M-color (8:8:8)"
77
78 config FRAMEBUFFER_VESA_MODE_110
79         bool "640x480 32k-color (1:5:5:5)"
80
81 config FRAMEBUFFER_VESA_MODE_111
82         bool "640x480 64k-color (5:6:5)"
83
84 config FRAMEBUFFER_VESA_MODE_112
85         bool "640x480 16.8M-color (8:8:8)"
86
87 config FRAMEBUFFER_VESA_MODE_113
88         bool "800x600 32k-color (1:5:5:5)"
89
90 config FRAMEBUFFER_VESA_MODE_114
91         bool "800x600 64k-color (5:6:5)"
92
93 config FRAMEBUFFER_VESA_MODE_115
94         bool "800x600 16.8M-color (8:8:8)"
95
96 config FRAMEBUFFER_VESA_MODE_116
97         bool "1024x768 32k-color (1:5:5:5)"
98
99 config FRAMEBUFFER_VESA_MODE_117
100         bool "1024x768 64k-color (5:6:5)"
101
102 config FRAMEBUFFER_VESA_MODE_118
103         bool "1024x768 16.8M-color (8:8:8)"
104
105 config FRAMEBUFFER_VESA_MODE_119
106         bool "1280x1024 32k-color (1:5:5:5)"
107
108 config FRAMEBUFFER_VESA_MODE_11A
109         bool "1280x1024 64k-color (5:6:5)"
110
111 config FRAMEBUFFER_VESA_MODE_11B
112         bool "1280x1024 16.8M-color (8:8:8)"
113
114 config FRAMEBUFFER_VESA_MODE_USER
115         bool "Manually select VESA mode"
116
117 endchoice
118
119 # Map the config names to an integer (KB).
120 config FRAMEBUFFER_VESA_MODE
121         prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER
122         hex
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
152
153 config VIDEO_LCD_ANX9804
154         bool "ANX9804 bridge chip"
155         ---help---
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.
159
160 config VIDEO_LCD_SSD2828
161         bool "SSD2828 bridge chip"
162         ---help---
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
166         configuration.
167
168 config VIDEO_LCD_SSD2828_TX_CLK
169         int "SSD2828 TX_CLK frequency (in MHz)"
170         depends on VIDEO_LCD_SSD2828
171         default 0
172         ---help---
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.
179
180 config VIDEO_LCD_SSD2828_RESET
181         string "RESET pin of SSD2828"
182         depends on VIDEO_LCD_SSD2828
183         default ""
184         ---help---
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.
187
188 config VIDEO_LCD_HITACHI_TX18D42VM
189         bool "Hitachi tx18d42vm LVDS LCD panel support"
190         depends on VIDEO
191         ---help---
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.
195
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
199         default ""
200         ---help---
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.
205
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
209         default ""
210         ---help---
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.
215
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
219         default ""
220         ---help---
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.
225
226 config VIDEO_LCD_SPI_MISO
227         string "SPI MISO pin for LCD related config job (optional)"
228         depends on VIDEO_LCD_SSD2828
229         default ""
230         ---help---
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.
238
239 config DISPLAY_PORT
240         bool "Enable DisplayPort support"
241         help
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.
245
246 config VIDEO_TEGRA124
247         bool "Enable video support on Tegra124"
248         help
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.
253
254 source "drivers/video/bridge/Kconfig"
255
256 endmenu