blob: 7052487495cd722bcf2854656361ce9a645b240e [file] [log] [blame]
Tomi Valkeinen559d6702009-11-03 11:23:50 +02001menuconfig OMAP2_DSS
Tomi Valkeinen46fc1332011-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
Chandrabhanu Mahapatra1b3bcb32012-09-29 11:25:42 +053021config OMAP2_DSS_DEBUG
22 bool "Debug support"
23 default n
Tomi Valkeinen559d6702009-11-03 11:23:50 +020024 help
Chandrabhanu Mahapatra1b3bcb32012-09-29 11:25:42 +053025 This enables printing of debug messages. Alternatively, debug messages
26 can also be enabled by setting CONFIG_DYNAMIC_DEBUG and then setting
27 appropriate flags in <debugfs>/dynamic_debug/control.
28
29config OMAP2_DSS_DEBUGFS
30 bool "Debugfs filesystem support"
31 depends on DEBUG_FS
32 default n
33 help
34 This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables
35 querying about clock configuration and register configuration of dss,
36 dispc, dsi, hdmi and rfbi.
Tomi Valkeinen559d6702009-11-03 11:23:50 +020037
Tomi Valkeinendfc0fd82009-12-17 14:35:21 +020038config OMAP2_DSS_COLLECT_IRQ_STATS
39 bool "Collect DSS IRQ statistics"
Chandrabhanu Mahapatra1b3bcb32012-09-29 11:25:42 +053040 depends on OMAP2_DSS_DEBUGFS
Tomi Valkeinendfc0fd82009-12-17 14:35:21 +020041 default n
42 help
Tomi Valkeinen60596042010-01-14 15:12:47 +020043 Collect DSS IRQ statistics, printable via debugfs.
44
45 The statistics can be found from
46 <debugfs>/omapdss/dispc_irq for DISPC interrupts, and
47 <debugfs>/omapdss/dsi_irq for DSI interrupts.
Tomi Valkeinendfc0fd82009-12-17 14:35:21 +020048
Roger Quadrosb4d78bf2010-03-17 13:35:19 +010049config OMAP2_DSS_DPI
50 bool "DPI support"
51 default y
52 help
53 DPI Interface. This is the Parallel Display Interface.
54
Tomi Valkeinen559d6702009-11-03 11:23:50 +020055config OMAP2_DSS_RFBI
56 bool "RFBI support"
57 default n
58 help
Tomi Valkeinen60596042010-01-14 15:12:47 +020059 MIPI DBI support (RFBI, Remote Framebuffer Interface, in Texas
60 Instrument's terminology).
61
62 DBI is a bus between the host processor and a peripheral,
63 such as a display or a framebuffer chip.
64
Peter Meerwald7df913b2012-06-27 22:09:22 +020065 See http://www.mipi.org/ for DBI specifications.
Tomi Valkeinen559d6702009-11-03 11:23:50 +020066
67config OMAP2_DSS_VENC
68 bool "VENC support"
69 default y
70 help
Tomi Valkeinen60596042010-01-14 15:12:47 +020071 OMAP Video Encoder support for S-Video and composite TV-out.
Tomi Valkeinen559d6702009-11-03 11:23:50 +020072
Mythri P K642e21b2011-03-10 15:12:48 +053073config OMAP4_DSS_HDMI
74 bool "HDMI support"
75 depends on ARCH_OMAP4
76 default y
77 help
78 HDMI Interface. This adds the High Definition Multimedia Interface.
79 See http://www.hdmi.org/ for HDMI specification.
80
Ricardo Neri7e151f72012-03-15 14:08:03 -060081config OMAP4_DSS_HDMI_AUDIO
82 bool
83 depends on OMAP4_DSS_HDMI
84
Tomi Valkeinen559d6702009-11-03 11:23:50 +020085config OMAP2_DSS_SDI
86 bool "SDI support"
87 depends on ARCH_OMAP3
88 default n
89 help
90 SDI (Serial Display Interface) support.
91
Tomi Valkeinen60596042010-01-14 15:12:47 +020092 SDI is a high speed one-way display serial bus between the host
93 processor and a display.
94
Tomi Valkeinen559d6702009-11-03 11:23:50 +020095config OMAP2_DSS_DSI
96 bool "DSI support"
Tomi Valkeinen99588582012-08-22 15:55:21 +030097 depends on ARCH_OMAP3 || ARCH_OMAP4 || ARCH_OMAP5
Tomi Valkeinen559d6702009-11-03 11:23:50 +020098 default n
99 help
Tomi Valkeinen60596042010-01-14 15:12:47 +0200100 MIPI DSI (Display Serial Interface) support.
101
102 DSI is a high speed half-duplex serial interface between the host
103 processor and a peripheral, such as a display or a framebuffer chip.
104
Peter Meerwald7df913b2012-06-27 22:09:22 +0200105 See http://www.mipi.org/ for DSI specifications.
Tomi Valkeinen559d6702009-11-03 11:23:50 +0200106
Tomi Valkeinen559d6702009-11-03 11:23:50 +0200107config OMAP2_DSS_MIN_FCK_PER_PCK
108 int "Minimum FCK/PCK ratio (for scaling)"
109 range 0 32
110 default 0
111 help
112 This can be used to adjust the minimum FCK/PCK ratio.
113
114 With this you can make sure that DISPC FCK is at least
115 n x PCK. Video plane scaling requires higher FCK than
116 normally.
117
118 If this is set to 0, there's no extra constraint on the
119 DISPC FCK. However, the FCK will at minimum be
120 2xPCK (if active matrix) or 3xPCK (if passive matrix).
121
122 Max FCK is 173MHz, so this doesn't work if your PCK
123 is very high.
124
Tomi Valkeinenc6f65e12010-06-02 17:48:22 +0300125config OMAP2_DSS_SLEEP_AFTER_VENC_RESET
126 bool "Sleep 20ms after VENC reset"
127 default y
128 help
129 There is a 20ms sleep after VENC reset which seemed to fix the
130 reset. The reason for the bug is unclear, and it's also unclear
131 on what platforms this happens.
132
133 This option enables the sleep, and is enabled by default. You can
134 disable the sleep if it doesn't cause problems on your platform.
135
Tomi Valkeinen559d6702009-11-03 11:23:50 +0200136endif