blob: 8f70a8300b8492aa08707efbf52c3bf5fde23399 [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 Valkeinen6fcd4852013-05-10 13:02:32 +03003 select VIDEOMODE_HELPERS
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
Chandrabhanu Mahapatra1b3bcb32012-09-29 11:25:42 +05309config OMAP2_DSS_DEBUG
10 bool "Debug support"
11 default n
Tomi Valkeinen559d6702009-11-03 11:23:50 +020012 help
Chandrabhanu Mahapatra1b3bcb32012-09-29 11:25:42 +053013 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
17config 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.
Tomi Valkeinen559d6702009-11-03 11:23:50 +020025
Tomi Valkeinendfc0fd82009-12-17 14:35:21 +020026config OMAP2_DSS_COLLECT_IRQ_STATS
27 bool "Collect DSS IRQ statistics"
Chandrabhanu Mahapatra1b3bcb32012-09-29 11:25:42 +053028 depends on OMAP2_DSS_DEBUGFS
Tomi Valkeinendfc0fd82009-12-17 14:35:21 +020029 default n
30 help
Tomi Valkeinen60596042010-01-14 15:12:47 +020031 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.
Tomi Valkeinendfc0fd82009-12-17 14:35:21 +020036
Roger Quadrosb4d78bf2010-03-17 13:35:19 +010037config OMAP2_DSS_DPI
38 bool "DPI support"
39 default y
40 help
41 DPI Interface. This is the Parallel Display Interface.
42
Tomi Valkeinen559d6702009-11-03 11:23:50 +020043config OMAP2_DSS_RFBI
44 bool "RFBI support"
45 default n
46 help
Tomi Valkeinen60596042010-01-14 15:12:47 +020047 MIPI DBI support (RFBI, Remote Framebuffer Interface, in Texas
48 Instrument's terminology).
49
50 DBI is a bus between the host processor and a peripheral,
51 such as a display or a framebuffer chip.
52
Peter Meerwald7df913b2012-06-27 22:09:22 +020053 See http://www.mipi.org/ for DBI specifications.
Tomi Valkeinen559d6702009-11-03 11:23:50 +020054
55config OMAP2_DSS_VENC
56 bool "VENC support"
57 default y
58 help
Tomi Valkeinen60596042010-01-14 15:12:47 +020059 OMAP Video Encoder support for S-Video and composite TV-out.
Tomi Valkeinen559d6702009-11-03 11:23:50 +020060
Mythri P K642e21b2011-03-10 15:12:48 +053061config OMAP4_DSS_HDMI
62 bool "HDMI support"
Mythri P K642e21b2011-03-10 15:12:48 +053063 default y
64 help
65 HDMI Interface. This adds the High Definition Multimedia Interface.
66 See http://www.hdmi.org/ for HDMI specification.
67
Ricardo Neri7e151f72012-03-15 14:08:03 -060068config OMAP4_DSS_HDMI_AUDIO
69 bool
Ricardo Neri7e151f72012-03-15 14:08:03 -060070
Tomi Valkeinen559d6702009-11-03 11:23:50 +020071config OMAP2_DSS_SDI
72 bool "SDI support"
Tomi Valkeinen559d6702009-11-03 11:23:50 +020073 default n
74 help
75 SDI (Serial Display Interface) support.
76
Tomi Valkeinen60596042010-01-14 15:12:47 +020077 SDI is a high speed one-way display serial bus between the host
78 processor and a display.
79
Tomi Valkeinen559d6702009-11-03 11:23:50 +020080config OMAP2_DSS_DSI
81 bool "DSI support"
Tomi Valkeinen559d6702009-11-03 11:23:50 +020082 default n
83 help
Tomi Valkeinen60596042010-01-14 15:12:47 +020084 MIPI DSI (Display Serial Interface) support.
85
86 DSI is a high speed half-duplex serial interface between the host
87 processor and a peripheral, such as a display or a framebuffer chip.
88
Peter Meerwald7df913b2012-06-27 22:09:22 +020089 See http://www.mipi.org/ for DSI specifications.
Tomi Valkeinen559d6702009-11-03 11:23:50 +020090
Tomi Valkeinen559d6702009-11-03 11:23:50 +020091config OMAP2_DSS_MIN_FCK_PER_PCK
92 int "Minimum FCK/PCK ratio (for scaling)"
93 range 0 32
94 default 0
95 help
96 This can be used to adjust the minimum FCK/PCK ratio.
97
98 With this you can make sure that DISPC FCK is at least
99 n x PCK. Video plane scaling requires higher FCK than
100 normally.
101
102 If this is set to 0, there's no extra constraint on the
103 DISPC FCK. However, the FCK will at minimum be
104 2xPCK (if active matrix) or 3xPCK (if passive matrix).
105
106 Max FCK is 173MHz, so this doesn't work if your PCK
107 is very high.
108
Tomi Valkeinenc6f65e12010-06-02 17:48:22 +0300109config OMAP2_DSS_SLEEP_AFTER_VENC_RESET
110 bool "Sleep 20ms after VENC reset"
111 default y
112 help
113 There is a 20ms sleep after VENC reset which seemed to fix the
114 reset. The reason for the bug is unclear, and it's also unclear
115 on what platforms this happens.
116
117 This option enables the sleep, and is enabled by default. You can
118 disable the sleep if it doesn't cause problems on your platform.
119
Tomi Valkeinen559d6702009-11-03 11:23:50 +0200120endif