Kconfig 25 KB

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