112 lines · plain
1# SPDX-License-Identifier: GPL-2.02config FB_OMAP2_DSS_INIT3 bool4 5config FB_OMAP2_DSS6 tristate7 select VIDEOMODE_HELPERS8 select FB_OMAP2_DSS_INIT9 select HDMI10 11config FB_OMAP2_DSS_DEBUG12 bool "Debug support"13 help14 This enables printing of debug messages. Alternatively, debug messages15 can also be enabled by setting CONFIG_DYNAMIC_DEBUG and then setting16 appropriate flags in <debugfs>/dynamic_debug/control.17 18config FB_OMAP2_DSS_DEBUGFS19 bool "Debugfs filesystem support"20 depends on DEBUG_FS21 help22 This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables23 querying about clock configuration and register configuration of dss,24 dispc, dsi, hdmi and rfbi.25 26config FB_OMAP2_DSS_COLLECT_IRQ_STATS27 bool "Collect DSS IRQ statistics"28 depends on FB_OMAP2_DSS_DEBUGFS29 help30 Collect DSS IRQ statistics, printable via debugfs.31 32 The statistics can be found from33 <debugfs>/omapdss/dispc_irq for DISPC interrupts, and34 <debugfs>/omapdss/dsi_irq for DSI interrupts.35 36config FB_OMAP2_DSS_DPI37 bool "DPI support"38 default y39 help40 DPI Interface. This is the Parallel Display Interface.41 42config FB_OMAP2_DSS_VENC43 bool "VENC support"44 default y45 help46 OMAP Video Encoder support for S-Video and composite TV-out.47 48config FB_OMAP2_DSS_HDMI_COMMON49 bool50 51config FB_OMAP4_DSS_HDMI52 bool "HDMI support for OMAP4"53 default y54 select FB_OMAP2_DSS_HDMI_COMMON55 help56 HDMI support for OMAP4 based SoCs.57 58config FB_OMAP5_DSS_HDMI59 bool "HDMI support for OMAP5"60 select FB_OMAP2_DSS_HDMI_COMMON61 help62 HDMI Interface for OMAP5 and similar cores. This adds the High63 Definition Multimedia Interface. See https://www.hdmi.org/ for HDMI64 specification.65 66config FB_OMAP2_DSS_SDI67 bool "SDI support"68 help69 SDI (Serial Display Interface) support.70 71 SDI is a high speed one-way display serial bus between the host72 processor and a display.73 74config FB_OMAP2_DSS_DSI75 bool "DSI support"76 help77 MIPI DSI (Display Serial Interface) support.78 79 DSI is a high speed half-duplex serial interface between the host80 processor and a peripheral, such as a display or a framebuffer chip.81 82 See https://www.mipi.org/ for DSI specifications.83 84config FB_OMAP2_DSS_MIN_FCK_PER_PCK85 int "Minimum FCK/PCK ratio (for scaling)"86 range 0 3287 default 088 help89 This can be used to adjust the minimum FCK/PCK ratio.90 91 With this you can make sure that DISPC FCK is at least92 n x PCK. Video plane scaling requires higher FCK than93 normally.94 95 If this is set to 0, there's no extra constraint on the96 DISPC FCK. However, the FCK will at minimum be97 2xPCK (if active matrix) or 3xPCK (if passive matrix).98 99 Max FCK is 173MHz, so this doesn't work if your PCK100 is very high.101 102config FB_OMAP2_DSS_SLEEP_AFTER_VENC_RESET103 bool "Sleep 20ms after VENC reset"104 default y105 help106 There is a 20ms sleep after VENC reset which seemed to fix the107 reset. The reason for the bug is unclear, and it's also unclear108 on what platforms this happens.109 110 This option enables the sleep, and is enabled by default. You can111 disable the sleep if it doesn't cause problems on your platform.112