Kconfig 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017
  1. #
  2. # Video configuration
  3. #
  4. menu "Graphics support"
  5. config DM_VIDEO
  6. bool "Enable driver model support for LCD/video"
  7. depends on DM
  8. help
  9. This enables driver model for LCD and video devices. These support
  10. a bitmap display of various sizes and depths which can be drawn on
  11. to display a command-line console or splash screen. Enabling this
  12. option compiles in the video uclass and routes all LCD/video access
  13. through this.
  14. config BACKLIGHT
  15. bool "Enable panel backlight uclass support"
  16. depends on DM_VIDEO
  17. default y
  18. help
  19. This provides backlight uclass driver that enables basic panel
  20. backlight support.
  21. config VIDEO_PCI_DEFAULT_FB_SIZE
  22. hex "Default framebuffer size to use if no drivers request it"
  23. depends on DM_VIDEO
  24. default 0x1000000 if X86 && PCI
  25. default 0 if !(X86 && PCI)
  26. help
  27. Generally, video drivers request the amount of memory they need for
  28. the frame buffer when they are bound, by setting the size field in
  29. struct video_uc_plat. That memory is then reserved for use after
  30. relocation. But PCI drivers cannot be bound before relocation unless
  31. they are mentioned in the devicetree.
  32. With this value set appropriately, it is possible for PCI video
  33. devices to have a framebuffer allocated by U-Boot.
  34. Note: the framebuffer needs to be large enough to store all pixels at
  35. maximum resolution. For example, at 1920 x 1200 with 32 bits per
  36. pixel, 2560 * 1600 * 32 / 8 = 0xfa0000 bytes are needed.
  37. config VIDEO_COPY
  38. bool "Enable copying the frame buffer to a hardware copy"
  39. depends on DM_VIDEO
  40. help
  41. On some machines (e.g. x86), reading from the frame buffer is very
  42. slow because it is uncached. To improve performance, this feature
  43. allows the frame buffer to be kept in cached memory (allocated by
  44. U-Boot) and then copied to the hardware frame-buffer as needed.
  45. To use this, your video driver must set @copy_base in
  46. struct video_uc_plat.
  47. config BACKLIGHT_PWM
  48. bool "Generic PWM based Backlight Driver"
  49. depends on BACKLIGHT && DM_PWM
  50. default y
  51. help
  52. If you have a LCD backlight adjustable by PWM, say Y to enable
  53. this driver.
  54. This driver can be use with "simple-panel" and
  55. it understands the standard device tree
  56. (leds/backlight/pwm-backlight.txt)
  57. config BACKLIGHT_GPIO
  58. bool "Generic GPIO based Backlight Driver"
  59. depends on BACKLIGHT
  60. help
  61. If you have a LCD backlight adjustable by GPIO, say Y to enable
  62. this driver.
  63. This driver can be used with "simple-panel" and
  64. it understands the standard device tree
  65. (leds/backlight/gpio-backlight.txt)
  66. config CMD_VIDCONSOLE
  67. bool "Enable vidconsole commands lcdputs and setcurs"
  68. depends on DM_VIDEO
  69. default y
  70. help
  71. Enabling this will provide 'setcurs' and 'lcdputs' commands which
  72. support cursor positioning and drawing strings on video framebuffer.
  73. config VIDEO_BPP8
  74. bool "Support 8-bit-per-pixel displays"
  75. depends on DM_VIDEO
  76. default y
  77. help
  78. Support drawing text and bitmaps onto a 8-bit-per-pixel display.
  79. Enabling this will include code to support this display. Without
  80. this option, such displays will not be supported and console output
  81. will be empty.
  82. config VIDEO_BPP16
  83. bool "Support 16-bit-per-pixel displays"
  84. depends on DM_VIDEO
  85. default y
  86. help
  87. Support drawing text and bitmaps onto a 16-bit-per-pixel display.
  88. Enabling this will include code to support this display. Without
  89. this option, such displays will not be supported and console output
  90. will be empty.
  91. config VIDEO_BPP32
  92. bool "Support 32-bit-per-pixel displays"
  93. depends on DM_VIDEO
  94. default y
  95. help
  96. Support drawing text and bitmaps onto a 32-bit-per-pixel display.
  97. Enabling this will include code to support this display. Without
  98. this option, such displays will not be supported and console output
  99. will be empty.
  100. config VIDEO_ANSI
  101. bool "Support ANSI escape sequences in video console"
  102. depends on DM_VIDEO
  103. default y
  104. help
  105. Enable ANSI escape sequence decoding for a more fully functional
  106. console.
  107. config VIDEO_MIPI_DSI
  108. bool "Support MIPI DSI interface"
  109. depends on DM_VIDEO
  110. help
  111. Support MIPI DSI interface for driving a MIPI compatible device.
  112. The MIPI Display Serial Interface (MIPI DSI) defines a high-speed
  113. serial interface between a host processor and a display module.
  114. config CONSOLE_NORMAL
  115. bool "Support a simple text console"
  116. depends on DM_VIDEO
  117. default y if DM_VIDEO
  118. help
  119. Support drawing text on the frame buffer console so that it can be
  120. used as a console. Rotation is not supported by this driver (see
  121. CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used
  122. for the display.
  123. config CONSOLE_ROTATION
  124. bool "Support rotated displays"
  125. depends on DM_VIDEO
  126. help
  127. Sometimes, for example if the display is mounted in portrait
  128. mode or even if it's mounted landscape but rotated by 180degree,
  129. we need to rotate our content of the display relative to the
  130. framebuffer, so that user can read the messages which are
  131. printed out. Enable this option to include a text driver which can
  132. support this. The rotation is set by the 'rot' parameter in
  133. struct video_priv: 0=unrotated, 1=90 degrees clockwise, 2=180
  134. degrees, 3=270 degrees.
  135. config CONSOLE_TRUETYPE
  136. bool "Support a console that uses TrueType fonts"
  137. depends on DM_VIDEO
  138. help
  139. TrueTrype fonts can provide outline-drawing capability rather than
  140. needing to provide a bitmap for each font and size that is needed.
  141. With this option you can adjust the text size and use a variety of
  142. fonts. Note that this is noticeably slower than with normal console.
  143. config DM_PANEL_HX8238D
  144. bool "Enable Himax HX-8238D LCD driver"
  145. depends on DM_VIDEO
  146. help
  147. Support for HX-8238D LCD Panel
  148. The HX8238-D is a single chip controller and driver LSI that
  149. integrates the power circuit.
  150. It can drive a maximum 960x240 dot graphics on a-TFT panel
  151. displays in 16M colors with dithering.
  152. config CONSOLE_TRUETYPE_SIZE
  153. int "TrueType font size"
  154. depends on CONSOLE_TRUETYPE
  155. default 18
  156. help
  157. This sets the font size for the console. The size is measured in
  158. pixels and is the nominal height of a character. Note that fonts
  159. are commonly measured in 'points', being 1/72 inch (about 3.52mm).
  160. However that measurement depends on the size of your display and
  161. there is no standard display density. At present there is not a
  162. method to select the display's physical size, which would allow
  163. U-Boot to calculate the correct font size.
  164. config SYS_WHITE_ON_BLACK
  165. bool "Display console as white on a black background"
  166. default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || ARCH_TEGRA || X86 || ARCH_SUNXI
  167. help
  168. Normally the display is black on a white background, Enable this
  169. option to invert this, i.e. white on a black background. This can be
  170. better in low-light situations or to reduce eye strain in some
  171. cases.
  172. config NO_FB_CLEAR
  173. bool "Skip framebuffer clear"
  174. help
  175. If firmware (whatever loads u-boot) has already put a splash image
  176. on screen, you might want to preserve it until whatever u-boot
  177. loads takes over the screen. This, for example, can be used to
  178. keep splash image on screen until grub graphical boot menu starts.
  179. config PANEL
  180. bool "Enable panel uclass support"
  181. depends on DM_VIDEO
  182. default y
  183. help
  184. This provides panel uclass driver that enables basic panel support.
  185. config SIMPLE_PANEL
  186. bool "Enable simple panel support"
  187. depends on PANEL && BACKLIGHT && DM_GPIO
  188. default y
  189. help
  190. This turns on a simple panel driver that enables a compatible
  191. video panel.
  192. source "drivers/video/fonts/Kconfig"
  193. config VIDCONSOLE_AS_LCD
  194. bool "Use 'vidconsole' when CONFIG_VIDCONSOLE_AS_NAME string is seen in stdout"
  195. depends on DM_VIDEO
  196. help
  197. This is a work-around for boards which have 'lcd' or 'vga' in their
  198. stdout environment variable, but have moved to use driver model for
  199. video. In this case the console will no-longer work. While it is
  200. possible to update the environment, the breakage may be confusing for
  201. users. This option will be removed around the end of 2020.
  202. config VIDCONSOLE_AS_NAME
  203. string "Use 'vidconsole' when string defined here is seen in stdout"
  204. depends on VIDCONSOLE_AS_LCD
  205. default "lcd" if LCD || TEGRA_COMMON
  206. default "vga" if !LCD
  207. help
  208. This is a work-around for boards which have 'lcd' or 'vga' in their
  209. stdout environment variable, but have moved to use driver model for
  210. video. In this case the console will no-longer work. While it is
  211. possible to update the environment, the breakage may be confusing for
  212. users. This option will be removed around the end of 2020.
  213. config VIDEO_COREBOOT
  214. bool "Enable coreboot framebuffer driver support"
  215. depends on X86
  216. help
  217. Turn on this option to enable a framebuffer driver when U-Boot is
  218. loaded by coreboot where the graphics device is configured by
  219. coreboot already. This can in principle be used with any platform
  220. that coreboot supports.
  221. config VIDEO_EFI
  222. bool "Enable EFI framebuffer driver support"
  223. depends on EFI_STUB
  224. help
  225. Turn on this option to enable a framebuffeer driver when U-Boot is
  226. loaded as a payload (see README.u-boot_on_efi) by an EFI BIOS where
  227. the graphics device is configured by the EFI BIOS already. This can
  228. in principle be used with any platform that has an EFI BIOS.
  229. config VIDEO_VESA
  230. bool "Enable VESA video driver support"
  231. default n
  232. help
  233. Turn on this option to enable a very simple driver which uses vesa
  234. to discover the video mode and then provides a frame buffer for use
  235. by U-Boot. This can in principle be used with any platform that
  236. supports PCI and video cards that support VESA BIOS Extension (VBE).
  237. config FRAMEBUFFER_SET_VESA_MODE
  238. bool "Set framebuffer graphics resolution"
  239. depends on VIDEO_VESA || VIDEO_BROADWELL_IGD
  240. help
  241. Set VESA/native framebuffer mode (needed for bootsplash and graphical
  242. framebuffer console)
  243. choice
  244. prompt "framebuffer graphics resolution"
  245. default FRAMEBUFFER_VESA_MODE_118
  246. depends on FRAMEBUFFER_SET_VESA_MODE
  247. help
  248. This option sets the resolution used for the U-Boot framebuffer (and
  249. bootsplash screen).
  250. config FRAMEBUFFER_VESA_MODE_100
  251. bool "640x400 256-color"
  252. config FRAMEBUFFER_VESA_MODE_101
  253. bool "640x480 256-color"
  254. config FRAMEBUFFER_VESA_MODE_102
  255. bool "800x600 16-color"
  256. config FRAMEBUFFER_VESA_MODE_103
  257. bool "800x600 256-color"
  258. config FRAMEBUFFER_VESA_MODE_104
  259. bool "1024x768 16-color"
  260. config FRAMEBUFFER_VESA_MODE_105
  261. bool "1024x768 256-color"
  262. config FRAMEBUFFER_VESA_MODE_106
  263. bool "1280x1024 16-color"
  264. config FRAMEBUFFER_VESA_MODE_107
  265. bool "1280x1024 256-color"
  266. config FRAMEBUFFER_VESA_MODE_108
  267. bool "80x60 text"
  268. config FRAMEBUFFER_VESA_MODE_109
  269. bool "132x25 text"
  270. config FRAMEBUFFER_VESA_MODE_10A
  271. bool "132x43 text"
  272. config FRAMEBUFFER_VESA_MODE_10B
  273. bool "132x50 text"
  274. config FRAMEBUFFER_VESA_MODE_10C
  275. bool "132x60 text"
  276. config FRAMEBUFFER_VESA_MODE_10D
  277. bool "320x200 32k-color (1:5:5:5)"
  278. config FRAMEBUFFER_VESA_MODE_10E
  279. bool "320x200 64k-color (5:6:5)"
  280. config FRAMEBUFFER_VESA_MODE_10F
  281. bool "320x200 16.8M-color (8:8:8)"
  282. config FRAMEBUFFER_VESA_MODE_110
  283. bool "640x480 32k-color (1:5:5:5)"
  284. config FRAMEBUFFER_VESA_MODE_111
  285. bool "640x480 64k-color (5:6:5)"
  286. config FRAMEBUFFER_VESA_MODE_112
  287. bool "640x480 16.8M-color (8:8:8)"
  288. config FRAMEBUFFER_VESA_MODE_113
  289. bool "800x600 32k-color (1:5:5:5)"
  290. config FRAMEBUFFER_VESA_MODE_114
  291. bool "800x600 64k-color (5:6:5)"
  292. config FRAMEBUFFER_VESA_MODE_115
  293. bool "800x600 16.8M-color (8:8:8)"
  294. config FRAMEBUFFER_VESA_MODE_116
  295. bool "1024x768 32k-color (1:5:5:5)"
  296. config FRAMEBUFFER_VESA_MODE_117
  297. bool "1024x768 64k-color (5:6:5)"
  298. config FRAMEBUFFER_VESA_MODE_118
  299. bool "1024x768 16.8M-color (8:8:8)"
  300. config FRAMEBUFFER_VESA_MODE_119
  301. bool "1280x1024 32k-color (1:5:5:5)"
  302. config FRAMEBUFFER_VESA_MODE_11A
  303. bool "1280x1024 64k-color (5:6:5)"
  304. config FRAMEBUFFER_VESA_MODE_11B
  305. bool "1280x1024 16.8M-color (8:8:8)"
  306. config FRAMEBUFFER_VESA_MODE_USER
  307. bool "Manually select VESA mode"
  308. endchoice
  309. # Map the config names to an integer (KB).
  310. config FRAMEBUFFER_VESA_MODE
  311. prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER
  312. hex
  313. default 0x100 if FRAMEBUFFER_VESA_MODE_100
  314. default 0x101 if FRAMEBUFFER_VESA_MODE_101
  315. default 0x102 if FRAMEBUFFER_VESA_MODE_102
  316. default 0x103 if FRAMEBUFFER_VESA_MODE_103
  317. default 0x104 if FRAMEBUFFER_VESA_MODE_104
  318. default 0x105 if FRAMEBUFFER_VESA_MODE_105
  319. default 0x106 if FRAMEBUFFER_VESA_MODE_106
  320. default 0x107 if FRAMEBUFFER_VESA_MODE_107
  321. default 0x108 if FRAMEBUFFER_VESA_MODE_108
  322. default 0x109 if FRAMEBUFFER_VESA_MODE_109
  323. default 0x10A if FRAMEBUFFER_VESA_MODE_10A
  324. default 0x10B if FRAMEBUFFER_VESA_MODE_10B
  325. default 0x10C if FRAMEBUFFER_VESA_MODE_10C
  326. default 0x10D if FRAMEBUFFER_VESA_MODE_10D
  327. default 0x10E if FRAMEBUFFER_VESA_MODE_10E
  328. default 0x10F if FRAMEBUFFER_VESA_MODE_10F
  329. default 0x110 if FRAMEBUFFER_VESA_MODE_110
  330. default 0x111 if FRAMEBUFFER_VESA_MODE_111
  331. default 0x112 if FRAMEBUFFER_VESA_MODE_112
  332. default 0x113 if FRAMEBUFFER_VESA_MODE_113
  333. default 0x114 if FRAMEBUFFER_VESA_MODE_114
  334. default 0x115 if FRAMEBUFFER_VESA_MODE_115
  335. default 0x116 if FRAMEBUFFER_VESA_MODE_116
  336. default 0x117 if FRAMEBUFFER_VESA_MODE_117
  337. default 0x118 if FRAMEBUFFER_VESA_MODE_118
  338. default 0x119 if FRAMEBUFFER_VESA_MODE_119
  339. default 0x11A if FRAMEBUFFER_VESA_MODE_11A
  340. default 0x11B if FRAMEBUFFER_VESA_MODE_11B
  341. default 0x117 if FRAMEBUFFER_VESA_MODE_USER
  342. config VIDEO_LCD_ANX9804
  343. bool "ANX9804 bridge chip"
  344. default n
  345. ---help---
  346. Support for the ANX9804 bridge chip, which can take pixel data coming
  347. from a parallel LCD interface and translate it on the fy into a DP
  348. interface for driving eDP TFT displays. It uses I2C for configuration.
  349. config VIDEO_LCD_ORISETECH_OTM8009A
  350. bool "OTM8009A DSI LCD panel support"
  351. depends on DM_VIDEO
  352. select VIDEO_MIPI_DSI
  353. default n
  354. help
  355. Say Y here if you want to enable support for Orise Technology
  356. otm8009a 480x800 dsi 2dl panel.
  357. config VIDEO_LCD_RAYDIUM_RM68200
  358. bool "RM68200 DSI LCD panel support"
  359. depends on DM_VIDEO
  360. select VIDEO_MIPI_DSI
  361. default n
  362. help
  363. Say Y here if you want to enable support for Raydium RM68200
  364. 720x1280 DSI video mode panel.
  365. config VIDEO_LCD_SSD2828
  366. bool "SSD2828 bridge chip"
  367. default n
  368. ---help---
  369. Support for the SSD2828 bridge chip, which can take pixel data coming
  370. from a parallel LCD interface and translate it on the fly into MIPI DSI
  371. interface for driving a MIPI compatible LCD panel. It uses SPI for
  372. configuration.
  373. config VIDEO_LCD_SSD2828_TX_CLK
  374. int "SSD2828 TX_CLK frequency (in MHz)"
  375. depends on VIDEO_LCD_SSD2828
  376. default 0
  377. ---help---
  378. The frequency of the crystal, which is clocking SSD2828. It may be
  379. anything in the 8MHz-30MHz range and the exact value should be
  380. retrieved from the board schematics. Or in the case of Allwinner
  381. hardware, it can be usually found as 'lcd_xtal_freq' variable in
  382. FEX files. It can be also set to 0 for selecting PCLK from the
  383. parallel LCD interface instead of TX_CLK as the PLL clock source.
  384. config VIDEO_LCD_SSD2828_RESET
  385. string "RESET pin of SSD2828"
  386. depends on VIDEO_LCD_SSD2828
  387. default ""
  388. ---help---
  389. The reset pin of SSD2828 chip. This takes a string in the format
  390. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  391. config VIDEO_LCD_TDO_TL070WSH30
  392. bool "TDO TL070WSH30 DSI LCD panel support"
  393. depends on DM_VIDEO
  394. select VIDEO_MIPI_DSI
  395. default n
  396. help
  397. Say Y here if you want to enable support for TDO TL070WSH30
  398. 1024x600 DSI video mode panel.
  399. config VIDEO_LCD_HITACHI_TX18D42VM
  400. bool "Hitachi tx18d42vm LVDS LCD panel support"
  401. depends on VIDEO
  402. default n
  403. ---help---
  404. Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a
  405. lcd controller which needs to be initialized over SPI, once that is
  406. done they work like a regular LVDS panel.
  407. config VIDEO_LCD_SPI_CS
  408. string "SPI CS pin for LCD related config job"
  409. depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
  410. default ""
  411. ---help---
  412. This is one of the SPI communication pins, involved in setting up a
  413. working LCD configuration. The exact role of SPI may differ for
  414. different hardware setups. The option takes a string in the format
  415. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  416. config VIDEO_LCD_SPI_SCLK
  417. string "SPI SCLK pin for LCD related config job"
  418. depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
  419. default ""
  420. ---help---
  421. This is one of the SPI communication pins, involved in setting up a
  422. working LCD configuration. The exact role of SPI may differ for
  423. different hardware setups. The option takes a string in the format
  424. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  425. config VIDEO_LCD_SPI_MOSI
  426. string "SPI MOSI pin for LCD related config job"
  427. depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
  428. default ""
  429. ---help---
  430. This is one of the SPI communication pins, involved in setting up a
  431. working LCD configuration. The exact role of SPI may differ for
  432. different hardware setups. The option takes a string in the format
  433. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  434. config VIDEO_LCD_SPI_MISO
  435. string "SPI MISO pin for LCD related config job (optional)"
  436. depends on VIDEO_LCD_SSD2828
  437. default ""
  438. ---help---
  439. This is one of the SPI communication pins, involved in setting up a
  440. working LCD configuration. The exact role of SPI may differ for
  441. different hardware setups. If wired up, this pin may provide additional
  442. useful functionality. Such as bi-directional communication with the
  443. hardware and LCD panel id retrieval (if the panel can report it). The
  444. option takes a string in the format understood by 'name_to_gpio'
  445. function, e.g. PH1 for pin 1 of port H.
  446. source "drivers/video/meson/Kconfig"
  447. config VIDEO_MVEBU
  448. bool "Armada XP LCD controller"
  449. default n
  450. ---help---
  451. Support for the LCD controller integrated in the Marvell
  452. Armada XP SoC.
  453. config VIDEO_OMAP3
  454. bool "Enable OMAP3+ DSS Support"
  455. depends on ARCH_OMAP2PLUS
  456. help
  457. This enables the Display subsystem (DSS) on OMAP3+ boards.
  458. config I2C_EDID
  459. bool "Enable EDID library"
  460. default n
  461. help
  462. This enables library for accessing EDID data from an LCD panel.
  463. config DISPLAY
  464. bool "Enable Display support"
  465. depends on DM
  466. default n
  467. select I2C_EDID
  468. help
  469. This supports drivers that provide a display, such as eDP (Embedded
  470. DisplayPort) and HDMI (High Definition Multimedia Interface).
  471. The devices provide a simple interface to start up the display,
  472. read display information and enable it.
  473. config NXP_TDA19988
  474. bool "Enable NXP TDA19988 support"
  475. depends on DISPLAY
  476. default n
  477. help
  478. This enables support for the NXP TDA19988 HDMI encoder. This encoder
  479. will convert RGB data streams into HDMI-encoded signals.
  480. config ATMEL_HLCD
  481. bool "Enable ATMEL video support using HLCDC"
  482. help
  483. HLCDC supports video output to an attached LCD panel.
  484. source "drivers/video/ti/Kconfig"
  485. config LOGICORE_DP_TX
  486. bool "Enable Logicore DP TX driver"
  487. depends on DISPLAY
  488. help
  489. Enable the driver for the transmitter part of the Xilinx LogiCORE
  490. DisplayPort, a IP core for Xilinx FPGAs that implements a DisplayPort
  491. video interface as defined by VESA DisplayPort v1.2.
  492. Note that this is a pure transmitter device, and has no display
  493. capabilities by itself.
  494. config VIDEO_BROADWELL_IGD
  495. bool "Enable Intel Broadwell integrated graphics device"
  496. depends on X86
  497. help
  498. This enables support for integrated graphics on Intel broadwell
  499. devices. Initialisation is mostly performed by a VGA boot ROM, with
  500. some setup handled by U-Boot itself. The graphics adaptor works as
  501. a VESA device and supports LCD panels, eDP and LVDS outputs.
  502. Configuration of most aspects of device operation is performed using
  503. a special tool which configures the VGA ROM, but the graphics
  504. resolution can be selected in U-Boot.
  505. config VIDEO_IVYBRIDGE_IGD
  506. bool "Enable Intel Ivybridge integration graphics support"
  507. depends on X86
  508. help
  509. This enables support for integrated graphics on Intel ivybridge
  510. devices. Initialisation is mostly performed by a VGA boot ROM, with
  511. some setup handled by U-Boot itself. The graphics adaptor works as
  512. a VESA device and supports LCD panels, eDP and LVDS outputs.
  513. Configuration of most aspects of device operation is performed using
  514. a special tool which configures the VGA ROM, but the graphics
  515. resolution can be selected in U-Boot.
  516. config VIDEO_FSL_DCU_FB
  517. bool "Enable Freescale Display Control Unit"
  518. depends on VIDEO || DM_VIDEO
  519. help
  520. This enables support for Freescale Display Control Unit (DCU4)
  521. module found on Freescale Vybrid and QorIQ family of SoCs.
  522. config VIDEO_FSL_DCU_MAX_FB_SIZE_MB
  523. int "Freescale DCU framebuffer size"
  524. depends on VIDEO_FSL_DCU_FB
  525. default 4194304
  526. help
  527. Set maximum framebuffer size to be used for Freescale Display
  528. Controller Unit (DCU4).
  529. source "drivers/video/rockchip/Kconfig"
  530. config VIDEO_ARM_MALIDP
  531. bool "Enable Arm Mali Display Processor support"
  532. depends on DM_VIDEO && OF_CONTROL
  533. select VEXPRESS_CLK
  534. help
  535. This enables support for Arm Ltd Mali Display Processors from
  536. the DP500, DP550 and DP650 family.
  537. config VIDEO_SANDBOX_SDL
  538. bool "Enable sandbox video console using SDL"
  539. depends on SANDBOX
  540. help
  541. When using sandbox you can enable an emulated LCD display which
  542. appears as an SDL (Simple DirectMedia Layer) window. This is a
  543. console device and can display stdout output. Within U-Boot is is
  544. a normal bitmap display and can display images as well as text.
  545. source "drivers/video/stm32/Kconfig"
  546. config VIDEO_TEGRA20
  547. bool "Enable LCD support on Tegra20"
  548. depends on OF_CONTROL
  549. help
  550. Tegra20 supports video output to an attached LCD panel as well as
  551. other options such as HDMI. Only the LCD is supported in U-Boot.
  552. This option enables this support which can be used on devices which
  553. have an LCD display connected.
  554. config VIDEO_TEGRA124
  555. bool "Enable video support on Tegra124"
  556. depends on DM_VIDEO
  557. help
  558. Tegra124 supports many video output options including eDP and
  559. HDMI. At present only eDP is supported by U-Boot. This option
  560. enables this support which can be used on devices which
  561. have an eDP display connected.
  562. source "drivers/video/bridge/Kconfig"
  563. source "drivers/video/imx/Kconfig"
  564. config VIDEO_NX
  565. bool "Enable video support on Nexell SoC"
  566. depends on ARCH_S5P6818 || ARCH_S5P4418
  567. help
  568. Nexell SoC supports many video output options including eDP and
  569. HDMI. This option enables this support which can be used on devices
  570. which have an eDP display connected.
  571. config VIDEO_SEPS525
  572. bool "Enable video support for Seps525"
  573. depends on DM_VIDEO
  574. help
  575. Enable support for the Syncoam PM-OLED display driver (RGB 160x128).
  576. Currently driver is supporting only SPI interface.
  577. source "drivers/video/nexell/Kconfig"
  578. config VIDEO
  579. bool "Enable legacy video support"
  580. depends on !DM_VIDEO
  581. help
  582. Define this for video support, without using driver model. Some
  583. drivers use this because they are not yet converted to driver
  584. model. Video drivers typically provide a colour text console and
  585. cursor.
  586. config CFB_CONSOLE
  587. bool "Enable colour frame buffer console"
  588. depends on VIDEO || ARCH_OMAP2PLUS
  589. default y if VIDEO
  590. help
  591. Enables the colour frame buffer driver. This supports colour
  592. output on a bitmap display from an in-memory frame buffer.
  593. Several colour devices are supported along with various options to
  594. adjust the supported features. The driver is implemented in
  595. cfb_console.c
  596. The following defines are needed (cf. smiLynxEM, i8042)
  597. VIDEO_FB_LITTLE_ENDIAN graphic memory organisation
  598. (default big endian)
  599. VIDEO_HW_RECTFILL graphic chip supports
  600. rectangle fill (cf. smiLynxEM)
  601. VIDEO_HW_BITBLT graphic chip supports
  602. bit-blit (cf. smiLynxEM)
  603. VIDEO_VISIBLE_COLS visible pixel columns (cols=pitch)
  604. VIDEO_VISIBLE_ROWS visible pixel rows
  605. VIDEO_PIXEL_SIZE bytes per pixel
  606. VIDEO_DATA_FORMAT graphic data format
  607. (0-5, cf. cfb_console.c)
  608. VIDEO_FB_ADRS framebuffer address
  609. VIDEO_KBD_INIT_FCT keyboard int fct (i.e. rx51_kp_init())
  610. VIDEO_TSTC_FCT test char fct (i.e. rx51_kp_tstc)
  611. VIDEO_GETC_FCT get char fct (i.e. rx51_kp_getc)
  612. CONFIG_VIDEO_LOGO display Linux logo in upper left corner
  613. CONFIG_VIDEO_BMP_LOGO use bmp_logo.h instead of linux_logo.h
  614. for logo. Requires CONFIG_VIDEO_LOGO
  615. CONFIG_CONSOLE_EXTRA_INFO
  616. additional board info beside
  617. the logo
  618. CONFIG_HIDE_LOGO_VERSION
  619. do not display bootloader
  620. version string
  621. When CONFIG_CFB_CONSOLE is defined, the video console is the
  622. default console. The serial console can be forced by setting the
  623. environment 'console=serial'.
  624. config CFB_CONSOLE_ANSI
  625. bool "Support ANSI escape sequences"
  626. depends on CFB_CONSOLE
  627. help
  628. This allows the colour buffer frame buffer driver to support
  629. a limited number of ANSI escape sequences (cursor control,
  630. erase functions and limited graphics rendition control). Normal
  631. output from U-Boot will pass through this filter.
  632. config VGA_AS_SINGLE_DEVICE
  633. bool "Set the video as an output-only device"
  634. depends on CFB_CONSOLE
  635. default y
  636. help
  637. If enable the framebuffer device will be initialized as an
  638. output-only device. The Keyboard driver will not be set up. This
  639. may be used if you have no keyboard device, or more than one
  640. (USB Keyboard, AT Keyboard).
  641. config VIDEO_SW_CURSOR
  642. bool "Enable a software cursor"
  643. depends on CFB_CONSOLE
  644. default y if CFB_CONSOLE
  645. help
  646. This draws a cursor after the last character. No blinking is
  647. provided. This makes it possible to see the current cursor
  648. position when entering text on the console. It is recommended to
  649. enable this.
  650. config CONSOLE_EXTRA_INFO
  651. bool "Display additional board information"
  652. depends on CFB_CONSOLE
  653. help
  654. Display additional board information strings that normally go to
  655. the serial port. When this option is enabled, a board-specific
  656. function video_get_info_str() is called to get the string for
  657. each line of the display. The function should return the string,
  658. which can be empty if there is nothing to display for that line.
  659. config CONSOLE_SCROLL_LINES
  660. int "Number of lines to scroll the console by"
  661. depends on CFB_CONSOLE || DM_VIDEO || LCD
  662. default 1
  663. help
  664. When the console need to be scrolled, this is the number of
  665. lines to scroll by. It defaults to 1. Increasing this makes the
  666. console jump but can help speed up operation when scrolling
  667. is slow.
  668. config SYS_CONSOLE_BG_COL
  669. hex "Background colour"
  670. depends on CFB_CONSOLE
  671. default 0x00
  672. help
  673. Defines the background colour for the console. The value is from
  674. 0x00 to 0xff and the meaning depends on the graphics card.
  675. Typically, 0x00 means black and 0xff means white. Do not set
  676. the background and foreground to the same colour or you will see
  677. nothing.
  678. config SYS_CONSOLE_FG_COL
  679. hex "Foreground colour"
  680. depends on CFB_CONSOLE
  681. default 0xa0
  682. help
  683. Defines the foreground colour for the console. The value is from
  684. 0x00 to 0xff and the meaning depends on the graphics card.
  685. Typically, 0x00 means black and 0xff means white. Do not set
  686. the background and foreground to the same colour or you will see
  687. nothing.
  688. config LCD
  689. bool "Enable legacy LCD support"
  690. help
  691. Define this to enable LCD support (for output to LCD display).
  692. You will also need to select an LCD driver using an additional
  693. CONFIG option. See the README for details. Drives which have been
  694. converted to driver model will instead used CONFIG_DM_VIDEO.
  695. config VIDEO_DW_HDMI
  696. bool
  697. help
  698. Enables the common driver code for the Designware HDMI TX
  699. block found in SoCs from various vendors.
  700. As this does not provide any functionality by itself (but
  701. rather requires a SoC-specific glue driver to call it), it
  702. can not be enabled from the configuration menu.
  703. config VIDEO_DSI_HOST_SANDBOX
  704. bool "Enable sandbox for dsi host"
  705. depends on SANDBOX
  706. select VIDEO_MIPI_DSI
  707. help
  708. Enable support for sandbox dsi host device used for testing
  709. purposes.
  710. Display Serial Interface (DSI) defines a serial bus and
  711. a communication protocol between the host and the device
  712. (panel, bridge).
  713. config VIDEO_DW_MIPI_DSI
  714. bool
  715. select VIDEO_MIPI_DSI
  716. help
  717. Enables the common driver code for the Synopsis Designware
  718. MIPI DSI block found in SoCs from various vendors.
  719. As this does not provide any functionality by itself (but
  720. rather requires a SoC-specific glue driver to call it), it
  721. can not be enabled from the configuration menu.
  722. config VIDEO_SIMPLE
  723. bool "Simple display driver for preconfigured display"
  724. help
  725. Enables a simple generic display driver which utilizes the
  726. simple-framebuffer devicetree bindings.
  727. This driver assumes that the display hardware has been initialized
  728. before u-boot starts, and u-boot will simply render to the pre-
  729. allocated frame buffer surface.
  730. config VIDEO_DT_SIMPLEFB
  731. bool "Enable SimpleFB support for passing framebuffer to OS"
  732. help
  733. Enables the code to pass the framebuffer to the kernel as a
  734. simple framebuffer in the device tree.
  735. The video output is initialized by U-Boot, and kept by the
  736. kernel.
  737. config VIDEO_MCDE_SIMPLE
  738. bool "Simple driver for ST-Ericsson MCDE with preconfigured display"
  739. depends on DM_VIDEO
  740. help
  741. Enables a simple display driver for ST-Ericsson MCDE
  742. (Multichannel Display Engine), which reads the configuration from
  743. the MCDE registers.
  744. This driver assumes that the display hardware has been initialized
  745. before u-boot starts, and u-boot will simply render to the pre-
  746. allocated frame buffer surface.
  747. config OSD
  748. bool "Enable OSD support"
  749. depends on DM
  750. default n
  751. help
  752. This supports drivers that provide a OSD (on-screen display), which
  753. is a (usually text-oriented) graphics buffer to show information on
  754. a display.
  755. config SANDBOX_OSD
  756. bool "Enable sandbox OSD"
  757. depends on OSD
  758. help
  759. Enable support for sandbox OSD device used for testing purposes.
  760. config IHS_VIDEO_OUT
  761. bool "Enable IHS video out driver"
  762. depends on OSD
  763. help
  764. Enable support for the gdsys Integrated Hardware Systems (IHS) video
  765. out On-screen Display (OSD) used on gdsys FPGAs to control dynamic
  766. textual overlays of the display outputs.
  767. config SPLASH_SCREEN
  768. bool "Show a splash-screen image"
  769. help
  770. If this option is set, the environment is checked for a variable
  771. "splashimage". If found, the usual display of logo, copyright and
  772. system information on the LCD is suppressed and the BMP image at the
  773. address specified in "splashimage" is loaded instead. The console is
  774. redirected to the "nulldev", too. This allows for a "silent" boot
  775. where a splash screen is loaded very quickly after power-on.
  776. The splash_screen_prepare() function is a weak function defined in
  777. common/splash.c. It is called as part of the splash screen display
  778. sequence. It gives the board an opportunity to prepare the splash
  779. image data before it is processed and sent to the frame buffer by
  780. U-Boot. Define your own version to use this feature.
  781. config SPLASHIMAGE_GUARD
  782. bool "Support unaligned BMP images"
  783. depends on SPLASH_SCREEN
  784. help
  785. If this option is set, then U-Boot will prevent the environment
  786. variable "splashimage" from being set to a problematic address
  787. (see doc/README.displaying-bmps).
  788. This option is useful for targets where, due to alignment
  789. restrictions, an improperly aligned BMP image will cause a data
  790. abort. If you think you will not have problems with unaligned
  791. accesses (for example because your toolchain prevents them)
  792. there is no need to set this option.
  793. config SPLASH_SCREEN_ALIGN
  794. bool "Allow positioning the splash image anywhere on the display"
  795. depends on SPLASH_SCREEN || CMD_BMP
  796. help
  797. If this option is set the splash image can be freely positioned
  798. on the screen. Environment variable "splashpos" specifies the
  799. position as "x,y". If a positive number is given it is used as
  800. number of pixel from left/top. If a negative number is given it
  801. is used as number of pixel from right/bottom. You can also
  802. specify 'm' for centering the image.
  803. Example:
  804. setenv splashpos m,m
  805. => image at center of screen
  806. setenv splashpos 30,20
  807. => image at x = 30 and y = 20
  808. setenv splashpos -10,m
  809. => vertically centered image
  810. at x = dspWidth - bmpWidth - 9
  811. config SPLASH_SOURCE
  812. bool "Control the source of the splash image"
  813. depends on SPLASH_SCREEN
  814. help
  815. Use the splash_source.c library. This library provides facilities to
  816. declare board specific splash image locations, routines for loading
  817. splash image from supported locations, and a way of controlling the
  818. selected splash location using the "splashsource" environment
  819. variable.
  820. This CONFIG works as follows:
  821. - If splashsource is set to a supported location name as defined by
  822. board code, use that splash location.
  823. - If splashsource is undefined, use the first splash location as
  824. default.
  825. - If splashsource is set to an unsupported value, do not load a splash
  826. screen.
  827. A splash source location can describe either storage with raw data, a
  828. storage formatted with a file system or a FIT image. In case of a
  829. filesystem, the splash screen data is loaded as a file. The name of
  830. the splash screen file can be controlled with the environment variable
  831. "splashfile".
  832. To enable loading the splash image from a FIT image, CONFIG_FIT must
  833. be enabled. The FIT image has to start at the 'offset' field address
  834. in the selected splash location. The name of splash image within the
  835. FIT shall be specified by the environment variable "splashfile".
  836. In case the environment variable "splashfile" is not defined the
  837. default name 'splash.bmp' will be used.
  838. config VIDEO_BMP_GZIP
  839. bool "Gzip compressed BMP image support"
  840. depends on CMD_BMP || SPLASH_SCREEN
  841. help
  842. If this option is set, additionally to standard BMP
  843. images, gzipped BMP images can be displayed via the
  844. splashscreen support or the bmp command.
  845. config VIDEO_BMP_RLE8
  846. bool "Run length encoded BMP image (RLE8) support"
  847. depends on DM_VIDEO || CFB_CONSOLE
  848. help
  849. If this option is set, the 8-bit RLE compressed BMP images
  850. is supported.
  851. config BMP_16BPP
  852. bool "16-bit-per-pixel BMP image support"
  853. depends on DM_VIDEO || LCD
  854. help
  855. Support display of bitmaps file with 16-bit-per-pixel
  856. config BMP_24BPP
  857. bool "24-bit-per-pixel BMP image support"
  858. depends on DM_VIDEO || LCD
  859. help
  860. Support display of bitmaps file with 24-bit-per-pixel.
  861. config BMP_32BPP
  862. bool "32-bit-per-pixel BMP image support"
  863. depends on DM_VIDEO || LCD
  864. help
  865. Support display of bitmaps file with 32-bit-per-pixel.
  866. config VIDEO_VCXK
  867. bool "Enable VCXK video controller driver support"
  868. default n
  869. help
  870. This enables VCXK driver which can be used with VC2K, VC4K
  871. and VC8K devices on various boards from BuS Elektronik GmbH.
  872. endmenu