Kconfig 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. menuconfig OMAP2_DSS
  2. tristate "OMAP2+ Display Subsystem support (EXPERIMENTAL)"
  3. depends on ARCH_OMAP2PLUS
  4. help
  5. OMAP2+ Display Subsystem support.
  6. if OMAP2_DSS
  7. config OMAP2_VRAM_SIZE
  8. int "VRAM size (MB)"
  9. range 0 32
  10. default 0
  11. help
  12. The amount of SDRAM to reserve at boot time for video RAM use.
  13. This VRAM will be used by omapfb and other drivers that need
  14. large continuous RAM area for video use.
  15. You can also set this with "vram=<bytes>" kernel argument, or
  16. in the board file.
  17. config OMAP2_DSS_DEBUG_SUPPORT
  18. bool "Debug support"
  19. default y
  20. help
  21. This enables debug messages. You need to enable printing
  22. with 'debug' module parameter.
  23. config OMAP2_DSS_COLLECT_IRQ_STATS
  24. bool "Collect DSS IRQ statistics"
  25. depends on OMAP2_DSS_DEBUG_SUPPORT
  26. default n
  27. help
  28. Collect DSS IRQ statistics, printable via debugfs.
  29. The statistics can be found from
  30. <debugfs>/omapdss/dispc_irq for DISPC interrupts, and
  31. <debugfs>/omapdss/dsi_irq for DSI interrupts.
  32. config OMAP2_DSS_DPI
  33. bool "DPI support"
  34. default y
  35. help
  36. DPI Interface. This is the Parallel Display Interface.
  37. config OMAP2_DSS_RFBI
  38. bool "RFBI support"
  39. default n
  40. help
  41. MIPI DBI support (RFBI, Remote Framebuffer Interface, in Texas
  42. Instrument's terminology).
  43. DBI is a bus between the host processor and a peripheral,
  44. such as a display or a framebuffer chip.
  45. See http://www.mipi.org/ for DBI spesifications.
  46. config OMAP2_DSS_VENC
  47. bool "VENC support"
  48. default y
  49. help
  50. OMAP Video Encoder support for S-Video and composite TV-out.
  51. config OMAP4_DSS_HDMI
  52. bool "HDMI support"
  53. depends on ARCH_OMAP4
  54. default y
  55. help
  56. HDMI Interface. This adds the High Definition Multimedia Interface.
  57. See http://www.hdmi.org/ for HDMI specification.
  58. config OMAP2_DSS_SDI
  59. bool "SDI support"
  60. depends on ARCH_OMAP3
  61. default n
  62. help
  63. SDI (Serial Display Interface) support.
  64. SDI is a high speed one-way display serial bus between the host
  65. processor and a display.
  66. config OMAP2_DSS_DSI
  67. bool "DSI support"
  68. depends on ARCH_OMAP3 || ARCH_OMAP4
  69. default n
  70. help
  71. MIPI DSI (Display Serial Interface) support.
  72. DSI is a high speed half-duplex serial interface between the host
  73. processor and a peripheral, such as a display or a framebuffer chip.
  74. See http://www.mipi.org/ for DSI spesifications.
  75. config OMAP2_DSS_FAKE_VSYNC
  76. bool "Fake VSYNC irq from manual update displays"
  77. default n
  78. help
  79. If this is selected, DSI will generate a fake DISPC VSYNC interrupt
  80. when DSI has sent a frame. This is only needed with DSI or RFBI
  81. displays using manual mode, and you want VSYNC to, for example,
  82. time animation.
  83. config OMAP2_DSS_MIN_FCK_PER_PCK
  84. int "Minimum FCK/PCK ratio (for scaling)"
  85. range 0 32
  86. default 0
  87. help
  88. This can be used to adjust the minimum FCK/PCK ratio.
  89. With this you can make sure that DISPC FCK is at least
  90. n x PCK. Video plane scaling requires higher FCK than
  91. normally.
  92. If this is set to 0, there's no extra constraint on the
  93. DISPC FCK. However, the FCK will at minimum be
  94. 2xPCK (if active matrix) or 3xPCK (if passive matrix).
  95. Max FCK is 173MHz, so this doesn't work if your PCK
  96. is very high.
  97. config OMAP2_DSS_SLEEP_BEFORE_RESET
  98. bool "Sleep 50ms before DSS reset"
  99. default y
  100. help
  101. For some unknown reason we may get SYNC_LOST errors from the display
  102. subsystem at initialization time if we don't sleep before resetting
  103. the DSS. See the source (dss.c) for more comments.
  104. However, 50ms is quite long time to sleep, and with some
  105. configurations the SYNC_LOST may never happen, so the sleep can
  106. be disabled here.
  107. config OMAP2_DSS_SLEEP_AFTER_VENC_RESET
  108. bool "Sleep 20ms after VENC reset"
  109. default y
  110. help
  111. There is a 20ms sleep after VENC reset which seemed to fix the
  112. reset. The reason for the bug is unclear, and it's also unclear
  113. on what platforms this happens.
  114. This option enables the sleep, and is enabled by default. You can
  115. disable the sleep if it doesn't cause problems on your platform.
  116. endif