Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 1 | menuconfig OMAP2_DSS |
Tomi Valkeinen | 46fc133 | 2011-08-22 09:30:44 +0300 | [diff] [blame] | 2 | tristate "OMAP2+ Display Subsystem support" |
Tomi Valkeinen | 6fcd485 | 2013-05-10 13:02:32 +0300 | [diff] [blame] | 3 | select VIDEOMODE_HELPERS |
Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 4 | help |
Mayuresh Janorkar | 3f3aa06 | 2011-02-15 22:54:29 -0600 | [diff] [blame] | 5 | OMAP2+ Display Subsystem support. |
Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 6 | |
| 7 | if OMAP2_DSS |
| 8 | |
Chandrabhanu Mahapatra | 1b3bcb3 | 2012-09-29 11:25:42 +0530 | [diff] [blame] | 9 | config OMAP2_DSS_DEBUG |
| 10 | bool "Debug support" |
| 11 | default n |
Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 12 | help |
Chandrabhanu Mahapatra | 1b3bcb3 | 2012-09-29 11:25:42 +0530 | [diff] [blame] | 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. |
Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 25 | |
Tomi Valkeinen | dfc0fd8 | 2009-12-17 14:35:21 +0200 | [diff] [blame] | 26 | config OMAP2_DSS_COLLECT_IRQ_STATS |
| 27 | bool "Collect DSS IRQ statistics" |
Chandrabhanu Mahapatra | 1b3bcb3 | 2012-09-29 11:25:42 +0530 | [diff] [blame] | 28 | depends on OMAP2_DSS_DEBUGFS |
Tomi Valkeinen | dfc0fd8 | 2009-12-17 14:35:21 +0200 | [diff] [blame] | 29 | default n |
| 30 | help |
Tomi Valkeinen | 6059604 | 2010-01-14 15:12:47 +0200 | [diff] [blame] | 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. |
Tomi Valkeinen | dfc0fd8 | 2009-12-17 14:35:21 +0200 | [diff] [blame] | 36 | |
Roger Quadros | b4d78bf | 2010-03-17 13:35:19 +0100 | [diff] [blame] | 37 | config OMAP2_DSS_DPI |
| 38 | bool "DPI support" |
| 39 | default y |
| 40 | help |
| 41 | DPI Interface. This is the Parallel Display Interface. |
| 42 | |
Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 43 | config OMAP2_DSS_RFBI |
| 44 | bool "RFBI support" |
| 45 | default n |
| 46 | help |
Tomi Valkeinen | 6059604 | 2010-01-14 15:12:47 +0200 | [diff] [blame] | 47 | 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 Meerwald | 7df913b | 2012-06-27 22:09:22 +0200 | [diff] [blame] | 53 | See http://www.mipi.org/ for DBI specifications. |
Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 54 | |
| 55 | config OMAP2_DSS_VENC |
| 56 | bool "VENC support" |
| 57 | default y |
| 58 | help |
Tomi Valkeinen | 6059604 | 2010-01-14 15:12:47 +0200 | [diff] [blame] | 59 | OMAP Video Encoder support for S-Video and composite TV-out. |
Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 60 | |
Mythri P K | 642e21b | 2011-03-10 15:12:48 +0530 | [diff] [blame] | 61 | config OMAP4_DSS_HDMI |
| 62 | bool "HDMI support" |
Mythri P K | 642e21b | 2011-03-10 15:12:48 +0530 | [diff] [blame] | 63 | 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 Neri | 7e151f7 | 2012-03-15 14:08:03 -0600 | [diff] [blame] | 68 | config OMAP4_DSS_HDMI_AUDIO |
| 69 | bool |
Ricardo Neri | 7e151f7 | 2012-03-15 14:08:03 -0600 | [diff] [blame] | 70 | |
Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 71 | config OMAP2_DSS_SDI |
| 72 | bool "SDI support" |
Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 73 | default n |
| 74 | help |
| 75 | SDI (Serial Display Interface) support. |
| 76 | |
Tomi Valkeinen | 6059604 | 2010-01-14 15:12:47 +0200 | [diff] [blame] | 77 | SDI is a high speed one-way display serial bus between the host |
| 78 | processor and a display. |
| 79 | |
Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 80 | config OMAP2_DSS_DSI |
| 81 | bool "DSI support" |
Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 82 | default n |
| 83 | help |
Tomi Valkeinen | 6059604 | 2010-01-14 15:12:47 +0200 | [diff] [blame] | 84 | 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 Meerwald | 7df913b | 2012-06-27 22:09:22 +0200 | [diff] [blame] | 89 | See http://www.mipi.org/ for DSI specifications. |
Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 90 | |
Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 91 | config 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 Valkeinen | c6f65e1 | 2010-06-02 17:48:22 +0300 | [diff] [blame] | 109 | config 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 Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 120 | endif |