xref: /linux/drivers/video/fbdev/omap2/omapfb/dss/Kconfig (revision 7aacf86b75bc5523d20fd9127104384fce51ce9c)
1config FB_OMAP2_DSS_INIT
2	bool
3
4config FB_OMAP2_DSS
5        tristate
6	select VIDEOMODE_HELPERS
7	select FB_OMAP2_DSS_INIT
8	select HDMI
9
10config FB_OMAP2_DSS_DEBUG
11	bool "Debug support"
12	default n
13	help
14	  This enables printing of debug messages. Alternatively, debug messages
15	  can also be enabled by setting CONFIG_DYNAMIC_DEBUG and then setting
16	  appropriate flags in <debugfs>/dynamic_debug/control.
17
18config FB_OMAP2_DSS_DEBUGFS
19	bool "Debugfs filesystem support"
20	depends on DEBUG_FS
21	default n
22	help
23	  This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables
24	  querying about clock configuration and register configuration of dss,
25	  dispc, dsi, hdmi and rfbi.
26
27config FB_OMAP2_DSS_COLLECT_IRQ_STATS
28	bool "Collect DSS IRQ statistics"
29	depends on FB_OMAP2_DSS_DEBUGFS
30	default n
31	help
32	  Collect DSS IRQ statistics, printable via debugfs.
33
34	  The statistics can be found from
35	  <debugfs>/omapdss/dispc_irq for DISPC interrupts, and
36	  <debugfs>/omapdss/dsi_irq for DSI interrupts.
37
38config FB_OMAP2_DSS_DPI
39	bool "DPI support"
40	default y
41	help
42	  DPI Interface. This is the Parallel Display Interface.
43
44config FB_OMAP2_DSS_RFBI
45	bool "RFBI support"
46	depends on BROKEN
47        default n
48	help
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 specifications.
56
57config FB_OMAP2_DSS_VENC
58	bool "VENC support"
59        default y
60	help
61	  OMAP Video Encoder support for S-Video and composite TV-out.
62
63config FB_OMAP2_DSS_HDMI_COMMON
64	bool
65
66config FB_OMAP4_DSS_HDMI
67	bool "HDMI support for OMAP4"
68        default y
69	select FB_OMAP2_DSS_HDMI_COMMON
70	help
71	  HDMI support for OMAP4 based SoCs.
72
73config FB_OMAP5_DSS_HDMI
74	bool "HDMI support for OMAP5"
75	default n
76	select FB_OMAP2_DSS_HDMI_COMMON
77	help
78	  HDMI Interface for OMAP5 and similar cores. This adds the High
79	  Definition Multimedia Interface. See http://www.hdmi.org/ for HDMI
80	  specification.
81
82config FB_OMAP2_DSS_SDI
83	bool "SDI support"
84        default n
85	help
86	  SDI (Serial Display Interface) support.
87
88	  SDI is a high speed one-way display serial bus between the host
89	  processor and a display.
90
91config FB_OMAP2_DSS_DSI
92	bool "DSI support"
93        default n
94	help
95	  MIPI DSI (Display Serial Interface) support.
96
97	  DSI is a high speed half-duplex serial interface between the host
98	  processor and a peripheral, such as a display or a framebuffer chip.
99
100	  See http://www.mipi.org/ for DSI specifications.
101
102config FB_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
120config FB_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