blob: b337a8469fd85441b051b28f5cd808b52d927cf5 [file] [log] [blame]
Tomi Valkeinen559d6702009-11-03 11:23:50 +02001menuconfig OMAP2_DSS
Tomi Valkeinen46fc133f2011-08-22 09:30:44 +03002 tristate "OMAP2+ Display Subsystem support"
Mayuresh Janorkar3f3aa062011-02-15 22:54:29 -06003 depends on ARCH_OMAP2PLUS
Tomi Valkeinen559d6702009-11-03 11:23:50 +02004 help
Mayuresh Janorkar3f3aa062011-02-15 22:54:29 -06005 OMAP2+ Display Subsystem support.
Tomi Valkeinen559d6702009-11-03 11:23:50 +02006
7if OMAP2_DSS
8
9config OMAP2_VRAM_SIZE
10 int "VRAM size (MB)"
11 range 0 32
12 default 0
13 help
14 The amount of SDRAM to reserve at boot time for video RAM use.
15 This VRAM will be used by omapfb and other drivers that need
16 large continuous RAM area for video use.
17
18 You can also set this with "vram=<bytes>" kernel argument, or
19 in the board file.
20
21config OMAP2_DSS_DEBUG_SUPPORT
22 bool "Debug support"
23 default y
24 help
25 This enables debug messages. You need to enable printing
26 with 'debug' module parameter.
27
Tomi Valkeinendfc0fd82009-12-17 14:35:21 +020028config OMAP2_DSS_COLLECT_IRQ_STATS
29 bool "Collect DSS IRQ statistics"
30 depends on OMAP2_DSS_DEBUG_SUPPORT
31 default n
32 help
Tomi Valkeinen60596042010-01-14 15:12:47 +020033 Collect DSS IRQ statistics, printable via debugfs.
34
35 The statistics can be found from
36 <debugfs>/omapdss/dispc_irq for DISPC interrupts, and
37 <debugfs>/omapdss/dsi_irq for DSI interrupts.
Tomi Valkeinendfc0fd82009-12-17 14:35:21 +020038
Roger Quadrosb4d78bf2010-03-17 13:35:19 +010039config OMAP2_DSS_DPI
40 bool "DPI support"
41 default y
42 help
43 DPI Interface. This is the Parallel Display Interface.
44
Tomi Valkeinen559d6702009-11-03 11:23:50 +020045config OMAP2_DSS_RFBI
46 bool "RFBI support"
47 default n
48 help
Tomi Valkeinen60596042010-01-14 15:12:47 +020049 MIPI DBI support (RFBI, Remote Framebuffer Interface, in Texas
50 Instrument's terminology).
51
52 DBI is a bus between the host processor and a peripheral,
53 such as a display or a framebuffer chip.
54
Peter Meerwald7df913b2012-06-27 22:09:22 +020055 See http://www.mipi.org/ for DBI specifications.
Tomi Valkeinen559d6702009-11-03 11:23:50 +020056
57config OMAP2_DSS_VENC
58 bool "VENC support"
59 default y
60 help
Tomi Valkeinen60596042010-01-14 15:12:47 +020061 OMAP Video Encoder support for S-Video and composite TV-out.
Tomi Valkeinen559d6702009-11-03 11:23:50 +020062
Mythri P K642e21b2011-03-10 15:12:48 +053063config OMAP4_DSS_HDMI
64 bool "HDMI support"
65 depends on ARCH_OMAP4
66 default y
67 help
68 HDMI Interface. This adds the High Definition Multimedia Interface.
69 See http://www.hdmi.org/ for HDMI specification.
70
Ricardo Neri7e151f72012-03-15 14:08:03 -060071config OMAP4_DSS_HDMI_AUDIO
72 bool
73 depends on OMAP4_DSS_HDMI
74
Tomi Valkeinen559d6702009-11-03 11:23:50 +020075config OMAP2_DSS_SDI
76 bool "SDI support"
77 depends on ARCH_OMAP3
78 default n
79 help
80 SDI (Serial Display Interface) support.
81
Tomi Valkeinen60596042010-01-14 15:12:47 +020082 SDI is a high speed one-way display serial bus between the host
83 processor and a display.
84
Tomi Valkeinen559d6702009-11-03 11:23:50 +020085config OMAP2_DSS_DSI
86 bool "DSI support"
Vikram Pandita5d744182011-04-20 20:31:15 -070087 depends on ARCH_OMAP3 || ARCH_OMAP4
Tomi Valkeinen559d6702009-11-03 11:23:50 +020088 default n
89 help
Tomi Valkeinen60596042010-01-14 15:12:47 +020090 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
Peter Meerwald7df913b2012-06-27 22:09:22 +020095 See http://www.mipi.org/ for DSI specifications.
Tomi Valkeinen559d6702009-11-03 11:23:50 +020096
Tomi Valkeinen559d6702009-11-03 11:23:50 +020097config 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
Tomi Valkeinenc6f65e12010-06-02 17:48:22 +0300115config 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
Tomi Valkeinen559d6702009-11-03 11:23:50 +0200126endif