Kconfig 3.4 KB

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