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