blob: cb0f145c7077897721dce128aa0369ce4f6953c8 [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"
Tomi Valkeinen559d6702009-11-03 11:23:50 +02003 help
Mayuresh Janorkar3f3aa062011-02-15 22:54:29 -06004 OMAP2+ Display Subsystem support.
Tomi Valkeinen559d6702009-11-03 11:23:50 +02005
6if OMAP2_DSS
7
Chandrabhanu Mahapatra1b3bcb32012-09-29 11:25:42 +05308config OMAP2_DSS_DEBUG
9 bool "Debug support"
10 default n
Tomi Valkeinen559d6702009-11-03 11:23:50 +020011 help
Chandrabhanu Mahapatra1b3bcb32012-09-29 11:25:42 +053012 This enables printing of debug messages. Alternatively, debug messages
13 can also be enabled by setting CONFIG_DYNAMIC_DEBUG and then setting
14 appropriate flags in <debugfs>/dynamic_debug/control.
15
16config OMAP2_DSS_DEBUGFS
17 bool "Debugfs filesystem support"
18 depends on DEBUG_FS
19 default n
20 help
21 This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables
22 querying about clock configuration and register configuration of dss,
23 dispc, dsi, hdmi and rfbi.
Tomi Valkeinen559d6702009-11-03 11:23:50 +020024
Tomi Valkeinendfc0fd82009-12-17 14:35:21 +020025config OMAP2_DSS_COLLECT_IRQ_STATS
26 bool "Collect DSS IRQ statistics"
Chandrabhanu Mahapatra1b3bcb32012-09-29 11:25:42 +053027 depends on OMAP2_DSS_DEBUGFS
Tomi Valkeinendfc0fd82009-12-17 14:35:21 +020028 default n
29 help
Tomi Valkeinen60596042010-01-14 15:12:47 +020030 Collect DSS IRQ statistics, printable via debugfs.
31
32 The statistics can be found from
33 <debugfs>/omapdss/dispc_irq for DISPC interrupts, and
34 <debugfs>/omapdss/dsi_irq for DSI interrupts.
Tomi Valkeinendfc0fd82009-12-17 14:35:21 +020035
Roger Quadrosb4d78bf2010-03-17 13:35:19 +010036config OMAP2_DSS_DPI
37 bool "DPI support"
38 default y
39 help
40 DPI Interface. This is the Parallel Display Interface.
41
Tomi Valkeinen559d6702009-11-03 11:23:50 +020042config OMAP2_DSS_RFBI
43 bool "RFBI support"
44 default n
45 help
Tomi Valkeinen60596042010-01-14 15:12:47 +020046 MIPI DBI support (RFBI, Remote Framebuffer Interface, in Texas
47 Instrument's terminology).
48
49 DBI is a bus between the host processor and a peripheral,
50 such as a display or a framebuffer chip.
51
Peter Meerwald7df913b2012-06-27 22:09:22 +020052 See http://www.mipi.org/ for DBI specifications.
Tomi Valkeinen559d6702009-11-03 11:23:50 +020053
54config OMAP2_DSS_VENC
55 bool "VENC support"
56 default y
57 help
Tomi Valkeinen60596042010-01-14 15:12:47 +020058 OMAP Video Encoder support for S-Video and composite TV-out.
Tomi Valkeinen559d6702009-11-03 11:23:50 +020059
Mythri P K642e21b2011-03-10 15:12:48 +053060config OMAP4_DSS_HDMI
61 bool "HDMI support"
Mythri P K642e21b2011-03-10 15:12:48 +053062 default y
63 help
64 HDMI Interface. This adds the High Definition Multimedia Interface.
65 See http://www.hdmi.org/ for HDMI specification.
66
Ricardo Neri7e151f72012-03-15 14:08:03 -060067config OMAP4_DSS_HDMI_AUDIO
68 bool
Ricardo Neri7e151f72012-03-15 14:08:03 -060069
Tomi Valkeinen559d6702009-11-03 11:23:50 +020070config OMAP2_DSS_SDI
71 bool "SDI support"
Tomi Valkeinen559d6702009-11-03 11:23:50 +020072 default n
73 help
74 SDI (Serial Display Interface) support.
75
Tomi Valkeinen60596042010-01-14 15:12:47 +020076 SDI is a high speed one-way display serial bus between the host
77 processor and a display.
78
Tomi Valkeinen559d6702009-11-03 11:23:50 +020079config OMAP2_DSS_DSI
80 bool "DSI support"
Tomi Valkeinen559d6702009-11-03 11:23:50 +020081 default n
82 help
Tomi Valkeinen60596042010-01-14 15:12:47 +020083 MIPI DSI (Display Serial Interface) support.
84
85 DSI is a high speed half-duplex serial interface between the host
86 processor and a peripheral, such as a display or a framebuffer chip.
87
Peter Meerwald7df913b2012-06-27 22:09:22 +020088 See http://www.mipi.org/ for DSI specifications.
Tomi Valkeinen559d6702009-11-03 11:23:50 +020089
Tomi Valkeinen559d6702009-11-03 11:23:50 +020090config OMAP2_DSS_MIN_FCK_PER_PCK
91 int "Minimum FCK/PCK ratio (for scaling)"
92 range 0 32
93 default 0
94 help
95 This can be used to adjust the minimum FCK/PCK ratio.
96
97 With this you can make sure that DISPC FCK is at least
98 n x PCK. Video plane scaling requires higher FCK than
99 normally.
100
101 If this is set to 0, there's no extra constraint on the
102 DISPC FCK. However, the FCK will at minimum be
103 2xPCK (if active matrix) or 3xPCK (if passive matrix).
104
105 Max FCK is 173MHz, so this doesn't work if your PCK
106 is very high.
107
Tomi Valkeinenc6f65e12010-06-02 17:48:22 +0300108config OMAP2_DSS_SLEEP_AFTER_VENC_RESET
109 bool "Sleep 20ms after VENC reset"
110 default y
111 help
112 There is a 20ms sleep after VENC reset which seemed to fix the
113 reset. The reason for the bug is unclear, and it's also unclear
114 on what platforms this happens.
115
116 This option enables the sleep, and is enabled by default. You can
117 disable the sleep if it doesn't cause problems on your platform.
118
Tomi Valkeinen559d6702009-11-03 11:23:50 +0200119endif