Kconfig 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768
  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_PWM
  15. bool "Generic PWM based Backlight Driver"
  16. depends on DM_VIDEO && DM_PWM
  17. default y
  18. help
  19. If you have a LCD backlight adjustable by PWM, say Y to enable
  20. this driver.
  21. This driver can be use with "simple-panel" and
  22. it understands the standard device tree
  23. (leds/backlight/pwm-backlight.txt)
  24. config BACKLIGHT_GPIO
  25. bool "Generic GPIO based Backlight Driver"
  26. depends on DM_VIDEO
  27. help
  28. If you have a LCD backlight adjustable by GPIO, say Y to enable
  29. this driver.
  30. This driver can be used with "simple-panel" and
  31. it understands the standard device tree
  32. (leds/backlight/gpio-backlight.txt)
  33. config VIDEO_BPP8
  34. bool "Support 8-bit-per-pixel displays"
  35. depends on DM_VIDEO
  36. default y if SANDBOX || X86
  37. help
  38. Support drawing text and bitmaps onto a 8-bit-per-pixel display.
  39. Enabling this will include code to support this display. Without
  40. this option, such displays will not be supported and console output
  41. will be empty.
  42. config VIDEO_BPP16
  43. bool "Support 16-bit-per-pixel displays"
  44. depends on DM_VIDEO
  45. default y if SANDBOX || X86
  46. help
  47. Support drawing text and bitmaps onto a 16-bit-per-pixel display.
  48. Enabling this will include code to support this display. Without
  49. this option, such displays will not be supported and console output
  50. will be empty.
  51. config VIDEO_BPP32
  52. bool "Support 32-bit-per-pixel displays"
  53. depends on DM_VIDEO
  54. default y if SANDBOX || X86
  55. help
  56. Support drawing text and bitmaps onto a 32-bit-per-pixel display.
  57. Enabling this will include code to support this display. Without
  58. this option, such displays will not be supported and console output
  59. will be empty.
  60. config VIDEO_ANSI
  61. bool "Support ANSI escape sequences in video console"
  62. depends on DM_VIDEO
  63. help
  64. Enable ANSI escape sequence decoding for a more fully functional
  65. console.
  66. config VIDEO_MIPI_DSI
  67. bool "Support MIPI DSI interface"
  68. depends on DM_VIDEO
  69. help
  70. Support MIPI DSI interface for driving a MIPI compatible device.
  71. The MIPI Display Serial Interface (MIPI DSI) defines a high-speed
  72. serial interface between a host processor and a display module.
  73. config CONSOLE_NORMAL
  74. bool "Support a simple text console"
  75. depends on DM_VIDEO
  76. default y if DM_VIDEO
  77. help
  78. Support drawing text on the frame buffer console so that it can be
  79. used as a console. Rotation is not supported by this driver (see
  80. CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used
  81. for the display.
  82. config CONSOLE_ROTATION
  83. bool "Support rotated displays"
  84. depends on DM_VIDEO
  85. help
  86. Sometimes, for example if the display is mounted in portrait
  87. mode or even if it's mounted landscape but rotated by 180degree,
  88. we need to rotate our content of the display relative to the
  89. framebuffer, so that user can read the messages which are
  90. printed out. Enable this option to include a text driver which can
  91. support this. The rotation is set by the 'rot' parameter in
  92. struct video_priv: 0=unrotated, 1=90 degrees clockwise, 2=180
  93. degrees, 3=270 degrees.
  94. config CONSOLE_TRUETYPE
  95. bool "Support a console that uses TrueType fonts"
  96. depends on DM_VIDEO
  97. help
  98. TrueTrype fonts can provide outline-drawing capability rather than
  99. needing to provide a bitmap for each font and size that is needed.
  100. With this option you can adjust the text size and use a variety of
  101. fonts. Note that this is noticeably slower than with normal console.
  102. config CONSOLE_TRUETYPE_SIZE
  103. int "TrueType font size"
  104. depends on CONSOLE_TRUETYPE
  105. default 18
  106. help
  107. This sets the font size for the console. The size is measured in
  108. pixels and is the nominal height of a character. Note that fonts
  109. are commonly measured in 'points', being 1/72 inch (about 3.52mm).
  110. However that measurement depends on the size of your display and
  111. there is no standard display density. At present there is not a
  112. method to select the display's physical size, which would allow
  113. U-Boot to calculate the correct font size.
  114. config SYS_WHITE_ON_BLACK
  115. bool "Display console as white on a black background"
  116. default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || TEGRA || X86 || ARCH_SUNXI
  117. help
  118. Normally the display is black on a white background, Enable this
  119. option to invert this, i.e. white on a black background. This can be
  120. better in low-light situations or to reduce eye strain in some
  121. cases.
  122. config NO_FB_CLEAR
  123. bool "Skip framebuffer clear"
  124. help
  125. If firmware (whatever loads u-boot) has already put a splash image
  126. on screen, you might want to preserve it until whatever u-boot
  127. loads takes over the screen. This, for example, can be used to
  128. keep splash image on screen until grub graphical boot menu starts.
  129. source "drivers/video/fonts/Kconfig"
  130. config VIDCONSOLE_AS_LCD
  131. bool "Use 'vidconsole' when 'lcd' is seen in stdout"
  132. depends on DM_VIDEO
  133. help
  134. This is a work-around for boards which have 'lcd' in their stdout
  135. environment variable, but have moved to use driver model for video.
  136. In this case the console will no-longer work. While it is possible
  137. to update the environment, the breakage may be confusing for users.
  138. This option will be removed around the end of 2016.
  139. config VIDEO_COREBOOT
  140. bool "Enable coreboot framebuffer driver support"
  141. depends on X86 && SYS_COREBOOT
  142. help
  143. Turn on this option to enable a framebuffer driver when U-Boot is
  144. loaded by coreboot where the graphics device is configured by
  145. coreboot already. This can in principle be used with any platform
  146. that coreboot supports.
  147. config VIDEO_EFI
  148. bool "Enable EFI framebuffer driver support"
  149. depends on EFI_STUB
  150. help
  151. Turn on this option to enable a framebuffeer driver when U-Boot is
  152. loaded as a payload (see README.u-boot_on_efi) by an EFI BIOS where
  153. the graphics device is configured by the EFI BIOS already. This can
  154. in principle be used with any platform that has an EFI BIOS.
  155. config VIDEO_VESA
  156. bool "Enable VESA video driver support"
  157. default n
  158. help
  159. Turn on this option to enable a very simple driver which uses vesa
  160. to discover the video mode and then provides a frame buffer for use
  161. by U-Boot. This can in principle be used with any platform that
  162. supports PCI and video cards that support VESA BIOS Extension (VBE).
  163. config FRAMEBUFFER_SET_VESA_MODE
  164. bool "Set framebuffer graphics resolution"
  165. depends on VIDEO_VESA || VIDEO_BROADWELL_IGD
  166. help
  167. Set VESA/native framebuffer mode (needed for bootsplash and graphical
  168. framebuffer console)
  169. choice
  170. prompt "framebuffer graphics resolution"
  171. default FRAMEBUFFER_VESA_MODE_118
  172. depends on FRAMEBUFFER_SET_VESA_MODE
  173. help
  174. This option sets the resolution used for the U-Boot framebuffer (and
  175. bootsplash screen).
  176. config FRAMEBUFFER_VESA_MODE_100
  177. bool "640x400 256-color"
  178. config FRAMEBUFFER_VESA_MODE_101
  179. bool "640x480 256-color"
  180. config FRAMEBUFFER_VESA_MODE_102
  181. bool "800x600 16-color"
  182. config FRAMEBUFFER_VESA_MODE_103
  183. bool "800x600 256-color"
  184. config FRAMEBUFFER_VESA_MODE_104
  185. bool "1024x768 16-color"
  186. config FRAMEBUFFER_VESA_MODE_105
  187. bool "1024x768 256-color"
  188. config FRAMEBUFFER_VESA_MODE_106
  189. bool "1280x1024 16-color"
  190. config FRAMEBUFFER_VESA_MODE_107
  191. bool "1280x1024 256-color"
  192. config FRAMEBUFFER_VESA_MODE_108
  193. bool "80x60 text"
  194. config FRAMEBUFFER_VESA_MODE_109
  195. bool "132x25 text"
  196. config FRAMEBUFFER_VESA_MODE_10A
  197. bool "132x43 text"
  198. config FRAMEBUFFER_VESA_MODE_10B
  199. bool "132x50 text"
  200. config FRAMEBUFFER_VESA_MODE_10C
  201. bool "132x60 text"
  202. config FRAMEBUFFER_VESA_MODE_10D
  203. bool "320x200 32k-color (1:5:5:5)"
  204. config FRAMEBUFFER_VESA_MODE_10E
  205. bool "320x200 64k-color (5:6:5)"
  206. config FRAMEBUFFER_VESA_MODE_10F
  207. bool "320x200 16.8M-color (8:8:8)"
  208. config FRAMEBUFFER_VESA_MODE_110
  209. bool "640x480 32k-color (1:5:5:5)"
  210. config FRAMEBUFFER_VESA_MODE_111
  211. bool "640x480 64k-color (5:6:5)"
  212. config FRAMEBUFFER_VESA_MODE_112
  213. bool "640x480 16.8M-color (8:8:8)"
  214. config FRAMEBUFFER_VESA_MODE_113
  215. bool "800x600 32k-color (1:5:5:5)"
  216. config FRAMEBUFFER_VESA_MODE_114
  217. bool "800x600 64k-color (5:6:5)"
  218. config FRAMEBUFFER_VESA_MODE_115
  219. bool "800x600 16.8M-color (8:8:8)"
  220. config FRAMEBUFFER_VESA_MODE_116
  221. bool "1024x768 32k-color (1:5:5:5)"
  222. config FRAMEBUFFER_VESA_MODE_117
  223. bool "1024x768 64k-color (5:6:5)"
  224. config FRAMEBUFFER_VESA_MODE_118
  225. bool "1024x768 16.8M-color (8:8:8)"
  226. config FRAMEBUFFER_VESA_MODE_119
  227. bool "1280x1024 32k-color (1:5:5:5)"
  228. config FRAMEBUFFER_VESA_MODE_11A
  229. bool "1280x1024 64k-color (5:6:5)"
  230. config FRAMEBUFFER_VESA_MODE_11B
  231. bool "1280x1024 16.8M-color (8:8:8)"
  232. config FRAMEBUFFER_VESA_MODE_USER
  233. bool "Manually select VESA mode"
  234. endchoice
  235. # Map the config names to an integer (KB).
  236. config FRAMEBUFFER_VESA_MODE
  237. prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER
  238. hex
  239. default 0x100 if FRAMEBUFFER_VESA_MODE_100
  240. default 0x101 if FRAMEBUFFER_VESA_MODE_101
  241. default 0x102 if FRAMEBUFFER_VESA_MODE_102
  242. default 0x103 if FRAMEBUFFER_VESA_MODE_103
  243. default 0x104 if FRAMEBUFFER_VESA_MODE_104
  244. default 0x105 if FRAMEBUFFER_VESA_MODE_105
  245. default 0x106 if FRAMEBUFFER_VESA_MODE_106
  246. default 0x107 if FRAMEBUFFER_VESA_MODE_107
  247. default 0x108 if FRAMEBUFFER_VESA_MODE_108
  248. default 0x109 if FRAMEBUFFER_VESA_MODE_109
  249. default 0x10A if FRAMEBUFFER_VESA_MODE_10A
  250. default 0x10B if FRAMEBUFFER_VESA_MODE_10B
  251. default 0x10C if FRAMEBUFFER_VESA_MODE_10C
  252. default 0x10D if FRAMEBUFFER_VESA_MODE_10D
  253. default 0x10E if FRAMEBUFFER_VESA_MODE_10E
  254. default 0x10F if FRAMEBUFFER_VESA_MODE_10F
  255. default 0x110 if FRAMEBUFFER_VESA_MODE_110
  256. default 0x111 if FRAMEBUFFER_VESA_MODE_111
  257. default 0x112 if FRAMEBUFFER_VESA_MODE_112
  258. default 0x113 if FRAMEBUFFER_VESA_MODE_113
  259. default 0x114 if FRAMEBUFFER_VESA_MODE_114
  260. default 0x115 if FRAMEBUFFER_VESA_MODE_115
  261. default 0x116 if FRAMEBUFFER_VESA_MODE_116
  262. default 0x117 if FRAMEBUFFER_VESA_MODE_117
  263. default 0x118 if FRAMEBUFFER_VESA_MODE_118
  264. default 0x119 if FRAMEBUFFER_VESA_MODE_119
  265. default 0x11A if FRAMEBUFFER_VESA_MODE_11A
  266. default 0x11B if FRAMEBUFFER_VESA_MODE_11B
  267. default 0x117 if FRAMEBUFFER_VESA_MODE_USER
  268. config VIDEO_LCD_ANX9804
  269. bool "ANX9804 bridge chip"
  270. default n
  271. ---help---
  272. Support for the ANX9804 bridge chip, which can take pixel data coming
  273. from a parallel LCD interface and translate it on the fy into a DP
  274. interface for driving eDP TFT displays. It uses I2C for configuration.
  275. config VIDEO_LCD_ORISETECH_OTM8009A
  276. bool "OTM8009A DSI LCD panel support"
  277. depends on DM_VIDEO
  278. select VIDEO_MIPI_DSI
  279. default n
  280. help
  281. Say Y here if you want to enable support for Orise Technology
  282. otm8009a 480x800 dsi 2dl panel.
  283. config VIDEO_LCD_RAYDIUM_RM68200
  284. bool "RM68200 DSI LCD panel support"
  285. depends on DM_VIDEO
  286. select VIDEO_MIPI_DSI
  287. default n
  288. help
  289. Say Y here if you want to enable support for Raydium RM68200
  290. 720x1280 DSI video mode panel.
  291. config VIDEO_LCD_SSD2828
  292. bool "SSD2828 bridge chip"
  293. default n
  294. ---help---
  295. Support for the SSD2828 bridge chip, which can take pixel data coming
  296. from a parallel LCD interface and translate it on the fly into MIPI DSI
  297. interface for driving a MIPI compatible LCD panel. It uses SPI for
  298. configuration.
  299. config VIDEO_LCD_SSD2828_TX_CLK
  300. int "SSD2828 TX_CLK frequency (in MHz)"
  301. depends on VIDEO_LCD_SSD2828
  302. default 0
  303. ---help---
  304. The frequency of the crystal, which is clocking SSD2828. It may be
  305. anything in the 8MHz-30MHz range and the exact value should be
  306. retrieved from the board schematics. Or in the case of Allwinner
  307. hardware, it can be usually found as 'lcd_xtal_freq' variable in
  308. FEX files. It can be also set to 0 for selecting PCLK from the
  309. parallel LCD interface instead of TX_CLK as the PLL clock source.
  310. config VIDEO_LCD_SSD2828_RESET
  311. string "RESET pin of SSD2828"
  312. depends on VIDEO_LCD_SSD2828
  313. default ""
  314. ---help---
  315. The reset pin of SSD2828 chip. This takes a string in the format
  316. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  317. config VIDEO_LCD_HITACHI_TX18D42VM
  318. bool "Hitachi tx18d42vm LVDS LCD panel support"
  319. depends on VIDEO
  320. default n
  321. ---help---
  322. Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a
  323. lcd controller which needs to be initialized over SPI, once that is
  324. done they work like a regular LVDS panel.
  325. config VIDEO_LCD_SPI_CS
  326. string "SPI CS pin for LCD related config job"
  327. depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
  328. default ""
  329. ---help---
  330. This is one of the SPI communication pins, involved in setting up a
  331. working LCD configuration. The exact role of SPI may differ for
  332. different hardware setups. The option takes a string in the format
  333. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  334. config VIDEO_LCD_SPI_SCLK
  335. string "SPI SCLK pin for LCD related config job"
  336. depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
  337. default ""
  338. ---help---
  339. This is one of the SPI communication pins, involved in setting up a
  340. working LCD configuration. The exact role of SPI may differ for
  341. different hardware setups. The option takes a string in the format
  342. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  343. config VIDEO_LCD_SPI_MOSI
  344. string "SPI MOSI pin for LCD related config job"
  345. depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
  346. default ""
  347. ---help---
  348. This is one of the SPI communication pins, involved in setting up a
  349. working LCD configuration. The exact role of SPI may differ for
  350. different hardware setups. The option takes a string in the format
  351. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  352. config VIDEO_LCD_SPI_MISO
  353. string "SPI MISO pin for LCD related config job (optional)"
  354. depends on VIDEO_LCD_SSD2828
  355. default ""
  356. ---help---
  357. This is one of the SPI communication pins, involved in setting up a
  358. working LCD configuration. The exact role of SPI may differ for
  359. different hardware setups. If wired up, this pin may provide additional
  360. useful functionality. Such as bi-directional communication with the
  361. hardware and LCD panel id retrieval (if the panel can report it). The
  362. option takes a string in the format understood by 'name_to_gpio'
  363. function, e.g. PH1 for pin 1 of port H.
  364. source "drivers/video/meson/Kconfig"
  365. config VIDEO_MVEBU
  366. bool "Armada XP LCD controller"
  367. default n
  368. ---help---
  369. Support for the LCD controller integrated in the Marvell
  370. Armada XP SoC.
  371. config VIDEO_OMAP3
  372. bool "Enable OMAP3+ DSS Support"
  373. depends on ARCH_OMAP2PLUS
  374. help
  375. This enables the Display subsystem (DSS) on OMAP3+ boards.
  376. config I2C_EDID
  377. bool "Enable EDID library"
  378. default n
  379. help
  380. This enables library for accessing EDID data from an LCD panel.
  381. config DISPLAY
  382. bool "Enable Display support"
  383. depends on DM
  384. default n
  385. select I2C_EDID
  386. help
  387. This supports drivers that provide a display, such as eDP (Embedded
  388. DisplayPort) and HDMI (High Definition Multimedia Interface).
  389. The devices provide a simple interface to start up the display,
  390. read display information and enable it.
  391. config NXP_TDA19988
  392. bool "Enable NXP TDA19988 support"
  393. depends on DISPLAY
  394. default n
  395. help
  396. This enables support for the NXP TDA19988 HDMI encoder. This encoder
  397. will convert RGB data streams into HDMI-encoded signals.
  398. config ATMEL_HLCD
  399. bool "Enable ATMEL video support using HLCDC"
  400. depends on DM_VIDEO
  401. help
  402. HLCDC supports video output to an attached LCD panel.
  403. config LOGICORE_DP_TX
  404. bool "Enable Logicore DP TX driver"
  405. depends on DISPLAY
  406. help
  407. Enable the driver for the transmitter part of the Xilinx LogiCORE
  408. DisplayPort, a IP core for Xilinx FPGAs that implements a DisplayPort
  409. video interface as defined by VESA DisplayPort v1.2.
  410. Note that this is a pure transmitter device, and has no display
  411. capabilities by itself.
  412. config VIDEO_BROADWELL_IGD
  413. bool "Enable Intel Broadwell integrated graphics device"
  414. depends on X86
  415. help
  416. This enables support for integrated graphics on Intel broadwell
  417. devices. Initialisation is mostly performed by a VGA boot ROM, with
  418. some setup handled by U-Boot itself. The graphics adaptor works as
  419. a VESA device and supports LCD panels, eDP and LVDS outputs.
  420. Configuration of most aspects of device operation is performed using
  421. a special tool which configures the VGA ROM, but the graphics
  422. resolution can be selected in U-Boot.
  423. config VIDEO_IVYBRIDGE_IGD
  424. bool "Enable Intel Ivybridge integration graphics support"
  425. depends on X86
  426. help
  427. This enables support for integrated graphics on Intel ivybridge
  428. devices. Initialisation is mostly performed by a VGA boot ROM, with
  429. some setup handled by U-Boot itself. The graphics adaptor works as
  430. a VESA device and supports LCD panels, eDP and LVDS outputs.
  431. Configuration of most aspects of device operation is performed using
  432. a special tool which configures the VGA ROM, but the graphics
  433. resolution can be selected in U-Boot.
  434. config VIDEO_FSL_DCU_FB
  435. bool "Enable Freescale Display Control Unit"
  436. depends on VIDEO || DM_VIDEO
  437. help
  438. This enables support for Freescale Display Control Unit (DCU4)
  439. module found on Freescale Vybrid and QorIQ family of SoCs.
  440. config VIDEO_FSL_DCU_MAX_FB_SIZE_MB
  441. int "Freescale DCU framebuffer size"
  442. depends on VIDEO_FSL_DCU_FB
  443. default 4194304
  444. help
  445. Set maximum framebuffer size to be used for Freescale Display
  446. Controller Unit (DCU4).
  447. source "drivers/video/rockchip/Kconfig"
  448. config VIDEO_ARM_MALIDP
  449. bool "Enable Arm Mali Display Processor support"
  450. depends on DM_VIDEO && OF_CONTROL
  451. select VEXPRESS_CLK
  452. help
  453. This enables support for Arm Ltd Mali Display Processors from
  454. the DP500, DP550 and DP650 family.
  455. config VIDEO_SANDBOX_SDL
  456. bool "Enable sandbox video console using SDL"
  457. depends on SANDBOX
  458. help
  459. When using sandbox you can enable an emulated LCD display which
  460. appears as an SDL (Simple DirectMedia Layer) window. This is a
  461. console device and can display stdout output. Within U-Boot is is
  462. a normal bitmap display and can display images as well as text.
  463. source "drivers/video/stm32/Kconfig"
  464. config VIDEO_TEGRA20
  465. bool "Enable LCD support on Tegra20"
  466. depends on OF_CONTROL
  467. help
  468. Tegra20 supports video output to an attached LCD panel as well as
  469. other options such as HDMI. Only the LCD is supported in U-Boot.
  470. This option enables this support which can be used on devices which
  471. have an LCD display connected.
  472. config VIDEO_TEGRA124
  473. bool "Enable video support on Tegra124"
  474. depends on DM_VIDEO
  475. help
  476. Tegra124 supports many video output options including eDP and
  477. HDMI. At present only eDP is supported by U-Boot. This option
  478. enables this support which can be used on devices which
  479. have an eDP display connected.
  480. source "drivers/video/bridge/Kconfig"
  481. source "drivers/video/imx/Kconfig"
  482. config VIDEO
  483. bool "Enable legacy video support"
  484. depends on !DM_VIDEO
  485. help
  486. Define this for video support, without using driver model. Some
  487. drivers use this because they are not yet converted to driver
  488. model. Video drivers typically provide a colour text console and
  489. cursor.
  490. config CFB_CONSOLE
  491. bool "Enable colour frame buffer console"
  492. depends on VIDEO
  493. default y if VIDEO
  494. help
  495. Enables the colour frame buffer driver. This supports colour
  496. output on a bitmap display from an in-memory frame buffer.
  497. Several colour devices are supported along with various options to
  498. adjust the supported features. The driver is implemented in
  499. cfb_console.c
  500. The following defines are needed (cf. smiLynxEM, i8042)
  501. VIDEO_FB_LITTLE_ENDIAN graphic memory organisation
  502. (default big endian)
  503. VIDEO_HW_RECTFILL graphic chip supports
  504. rectangle fill (cf. smiLynxEM)
  505. VIDEO_HW_BITBLT graphic chip supports
  506. bit-blit (cf. smiLynxEM)
  507. VIDEO_VISIBLE_COLS visible pixel columns (cols=pitch)
  508. VIDEO_VISIBLE_ROWS visible pixel rows
  509. VIDEO_PIXEL_SIZE bytes per pixel
  510. VIDEO_DATA_FORMAT graphic data format
  511. (0-5, cf. cfb_console.c)
  512. VIDEO_FB_ADRS framebuffer address
  513. VIDEO_KBD_INIT_FCT keyboard int fct (i.e. rx51_kp_init())
  514. VIDEO_TSTC_FCT test char fct (i.e. rx51_kp_tstc)
  515. VIDEO_GETC_FCT get char fct (i.e. rx51_kp_getc)
  516. CONFIG_VIDEO_LOGO display Linux logo in upper left corner
  517. CONFIG_VIDEO_BMP_LOGO use bmp_logo.h instead of linux_logo.h
  518. for logo. Requires CONFIG_VIDEO_LOGO
  519. CONFIG_CONSOLE_EXTRA_INFO
  520. additional board info beside
  521. the logo
  522. CONFIG_HIDE_LOGO_VERSION
  523. do not display bootloader
  524. version string
  525. When CONFIG_CFB_CONSOLE is defined, the video console is the
  526. default console. The serial console can be forced by setting the
  527. environment 'console=serial'.
  528. config CFB_CONSOLE_ANSI
  529. bool "Support ANSI escape sequences"
  530. depends on CFB_CONSOLE
  531. help
  532. This allows the colour buffer frame buffer driver to support
  533. a limited number of ANSI escape sequences (cursor control,
  534. erase functions and limited graphics rendition control). Normal
  535. output from U-Boot will pass through this filter.
  536. config VGA_AS_SINGLE_DEVICE
  537. bool "Set the video as an output-only device"
  538. depends on CFB_CONSOLE
  539. default y
  540. help
  541. If enable the framebuffer device will be initialized as an
  542. output-only device. The Keyboard driver will not be set up. This
  543. may be used if you have no keyboard device, or more than one
  544. (USB Keyboard, AT Keyboard).
  545. config VIDEO_SW_CURSOR
  546. bool "Enable a software cursor"
  547. depends on CFB_CONSOLE
  548. default y if CFB_CONSOLE
  549. help
  550. This draws a cursor after the last character. No blinking is
  551. provided. This makes it possible to see the current cursor
  552. position when entering text on the console. It is recommended to
  553. enable this.
  554. config CONSOLE_EXTRA_INFO
  555. bool "Display additional board information"
  556. depends on CFB_CONSOLE
  557. help
  558. Display additional board information strings that normally go to
  559. the serial port. When this option is enabled, a board-specific
  560. function video_get_info_str() is called to get the string for
  561. each line of the display. The function should return the string,
  562. which can be empty if there is nothing to display for that line.
  563. config CONSOLE_SCROLL_LINES
  564. int "Number of lines to scroll the console by"
  565. depends on CFB_CONSOLE || DM_VIDEO || LCD
  566. default 1
  567. help
  568. When the console need to be scrolled, this is the number of
  569. lines to scroll by. It defaults to 1. Increasing this makes the
  570. console jump but can help speed up operation when scrolling
  571. is slow.
  572. config SYS_CONSOLE_BG_COL
  573. hex "Background colour"
  574. depends on CFB_CONSOLE
  575. default 0x00
  576. help
  577. Defines the background colour for the console. The value is from
  578. 0x00 to 0xff and the meaning depends on the graphics card.
  579. Typically, 0x00 means black and 0xff means white. Do not set
  580. the background and foreground to the same colour or you will see
  581. nothing.
  582. config SYS_CONSOLE_FG_COL
  583. hex "Foreground colour"
  584. depends on CFB_CONSOLE
  585. default 0xa0
  586. help
  587. Defines the foreground colour for the console. The value is from
  588. 0x00 to 0xff and the meaning depends on the graphics card.
  589. Typically, 0x00 means black and 0xff means white. Do not set
  590. the background and foreground to the same colour or you will see
  591. nothing.
  592. config LCD
  593. bool "Enable legacy LCD support"
  594. help
  595. Define this to enable LCD support (for output to LCD display).
  596. You will also need to select an LCD driver using an additional
  597. CONFIG option. See the README for details. Drives which have been
  598. converted to driver model will instead used CONFIG_DM_VIDEO.
  599. config VIDEO_DW_HDMI
  600. bool
  601. help
  602. Enables the common driver code for the Designware HDMI TX
  603. block found in SoCs from various vendors.
  604. As this does not provide any functionality by itself (but
  605. rather requires a SoC-specific glue driver to call it), it
  606. can not be enabled from the configuration menu.
  607. config VIDEO_DSI_HOST_SANDBOX
  608. bool "Enable sandbox for dsi host"
  609. depends on SANDBOX
  610. select VIDEO_MIPI_DSI
  611. help
  612. Enable support for sandbox dsi host device used for testing
  613. purposes.
  614. Display Serial Interface (DSI) defines a serial bus and
  615. a communication protocol between the host and the device
  616. (panel, bridge).
  617. config VIDEO_DW_MIPI_DSI
  618. bool
  619. select VIDEO_MIPI_DSI
  620. help
  621. Enables the common driver code for the Synopsis Designware
  622. MIPI DSI block found in SoCs from various vendors.
  623. As this does not provide any functionality by itself (but
  624. rather requires a SoC-specific glue driver to call it), it
  625. can not be enabled from the configuration menu.
  626. config VIDEO_SIMPLE
  627. bool "Simple display driver for preconfigured display"
  628. help
  629. Enables a simple generic display driver which utilizes the
  630. simple-framebuffer devicetree bindings.
  631. This driver assumes that the display hardware has been initialized
  632. before u-boot starts, and u-boot will simply render to the pre-
  633. allocated frame buffer surface.
  634. config VIDEO_DT_SIMPLEFB
  635. bool "Enable SimpleFB support for passing framebuffer to OS"
  636. help
  637. Enables the code to pass the framebuffer to the kernel as a
  638. simple framebuffer in the device tree.
  639. The video output is initialized by U-Boot, and kept by the
  640. kernel.
  641. config OSD
  642. bool "Enable OSD support"
  643. depends on DM
  644. default n
  645. help
  646. This supports drivers that provide a OSD (on-screen display), which
  647. is a (usually text-oriented) graphics buffer to show information on
  648. a display.
  649. config SANDBOX_OSD
  650. bool "Enable sandbox OSD"
  651. depends on OSD
  652. help
  653. Enable support for sandbox OSD device used for testing purposes.
  654. config IHS_VIDEO_OUT
  655. bool "Enable IHS video out driver"
  656. depends on OSD
  657. help
  658. Enable support for the gdsys Integrated Hardware Systems (IHS) video
  659. out On-screen Display (OSD) used on gdsys FPGAs to control dynamic
  660. textual overlays of the display outputs.
  661. endmenu