1 # SPDX-License-Identifier: GPL-2.0-only
9 tristate "OMAP2+ Display Subsystem support"
11 select VIDEOMODE_HELPERS
15 OMAP2+ Display Subsystem support.
19 config OMAP2_DSS_DEBUG
23 This enables printing of debug messages. Alternatively, debug messages
24 can also be enabled by setting CONFIG_DYNAMIC_DEBUG and then setting
25 appropriate flags in <debugfs>/dynamic_debug/control.
27 config OMAP2_DSS_DEBUGFS
28 bool "Debugfs filesystem support"
32 This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables
33 querying about clock configuration and register configuration of dss,
34 dispc, dsi, hdmi and rfbi.
36 config OMAP2_DSS_COLLECT_IRQ_STATS
37 bool "Collect DSS IRQ statistics"
38 depends on OMAP2_DSS_DEBUGFS
41 Collect DSS IRQ statistics, printable via debugfs.
43 The statistics can be found from
44 <debugfs>/omapdss/dispc_irq for DISPC interrupts, and
45 <debugfs>/omapdss/dsi_irq for DSI interrupts.
51 DPI Interface. This is the Parallel Display Interface.
57 OMAP Video Encoder support for S-Video and composite TV-out.
59 config OMAP2_DSS_HDMI_COMMON
63 bool "HDMI support for OMAP4"
65 select OMAP2_DSS_HDMI_COMMON
67 HDMI support for OMAP4 based SoCs.
69 config OMAP4_DSS_HDMI_CEC
70 bool "Enable HDMI CEC support for OMAP4"
71 depends on OMAP4_DSS_HDMI
75 When selected the HDMI transmitter will support the CEC feature.
78 bool "HDMI support for OMAP5"
80 select OMAP2_DSS_HDMI_COMMON
82 HDMI Interface for OMAP5 and similar cores. This adds the High
83 Definition Multimedia Interface. See https://www.hdmi.org/ for HDMI
90 SDI (Serial Display Interface) support.
92 SDI is a high speed one-way display serial bus between the host
93 processor and a display.
99 MIPI DSI (Display Serial Interface) support.
101 DSI is a high speed half-duplex serial interface between the host
102 processor and a peripheral, such as a display or a framebuffer chip.
104 See https://www.mipi.org/ for DSI specifications.
106 config OMAP2_DSS_MIN_FCK_PER_PCK
107 int "Minimum FCK/PCK ratio (for scaling)"
111 This can be used to adjust the minimum FCK/PCK ratio.
113 With this you can make sure that DISPC FCK is at least
114 n x PCK. Video plane scaling requires higher FCK than
117 If this is set to 0, there's no extra constraint on the
118 DISPC FCK. However, the FCK will at minimum be
119 2xPCK (if active matrix) or 3xPCK (if passive matrix).
121 Max FCK is 173MHz, so this doesn't work if your PCK
124 config OMAP2_DSS_SLEEP_AFTER_VENC_RESET
125 bool "Sleep 20ms after VENC reset"
128 There is a 20ms sleep after VENC reset which seemed to fix the
129 reset. The reason for the bug is unclear, and it's also unclear
130 on what platforms this happens.
132 This option enables the sleep, and is enabled by default. You can
133 disable the sleep if it doesn't cause problems on your platform.