8921a7a76a15d8662618ba77a110ffd77e8321cd
[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 OMAP2_DSS_HDMI_COMMON
63         bool
64
65 config OMAP4_DSS_HDMI
66         bool "HDMI support for OMAP4"
67         default y
68         select OMAP2_DSS_HDMI_COMMON
69         help
70           HDMI support for OMAP4 based SoCs.
71
72 config OMAP4_DSS_HDMI_AUDIO
73         bool
74
75 config OMAP5_DSS_HDMI
76         bool "HDMI support for OMAP5"
77         default n
78         select OMAP2_DSS_HDMI_COMMON
79         help
80           HDMI Interface for OMAP5 and similar cores. This adds the High
81           Definition Multimedia Interface. See http://www.hdmi.org/ for HDMI
82           specification.
83
84 config OMAP5_DSS_HDMI_AUDIO
85         depends on OMAP5_DSS_HDMI
86         bool
87
88 config OMAP2_DSS_SDI
89         bool "SDI support"
90         default n
91         help
92           SDI (Serial Display Interface) support.
93
94           SDI is a high speed one-way display serial bus between the host
95           processor and a display.
96
97 config OMAP2_DSS_DSI
98         bool "DSI support"
99         default n
100         help
101           MIPI DSI (Display Serial Interface) support.
102
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.
105
106           See http://www.mipi.org/ for DSI specifications.
107
108 config OMAP2_DSS_MIN_FCK_PER_PCK
109         int "Minimum FCK/PCK ratio (for scaling)"
110         range 0 32
111         default 0
112         help
113           This can be used to adjust the minimum FCK/PCK ratio.
114
115           With this you can make sure that DISPC FCK is at least
116           n x PCK. Video plane scaling requires higher FCK than
117           normally.
118
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).
122
123           Max FCK is 173MHz, so this doesn't work if your PCK
124           is very high.
125
126 config OMAP2_DSS_SLEEP_AFTER_VENC_RESET
127         bool "Sleep 20ms after VENC reset"
128         default y
129         help
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.
133
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.
136
137 endif