Kconfig 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741
  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 DM_VIDEO
  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 DM_VIDEO
  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 DM_VIDEO
  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 if DM_VIDEO
  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 || 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_SSD2828
  277. bool "SSD2828 bridge chip"
  278. default n
  279. ---help---
  280. Support for the SSD2828 bridge chip, which can take pixel data coming
  281. from a parallel LCD interface and translate it on the fly into MIPI DSI
  282. interface for driving a MIPI compatible LCD panel. It uses SPI for
  283. configuration.
  284. config VIDEO_LCD_SSD2828_TX_CLK
  285. int "SSD2828 TX_CLK frequency (in MHz)"
  286. depends on VIDEO_LCD_SSD2828
  287. default 0
  288. ---help---
  289. The frequency of the crystal, which is clocking SSD2828. It may be
  290. anything in the 8MHz-30MHz range and the exact value should be
  291. retrieved from the board schematics. Or in the case of Allwinner
  292. hardware, it can be usually found as 'lcd_xtal_freq' variable in
  293. FEX files. It can be also set to 0 for selecting PCLK from the
  294. parallel LCD interface instead of TX_CLK as the PLL clock source.
  295. config VIDEO_LCD_SSD2828_RESET
  296. string "RESET pin of SSD2828"
  297. depends on VIDEO_LCD_SSD2828
  298. default ""
  299. ---help---
  300. The reset pin of SSD2828 chip. This takes a string in the format
  301. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  302. config VIDEO_LCD_HITACHI_TX18D42VM
  303. bool "Hitachi tx18d42vm LVDS LCD panel support"
  304. depends on VIDEO
  305. default n
  306. ---help---
  307. Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a
  308. lcd controller which needs to be initialized over SPI, once that is
  309. done they work like a regular LVDS panel.
  310. config VIDEO_LCD_SPI_CS
  311. string "SPI CS pin for LCD related config job"
  312. depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
  313. default ""
  314. ---help---
  315. This is one of the SPI communication pins, involved in setting up a
  316. working LCD configuration. The exact role of SPI may differ for
  317. different hardware setups. The option takes a string in the format
  318. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  319. config VIDEO_LCD_SPI_SCLK
  320. string "SPI SCLK pin for LCD related config job"
  321. depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
  322. default ""
  323. ---help---
  324. This is one of the SPI communication pins, involved in setting up a
  325. working LCD configuration. The exact role of SPI may differ for
  326. different hardware setups. The option takes a string in the format
  327. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  328. config VIDEO_LCD_SPI_MOSI
  329. string "SPI MOSI pin for LCD related config job"
  330. depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
  331. default ""
  332. ---help---
  333. This is one of the SPI communication pins, involved in setting up a
  334. working LCD configuration. The exact role of SPI may differ for
  335. different hardware setups. The option takes a string in the format
  336. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  337. config VIDEO_LCD_SPI_MISO
  338. string "SPI MISO pin for LCD related config job (optional)"
  339. depends on VIDEO_LCD_SSD2828
  340. default ""
  341. ---help---
  342. This is one of the SPI communication pins, involved in setting up a
  343. working LCD configuration. The exact role of SPI may differ for
  344. different hardware setups. If wired up, this pin may provide additional
  345. useful functionality. Such as bi-directional communication with the
  346. hardware and LCD panel id retrieval (if the panel can report it). The
  347. option takes a string in the format understood by 'name_to_gpio'
  348. function, e.g. PH1 for pin 1 of port H.
  349. source "drivers/video/meson/Kconfig"
  350. config VIDEO_MVEBU
  351. bool "Armada XP LCD controller"
  352. default n
  353. ---help---
  354. Support for the LCD controller integrated in the Marvell
  355. Armada XP SoC.
  356. config VIDEO_OMAP3
  357. bool "Enable OMAP3+ DSS Support"
  358. depends on ARCH_OMAP2PLUS
  359. help
  360. This enables the Display subsystem (DSS) on OMAP3+ boards.
  361. config I2C_EDID
  362. bool "Enable EDID library"
  363. default n
  364. help
  365. This enables library for accessing EDID data from an LCD panel.
  366. config DISPLAY
  367. bool "Enable Display support"
  368. depends on DM
  369. default n
  370. select I2C_EDID
  371. help
  372. This supports drivers that provide a display, such as eDP (Embedded
  373. DisplayPort) and HDMI (High Definition Multimedia Interface).
  374. The devices provide a simple interface to start up the display,
  375. read display information and enable it.
  376. config NXP_TDA19988
  377. bool "Enable NXP TDA19988 support"
  378. depends on DISPLAY
  379. default n
  380. help
  381. This enables support for the NXP TDA19988 HDMI encoder. This encoder
  382. will convert RGB data streams into HDMI-encoded signals.
  383. config ATMEL_HLCD
  384. bool "Enable ATMEL video support using HLCDC"
  385. depends on DM_VIDEO
  386. help
  387. HLCDC supports video output to an attached LCD panel.
  388. config LOGICORE_DP_TX
  389. bool "Enable Logicore DP TX driver"
  390. depends on DISPLAY
  391. help
  392. Enable the driver for the transmitter part of the Xilinx LogiCORE
  393. DisplayPort, a IP core for Xilinx FPGAs that implements a DisplayPort
  394. video interface as defined by VESA DisplayPort v1.2.
  395. Note that this is a pure transmitter device, and has no display
  396. capabilities by itself.
  397. config VIDEO_BROADWELL_IGD
  398. bool "Enable Intel Broadwell integrated graphics device"
  399. depends on X86
  400. help
  401. This enables support for integrated graphics on Intel broadwell
  402. devices. Initialisation is mostly performed by a VGA boot ROM, with
  403. some setup handled by U-Boot itself. The graphics adaptor works as
  404. a VESA device and supports LCD panels, eDP and LVDS outputs.
  405. Configuration of most aspects of device operation is performed using
  406. a special tool which configures the VGA ROM, but the graphics
  407. resolution can be selected in U-Boot.
  408. config VIDEO_IVYBRIDGE_IGD
  409. bool "Enable Intel Ivybridge integration graphics support"
  410. depends on X86
  411. help
  412. This enables support for integrated graphics on Intel ivybridge
  413. devices. Initialisation is mostly performed by a VGA boot ROM, with
  414. some setup handled by U-Boot itself. The graphics adaptor works as
  415. a VESA device and supports LCD panels, eDP and LVDS outputs.
  416. Configuration of most aspects of device operation is performed using
  417. a special tool which configures the VGA ROM, but the graphics
  418. resolution can be selected in U-Boot.
  419. config VIDEO_FSL_DCU_FB
  420. bool "Enable Freescale Display Control Unit"
  421. depends on VIDEO || DM_VIDEO
  422. help
  423. This enables support for Freescale Display Control Unit (DCU4)
  424. module found on Freescale Vybrid and QorIQ family of SoCs.
  425. config VIDEO_FSL_DCU_MAX_FB_SIZE_MB
  426. int "Freescale DCU framebuffer size"
  427. depends on VIDEO_FSL_DCU_FB
  428. default 4194304
  429. help
  430. Set maximum framebuffer size to be used for Freescale Display
  431. Controller Unit (DCU4).
  432. source "drivers/video/rockchip/Kconfig"
  433. config VIDEO_ARM_MALIDP
  434. bool "Enable Arm Mali Display Processor support"
  435. depends on DM_VIDEO && OF_CONTROL
  436. select VEXPRESS_CLK
  437. help
  438. This enables support for Arm Ltd Mali Display Processors from
  439. the DP500, DP550 and DP650 family.
  440. config VIDEO_SANDBOX_SDL
  441. bool "Enable sandbox video console using SDL"
  442. depends on SANDBOX
  443. help
  444. When using sandbox you can enable an emulated LCD display which
  445. appears as an SDL (Simple DirectMedia Layer) window. This is a
  446. console device and can display stdout output. Within U-Boot is is
  447. a normal bitmap display and can display images as well as text.
  448. source "drivers/video/stm32/Kconfig"
  449. config VIDEO_TEGRA20
  450. bool "Enable LCD support on Tegra20"
  451. depends on OF_CONTROL
  452. help
  453. Tegra20 supports video output to an attached LCD panel as well as
  454. other options such as HDMI. Only the LCD is supported in U-Boot.
  455. This option enables this support which can be used on devices which
  456. have an LCD display connected.
  457. config VIDEO_TEGRA124
  458. bool "Enable video support on Tegra124"
  459. depends on DM_VIDEO
  460. help
  461. Tegra124 supports many video output options including eDP and
  462. HDMI. At present only eDP is supported by U-Boot. This option
  463. enables this support which can be used on devices which
  464. have an eDP display connected.
  465. source "drivers/video/bridge/Kconfig"
  466. source "drivers/video/imx/Kconfig"
  467. config VIDEO
  468. bool "Enable legacy video support"
  469. depends on !DM_VIDEO
  470. help
  471. Define this for video support, without using driver model. Some
  472. drivers use this because they are not yet converted to driver
  473. model. Video drivers typically provide a colour text console and
  474. cursor.
  475. config CFB_CONSOLE
  476. bool "Enable colour frame buffer console"
  477. depends on VIDEO
  478. default y if VIDEO
  479. help
  480. Enables the colour frame buffer driver. This supports colour
  481. output on a bitmap display from an in-memory frame buffer.
  482. Several colour devices are supported along with various options to
  483. adjust the supported features. The driver is implemented in
  484. cfb_console.c
  485. The following defines are needed (cf. smiLynxEM, i8042)
  486. VIDEO_FB_LITTLE_ENDIAN graphic memory organisation
  487. (default big endian)
  488. VIDEO_HW_RECTFILL graphic chip supports
  489. rectangle fill (cf. smiLynxEM)
  490. VIDEO_HW_BITBLT graphic chip supports
  491. bit-blit (cf. smiLynxEM)
  492. VIDEO_VISIBLE_COLS visible pixel columns (cols=pitch)
  493. VIDEO_VISIBLE_ROWS visible pixel rows
  494. VIDEO_PIXEL_SIZE bytes per pixel
  495. VIDEO_DATA_FORMAT graphic data format
  496. (0-5, cf. cfb_console.c)
  497. VIDEO_FB_ADRS framebuffer address
  498. VIDEO_KBD_INIT_FCT keyboard int fct (i.e. rx51_kp_init())
  499. VIDEO_TSTC_FCT test char fct (i.e. rx51_kp_tstc)
  500. VIDEO_GETC_FCT get char fct (i.e. rx51_kp_getc)
  501. CONFIG_VIDEO_LOGO display Linux logo in upper left corner
  502. CONFIG_VIDEO_BMP_LOGO use bmp_logo.h instead of linux_logo.h
  503. for logo. Requires CONFIG_VIDEO_LOGO
  504. CONFIG_CONSOLE_EXTRA_INFO
  505. additional board info beside
  506. the logo
  507. CONFIG_HIDE_LOGO_VERSION
  508. do not display bootloader
  509. version string
  510. When CONFIG_CFB_CONSOLE is defined, the video console is the
  511. default console. The serial console can be forced by setting the
  512. environment 'console=serial'.
  513. config CFB_CONSOLE_ANSI
  514. bool "Support ANSI escape sequences"
  515. depends on CFB_CONSOLE
  516. help
  517. This allows the colour buffer frame buffer driver to support
  518. a limited number of ANSI escape sequences (cursor control,
  519. erase functions and limited graphics rendition control). Normal
  520. output from U-Boot will pass through this filter.
  521. config VGA_AS_SINGLE_DEVICE
  522. bool "Set the video as an output-only device"
  523. depends on CFB_CONSOLE
  524. default y
  525. help
  526. If enable the framebuffer device will be initialized as an
  527. output-only device. The Keyboard driver will not be set up. This
  528. may be used if you have no keyboard device, or more than one
  529. (USB Keyboard, AT Keyboard).
  530. config VIDEO_SW_CURSOR
  531. bool "Enable a software cursor"
  532. depends on CFB_CONSOLE
  533. default y if CFB_CONSOLE
  534. help
  535. This draws a cursor after the last character. No blinking is
  536. provided. This makes it possible to see the current cursor
  537. position when entering text on the console. It is recommended to
  538. enable this.
  539. config CONSOLE_EXTRA_INFO
  540. bool "Display additional board information"
  541. depends on CFB_CONSOLE
  542. help
  543. Display additional board information strings that normally go to
  544. the serial port. When this option is enabled, a board-specific
  545. function video_get_info_str() is called to get the string for
  546. each line of the display. The function should return the string,
  547. which can be empty if there is nothing to display for that line.
  548. config CONSOLE_SCROLL_LINES
  549. int "Number of lines to scroll the console by"
  550. depends on CFB_CONSOLE || DM_VIDEO || LCD
  551. default 1
  552. help
  553. When the console need to be scrolled, this is the number of
  554. lines to scroll by. It defaults to 1. Increasing this makes the
  555. console jump but can help speed up operation when scrolling
  556. is slow.
  557. config SYS_CONSOLE_BG_COL
  558. hex "Background colour"
  559. depends on CFB_CONSOLE
  560. default 0x00
  561. help
  562. Defines the background colour for the console. The value is from
  563. 0x00 to 0xff and the meaning depends on the graphics card.
  564. Typically, 0x00 means black and 0xff means white. Do not set
  565. the background and foreground to the same colour or you will see
  566. nothing.
  567. config SYS_CONSOLE_FG_COL
  568. hex "Foreground colour"
  569. depends on CFB_CONSOLE
  570. default 0xa0
  571. help
  572. Defines the foreground colour for the console. The value is from
  573. 0x00 to 0xff and the meaning depends on the graphics card.
  574. Typically, 0x00 means black and 0xff means white. Do not set
  575. the background and foreground to the same colour or you will see
  576. nothing.
  577. config LCD
  578. bool "Enable legacy LCD support"
  579. help
  580. Define this to enable LCD support (for output to LCD display).
  581. You will also need to select an LCD driver using an additional
  582. CONFIG option. See the README for details. Drives which have been
  583. converted to driver model will instead used CONFIG_DM_VIDEO.
  584. config VIDEO_DW_HDMI
  585. bool
  586. help
  587. Enables the common driver code for the Designware HDMI TX
  588. block found in SoCs from various vendors.
  589. As this does not provide any functionality by itself (but
  590. rather requires a SoC-specific glue driver to call it), it
  591. can not be enabled from the configuration menu.
  592. config VIDEO_DSI_HOST_SANDBOX
  593. bool "Enable sandbox for dsi host"
  594. depends on SANDBOX
  595. select VIDEO_MIPI_DSI
  596. help
  597. Enable support for sandbox dsi host device used for testing
  598. purposes.
  599. Display Serial Interface (DSI) defines a serial bus and
  600. a communication protocol between the host and the device
  601. (panel, bridge).
  602. config VIDEO_SIMPLE
  603. bool "Simple display driver for preconfigured display"
  604. help
  605. Enables a simple generic display driver which utilizes the
  606. simple-framebuffer devicetree bindings.
  607. This driver assumes that the display hardware has been initialized
  608. before u-boot starts, and u-boot will simply render to the pre-
  609. allocated frame buffer surface.
  610. config VIDEO_DT_SIMPLEFB
  611. bool "Enable SimpleFB support for passing framebuffer to OS"
  612. help
  613. Enables the code to pass the framebuffer to the kernel as a
  614. simple framebuffer in the device tree.
  615. The video output is initialized by U-Boot, and kept by the
  616. kernel.
  617. config OSD
  618. bool "Enable OSD support"
  619. depends on DM
  620. default n
  621. help
  622. This supports drivers that provide a OSD (on-screen display), which
  623. is a (usually text-oriented) graphics buffer to show information on
  624. a display.
  625. config SANDBOX_OSD
  626. bool "Enable sandbox OSD"
  627. depends on OSD
  628. help
  629. Enable support for sandbox OSD device used for testing purposes.
  630. config IHS_VIDEO_OUT
  631. bool "Enable IHS video out driver"
  632. depends on OSD
  633. help
  634. Enable support for the gdsys Integrated Hardware Systems (IHS) video
  635. out On-screen Display (OSD) used on gdsys FPGAs to control dynamic
  636. textual overlays of the display outputs.
  637. endmenu