Kconfig 3.5 KB

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