Simon Glass | 6b1ba98 | 2014-12-29 19:32:28 -0700 | [diff] [blame] | 1 | config VIDEO_VESA |
| 2 | bool "Enable VESA video driver support" |
Simon Glass | 6b1ba98 | 2014-12-29 19:32:28 -0700 | [diff] [blame] | 3 | default n |
| 4 | help |
| 5 | Turn on this option to enable a very simple driver which uses vesa |
| 6 | to discover the video mode and then provides a frame buffer for use |
| 7 | by U-Boot. This can in principle be used with any platform that |
| 8 | supports PCI and video cards that support VESA BIOS Extension (VBE). |
| 9 | |
Bin Meng | 6bde2dc | 2015-05-11 07:36:29 +0800 | [diff] [blame] | 10 | config FRAMEBUFFER_SET_VESA_MODE |
| 11 | bool "Set framebuffer graphics resolution" |
| 12 | depends on VIDEO_VESA |
| 13 | help |
| 14 | Set VESA/native framebuffer mode (needed for bootsplash and graphical |
| 15 | framebuffer console) |
| 16 | |
| 17 | choice |
| 18 | prompt "framebuffer graphics resolution" |
| 19 | default FRAMEBUFFER_VESA_MODE_117 |
| 20 | depends on FRAMEBUFFER_SET_VESA_MODE |
| 21 | help |
| 22 | This option sets the resolution used for the U-Boot framebuffer (and |
| 23 | bootsplash screen). |
| 24 | |
| 25 | config FRAMEBUFFER_VESA_MODE_100 |
| 26 | bool "640x400 256-color" |
| 27 | |
| 28 | config FRAMEBUFFER_VESA_MODE_101 |
| 29 | bool "640x480 256-color" |
| 30 | |
| 31 | config FRAMEBUFFER_VESA_MODE_102 |
| 32 | bool "800x600 16-color" |
| 33 | |
| 34 | config FRAMEBUFFER_VESA_MODE_103 |
| 35 | bool "800x600 256-color" |
| 36 | |
| 37 | config FRAMEBUFFER_VESA_MODE_104 |
| 38 | bool "1024x768 16-color" |
| 39 | |
| 40 | config FRAMEBUFFER_VESA_MODE_105 |
| 41 | bool "1024x7686 256-color" |
| 42 | |
| 43 | config FRAMEBUFFER_VESA_MODE_106 |
| 44 | bool "1280x1024 16-color" |
| 45 | |
| 46 | config FRAMEBUFFER_VESA_MODE_107 |
| 47 | bool "1280x1024 256-color" |
| 48 | |
| 49 | config FRAMEBUFFER_VESA_MODE_108 |
| 50 | bool "80x60 text" |
| 51 | |
| 52 | config FRAMEBUFFER_VESA_MODE_109 |
| 53 | bool "132x25 text" |
| 54 | |
| 55 | config FRAMEBUFFER_VESA_MODE_10A |
| 56 | bool "132x43 text" |
| 57 | |
| 58 | config FRAMEBUFFER_VESA_MODE_10B |
| 59 | bool "132x50 text" |
| 60 | |
| 61 | config FRAMEBUFFER_VESA_MODE_10C |
| 62 | bool "132x60 text" |
| 63 | |
| 64 | config FRAMEBUFFER_VESA_MODE_10D |
| 65 | bool "320x200 32k-color (1:5:5:5)" |
| 66 | |
| 67 | config FRAMEBUFFER_VESA_MODE_10E |
| 68 | bool "320x200 64k-color (5:6:5)" |
| 69 | |
| 70 | config FRAMEBUFFER_VESA_MODE_10F |
| 71 | bool "320x200 16.8M-color (8:8:8)" |
| 72 | |
| 73 | config FRAMEBUFFER_VESA_MODE_110 |
| 74 | bool "640x480 32k-color (1:5:5:5)" |
| 75 | |
| 76 | config FRAMEBUFFER_VESA_MODE_111 |
| 77 | bool "640x480 64k-color (5:6:5)" |
| 78 | |
| 79 | config FRAMEBUFFER_VESA_MODE_112 |
| 80 | bool "640x480 16.8M-color (8:8:8)" |
| 81 | |
| 82 | config FRAMEBUFFER_VESA_MODE_113 |
| 83 | bool "800x600 32k-color (1:5:5:5)" |
| 84 | |
| 85 | config FRAMEBUFFER_VESA_MODE_114 |
| 86 | bool "800x600 64k-color (5:6:5)" |
| 87 | |
| 88 | config FRAMEBUFFER_VESA_MODE_115 |
| 89 | bool "800x600 16.8M-color (8:8:8)" |
| 90 | |
| 91 | config FRAMEBUFFER_VESA_MODE_116 |
| 92 | bool "1024x768 32k-color (1:5:5:5)" |
| 93 | |
| 94 | config FRAMEBUFFER_VESA_MODE_117 |
| 95 | bool "1024x768 64k-color (5:6:5)" |
| 96 | |
| 97 | config FRAMEBUFFER_VESA_MODE_118 |
| 98 | bool "1024x768 16.8M-color (8:8:8)" |
| 99 | |
| 100 | config FRAMEBUFFER_VESA_MODE_119 |
| 101 | bool "1280x1024 32k-color (1:5:5:5)" |
| 102 | |
| 103 | config FRAMEBUFFER_VESA_MODE_11A |
| 104 | bool "1280x1024 64k-color (5:6:5)" |
| 105 | |
| 106 | config FRAMEBUFFER_VESA_MODE_11B |
| 107 | bool "1280x1024 16.8M-color (8:8:8)" |
| 108 | |
| 109 | config FRAMEBUFFER_VESA_MODE_USER |
| 110 | bool "Manually select VESA mode" |
| 111 | |
| 112 | endchoice |
| 113 | |
| 114 | # Map the config names to an integer (KB). |
| 115 | config FRAMEBUFFER_VESA_MODE |
| 116 | prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER |
| 117 | hex |
| 118 | default 0x100 if FRAMEBUFFER_VESA_MODE_100 |
| 119 | default 0x101 if FRAMEBUFFER_VESA_MODE_101 |
| 120 | default 0x102 if FRAMEBUFFER_VESA_MODE_102 |
| 121 | default 0x103 if FRAMEBUFFER_VESA_MODE_103 |
| 122 | default 0x104 if FRAMEBUFFER_VESA_MODE_104 |
| 123 | default 0x105 if FRAMEBUFFER_VESA_MODE_105 |
| 124 | default 0x106 if FRAMEBUFFER_VESA_MODE_106 |
| 125 | default 0x107 if FRAMEBUFFER_VESA_MODE_107 |
| 126 | default 0x108 if FRAMEBUFFER_VESA_MODE_108 |
| 127 | default 0x109 if FRAMEBUFFER_VESA_MODE_109 |
| 128 | default 0x10A if FRAMEBUFFER_VESA_MODE_10A |
| 129 | default 0x10B if FRAMEBUFFER_VESA_MODE_10B |
| 130 | default 0x10C if FRAMEBUFFER_VESA_MODE_10C |
| 131 | default 0x10D if FRAMEBUFFER_VESA_MODE_10D |
| 132 | default 0x10E if FRAMEBUFFER_VESA_MODE_10E |
| 133 | default 0x10F if FRAMEBUFFER_VESA_MODE_10F |
| 134 | default 0x110 if FRAMEBUFFER_VESA_MODE_110 |
| 135 | default 0x111 if FRAMEBUFFER_VESA_MODE_111 |
| 136 | default 0x112 if FRAMEBUFFER_VESA_MODE_112 |
| 137 | default 0x113 if FRAMEBUFFER_VESA_MODE_113 |
| 138 | default 0x114 if FRAMEBUFFER_VESA_MODE_114 |
| 139 | default 0x115 if FRAMEBUFFER_VESA_MODE_115 |
| 140 | default 0x116 if FRAMEBUFFER_VESA_MODE_116 |
| 141 | default 0x117 if FRAMEBUFFER_VESA_MODE_117 |
| 142 | default 0x118 if FRAMEBUFFER_VESA_MODE_118 |
| 143 | default 0x119 if FRAMEBUFFER_VESA_MODE_119 |
| 144 | default 0x11A if FRAMEBUFFER_VESA_MODE_11A |
| 145 | default 0x11B if FRAMEBUFFER_VESA_MODE_11B |
| 146 | default 0x117 if FRAMEBUFFER_VESA_MODE_USER |
| 147 | |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 148 | config VIDEO_LCD_SSD2828 |
| 149 | bool "SSD2828 bridge chip" |
| 150 | default n |
| 151 | ---help--- |
| 152 | Support for the SSD2828 bridge chip, which can take pixel data coming |
| 153 | from a parallel LCD interface and translate it on the fly into MIPI DSI |
| 154 | interface for driving a MIPI compatible LCD panel. It uses SPI for |
| 155 | configuration. |
| 156 | |
| 157 | config VIDEO_LCD_SSD2828_TX_CLK |
| 158 | int "SSD2828 TX_CLK frequency (in MHz)" |
| 159 | depends on VIDEO_LCD_SSD2828 |
Siarhei Siamashka | dddccd6 | 2015-01-19 05:23:35 +0200 | [diff] [blame] | 160 | default 0 |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 161 | ---help--- |
| 162 | The frequency of the crystal, which is clocking SSD2828. It may be |
| 163 | anything in the 8MHz-30MHz range and the exact value should be |
| 164 | retrieved from the board schematics. Or in the case of Allwinner |
| 165 | hardware, it can be usually found as 'lcd_xtal_freq' variable in |
Siarhei Siamashka | dddccd6 | 2015-01-19 05:23:35 +0200 | [diff] [blame] | 166 | FEX files. It can be also set to 0 for selecting PCLK from the |
| 167 | parallel LCD interface instead of TX_CLK as the PLL clock source. |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 168 | |
| 169 | config VIDEO_LCD_SSD2828_RESET |
| 170 | string "RESET pin of SSD2828" |
| 171 | depends on VIDEO_LCD_SSD2828 |
| 172 | default "" |
| 173 | ---help--- |
| 174 | The reset pin of SSD2828 chip. This takes a string in the format |
| 175 | understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H. |
| 176 | |
Hans de Goede | a5464f2 | 2015-01-20 09:22:26 +0100 | [diff] [blame] | 177 | config VIDEO_LCD_HITACHI_TX18D42VM |
| 178 | bool "Hitachi tx18d42vm LVDS LCD panel support" |
| 179 | depends on VIDEO |
| 180 | default n |
| 181 | ---help--- |
| 182 | Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a |
| 183 | lcd controller which needs to be initialized over SPI, once that is |
| 184 | done they work like a regular LVDS panel. |
| 185 | |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 186 | config VIDEO_LCD_SPI_CS |
| 187 | string "SPI CS pin for LCD related config job" |
Hans de Goede | a5464f2 | 2015-01-20 09:22:26 +0100 | [diff] [blame] | 188 | depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 189 | default "" |
| 190 | ---help--- |
| 191 | This is one of the SPI communication pins, involved in setting up a |
| 192 | working LCD configuration. The exact role of SPI may differ for |
| 193 | different hardware setups. The option takes a string in the format |
| 194 | understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H. |
| 195 | |
| 196 | config VIDEO_LCD_SPI_SCLK |
| 197 | string "SPI SCLK pin for LCD related config job" |
Hans de Goede | a5464f2 | 2015-01-20 09:22:26 +0100 | [diff] [blame] | 198 | depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 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_MOSI |
| 207 | string "SPI MOSI pin for LCD related config job" |
Hans de Goede | a5464f2 | 2015-01-20 09:22:26 +0100 | [diff] [blame] | 208 | depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM |
Siarhei Siamashka | b8329ac | 2015-01-19 05:23:32 +0200 | [diff] [blame] | 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_MISO |
| 217 | string "SPI MISO pin for LCD related config job (optional)" |
| 218 | depends on VIDEO_LCD_SSD2828 |
| 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. If wired up, this pin may provide additional |
| 224 | useful functionality. Such as bi-directional communication with the |
| 225 | hardware and LCD panel id retrieval (if the panel can report it). The |
| 226 | option takes a string in the format understood by 'name_to_gpio' |
| 227 | function, e.g. PH1 for pin 1 of port H. |
Simon Glass | 51f2c99 | 2015-04-14 21:03:38 -0600 | [diff] [blame] | 228 | |
| 229 | config DISPLAY_PORT |
| 230 | bool "Enable DisplayPort support" |
| 231 | help |
| 232 | eDP (Embedded DisplayPort) is a standard widely used in laptops |
| 233 | to drive LCD panels. This framework provides support for enabling |
| 234 | these displays where supported by the video hardware. |
Simon Glass | e7e8823 | 2015-04-14 21:03:42 -0600 | [diff] [blame] | 235 | |
| 236 | config VIDEO_TEGRA124 |
| 237 | bool "Enable video support on Tegra124" |
| 238 | help |
| 239 | Tegra124 supports many video output options including eDP and |
| 240 | HDMI. At present only eDP is supported by U-Boot. This option |
| 241 | enables this support which can be used on devices which |
| 242 | have an eDP display connected. |
Simon Glass | 801ab9e | 2015-07-02 18:16:08 -0600 | [diff] [blame^] | 243 | |
| 244 | source "drivers/video/bridge/Kconfig" |