Kconfig 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. menuconfig OMAP2_DSS
  2. tristate "OMAP2+ Display Subsystem support"
  3. help
  4. OMAP2+ Display Subsystem support.
  5. if OMAP2_DSS
  6. config OMAP2_VRAM_SIZE
  7. int "VRAM size (MB)"
  8. range 0 32
  9. default 0
  10. help
  11. The amount of SDRAM to reserve at boot time for video RAM use.
  12. This VRAM will be used by omapfb and other drivers that need
  13. large continuous RAM area for video use.
  14. You can also set this with "vram=<bytes>" kernel argument, or
  15. in the board file.
  16. config OMAP2_DSS_DEBUG
  17. bool "Debug support"
  18. default n
  19. help
  20. This enables printing of debug messages. Alternatively, debug messages
  21. can also be enabled by setting CONFIG_DYNAMIC_DEBUG and then setting
  22. appropriate flags in <debugfs>/dynamic_debug/control.
  23. config OMAP2_DSS_DEBUGFS
  24. bool "Debugfs filesystem support"
  25. depends on DEBUG_FS
  26. default n
  27. help
  28. This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables
  29. querying about clock configuration and register configuration of dss,
  30. dispc, dsi, hdmi and rfbi.
  31. config OMAP2_DSS_COLLECT_IRQ_STATS
  32. bool "Collect DSS IRQ statistics"
  33. depends on OMAP2_DSS_DEBUGFS
  34. default n
  35. help
  36. Collect DSS IRQ statistics, printable via debugfs.
  37. The statistics can be found from
  38. <debugfs>/omapdss/dispc_irq for DISPC interrupts, and
  39. <debugfs>/omapdss/dsi_irq for DSI interrupts.
  40. config OMAP2_DSS_DPI
  41. bool "DPI support"
  42. default y
  43. help
  44. DPI Interface. This is the Parallel Display Interface.
  45. config OMAP2_DSS_RFBI
  46. bool "RFBI support"
  47. default n
  48. help
  49. MIPI DBI support (RFBI, Remote Framebuffer Interface, in Texas
  50. Instrument's terminology).
  51. DBI is a bus between the host processor and a peripheral,
  52. such as a display or a framebuffer chip.
  53. See http://www.mipi.org/ for DBI specifications.
  54. config OMAP2_DSS_VENC
  55. bool "VENC support"
  56. default y
  57. help
  58. OMAP Video Encoder support for S-Video and composite TV-out.
  59. config OMAP4_DSS_HDMI
  60. bool "HDMI support"
  61. default y
  62. help
  63. HDMI Interface. This adds the High Definition Multimedia Interface.
  64. See http://www.hdmi.org/ for HDMI specification.
  65. config OMAP4_DSS_HDMI_AUDIO
  66. bool
  67. config OMAP2_DSS_SDI
  68. bool "SDI support"
  69. default n
  70. help
  71. SDI (Serial Display Interface) support.
  72. SDI is a high speed one-way display serial bus between the host
  73. processor and a display.
  74. config OMAP2_DSS_DSI
  75. bool "DSI support"
  76. default n
  77. help
  78. MIPI DSI (Display Serial Interface) support.
  79. DSI is a high speed half-duplex serial interface between the host
  80. processor and a peripheral, such as a display or a framebuffer chip.
  81. See http://www.mipi.org/ for DSI specifications.
  82. config OMAP2_DSS_MIN_FCK_PER_PCK
  83. int "Minimum FCK/PCK ratio (for scaling)"
  84. range 0 32
  85. default 0
  86. help
  87. This can be used to adjust the minimum FCK/PCK ratio.
  88. With this you can make sure that DISPC FCK is at least
  89. n x PCK. Video plane scaling requires higher FCK than
  90. normally.
  91. If this is set to 0, there's no extra constraint on the
  92. DISPC FCK. However, the FCK will at minimum be
  93. 2xPCK (if active matrix) or 3xPCK (if passive matrix).
  94. Max FCK is 173MHz, so this doesn't work if your PCK
  95. is very high.
  96. config OMAP2_DSS_SLEEP_AFTER_VENC_RESET
  97. bool "Sleep 20ms after VENC reset"
  98. default y
  99. help
  100. There is a 20ms sleep after VENC reset which seemed to fix the
  101. reset. The reason for the bug is unclear, and it's also unclear
  102. on what platforms this happens.
  103. This option enables the sleep, and is enabled by default. You can
  104. disable the sleep if it doesn't cause problems on your platform.
  105. endif