Kconfig 34 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003
  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. help
  232. Turn on this option to enable a very simple driver which uses vesa
  233. to discover the video mode and then provides a frame buffer for use
  234. by U-Boot. This can in principle be used with any platform that
  235. supports PCI and video cards that support VESA BIOS Extension (VBE).
  236. config FRAMEBUFFER_SET_VESA_MODE
  237. bool "Set framebuffer graphics resolution"
  238. depends on VIDEO_VESA || VIDEO_BROADWELL_IGD
  239. help
  240. Set VESA/native framebuffer mode (needed for bootsplash and graphical
  241. framebuffer console)
  242. choice
  243. prompt "framebuffer graphics resolution"
  244. default FRAMEBUFFER_VESA_MODE_118
  245. depends on FRAMEBUFFER_SET_VESA_MODE
  246. help
  247. This option sets the resolution used for the U-Boot framebuffer (and
  248. bootsplash screen).
  249. config FRAMEBUFFER_VESA_MODE_100
  250. bool "640x400 256-color"
  251. config FRAMEBUFFER_VESA_MODE_101
  252. bool "640x480 256-color"
  253. config FRAMEBUFFER_VESA_MODE_102
  254. bool "800x600 16-color"
  255. config FRAMEBUFFER_VESA_MODE_103
  256. bool "800x600 256-color"
  257. config FRAMEBUFFER_VESA_MODE_104
  258. bool "1024x768 16-color"
  259. config FRAMEBUFFER_VESA_MODE_105
  260. bool "1024x768 256-color"
  261. config FRAMEBUFFER_VESA_MODE_106
  262. bool "1280x1024 16-color"
  263. config FRAMEBUFFER_VESA_MODE_107
  264. bool "1280x1024 256-color"
  265. config FRAMEBUFFER_VESA_MODE_108
  266. bool "80x60 text"
  267. config FRAMEBUFFER_VESA_MODE_109
  268. bool "132x25 text"
  269. config FRAMEBUFFER_VESA_MODE_10A
  270. bool "132x43 text"
  271. config FRAMEBUFFER_VESA_MODE_10B
  272. bool "132x50 text"
  273. config FRAMEBUFFER_VESA_MODE_10C
  274. bool "132x60 text"
  275. config FRAMEBUFFER_VESA_MODE_10D
  276. bool "320x200 32k-color (1:5:5:5)"
  277. config FRAMEBUFFER_VESA_MODE_10E
  278. bool "320x200 64k-color (5:6:5)"
  279. config FRAMEBUFFER_VESA_MODE_10F
  280. bool "320x200 16.8M-color (8:8:8)"
  281. config FRAMEBUFFER_VESA_MODE_110
  282. bool "640x480 32k-color (1:5:5:5)"
  283. config FRAMEBUFFER_VESA_MODE_111
  284. bool "640x480 64k-color (5:6:5)"
  285. config FRAMEBUFFER_VESA_MODE_112
  286. bool "640x480 16.8M-color (8:8:8)"
  287. config FRAMEBUFFER_VESA_MODE_113
  288. bool "800x600 32k-color (1:5:5:5)"
  289. config FRAMEBUFFER_VESA_MODE_114
  290. bool "800x600 64k-color (5:6:5)"
  291. config FRAMEBUFFER_VESA_MODE_115
  292. bool "800x600 16.8M-color (8:8:8)"
  293. config FRAMEBUFFER_VESA_MODE_116
  294. bool "1024x768 32k-color (1:5:5:5)"
  295. config FRAMEBUFFER_VESA_MODE_117
  296. bool "1024x768 64k-color (5:6:5)"
  297. config FRAMEBUFFER_VESA_MODE_118
  298. bool "1024x768 16.8M-color (8:8:8)"
  299. config FRAMEBUFFER_VESA_MODE_119
  300. bool "1280x1024 32k-color (1:5:5:5)"
  301. config FRAMEBUFFER_VESA_MODE_11A
  302. bool "1280x1024 64k-color (5:6:5)"
  303. config FRAMEBUFFER_VESA_MODE_11B
  304. bool "1280x1024 16.8M-color (8:8:8)"
  305. config FRAMEBUFFER_VESA_MODE_USER
  306. bool "Manually select VESA mode"
  307. endchoice
  308. # Map the config names to an integer (KB).
  309. config FRAMEBUFFER_VESA_MODE
  310. prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER
  311. hex
  312. default 0x100 if FRAMEBUFFER_VESA_MODE_100
  313. default 0x101 if FRAMEBUFFER_VESA_MODE_101
  314. default 0x102 if FRAMEBUFFER_VESA_MODE_102
  315. default 0x103 if FRAMEBUFFER_VESA_MODE_103
  316. default 0x104 if FRAMEBUFFER_VESA_MODE_104
  317. default 0x105 if FRAMEBUFFER_VESA_MODE_105
  318. default 0x106 if FRAMEBUFFER_VESA_MODE_106
  319. default 0x107 if FRAMEBUFFER_VESA_MODE_107
  320. default 0x108 if FRAMEBUFFER_VESA_MODE_108
  321. default 0x109 if FRAMEBUFFER_VESA_MODE_109
  322. default 0x10A if FRAMEBUFFER_VESA_MODE_10A
  323. default 0x10B if FRAMEBUFFER_VESA_MODE_10B
  324. default 0x10C if FRAMEBUFFER_VESA_MODE_10C
  325. default 0x10D if FRAMEBUFFER_VESA_MODE_10D
  326. default 0x10E if FRAMEBUFFER_VESA_MODE_10E
  327. default 0x10F if FRAMEBUFFER_VESA_MODE_10F
  328. default 0x110 if FRAMEBUFFER_VESA_MODE_110
  329. default 0x111 if FRAMEBUFFER_VESA_MODE_111
  330. default 0x112 if FRAMEBUFFER_VESA_MODE_112
  331. default 0x113 if FRAMEBUFFER_VESA_MODE_113
  332. default 0x114 if FRAMEBUFFER_VESA_MODE_114
  333. default 0x115 if FRAMEBUFFER_VESA_MODE_115
  334. default 0x116 if FRAMEBUFFER_VESA_MODE_116
  335. default 0x117 if FRAMEBUFFER_VESA_MODE_117
  336. default 0x118 if FRAMEBUFFER_VESA_MODE_118
  337. default 0x119 if FRAMEBUFFER_VESA_MODE_119
  338. default 0x11A if FRAMEBUFFER_VESA_MODE_11A
  339. default 0x11B if FRAMEBUFFER_VESA_MODE_11B
  340. default 0x117 if FRAMEBUFFER_VESA_MODE_USER
  341. config VIDEO_LCD_ANX9804
  342. bool "ANX9804 bridge chip"
  343. ---help---
  344. Support for the ANX9804 bridge chip, which can take pixel data coming
  345. from a parallel LCD interface and translate it on the fy into a DP
  346. interface for driving eDP TFT displays. It uses I2C for configuration.
  347. config VIDEO_LCD_ORISETECH_OTM8009A
  348. bool "OTM8009A DSI LCD panel support"
  349. depends on DM_VIDEO
  350. select VIDEO_MIPI_DSI
  351. help
  352. Say Y here if you want to enable support for Orise Technology
  353. otm8009a 480x800 dsi 2dl panel.
  354. config VIDEO_LCD_RAYDIUM_RM68200
  355. bool "RM68200 DSI LCD panel support"
  356. depends on DM_VIDEO
  357. select VIDEO_MIPI_DSI
  358. help
  359. Say Y here if you want to enable support for Raydium RM68200
  360. 720x1280 DSI video mode panel.
  361. config VIDEO_LCD_SSD2828
  362. bool "SSD2828 bridge chip"
  363. ---help---
  364. Support for the SSD2828 bridge chip, which can take pixel data coming
  365. from a parallel LCD interface and translate it on the fly into MIPI DSI
  366. interface for driving a MIPI compatible LCD panel. It uses SPI for
  367. configuration.
  368. config VIDEO_LCD_SSD2828_TX_CLK
  369. int "SSD2828 TX_CLK frequency (in MHz)"
  370. depends on VIDEO_LCD_SSD2828
  371. default 0
  372. ---help---
  373. The frequency of the crystal, which is clocking SSD2828. It may be
  374. anything in the 8MHz-30MHz range and the exact value should be
  375. retrieved from the board schematics. Or in the case of Allwinner
  376. hardware, it can be usually found as 'lcd_xtal_freq' variable in
  377. FEX files. It can be also set to 0 for selecting PCLK from the
  378. parallel LCD interface instead of TX_CLK as the PLL clock source.
  379. config VIDEO_LCD_SSD2828_RESET
  380. string "RESET pin of SSD2828"
  381. depends on VIDEO_LCD_SSD2828
  382. default ""
  383. ---help---
  384. The reset pin of SSD2828 chip. This takes a string in the format
  385. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  386. config VIDEO_LCD_TDO_TL070WSH30
  387. bool "TDO TL070WSH30 DSI LCD panel support"
  388. depends on DM_VIDEO
  389. select VIDEO_MIPI_DSI
  390. help
  391. Say Y here if you want to enable support for TDO TL070WSH30
  392. 1024x600 DSI video mode panel.
  393. config VIDEO_LCD_HITACHI_TX18D42VM
  394. bool "Hitachi tx18d42vm LVDS LCD panel support"
  395. ---help---
  396. Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a
  397. lcd controller which needs to be initialized over SPI, once that is
  398. done they work like a regular LVDS panel.
  399. config VIDEO_LCD_SPI_CS
  400. string "SPI CS pin for LCD related config job"
  401. depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
  402. default ""
  403. ---help---
  404. This is one of the SPI communication pins, involved in setting up a
  405. working LCD configuration. The exact role of SPI may differ for
  406. different hardware setups. The option takes a string in the format
  407. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  408. config VIDEO_LCD_SPI_SCLK
  409. string "SPI SCLK pin for LCD related config job"
  410. depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
  411. default ""
  412. ---help---
  413. This is one of the SPI communication pins, involved in setting up a
  414. working LCD configuration. The exact role of SPI may differ for
  415. different hardware setups. The option takes a string in the format
  416. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  417. config VIDEO_LCD_SPI_MOSI
  418. string "SPI MOSI pin for LCD related config job"
  419. depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
  420. default ""
  421. ---help---
  422. This is one of the SPI communication pins, involved in setting up a
  423. working LCD configuration. The exact role of SPI may differ for
  424. different hardware setups. The option takes a string in the format
  425. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  426. config VIDEO_LCD_SPI_MISO
  427. string "SPI MISO pin for LCD related config job (optional)"
  428. depends on VIDEO_LCD_SSD2828
  429. default ""
  430. ---help---
  431. This is one of the SPI communication pins, involved in setting up a
  432. working LCD configuration. The exact role of SPI may differ for
  433. different hardware setups. If wired up, this pin may provide additional
  434. useful functionality. Such as bi-directional communication with the
  435. hardware and LCD panel id retrieval (if the panel can report it). The
  436. option takes a string in the format understood by 'name_to_gpio'
  437. function, e.g. PH1 for pin 1 of port H.
  438. source "drivers/video/meson/Kconfig"
  439. config VIDEO_MVEBU
  440. bool "Armada XP LCD controller"
  441. ---help---
  442. Support for the LCD controller integrated in the Marvell
  443. Armada XP SoC.
  444. config VIDEO_OMAP3
  445. bool "Enable OMAP3+ DSS Support"
  446. depends on ARCH_OMAP2PLUS
  447. help
  448. This enables the Display subsystem (DSS) on OMAP3+ boards.
  449. config I2C_EDID
  450. bool "Enable EDID library"
  451. help
  452. This enables library for accessing EDID data from an LCD panel.
  453. config DISPLAY
  454. bool "Enable Display support"
  455. depends on DM
  456. select I2C_EDID
  457. help
  458. This supports drivers that provide a display, such as eDP (Embedded
  459. DisplayPort) and HDMI (High Definition Multimedia Interface).
  460. The devices provide a simple interface to start up the display,
  461. read display information and enable it.
  462. config NXP_TDA19988
  463. bool "Enable NXP TDA19988 support"
  464. depends on DISPLAY
  465. help
  466. This enables support for the NXP TDA19988 HDMI encoder. This encoder
  467. will convert RGB data streams into HDMI-encoded signals.
  468. config ATMEL_HLCD
  469. bool "Enable ATMEL video support using HLCDC"
  470. help
  471. HLCDC supports video output to an attached LCD panel.
  472. source "drivers/video/ti/Kconfig"
  473. config LOGICORE_DP_TX
  474. bool "Enable Logicore DP TX driver"
  475. depends on DISPLAY
  476. help
  477. Enable the driver for the transmitter part of the Xilinx LogiCORE
  478. DisplayPort, a IP core for Xilinx FPGAs that implements a DisplayPort
  479. video interface as defined by VESA DisplayPort v1.2.
  480. Note that this is a pure transmitter device, and has no display
  481. capabilities by itself.
  482. config VIDEO_BROADWELL_IGD
  483. bool "Enable Intel Broadwell integrated graphics device"
  484. depends on X86
  485. help
  486. This enables support for integrated graphics on Intel broadwell
  487. devices. Initialisation is mostly performed by a VGA boot ROM, with
  488. some setup handled by U-Boot itself. The graphics adaptor works as
  489. a VESA device and supports LCD panels, eDP and LVDS outputs.
  490. Configuration of most aspects of device operation is performed using
  491. a special tool which configures the VGA ROM, but the graphics
  492. resolution can be selected in U-Boot.
  493. config VIDEO_IVYBRIDGE_IGD
  494. bool "Enable Intel Ivybridge integration graphics support"
  495. depends on X86
  496. help
  497. This enables support for integrated graphics on Intel ivybridge
  498. devices. Initialisation is mostly performed by a VGA boot ROM, with
  499. some setup handled by U-Boot itself. The graphics adaptor works as
  500. a VESA device and supports LCD panels, eDP and LVDS outputs.
  501. Configuration of most aspects of device operation is performed using
  502. a special tool which configures the VGA ROM, but the graphics
  503. resolution can be selected in U-Boot.
  504. config VIDEO_FSL_DCU_FB
  505. bool "Enable Freescale Display Control Unit"
  506. depends on VIDEO || DM_VIDEO
  507. help
  508. This enables support for Freescale Display Control Unit (DCU4)
  509. module found on Freescale Vybrid and QorIQ family of SoCs.
  510. config VIDEO_FSL_DCU_MAX_FB_SIZE_MB
  511. int "Freescale DCU framebuffer size"
  512. depends on VIDEO_FSL_DCU_FB
  513. default 4194304
  514. help
  515. Set maximum framebuffer size to be used for Freescale Display
  516. Controller Unit (DCU4).
  517. source "drivers/video/rockchip/Kconfig"
  518. config VIDEO_ARM_MALIDP
  519. bool "Enable Arm Mali Display Processor support"
  520. depends on DM_VIDEO && OF_CONTROL
  521. select VEXPRESS_CLK
  522. help
  523. This enables support for Arm Ltd Mali Display Processors from
  524. the DP500, DP550 and DP650 family.
  525. config VIDEO_SANDBOX_SDL
  526. bool "Enable sandbox video console using SDL"
  527. depends on SANDBOX
  528. help
  529. When using sandbox you can enable an emulated LCD display which
  530. appears as an SDL (Simple DirectMedia Layer) window. This is a
  531. console device and can display stdout output. Within U-Boot is is
  532. a normal bitmap display and can display images as well as text.
  533. source "drivers/video/stm32/Kconfig"
  534. config VIDEO_TEGRA20
  535. bool "Enable LCD support on Tegra20"
  536. depends on OF_CONTROL
  537. help
  538. Tegra20 supports video output to an attached LCD panel as well as
  539. other options such as HDMI. Only the LCD is supported in U-Boot.
  540. This option enables this support which can be used on devices which
  541. have an LCD display connected.
  542. config VIDEO_TEGRA124
  543. bool "Enable video support on Tegra124"
  544. depends on DM_VIDEO
  545. help
  546. Tegra124 supports many video output options including eDP and
  547. HDMI. At present only eDP is supported by U-Boot. This option
  548. enables this support which can be used on devices which
  549. have an eDP display connected.
  550. source "drivers/video/bridge/Kconfig"
  551. source "drivers/video/imx/Kconfig"
  552. config VIDEO_NX
  553. bool "Enable video support on Nexell SoC"
  554. depends on ARCH_S5P6818 || ARCH_S5P4418
  555. help
  556. Nexell SoC supports many video output options including eDP and
  557. HDMI. This option enables this support which can be used on devices
  558. which have an eDP display connected.
  559. config VIDEO_SEPS525
  560. bool "Enable video support for Seps525"
  561. depends on DM_VIDEO
  562. help
  563. Enable support for the Syncoam PM-OLED display driver (RGB 160x128).
  564. Currently driver is supporting only SPI interface.
  565. source "drivers/video/nexell/Kconfig"
  566. config VIDEO
  567. bool "Enable legacy video support"
  568. depends on !DM_VIDEO
  569. help
  570. Define this for video support, without using driver model. Some
  571. drivers use this because they are not yet converted to driver
  572. model. Video drivers typically provide a colour text console and
  573. cursor.
  574. config CFB_CONSOLE
  575. bool "Enable colour frame buffer console"
  576. depends on VIDEO || ARCH_OMAP2PLUS
  577. default y if VIDEO
  578. help
  579. Enables the colour frame buffer driver. This supports colour
  580. output on a bitmap display from an in-memory frame buffer.
  581. Several colour devices are supported along with various options to
  582. adjust the supported features. The driver is implemented in
  583. cfb_console.c
  584. The following defines are needed (cf. smiLynxEM, i8042)
  585. VIDEO_FB_LITTLE_ENDIAN graphic memory organisation
  586. (default big endian)
  587. VIDEO_HW_RECTFILL graphic chip supports
  588. rectangle fill (cf. smiLynxEM)
  589. VIDEO_HW_BITBLT graphic chip supports
  590. bit-blit (cf. smiLynxEM)
  591. VIDEO_VISIBLE_COLS visible pixel columns (cols=pitch)
  592. VIDEO_VISIBLE_ROWS visible pixel rows
  593. VIDEO_PIXEL_SIZE bytes per pixel
  594. VIDEO_DATA_FORMAT graphic data format
  595. (0-5, cf. cfb_console.c)
  596. VIDEO_FB_ADRS framebuffer address
  597. VIDEO_KBD_INIT_FCT keyboard int fct (i.e. rx51_kp_init())
  598. VIDEO_TSTC_FCT test char fct (i.e. rx51_kp_tstc)
  599. VIDEO_GETC_FCT get char fct (i.e. rx51_kp_getc)
  600. CONFIG_VIDEO_LOGO display Linux logo in upper left corner
  601. CONFIG_VIDEO_BMP_LOGO use bmp_logo.h instead of linux_logo.h
  602. for logo. Requires CONFIG_VIDEO_LOGO
  603. CONFIG_CONSOLE_EXTRA_INFO
  604. additional board info beside
  605. the logo
  606. CONFIG_HIDE_LOGO_VERSION
  607. do not display bootloader
  608. version string
  609. When CONFIG_CFB_CONSOLE is defined, the video console is the
  610. default console. The serial console can be forced by setting the
  611. environment 'console=serial'.
  612. config CFB_CONSOLE_ANSI
  613. bool "Support ANSI escape sequences"
  614. depends on CFB_CONSOLE
  615. help
  616. This allows the colour buffer frame buffer driver to support
  617. a limited number of ANSI escape sequences (cursor control,
  618. erase functions and limited graphics rendition control). Normal
  619. output from U-Boot will pass through this filter.
  620. config VGA_AS_SINGLE_DEVICE
  621. bool "Set the video as an output-only device"
  622. depends on CFB_CONSOLE
  623. default y
  624. help
  625. If enable the framebuffer device will be initialized as an
  626. output-only device. The Keyboard driver will not be set up. This
  627. may be used if you have no keyboard device, or more than one
  628. (USB Keyboard, AT Keyboard).
  629. config VIDEO_SW_CURSOR
  630. bool "Enable a software cursor"
  631. depends on CFB_CONSOLE
  632. default y if CFB_CONSOLE
  633. help
  634. This draws a cursor after the last character. No blinking is
  635. provided. This makes it possible to see the current cursor
  636. position when entering text on the console. It is recommended to
  637. enable this.
  638. config CONSOLE_EXTRA_INFO
  639. bool "Display additional board information"
  640. depends on CFB_CONSOLE
  641. help
  642. Display additional board information strings that normally go to
  643. the serial port. When this option is enabled, a board-specific
  644. function video_get_info_str() is called to get the string for
  645. each line of the display. The function should return the string,
  646. which can be empty if there is nothing to display for that line.
  647. config CONSOLE_SCROLL_LINES
  648. int "Number of lines to scroll the console by"
  649. depends on CFB_CONSOLE || DM_VIDEO || LCD
  650. default 1
  651. help
  652. When the console need to be scrolled, this is the number of
  653. lines to scroll by. It defaults to 1. Increasing this makes the
  654. console jump but can help speed up operation when scrolling
  655. is slow.
  656. config SYS_CONSOLE_BG_COL
  657. hex "Background colour"
  658. depends on CFB_CONSOLE
  659. default 0x00
  660. help
  661. Defines the background colour for the console. The value is from
  662. 0x00 to 0xff and the meaning depends on the graphics card.
  663. Typically, 0x00 means black and 0xff means white. Do not set
  664. the background and foreground to the same colour or you will see
  665. nothing.
  666. config SYS_CONSOLE_FG_COL
  667. hex "Foreground colour"
  668. depends on CFB_CONSOLE
  669. default 0xa0
  670. help
  671. Defines the foreground colour for the console. The value is from
  672. 0x00 to 0xff and the meaning depends on the graphics card.
  673. Typically, 0x00 means black and 0xff means white. Do not set
  674. the background and foreground to the same colour or you will see
  675. nothing.
  676. config LCD
  677. bool "Enable legacy LCD support"
  678. help
  679. Define this to enable LCD support (for output to LCD display).
  680. You will also need to select an LCD driver using an additional
  681. CONFIG option. See the README for details. Drives which have been
  682. converted to driver model will instead used CONFIG_DM_VIDEO.
  683. config VIDEO_DW_HDMI
  684. bool
  685. help
  686. Enables the common driver code for the Designware HDMI TX
  687. block found in SoCs from various vendors.
  688. As this does not provide any functionality by itself (but
  689. rather requires a SoC-specific glue driver to call it), it
  690. can not be enabled from the configuration menu.
  691. config VIDEO_DSI_HOST_SANDBOX
  692. bool "Enable sandbox for dsi host"
  693. depends on SANDBOX
  694. select VIDEO_MIPI_DSI
  695. help
  696. Enable support for sandbox dsi host device used for testing
  697. purposes.
  698. Display Serial Interface (DSI) defines a serial bus and
  699. a communication protocol between the host and the device
  700. (panel, bridge).
  701. config VIDEO_DW_MIPI_DSI
  702. bool
  703. select VIDEO_MIPI_DSI
  704. help
  705. Enables the common driver code for the Synopsis Designware
  706. MIPI DSI block found in SoCs from various vendors.
  707. As this does not provide any functionality by itself (but
  708. rather requires a SoC-specific glue driver to call it), it
  709. can not be enabled from the configuration menu.
  710. config VIDEO_SIMPLE
  711. bool "Simple display driver for preconfigured display"
  712. help
  713. Enables a simple generic display driver which utilizes the
  714. simple-framebuffer devicetree bindings.
  715. This driver assumes that the display hardware has been initialized
  716. before u-boot starts, and u-boot will simply render to the pre-
  717. allocated frame buffer surface.
  718. config VIDEO_DT_SIMPLEFB
  719. bool "Enable SimpleFB support for passing framebuffer to OS"
  720. help
  721. Enables the code to pass the framebuffer to the kernel as a
  722. simple framebuffer in the device tree.
  723. The video output is initialized by U-Boot, and kept by the
  724. kernel.
  725. config VIDEO_MCDE_SIMPLE
  726. bool "Simple driver for ST-Ericsson MCDE with preconfigured display"
  727. depends on DM_VIDEO
  728. help
  729. Enables a simple display driver for ST-Ericsson MCDE
  730. (Multichannel Display Engine), which reads the configuration from
  731. the MCDE registers.
  732. This driver assumes that the display hardware has been initialized
  733. before u-boot starts, and u-boot will simply render to the pre-
  734. allocated frame buffer surface.
  735. config OSD
  736. bool "Enable OSD support"
  737. depends on DM
  738. help
  739. This supports drivers that provide a OSD (on-screen display), which
  740. is a (usually text-oriented) graphics buffer to show information on
  741. a display.
  742. config SANDBOX_OSD
  743. bool "Enable sandbox OSD"
  744. depends on OSD
  745. help
  746. Enable support for sandbox OSD device used for testing purposes.
  747. config IHS_VIDEO_OUT
  748. bool "Enable IHS video out driver"
  749. depends on OSD
  750. help
  751. Enable support for the gdsys Integrated Hardware Systems (IHS) video
  752. out On-screen Display (OSD) used on gdsys FPGAs to control dynamic
  753. textual overlays of the display outputs.
  754. config SPLASH_SCREEN
  755. bool "Show a splash-screen image"
  756. help
  757. If this option is set, the environment is checked for a variable
  758. "splashimage". If found, the usual display of logo, copyright and
  759. system information on the LCD is suppressed and the BMP image at the
  760. address specified in "splashimage" is loaded instead. The console is
  761. redirected to the "nulldev", too. This allows for a "silent" boot
  762. where a splash screen is loaded very quickly after power-on.
  763. The splash_screen_prepare() function is a weak function defined in
  764. common/splash.c. It is called as part of the splash screen display
  765. sequence. It gives the board an opportunity to prepare the splash
  766. image data before it is processed and sent to the frame buffer by
  767. U-Boot. Define your own version to use this feature.
  768. config SPLASHIMAGE_GUARD
  769. bool "Support unaligned BMP images"
  770. depends on SPLASH_SCREEN
  771. help
  772. If this option is set, then U-Boot will prevent the environment
  773. variable "splashimage" from being set to a problematic address
  774. (see doc/README.displaying-bmps).
  775. This option is useful for targets where, due to alignment
  776. restrictions, an improperly aligned BMP image will cause a data
  777. abort. If you think you will not have problems with unaligned
  778. accesses (for example because your toolchain prevents them)
  779. there is no need to set this option.
  780. config SPLASH_SCREEN_ALIGN
  781. bool "Allow positioning the splash image anywhere on the display"
  782. depends on SPLASH_SCREEN || CMD_BMP
  783. help
  784. If this option is set the splash image can be freely positioned
  785. on the screen. Environment variable "splashpos" specifies the
  786. position as "x,y". If a positive number is given it is used as
  787. number of pixel from left/top. If a negative number is given it
  788. is used as number of pixel from right/bottom. You can also
  789. specify 'm' for centering the image.
  790. Example:
  791. setenv splashpos m,m
  792. => image at center of screen
  793. setenv splashpos 30,20
  794. => image at x = 30 and y = 20
  795. setenv splashpos -10,m
  796. => vertically centered image
  797. at x = dspWidth - bmpWidth - 9
  798. config SPLASH_SOURCE
  799. bool "Control the source of the splash image"
  800. depends on SPLASH_SCREEN
  801. help
  802. Use the splash_source.c library. This library provides facilities to
  803. declare board specific splash image locations, routines for loading
  804. splash image from supported locations, and a way of controlling the
  805. selected splash location using the "splashsource" environment
  806. variable.
  807. This CONFIG works as follows:
  808. - If splashsource is set to a supported location name as defined by
  809. board code, use that splash location.
  810. - If splashsource is undefined, use the first splash location as
  811. default.
  812. - If splashsource is set to an unsupported value, do not load a splash
  813. screen.
  814. A splash source location can describe either storage with raw data, a
  815. storage formatted with a file system or a FIT image. In case of a
  816. filesystem, the splash screen data is loaded as a file. The name of
  817. the splash screen file can be controlled with the environment variable
  818. "splashfile".
  819. To enable loading the splash image from a FIT image, CONFIG_FIT must
  820. be enabled. The FIT image has to start at the 'offset' field address
  821. in the selected splash location. The name of splash image within the
  822. FIT shall be specified by the environment variable "splashfile".
  823. In case the environment variable "splashfile" is not defined the
  824. default name 'splash.bmp' will be used.
  825. config VIDEO_BMP_GZIP
  826. bool "Gzip compressed BMP image support"
  827. depends on CMD_BMP || SPLASH_SCREEN
  828. help
  829. If this option is set, additionally to standard BMP
  830. images, gzipped BMP images can be displayed via the
  831. splashscreen support or the bmp command.
  832. config VIDEO_BMP_RLE8
  833. bool "Run length encoded BMP image (RLE8) support"
  834. depends on DM_VIDEO || CFB_CONSOLE
  835. help
  836. If this option is set, the 8-bit RLE compressed BMP images
  837. is supported.
  838. config BMP_16BPP
  839. bool "16-bit-per-pixel BMP image support"
  840. depends on DM_VIDEO || LCD
  841. help
  842. Support display of bitmaps file with 16-bit-per-pixel
  843. config BMP_24BPP
  844. bool "24-bit-per-pixel BMP image support"
  845. depends on DM_VIDEO || LCD
  846. help
  847. Support display of bitmaps file with 24-bit-per-pixel.
  848. config BMP_32BPP
  849. bool "32-bit-per-pixel BMP image support"
  850. depends on DM_VIDEO || LCD
  851. help
  852. Support display of bitmaps file with 32-bit-per-pixel.
  853. config VIDEO_VCXK
  854. bool "Enable VCXK video controller driver support"
  855. help
  856. This enables VCXK driver which can be used with VC2K, VC4K
  857. and VC8K devices on various boards from BuS Elektronik GmbH.
  858. endmenu