]> Git Repo - linux.git/blob - drivers/gpu/drm/omapdrm/Kconfig
Merge patch series "riscv: Extension parsing fixes"
[linux.git] / drivers / gpu / drm / omapdrm / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 config DRM_OMAP
3         tristate "OMAP DRM"
4         depends on DRM && OF
5         depends on ARCH_OMAP2PLUS
6         select DRM_KMS_HELPER
7         select FB_DMAMEM_HELPERS_DEFERRED if DRM_FBDEV_EMULATION
8         select VIDEOMODE_HELPERS
9         select HDMI
10         default n
11         help
12           DRM display driver for OMAP2/3/4 based boards.
13
14 if DRM_OMAP
15
16 config OMAP2_DSS_DEBUG
17         bool "Debug support"
18         default n
19         help
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.
23
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
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
40           The statistics can be found from
41           <debugfs>/omapdss/dispc_irq for DISPC interrupts, and
42           <debugfs>/omapdss/dsi_irq for DSI interrupts.
43
44 config OMAP2_DSS_DPI
45         bool "DPI support"
46         default y
47         help
48           DPI Interface. This is the Parallel Display Interface.
49
50 config OMAP2_DSS_VENC
51         bool "VENC support"
52         default y
53         help
54           OMAP Video Encoder support for S-Video and composite TV-out.
55
56 config OMAP2_DSS_HDMI_COMMON
57         bool
58
59 config OMAP4_DSS_HDMI
60         bool "HDMI support for OMAP4"
61         default y
62         select OMAP2_DSS_HDMI_COMMON
63         help
64           HDMI support for OMAP4 based SoCs.
65
66 config OMAP4_DSS_HDMI_CEC
67         bool "Enable HDMI CEC support for OMAP4"
68         depends on OMAP4_DSS_HDMI
69         select CEC_CORE
70         default y
71         help
72           When selected the HDMI transmitter will support the CEC feature.
73
74 config OMAP5_DSS_HDMI
75         bool "HDMI support for OMAP5"
76         default n
77         select OMAP2_DSS_HDMI_COMMON
78         help
79           HDMI Interface for OMAP5 and similar cores. This adds the High
80           Definition Multimedia Interface. See http://www.hdmi.org/ for HDMI
81           specification.
82
83 config OMAP2_DSS_SDI
84         bool "SDI support"
85         default n
86         help
87           SDI (Serial Display Interface) support.
88
89           SDI is a high speed one-way display serial bus between the host
90           processor and a display.
91
92 config OMAP2_DSS_DSI
93         bool "DSI support"
94         default n
95         select DRM_MIPI_DSI
96         help
97           MIPI DSI (Display Serial Interface) support.
98
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.
101
102           See http://www.mipi.org/ for DSI specifications.
103
104 config OMAP2_DSS_MIN_FCK_PER_PCK
105         int "Minimum FCK/PCK ratio (for scaling)"
106         range 0 32
107         default 0
108         help
109           This can be used to adjust the minimum FCK/PCK ratio.
110
111           With this you can make sure that DISPC FCK is at least
112           n x PCK. Video plane scaling requires higher FCK than
113           normally.
114
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).
118
119           Max FCK is 173MHz, so this doesn't work if your PCK
120           is very high.
121
122 config OMAP2_DSS_SLEEP_AFTER_VENC_RESET
123         bool "Sleep 20ms after VENC reset"
124         default y
125         help
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.
129
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.
132
133 endif
This page took 0.035612 seconds and 4 git commands to generate.