1 # SPDX-License-Identifier: GPL-2.0-only
5 depends on ARCH_OMAP2PLUS
7 select FB_DMAMEM_HELPERS_DEFERRED if DRM_FBDEV_EMULATION
8 select VIDEOMODE_HELPERS
12 DRM display driver for OMAP2/3/4 based boards.
16 config OMAP2_DSS_DEBUG
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.
24 config OMAP2_DSS_DEBUGFS
25 bool "Debugfs filesystem support"
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.
33 config OMAP2_DSS_COLLECT_IRQ_STATS
34 bool "Collect DSS IRQ statistics"
35 depends on OMAP2_DSS_DEBUGFS
38 Collect DSS IRQ statistics, printable via debugfs.
40 The statistics can be found from
41 <debugfs>/omapdss/dispc_irq for DISPC interrupts, and
42 <debugfs>/omapdss/dsi_irq for DSI interrupts.
48 DPI Interface. This is the Parallel Display Interface.
54 OMAP Video Encoder support for S-Video and composite TV-out.
56 config OMAP2_DSS_HDMI_COMMON
60 bool "HDMI support for OMAP4"
62 select OMAP2_DSS_HDMI_COMMON
64 HDMI support for OMAP4 based SoCs.
66 config OMAP4_DSS_HDMI_CEC
67 bool "Enable HDMI CEC support for OMAP4"
68 depends on OMAP4_DSS_HDMI
72 When selected the HDMI transmitter will support the CEC feature.
75 bool "HDMI support for OMAP5"
77 select OMAP2_DSS_HDMI_COMMON
79 HDMI Interface for OMAP5 and similar cores. This adds the High
80 Definition Multimedia Interface. See http://www.hdmi.org/ for HDMI
87 SDI (Serial Display Interface) support.
89 SDI is a high speed one-way display serial bus between the host
90 processor and a display.
97 MIPI DSI (Display Serial Interface) support.
99 DSI is a high speed half-duplex serial interface between the host
100 processor and a peripheral, such as a display or a framebuffer chip.
102 See http://www.mipi.org/ for DSI specifications.
104 config OMAP2_DSS_MIN_FCK_PER_PCK
105 int "Minimum FCK/PCK ratio (for scaling)"
109 This can be used to adjust the minimum FCK/PCK ratio.
111 With this you can make sure that DISPC FCK is at least
112 n x PCK. Video plane scaling requires higher FCK than
115 If this is set to 0, there's no extra constraint on the
116 DISPC FCK. However, the FCK will at minimum be
117 2xPCK (if active matrix) or 3xPCK (if passive matrix).
119 Max FCK is 173MHz, so this doesn't work if your PCK
122 config OMAP2_DSS_SLEEP_AFTER_VENC_RESET
123 bool "Sleep 20ms after VENC reset"
126 There is a 20ms sleep after VENC reset which seemed to fix the
127 reset. The reason for the bug is unclear, and it's also unclear
128 on what platforms this happens.
130 This option enables the sleep, and is enabled by default. You can
131 disable the sleep if it doesn't cause problems on your platform.