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