Kconfig 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. # SPDX-License-Identifier: GPL-2.0
  2. config FB_OMAP2_DSS_INIT
  3. bool
  4. config FB_OMAP2_DSS
  5. tristate
  6. select VIDEOMODE_HELPERS
  7. select FB_OMAP2_DSS_INIT
  8. select HDMI
  9. config FB_OMAP2_DSS_DEBUG
  10. bool "Debug support"
  11. default n
  12. help
  13. This enables printing of debug messages. Alternatively, debug messages
  14. can also be enabled by setting CONFIG_DYNAMIC_DEBUG and then setting
  15. appropriate flags in <debugfs>/dynamic_debug/control.
  16. config FB_OMAP2_DSS_DEBUGFS
  17. bool "Debugfs filesystem support"
  18. depends on DEBUG_FS
  19. default n
  20. help
  21. This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables
  22. querying about clock configuration and register configuration of dss,
  23. dispc, dsi, hdmi and rfbi.
  24. config FB_OMAP2_DSS_COLLECT_IRQ_STATS
  25. bool "Collect DSS IRQ statistics"
  26. depends on FB_OMAP2_DSS_DEBUGFS
  27. default n
  28. help
  29. Collect DSS IRQ statistics, printable via debugfs.
  30. The statistics can be found from
  31. <debugfs>/omapdss/dispc_irq for DISPC interrupts, and
  32. <debugfs>/omapdss/dsi_irq for DSI interrupts.
  33. config FB_OMAP2_DSS_DPI
  34. bool "DPI support"
  35. default y
  36. help
  37. DPI Interface. This is the Parallel Display Interface.
  38. config FB_OMAP2_DSS_RFBI
  39. bool "RFBI support"
  40. depends on BROKEN
  41. default n
  42. help
  43. MIPI DBI support (RFBI, Remote Framebuffer Interface, in Texas
  44. Instrument's terminology).
  45. DBI is a bus between the host processor and a peripheral,
  46. such as a display or a framebuffer chip.
  47. See http://www.mipi.org/ for DBI specifications.
  48. config FB_OMAP2_DSS_VENC
  49. bool "VENC support"
  50. default y
  51. help
  52. OMAP Video Encoder support for S-Video and composite TV-out.
  53. config FB_OMAP2_DSS_HDMI_COMMON
  54. bool
  55. config FB_OMAP4_DSS_HDMI
  56. bool "HDMI support for OMAP4"
  57. default y
  58. select FB_OMAP2_DSS_HDMI_COMMON
  59. help
  60. HDMI support for OMAP4 based SoCs.
  61. config FB_OMAP5_DSS_HDMI
  62. bool "HDMI support for OMAP5"
  63. default n
  64. select FB_OMAP2_DSS_HDMI_COMMON
  65. help
  66. HDMI Interface for OMAP5 and similar cores. This adds the High
  67. Definition Multimedia Interface. See http://www.hdmi.org/ for HDMI
  68. specification.
  69. config FB_OMAP2_DSS_SDI
  70. bool "SDI support"
  71. default n
  72. help
  73. SDI (Serial Display Interface) support.
  74. SDI is a high speed one-way display serial bus between the host
  75. processor and a display.
  76. config FB_OMAP2_DSS_DSI
  77. bool "DSI support"
  78. default n
  79. help
  80. MIPI DSI (Display Serial Interface) support.
  81. DSI is a high speed half-duplex serial interface between the host
  82. processor and a peripheral, such as a display or a framebuffer chip.
  83. See http://www.mipi.org/ for DSI specifications.
  84. config FB_OMAP2_DSS_MIN_FCK_PER_PCK
  85. int "Minimum FCK/PCK ratio (for scaling)"
  86. range 0 32
  87. default 0
  88. help
  89. This can be used to adjust the minimum FCK/PCK ratio.
  90. With this you can make sure that DISPC FCK is at least
  91. n x PCK. Video plane scaling requires higher FCK than
  92. normally.
  93. If this is set to 0, there's no extra constraint on the
  94. DISPC FCK. However, the FCK will at minimum be
  95. 2xPCK (if active matrix) or 3xPCK (if passive matrix).
  96. Max FCK is 173MHz, so this doesn't work if your PCK
  97. is very high.
  98. config FB_OMAP2_DSS_SLEEP_AFTER_VENC_RESET
  99. bool "Sleep 20ms after VENC reset"
  100. default y
  101. help
  102. There is a 20ms sleep after VENC reset which seemed to fix the
  103. reset. The reason for the bug is unclear, and it's also unclear
  104. on what platforms this happens.
  105. This option enables the sleep, and is enabled by default. You can
  106. disable the sleep if it doesn't cause problems on your platform.