Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 1 | menuconfig OMAP2_DSS |
| 2 | tristate "OMAP2/3 Display Subsystem support (EXPERIMENTAL)" |
| 3 | depends on ARCH_OMAP2 || ARCH_OMAP3 |
| 4 | help |
| 5 | OMAP2/3 Display Subsystem support. |
| 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 | |
Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 39 | config OMAP2_DSS_RFBI |
| 40 | bool "RFBI support" |
| 41 | default n |
| 42 | help |
Tomi Valkeinen | 6059604 | 2010-01-14 15:12:47 +0200 | [diff] [blame] | 43 | MIPI DBI support (RFBI, Remote Framebuffer Interface, in Texas |
| 44 | Instrument's terminology). |
| 45 | |
| 46 | DBI is a bus between the host processor and a peripheral, |
| 47 | such as a display or a framebuffer chip. |
| 48 | |
| 49 | See http://www.mipi.org/ for DBI spesifications. |
Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 50 | |
| 51 | config OMAP2_DSS_VENC |
| 52 | bool "VENC support" |
| 53 | default y |
| 54 | help |
Tomi Valkeinen | 6059604 | 2010-01-14 15:12:47 +0200 | [diff] [blame] | 55 | OMAP Video Encoder support for S-Video and composite TV-out. |
Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 56 | |
| 57 | config OMAP2_DSS_SDI |
| 58 | bool "SDI support" |
| 59 | depends on ARCH_OMAP3 |
| 60 | default n |
| 61 | help |
| 62 | SDI (Serial Display Interface) support. |
| 63 | |
Tomi Valkeinen | 6059604 | 2010-01-14 15:12:47 +0200 | [diff] [blame] | 64 | SDI is a high speed one-way display serial bus between the host |
| 65 | processor and a display. |
| 66 | |
Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 67 | config OMAP2_DSS_DSI |
| 68 | bool "DSI support" |
| 69 | depends on ARCH_OMAP3 |
| 70 | default n |
| 71 | help |
Tomi Valkeinen | 6059604 | 2010-01-14 15:12:47 +0200 | [diff] [blame] | 72 | MIPI DSI (Display Serial Interface) support. |
| 73 | |
| 74 | DSI is a high speed half-duplex serial interface between the host |
| 75 | processor and a peripheral, such as a display or a framebuffer chip. |
| 76 | |
| 77 | See http://www.mipi.org/ for DSI spesifications. |
Tomi Valkeinen | 559d670 | 2009-11-03 11:23:50 +0200 | [diff] [blame] | 78 | |
| 79 | config OMAP2_DSS_USE_DSI_PLL |
| 80 | bool "Use DSI PLL for PCLK (EXPERIMENTAL)" |
| 81 | default n |
| 82 | depends on OMAP2_DSS_DSI |
| 83 | help |
| 84 | Use DSI PLL to generate pixel clock. Currently only for DPI output. |
| 85 | DSI PLL can be used to generate higher and more precise pixel clocks. |
| 86 | |
| 87 | config OMAP2_DSS_FAKE_VSYNC |
| 88 | bool "Fake VSYNC irq from manual update displays" |
| 89 | default n |
| 90 | help |
| 91 | If this is selected, DSI will generate a fake DISPC VSYNC interrupt |
| 92 | when DSI has sent a frame. This is only needed with DSI or RFBI |
| 93 | displays using manual mode, and you want VSYNC to, for example, |
| 94 | time animation. |
| 95 | |
| 96 | config OMAP2_DSS_MIN_FCK_PER_PCK |
| 97 | int "Minimum FCK/PCK ratio (for scaling)" |
| 98 | range 0 32 |
| 99 | default 0 |
| 100 | help |
| 101 | This can be used to adjust the minimum FCK/PCK ratio. |
| 102 | |
| 103 | With this you can make sure that DISPC FCK is at least |
| 104 | n x PCK. Video plane scaling requires higher FCK than |
| 105 | normally. |
| 106 | |
| 107 | If this is set to 0, there's no extra constraint on the |
| 108 | DISPC FCK. However, the FCK will at minimum be |
| 109 | 2xPCK (if active matrix) or 3xPCK (if passive matrix). |
| 110 | |
| 111 | Max FCK is 173MHz, so this doesn't work if your PCK |
| 112 | is very high. |
| 113 | |
| 114 | endif |