Kconfig 3.6 KB

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