137 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2config DRM_OMAP3 tristate "OMAP DRM"4 depends on MMU5 depends on DRM && OF6 depends on ARCH_OMAP2PLUS || (COMPILE_TEST && PAGE_SIZE_LESS_THAN_64KB)7 select DRM_KMS_HELPER8 select DRM_DISPLAY_HELPER9 select DRM_BRIDGE_CONNECTOR10 select FB_DMAMEM_HELPERS_DEFERRED if DRM_FBDEV_EMULATION11 select VIDEOMODE_HELPERS12 select HDMI13 default n14 help15 DRM display driver for OMAP2/3/4 based boards.16 17if DRM_OMAP18 19config OMAP2_DSS_DEBUG20 bool "Debug support"21 default n22 help23 This enables printing of debug messages. Alternatively, debug messages24 can also be enabled by setting CONFIG_DYNAMIC_DEBUG and then setting25 appropriate flags in <debugfs>/dynamic_debug/control.26 27config OMAP2_DSS_DEBUGFS28 bool "Debugfs filesystem support"29 depends on DEBUG_FS30 default n31 help32 This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables33 querying about clock configuration and register configuration of dss,34 dispc, dsi, hdmi and rfbi.35 36config OMAP2_DSS_COLLECT_IRQ_STATS37 bool "Collect DSS IRQ statistics"38 depends on OMAP2_DSS_DEBUGFS39 default n40 help41 Collect DSS IRQ statistics, printable via debugfs.42 43 The statistics can be found from44 <debugfs>/omapdss/dispc_irq for DISPC interrupts, and45 <debugfs>/omapdss/dsi_irq for DSI interrupts.46 47config OMAP2_DSS_DPI48 bool "DPI support"49 default y50 help51 DPI Interface. This is the Parallel Display Interface.52 53config OMAP2_DSS_VENC54 bool "VENC support"55 default y56 help57 OMAP Video Encoder support for S-Video and composite TV-out.58 59config OMAP2_DSS_HDMI_COMMON60 bool61 62config OMAP4_DSS_HDMI63 bool "HDMI support for OMAP4"64 default y65 select OMAP2_DSS_HDMI_COMMON66 help67 HDMI support for OMAP4 based SoCs.68 69config OMAP4_DSS_HDMI_CEC70 bool "Enable HDMI CEC support for OMAP4"71 depends on OMAP4_DSS_HDMI72 select CEC_CORE73 default y74 help75 When selected the HDMI transmitter will support the CEC feature.76 77config OMAP5_DSS_HDMI78 bool "HDMI support for OMAP5"79 default n80 select OMAP2_DSS_HDMI_COMMON81 help82 HDMI Interface for OMAP5 and similar cores. This adds the High83 Definition Multimedia Interface. See http://www.hdmi.org/ for HDMI84 specification.85 86config OMAP2_DSS_SDI87 bool "SDI support"88 default n89 help90 SDI (Serial Display Interface) support.91 92 SDI is a high speed one-way display serial bus between the host93 processor and a display.94 95config OMAP2_DSS_DSI96 bool "DSI support"97 default n98 select DRM_MIPI_DSI99 help100 MIPI DSI (Display Serial Interface) support.101 102 DSI is a high speed half-duplex serial interface between the host103 processor and a peripheral, such as a display or a framebuffer chip.104 105 See http://www.mipi.org/ for DSI specifications.106 107config OMAP2_DSS_MIN_FCK_PER_PCK108 int "Minimum FCK/PCK ratio (for scaling)"109 range 0 32110 default 0111 help112 This can be used to adjust the minimum FCK/PCK ratio.113 114 With this you can make sure that DISPC FCK is at least115 n x PCK. Video plane scaling requires higher FCK than116 normally.117 118 If this is set to 0, there's no extra constraint on the119 DISPC FCK. However, the FCK will at minimum be120 2xPCK (if active matrix) or 3xPCK (if passive matrix).121 122 Max FCK is 173MHz, so this doesn't work if your PCK123 is very high.124 125config OMAP2_DSS_SLEEP_AFTER_VENC_RESET126 bool "Sleep 20ms after VENC reset"127 default y128 help129 There is a 20ms sleep after VENC reset which seemed to fix the130 reset. The reason for the bug is unclear, and it's also unclear131 on what platforms this happens.132 133 This option enables the sleep, and is enabled by default. You can134 disable the sleep if it doesn't cause problems on your platform.135 136endif137