1 # SPDX-License-Identifier: GPL-2.0-only
6 depends on ARCH_OMAP2PLUS || (COMPILE_TEST && PAGE_SIZE_LESS_THAN_64KB)
7 select DRM_CLIENT_SELECTION
9 select DRM_DISPLAY_HELPER
10 select DRM_BRIDGE_CONNECTOR
11 select FB_DMAMEM_HELPERS_DEFERRED if DRM_FBDEV_EMULATION
12 select VIDEOMODE_HELPERS
16 DRM display driver for OMAP2/3/4 based boards.
20 config OMAP2_DSS_DEBUG
24 This enables printing of debug messages. Alternatively, debug messages
25 can also be enabled by setting CONFIG_DYNAMIC_DEBUG and then setting
26 appropriate flags in <debugfs>/dynamic_debug/control.
28 config OMAP2_DSS_DEBUGFS
29 bool "Debugfs filesystem support"
33 This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables
34 querying about clock configuration and register configuration of dss,
35 dispc, dsi, hdmi and rfbi.
37 config OMAP2_DSS_COLLECT_IRQ_STATS
38 bool "Collect DSS IRQ statistics"
39 depends on OMAP2_DSS_DEBUGFS
42 Collect DSS IRQ statistics, printable via debugfs.
44 The statistics can be found from
45 <debugfs>/omapdss/dispc_irq for DISPC interrupts, and
46 <debugfs>/omapdss/dsi_irq for DSI interrupts.
52 DPI Interface. This is the Parallel Display Interface.
58 OMAP Video Encoder support for S-Video and composite TV-out.
60 config OMAP2_DSS_HDMI_COMMON
64 bool "HDMI support for OMAP4"
66 select OMAP2_DSS_HDMI_COMMON
68 HDMI support for OMAP4 based SoCs.
70 config OMAP4_DSS_HDMI_CEC
71 bool "Enable HDMI CEC support for OMAP4"
72 depends on OMAP4_DSS_HDMI
76 When selected the HDMI transmitter will support the CEC feature.
79 bool "HDMI support for OMAP5"
81 select OMAP2_DSS_HDMI_COMMON
83 HDMI Interface for OMAP5 and similar cores. This adds the High
84 Definition Multimedia Interface. See http://www.hdmi.org/ for HDMI
91 SDI (Serial Display Interface) support.
93 SDI is a high speed one-way display serial bus between the host
94 processor and a display.
101 MIPI DSI (Display Serial Interface) support.
103 DSI is a high speed half-duplex serial interface between the host
104 processor and a peripheral, such as a display or a framebuffer chip.
106 See http://www.mipi.org/ for DSI specifications.
108 config OMAP2_DSS_MIN_FCK_PER_PCK
109 int "Minimum FCK/PCK ratio (for scaling)"
113 This can be used to adjust the minimum FCK/PCK ratio.
115 With this you can make sure that DISPC FCK is at least
116 n x PCK. Video plane scaling requires higher FCK than
119 If this is set to 0, there's no extra constraint on the
120 DISPC FCK. However, the FCK will at minimum be
121 2xPCK (if active matrix) or 3xPCK (if passive matrix).
123 Max FCK is 173MHz, so this doesn't work if your PCK
126 config OMAP2_DSS_SLEEP_AFTER_VENC_RESET
127 bool "Sleep 20ms after VENC reset"
130 There is a 20ms sleep after VENC reset which seemed to fix the
131 reset. The reason for the bug is unclear, and it's also unclear
132 on what platforms this happens.
134 This option enables the sleep, and is enabled by default. You can
135 disable the sleep if it doesn't cause problems on your platform.