Kconfig 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776
  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. help
  37. Support drawing text and bitmaps onto a 8-bit-per-pixel display.
  38. Enabling this will include code to support this display. Without
  39. this option, such displays will not be supported and console output
  40. will be empty.
  41. config VIDEO_BPP16
  42. bool "Support 16-bit-per-pixel displays"
  43. depends on DM_VIDEO
  44. help
  45. Support drawing text and bitmaps onto a 16-bit-per-pixel display.
  46. Enabling this will include code to support this display. Without
  47. this option, such displays will not be supported and console output
  48. will be empty.
  49. config VIDEO_BPP32
  50. bool "Support 32-bit-per-pixel displays"
  51. depends on DM_VIDEO
  52. default y if X86
  53. help
  54. Support drawing text and bitmaps onto a 32-bit-per-pixel display.
  55. Enabling this will include code to support this display. Without
  56. this option, such displays will not be supported and console output
  57. will be empty.
  58. config VIDEO_ANSI
  59. bool "Support ANSI escape sequences in video console"
  60. depends on DM_VIDEO
  61. help
  62. Enable ANSI escape sequence decoding for a more fully functional
  63. console.
  64. config VIDEO_MIPI_DSI
  65. bool "Support MIPI DSI interface"
  66. depends on DM_VIDEO
  67. help
  68. Support MIPI DSI interface for driving a MIPI compatible device.
  69. The MIPI Display Serial Interface (MIPI DSI) defines a high-speed
  70. serial interface between a host processor and a display module.
  71. config CONSOLE_NORMAL
  72. bool "Support a simple text console"
  73. depends on DM_VIDEO
  74. default y if DM_VIDEO
  75. help
  76. Support drawing text on the frame buffer console so that it can be
  77. used as a console. Rotation is not supported by this driver (see
  78. CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used
  79. for the display.
  80. config CONSOLE_ROTATION
  81. bool "Support rotated displays"
  82. depends on DM_VIDEO
  83. help
  84. Sometimes, for example if the display is mounted in portrait
  85. mode or even if it's mounted landscape but rotated by 180degree,
  86. we need to rotate our content of the display relative to the
  87. framebuffer, so that user can read the messages which are
  88. printed out. Enable this option to include a text driver which can
  89. support this. The rotation is set by the 'rot' parameter in
  90. struct video_priv: 0=unrotated, 1=90 degrees clockwise, 2=180
  91. degrees, 3=270 degrees.
  92. config CONSOLE_TRUETYPE
  93. bool "Support a console that uses TrueType fonts"
  94. depends on DM_VIDEO
  95. help
  96. TrueTrype fonts can provide outline-drawing capability rather than
  97. needing to provide a bitmap for each font and size that is needed.
  98. With this option you can adjust the text size and use a variety of
  99. fonts. Note that this is noticeably slower than with normal console.
  100. config CONSOLE_TRUETYPE_SIZE
  101. int "TrueType font size"
  102. depends on CONSOLE_TRUETYPE
  103. default 18
  104. help
  105. This sets the font size for the console. The size is measured in
  106. pixels and is the nominal height of a character. Note that fonts
  107. are commonly measured in 'points', being 1/72 inch (about 3.52mm).
  108. However that measurement depends on the size of your display and
  109. there is no standard display density. At present there is not a
  110. method to select the display's physical size, which would allow
  111. U-Boot to calculate the correct font size.
  112. config SYS_WHITE_ON_BLACK
  113. bool "Display console as white on a black background"
  114. default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || TEGRA || X86 || ARCH_SUNXI
  115. help
  116. Normally the display is black on a white background, Enable this
  117. option to invert this, i.e. white on a black background. This can be
  118. better in low-light situations or to reduce eye strain in some
  119. cases.
  120. config NO_FB_CLEAR
  121. bool "Skip framebuffer clear"
  122. help
  123. If firmware (whatever loads u-boot) has already put a splash image
  124. on screen, you might want to preserve it until whatever u-boot
  125. loads takes over the screen. This, for example, can be used to
  126. keep splash image on screen until grub graphical boot menu starts.
  127. source "drivers/video/fonts/Kconfig"
  128. config VIDCONSOLE_AS_LCD
  129. bool "Use 'vidconsole' when 'lcd' is seen in stdout"
  130. depends on DM_VIDEO
  131. help
  132. This is a work-around for boards which have 'lcd' in their stdout
  133. environment variable, but have moved to use driver model for video.
  134. In this case the console will no-longer work. While it is possible
  135. to update the environment, the breakage may be confusing for users.
  136. This option will be removed around the end of 2016.
  137. config VIDEO_COREBOOT
  138. bool "Enable coreboot framebuffer driver support"
  139. depends on X86 && SYS_COREBOOT
  140. help
  141. Turn on this option to enable a framebuffer driver when U-Boot is
  142. loaded by coreboot where the graphics device is configured by
  143. coreboot already. This can in principle be used with any platform
  144. that coreboot supports.
  145. config VIDEO_EFI
  146. bool "Enable EFI framebuffer driver support"
  147. depends on EFI_STUB
  148. help
  149. Turn on this option to enable a framebuffeer driver when U-Boot is
  150. loaded as a payload (see README.u-boot_on_efi) by an EFI BIOS where
  151. the graphics device is configured by the EFI BIOS already. This can
  152. in principle be used with any platform that has an EFI BIOS.
  153. config VIDEO_VESA
  154. bool "Enable VESA video driver support"
  155. default n
  156. help
  157. Turn on this option to enable a very simple driver which uses vesa
  158. to discover the video mode and then provides a frame buffer for use
  159. by U-Boot. This can in principle be used with any platform that
  160. supports PCI and video cards that support VESA BIOS Extension (VBE).
  161. config FRAMEBUFFER_SET_VESA_MODE
  162. bool "Set framebuffer graphics resolution"
  163. depends on VIDEO_VESA || VIDEO_BROADWELL_IGD
  164. help
  165. Set VESA/native framebuffer mode (needed for bootsplash and graphical
  166. framebuffer console)
  167. choice
  168. prompt "framebuffer graphics resolution"
  169. default FRAMEBUFFER_VESA_MODE_118
  170. depends on FRAMEBUFFER_SET_VESA_MODE
  171. help
  172. This option sets the resolution used for the U-Boot framebuffer (and
  173. bootsplash screen).
  174. config FRAMEBUFFER_VESA_MODE_100
  175. bool "640x400 256-color"
  176. config FRAMEBUFFER_VESA_MODE_101
  177. bool "640x480 256-color"
  178. config FRAMEBUFFER_VESA_MODE_102
  179. bool "800x600 16-color"
  180. config FRAMEBUFFER_VESA_MODE_103
  181. bool "800x600 256-color"
  182. config FRAMEBUFFER_VESA_MODE_104
  183. bool "1024x768 16-color"
  184. config FRAMEBUFFER_VESA_MODE_105
  185. bool "1024x768 256-color"
  186. config FRAMEBUFFER_VESA_MODE_106
  187. bool "1280x1024 16-color"
  188. config FRAMEBUFFER_VESA_MODE_107
  189. bool "1280x1024 256-color"
  190. config FRAMEBUFFER_VESA_MODE_108
  191. bool "80x60 text"
  192. config FRAMEBUFFER_VESA_MODE_109
  193. bool "132x25 text"
  194. config FRAMEBUFFER_VESA_MODE_10A
  195. bool "132x43 text"
  196. config FRAMEBUFFER_VESA_MODE_10B
  197. bool "132x50 text"
  198. config FRAMEBUFFER_VESA_MODE_10C
  199. bool "132x60 text"
  200. config FRAMEBUFFER_VESA_MODE_10D
  201. bool "320x200 32k-color (1:5:5:5)"
  202. config FRAMEBUFFER_VESA_MODE_10E
  203. bool "320x200 64k-color (5:6:5)"
  204. config FRAMEBUFFER_VESA_MODE_10F
  205. bool "320x200 16.8M-color (8:8:8)"
  206. config FRAMEBUFFER_VESA_MODE_110
  207. bool "640x480 32k-color (1:5:5:5)"
  208. config FRAMEBUFFER_VESA_MODE_111
  209. bool "640x480 64k-color (5:6:5)"
  210. config FRAMEBUFFER_VESA_MODE_112
  211. bool "640x480 16.8M-color (8:8:8)"
  212. config FRAMEBUFFER_VESA_MODE_113
  213. bool "800x600 32k-color (1:5:5:5)"
  214. config FRAMEBUFFER_VESA_MODE_114
  215. bool "800x600 64k-color (5:6:5)"
  216. config FRAMEBUFFER_VESA_MODE_115
  217. bool "800x600 16.8M-color (8:8:8)"
  218. config FRAMEBUFFER_VESA_MODE_116
  219. bool "1024x768 32k-color (1:5:5:5)"
  220. config FRAMEBUFFER_VESA_MODE_117
  221. bool "1024x768 64k-color (5:6:5)"
  222. config FRAMEBUFFER_VESA_MODE_118
  223. bool "1024x768 16.8M-color (8:8:8)"
  224. config FRAMEBUFFER_VESA_MODE_119
  225. bool "1280x1024 32k-color (1:5:5:5)"
  226. config FRAMEBUFFER_VESA_MODE_11A
  227. bool "1280x1024 64k-color (5:6:5)"
  228. config FRAMEBUFFER_VESA_MODE_11B
  229. bool "1280x1024 16.8M-color (8:8:8)"
  230. config FRAMEBUFFER_VESA_MODE_USER
  231. bool "Manually select VESA mode"
  232. endchoice
  233. # Map the config names to an integer (KB).
  234. config FRAMEBUFFER_VESA_MODE
  235. prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER
  236. hex
  237. default 0x100 if FRAMEBUFFER_VESA_MODE_100
  238. default 0x101 if FRAMEBUFFER_VESA_MODE_101
  239. default 0x102 if FRAMEBUFFER_VESA_MODE_102
  240. default 0x103 if FRAMEBUFFER_VESA_MODE_103
  241. default 0x104 if FRAMEBUFFER_VESA_MODE_104
  242. default 0x105 if FRAMEBUFFER_VESA_MODE_105
  243. default 0x106 if FRAMEBUFFER_VESA_MODE_106
  244. default 0x107 if FRAMEBUFFER_VESA_MODE_107
  245. default 0x108 if FRAMEBUFFER_VESA_MODE_108
  246. default 0x109 if FRAMEBUFFER_VESA_MODE_109
  247. default 0x10A if FRAMEBUFFER_VESA_MODE_10A
  248. default 0x10B if FRAMEBUFFER_VESA_MODE_10B
  249. default 0x10C if FRAMEBUFFER_VESA_MODE_10C
  250. default 0x10D if FRAMEBUFFER_VESA_MODE_10D
  251. default 0x10E if FRAMEBUFFER_VESA_MODE_10E
  252. default 0x10F if FRAMEBUFFER_VESA_MODE_10F
  253. default 0x110 if FRAMEBUFFER_VESA_MODE_110
  254. default 0x111 if FRAMEBUFFER_VESA_MODE_111
  255. default 0x112 if FRAMEBUFFER_VESA_MODE_112
  256. default 0x113 if FRAMEBUFFER_VESA_MODE_113
  257. default 0x114 if FRAMEBUFFER_VESA_MODE_114
  258. default 0x115 if FRAMEBUFFER_VESA_MODE_115
  259. default 0x116 if FRAMEBUFFER_VESA_MODE_116
  260. default 0x117 if FRAMEBUFFER_VESA_MODE_117
  261. default 0x118 if FRAMEBUFFER_VESA_MODE_118
  262. default 0x119 if FRAMEBUFFER_VESA_MODE_119
  263. default 0x11A if FRAMEBUFFER_VESA_MODE_11A
  264. default 0x11B if FRAMEBUFFER_VESA_MODE_11B
  265. default 0x117 if FRAMEBUFFER_VESA_MODE_USER
  266. config VIDEO_LCD_ANX9804
  267. bool "ANX9804 bridge chip"
  268. default n
  269. ---help---
  270. Support for the ANX9804 bridge chip, which can take pixel data coming
  271. from a parallel LCD interface and translate it on the fy into a DP
  272. interface for driving eDP TFT displays. It uses I2C for configuration.
  273. config VIDEO_LCD_ORISETECH_OTM8009A
  274. bool "OTM8009A DSI LCD panel support"
  275. depends on DM_VIDEO
  276. select VIDEO_MIPI_DSI
  277. default n
  278. help
  279. Say Y here if you want to enable support for Orise Technology
  280. otm8009a 480x800 dsi 2dl panel.
  281. config VIDEO_LCD_RAYDIUM_RM68200
  282. bool "RM68200 DSI LCD panel support"
  283. depends on DM_VIDEO
  284. select VIDEO_MIPI_DSI
  285. default n
  286. help
  287. Say Y here if you want to enable support for Raydium RM68200
  288. 720x1280 DSI video mode panel.
  289. config VIDEO_LCD_ILITEK_ILI9881C
  290. bool "ILI9881C DSI LCD panel support"
  291. depends on DM_VIDEO
  292. select VIDEO_MIPI_DSI
  293. help
  294. Say Y here if you want to enable support for ILITEK ILI9881C
  295. 800x1280 DSI video mode panel.
  296. config VIDEO_LCD_SSD2828
  297. bool "SSD2828 bridge chip"
  298. default n
  299. ---help---
  300. Support for the SSD2828 bridge chip, which can take pixel data coming
  301. from a parallel LCD interface and translate it on the fly into MIPI DSI
  302. interface for driving a MIPI compatible LCD panel. It uses SPI for
  303. configuration.
  304. config VIDEO_LCD_SSD2828_TX_CLK
  305. int "SSD2828 TX_CLK frequency (in MHz)"
  306. depends on VIDEO_LCD_SSD2828
  307. default 0
  308. ---help---
  309. The frequency of the crystal, which is clocking SSD2828. It may be
  310. anything in the 8MHz-30MHz range and the exact value should be
  311. retrieved from the board schematics. Or in the case of Allwinner
  312. hardware, it can be usually found as 'lcd_xtal_freq' variable in
  313. FEX files. It can be also set to 0 for selecting PCLK from the
  314. parallel LCD interface instead of TX_CLK as the PLL clock source.
  315. config VIDEO_LCD_SSD2828_RESET
  316. string "RESET pin of SSD2828"
  317. depends on VIDEO_LCD_SSD2828
  318. default ""
  319. ---help---
  320. The reset pin of SSD2828 chip. This takes a string in the format
  321. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  322. config VIDEO_LCD_HITACHI_TX18D42VM
  323. bool "Hitachi tx18d42vm LVDS LCD panel support"
  324. depends on VIDEO
  325. default n
  326. ---help---
  327. Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a
  328. lcd controller which needs to be initialized over SPI, once that is
  329. done they work like a regular LVDS panel.
  330. config VIDEO_LCD_SPI_CS
  331. string "SPI CS pin for LCD related config job"
  332. depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
  333. default ""
  334. ---help---
  335. This is one of the SPI communication pins, involved in setting up a
  336. working LCD configuration. The exact role of SPI may differ for
  337. different hardware setups. The option takes a string in the format
  338. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  339. config VIDEO_LCD_SPI_SCLK
  340. string "SPI SCLK pin for LCD related config job"
  341. depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
  342. default ""
  343. ---help---
  344. This is one of the SPI communication pins, involved in setting up a
  345. working LCD configuration. The exact role of SPI may differ for
  346. different hardware setups. The option takes a string in the format
  347. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  348. config VIDEO_LCD_SPI_MOSI
  349. string "SPI MOSI pin for LCD related config job"
  350. depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
  351. default ""
  352. ---help---
  353. This is one of the SPI communication pins, involved in setting up a
  354. working LCD configuration. The exact role of SPI may differ for
  355. different hardware setups. The option takes a string in the format
  356. understood by 'name_to_gpio' function, e.g. PH1 for pin 1 of port H.
  357. config VIDEO_LCD_SPI_MISO
  358. string "SPI MISO pin for LCD related config job (optional)"
  359. depends on VIDEO_LCD_SSD2828
  360. default ""
  361. ---help---
  362. This is one of the SPI communication pins, involved in setting up a
  363. working LCD configuration. The exact role of SPI may differ for
  364. different hardware setups. If wired up, this pin may provide additional
  365. useful functionality. Such as bi-directional communication with the
  366. hardware and LCD panel id retrieval (if the panel can report it). The
  367. option takes a string in the format understood by 'name_to_gpio'
  368. function, e.g. PH1 for pin 1 of port H.
  369. source "drivers/video/meson/Kconfig"
  370. config VIDEO_MVEBU
  371. bool "Armada XP LCD controller"
  372. default n
  373. ---help---
  374. Support for the LCD controller integrated in the Marvell
  375. Armada XP SoC.
  376. config VIDEO_OMAP3
  377. bool "Enable OMAP3+ DSS Support"
  378. depends on ARCH_OMAP2PLUS
  379. help
  380. This enables the Display subsystem (DSS) on OMAP3+ boards.
  381. config I2C_EDID
  382. bool "Enable EDID library"
  383. default n
  384. help
  385. This enables library for accessing EDID data from an LCD panel.
  386. config DISPLAY
  387. bool "Enable Display support"
  388. depends on DM
  389. default n
  390. select I2C_EDID
  391. help
  392. This supports drivers that provide a display, such as eDP (Embedded
  393. DisplayPort) and HDMI (High Definition Multimedia Interface).
  394. The devices provide a simple interface to start up the display,
  395. read display information and enable it.
  396. config NXP_TDA19988
  397. bool "Enable NXP TDA19988 support"
  398. depends on DISPLAY
  399. default n
  400. help
  401. This enables support for the NXP TDA19988 HDMI encoder. This encoder
  402. will convert RGB data streams into HDMI-encoded signals.
  403. config ATMEL_HLCD
  404. bool "Enable ATMEL video support using HLCDC"
  405. depends on DM_VIDEO
  406. help
  407. HLCDC supports video output to an attached LCD panel.
  408. config LOGICORE_DP_TX
  409. bool "Enable Logicore DP TX driver"
  410. depends on DISPLAY
  411. help
  412. Enable the driver for the transmitter part of the Xilinx LogiCORE
  413. DisplayPort, a IP core for Xilinx FPGAs that implements a DisplayPort
  414. video interface as defined by VESA DisplayPort v1.2.
  415. Note that this is a pure transmitter device, and has no display
  416. capabilities by itself.
  417. config VIDEO_BROADWELL_IGD
  418. bool "Enable Intel Broadwell integrated graphics device"
  419. depends on X86
  420. help
  421. This enables support for integrated graphics on Intel broadwell
  422. devices. Initialisation is mostly performed by a VGA boot ROM, with
  423. some setup handled by U-Boot itself. The graphics adaptor works as
  424. a VESA device and supports LCD panels, eDP and LVDS outputs.
  425. Configuration of most aspects of device operation is performed using
  426. a special tool which configures the VGA ROM, but the graphics
  427. resolution can be selected in U-Boot.
  428. config VIDEO_IVYBRIDGE_IGD
  429. bool "Enable Intel Ivybridge integration graphics support"
  430. depends on X86
  431. help
  432. This enables support for integrated graphics on Intel ivybridge
  433. devices. Initialisation is mostly performed by a VGA boot ROM, with
  434. some setup handled by U-Boot itself. The graphics adaptor works as
  435. a VESA device and supports LCD panels, eDP and LVDS outputs.
  436. Configuration of most aspects of device operation is performed using
  437. a special tool which configures the VGA ROM, but the graphics
  438. resolution can be selected in U-Boot.
  439. config VIDEO_FSL_DCU_FB
  440. bool "Enable Freescale Display Control Unit"
  441. depends on VIDEO || DM_VIDEO
  442. help
  443. This enables support for Freescale Display Control Unit (DCU4)
  444. module found on Freescale Vybrid and QorIQ family of SoCs.
  445. config VIDEO_FSL_DCU_MAX_FB_SIZE_MB
  446. int "Freescale DCU framebuffer size"
  447. depends on VIDEO_FSL_DCU_FB
  448. default 4194304
  449. help
  450. Set maximum framebuffer size to be used for Freescale Display
  451. Controller Unit (DCU4).
  452. source "drivers/video/rockchip/Kconfig"
  453. config VIDEO_ARM_MALIDP
  454. bool "Enable Arm Mali Display Processor support"
  455. depends on DM_VIDEO && OF_CONTROL
  456. select VEXPRESS_CLK
  457. help
  458. This enables support for Arm Ltd Mali Display Processors from
  459. the DP500, DP550 and DP650 family.
  460. config VIDEO_SANDBOX_SDL
  461. bool "Enable sandbox video console using SDL"
  462. depends on SANDBOX
  463. help
  464. When using sandbox you can enable an emulated LCD display which
  465. appears as an SDL (Simple DirectMedia Layer) window. This is a
  466. console device and can display stdout output. Within U-Boot is is
  467. a normal bitmap display and can display images as well as text.
  468. source "drivers/video/stm32/Kconfig"
  469. config VIDEO_TEGRA20
  470. bool "Enable LCD support on Tegra20"
  471. depends on OF_CONTROL
  472. help
  473. Tegra20 supports video output to an attached LCD panel as well as
  474. other options such as HDMI. Only the LCD is supported in U-Boot.
  475. This option enables this support which can be used on devices which
  476. have an LCD display connected.
  477. config VIDEO_TEGRA124
  478. bool "Enable video support on Tegra124"
  479. depends on DM_VIDEO
  480. help
  481. Tegra124 supports many video output options including eDP and
  482. HDMI. At present only eDP is supported by U-Boot. This option
  483. enables this support which can be used on devices which
  484. have an eDP display connected.
  485. source "drivers/video/bridge/Kconfig"
  486. source "drivers/video/imx/Kconfig"
  487. source "drivers/video/light/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