| 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" | 
| Mayuresh Janorkar | 3f3aa06 | 2011-02-15 22:54:29 -0600 | [diff] [blame] | 3 | depends on ARCH_OMAP2PLUS | 
| 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 |  | 
|  | 9 | config 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 |  | 
|  | 21 | config OMAP2_DSS_DEBUG_SUPPORT | 
|  | 22 | bool "Debug support" | 
|  | 23 | default y | 
|  | 24 | help | 
|  | 25 | This enables debug messages. You need to enable printing | 
|  | 26 | with 'debug' module parameter. | 
|  | 27 |  | 
| Tomi Valkeinen | dfc0fd8 | 2009-12-17 14:35:21 +0200 | [diff] [blame] | 28 | config OMAP2_DSS_COLLECT_IRQ_STATS | 
|  | 29 | bool "Collect DSS IRQ statistics" | 
|  | 30 | depends on OMAP2_DSS_DEBUG_SUPPORT | 
|  | 31 | default n | 
|  | 32 | help | 
| Tomi Valkeinen | 6059604 | 2010-01-14 15:12:47 +0200 | [diff] [blame] | 33 | Collect DSS IRQ statistics, printable via debugfs. | 
|  | 34 |  | 
|  | 35 | The statistics can be found from | 
|  | 36 | <debugfs>/omapdss/dispc_irq for DISPC interrupts, and | 
|  | 37 | <debugfs>/omapdss/dsi_irq for DSI interrupts. | 
| Tomi Valkeinen | dfc0fd8 | 2009-12-17 14:35:21 +0200 | [diff] [blame] | 38 |  | 
| Roger Quadros | b4d78bf | 2010-03-17 13:35:19 +0100 | [diff] [blame] | 39 | config OMAP2_DSS_DPI | 
|  | 40 | bool "DPI support" | 
|  | 41 | default y | 
|  | 42 | help | 
|  | 43 | DPI Interface. This is the Parallel Display Interface. | 
|  | 44 |  | 
| Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 45 | config OMAP2_DSS_RFBI | 
|  | 46 | bool "RFBI support" | 
|  | 47 | default n | 
|  | 48 | help | 
| Tomi Valkeinen | 6059604 | 2010-01-14 15:12:47 +0200 | [diff] [blame] | 49 | MIPI DBI support (RFBI, Remote Framebuffer Interface, in Texas | 
|  | 50 | Instrument's terminology). | 
|  | 51 |  | 
|  | 52 | DBI is a bus between the host processor and a peripheral, | 
|  | 53 | such as a display or a framebuffer chip. | 
|  | 54 |  | 
|  | 55 | See http://www.mipi.org/ for DBI spesifications. | 
| Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 56 |  | 
|  | 57 | config OMAP2_DSS_VENC | 
|  | 58 | bool "VENC support" | 
|  | 59 | default y | 
|  | 60 | help | 
| Tomi Valkeinen | 6059604 | 2010-01-14 15:12:47 +0200 | [diff] [blame] | 61 | OMAP Video Encoder support for S-Video and composite TV-out. | 
| Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 62 |  | 
| Mythri P K | 642e21b | 2011-03-10 15:12:48 +0530 | [diff] [blame] | 63 | config OMAP4_DSS_HDMI | 
|  | 64 | bool "HDMI support" | 
|  | 65 | depends on ARCH_OMAP4 | 
|  | 66 | default y | 
|  | 67 | help | 
|  | 68 | HDMI Interface. This adds the High Definition Multimedia Interface. | 
|  | 69 | See http://www.hdmi.org/ for HDMI specification. | 
|  | 70 |  | 
| Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 71 | config OMAP2_DSS_SDI | 
|  | 72 | bool "SDI support" | 
|  | 73 | depends on ARCH_OMAP3 | 
|  | 74 | default n | 
|  | 75 | help | 
|  | 76 | SDI (Serial Display Interface) support. | 
|  | 77 |  | 
| Tomi Valkeinen | 6059604 | 2010-01-14 15:12:47 +0200 | [diff] [blame] | 78 | SDI is a high speed one-way display serial bus between the host | 
|  | 79 | processor and a display. | 
|  | 80 |  | 
| Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 81 | config OMAP2_DSS_DSI | 
|  | 82 | bool "DSI support" | 
| Vikram Pandita | 5d74418 | 2011-04-20 20:31:15 -0700 | [diff] [blame] | 83 | depends on ARCH_OMAP3 || ARCH_OMAP4 | 
| Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 84 | default n | 
|  | 85 | help | 
| Tomi Valkeinen | 6059604 | 2010-01-14 15:12:47 +0200 | [diff] [blame] | 86 | MIPI DSI (Display Serial Interface) support. | 
|  | 87 |  | 
|  | 88 | DSI is a high speed half-duplex serial interface between the host | 
|  | 89 | processor and a peripheral, such as a display or a framebuffer chip. | 
|  | 90 |  | 
|  | 91 | See http://www.mipi.org/ for DSI spesifications. | 
| Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 92 |  | 
| Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 93 | config OMAP2_DSS_FAKE_VSYNC | 
|  | 94 | bool "Fake VSYNC irq from manual update displays" | 
|  | 95 | default n | 
|  | 96 | help | 
|  | 97 | If this is selected, DSI will generate a fake DISPC VSYNC interrupt | 
|  | 98 | when DSI has sent a frame. This is only needed with DSI or RFBI | 
|  | 99 | displays using manual mode, and you want VSYNC to, for example, | 
|  | 100 | time animation. | 
|  | 101 |  | 
|  | 102 | config OMAP2_DSS_MIN_FCK_PER_PCK | 
|  | 103 | int "Minimum FCK/PCK ratio (for scaling)" | 
|  | 104 | range 0 32 | 
|  | 105 | default 0 | 
|  | 106 | help | 
|  | 107 | This can be used to adjust the minimum FCK/PCK ratio. | 
|  | 108 |  | 
|  | 109 | With this you can make sure that DISPC FCK is at least | 
|  | 110 | n x PCK. Video plane scaling requires higher FCK than | 
|  | 111 | normally. | 
|  | 112 |  | 
|  | 113 | If this is set to 0, there's no extra constraint on the | 
|  | 114 | DISPC FCK. However, the FCK will at minimum be | 
|  | 115 | 2xPCK (if active matrix) or 3xPCK (if passive matrix). | 
|  | 116 |  | 
|  | 117 | Max FCK is 173MHz, so this doesn't work if your PCK | 
|  | 118 | is very high. | 
|  | 119 |  | 
| Tomi Valkeinen | c6f65e1 | 2010-06-02 17:48:22 +0300 | [diff] [blame] | 120 | config OMAP2_DSS_SLEEP_AFTER_VENC_RESET | 
|  | 121 | bool "Sleep 20ms after VENC reset" | 
|  | 122 | default y | 
|  | 123 | help | 
|  | 124 | There is a 20ms sleep after VENC reset which seemed to fix the | 
|  | 125 | reset. The reason for the bug is unclear, and it's also unclear | 
|  | 126 | on what platforms this happens. | 
|  | 127 |  | 
|  | 128 | This option enables the sleep, and is enabled by default. You can | 
|  | 129 | disable the sleep if it doesn't cause problems on your platform. | 
|  | 130 |  | 
| Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 131 | endif |