Linux Audio

Check our new training course

Loading...
Note: File does not exist in v3.1.
  1# SPDX-License-Identifier: GPL-2.0-only
  2config DRM_OMAP
  3	tristate "OMAP DRM"
  4	depends on MMU
  5	depends on DRM && OF
  6	depends on ARCH_OMAP2PLUS || (COMPILE_TEST && PAGE_SIZE_LESS_THAN_64KB)
  7	select DRM_CLIENT_SELECTION
  8	select DRM_KMS_HELPER
  9	select DRM_DISPLAY_HELPER
 10	select DRM_BRIDGE_CONNECTOR
 11	select FB_DMAMEM_HELPERS_DEFERRED if DRM_FBDEV_EMULATION
 12	select VIDEOMODE_HELPERS
 13	select HDMI
 14	default n
 15	help
 16	  DRM display driver for OMAP2/3/4 based boards.
 17
 18if DRM_OMAP
 19
 20config OMAP2_DSS_DEBUG
 21	bool "Debug support"
 22	default n
 23	help
 24	  This enables printing of debug messages. Alternatively, debug messages
 25	  can also be enabled by setting CONFIG_DYNAMIC_DEBUG and then setting
 26	  appropriate flags in <debugfs>/dynamic_debug/control.
 27
 28config OMAP2_DSS_DEBUGFS
 29	bool "Debugfs filesystem support"
 30	depends on DEBUG_FS
 31	default n
 32	help
 33	  This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables
 34	  querying about clock configuration and register configuration of dss,
 35	  dispc, dsi, hdmi and rfbi.
 36
 37config OMAP2_DSS_COLLECT_IRQ_STATS
 38	bool "Collect DSS IRQ statistics"
 39	depends on OMAP2_DSS_DEBUGFS
 40	default n
 41	help
 42	  Collect DSS IRQ statistics, printable via debugfs.
 43
 44	  The statistics can be found from
 45	  <debugfs>/omapdss/dispc_irq for DISPC interrupts, and
 46	  <debugfs>/omapdss/dsi_irq for DSI interrupts.
 47
 48config OMAP2_DSS_DPI
 49	bool "DPI support"
 50	default y
 51	help
 52	  DPI Interface. This is the Parallel Display Interface.
 53
 54config OMAP2_DSS_VENC
 55	bool "VENC support"
 56	default y
 57	help
 58	  OMAP Video Encoder support for S-Video and composite TV-out.
 59
 60config OMAP2_DSS_HDMI_COMMON
 61	bool
 62
 63config OMAP4_DSS_HDMI
 64	bool "HDMI support for OMAP4"
 65	default y
 66	select OMAP2_DSS_HDMI_COMMON
 67	help
 68	  HDMI support for OMAP4 based SoCs.
 69
 70config OMAP4_DSS_HDMI_CEC
 71	bool "Enable HDMI CEC support for OMAP4"
 72	depends on OMAP4_DSS_HDMI
 73	select CEC_CORE
 74	default y
 75	help
 76	  When selected the HDMI transmitter will support the CEC feature.
 77
 78config OMAP5_DSS_HDMI
 79	bool "HDMI support for OMAP5"
 80	default n
 81	select OMAP2_DSS_HDMI_COMMON
 82	help
 83	  HDMI Interface for OMAP5 and similar cores. This adds the High
 84	  Definition Multimedia Interface. See http://www.hdmi.org/ for HDMI
 85	  specification.
 86
 87config OMAP2_DSS_SDI
 88	bool "SDI support"
 89	default n
 90	help
 91	  SDI (Serial Display Interface) support.
 92
 93	  SDI is a high speed one-way display serial bus between the host
 94	  processor and a display.
 95
 96config OMAP2_DSS_DSI
 97	bool "DSI support"
 98	default n
 99	select DRM_MIPI_DSI
100	help
101	  MIPI DSI (Display Serial Interface) support.
102
103	  DSI is a high speed half-duplex serial interface between the host
104	  processor and a peripheral, such as a display or a framebuffer chip.
105
106	  See http://www.mipi.org/ for DSI specifications.
107
108config OMAP2_DSS_MIN_FCK_PER_PCK
109	int "Minimum FCK/PCK ratio (for scaling)"
110	range 0 32
111	default 0
112	help
113	  This can be used to adjust the minimum FCK/PCK ratio.
114
115	  With this you can make sure that DISPC FCK is at least
116	  n x PCK. Video plane scaling requires higher FCK than
117	  normally.
118
119	  If this is set to 0, there's no extra constraint on the
120	  DISPC FCK. However, the FCK will at minimum be
121	  2xPCK (if active matrix) or 3xPCK (if passive matrix).
122
123	  Max FCK is 173MHz, so this doesn't work if your PCK
124	  is very high.
125
126config OMAP2_DSS_SLEEP_AFTER_VENC_RESET
127	bool "Sleep 20ms after VENC reset"
128	default y
129	help
130	  There is a 20ms sleep after VENC reset which seemed to fix the
131	  reset. The reason for the bug is unclear, and it's also unclear
132	  on what platforms this happens.
133
134	  This option enables the sleep, and is enabled by default. You can
135	  disable the sleep if it doesn't cause problems on your platform.
136
137endif