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