Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 config FB_OMAP2_DSS_INIT
0003         bool
0004 
0005 config FB_OMAP2_DSS
0006         tristate
0007         select VIDEOMODE_HELPERS
0008         select FB_OMAP2_DSS_INIT
0009         select HDMI
0010 
0011 config FB_OMAP2_DSS_DEBUG
0012         bool "Debug support"
0013         help
0014           This enables printing of debug messages. Alternatively, debug messages
0015           can also be enabled by setting CONFIG_DYNAMIC_DEBUG and then setting
0016           appropriate flags in <debugfs>/dynamic_debug/control.
0017 
0018 config FB_OMAP2_DSS_DEBUGFS
0019         bool "Debugfs filesystem support"
0020         depends on DEBUG_FS
0021         help
0022           This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables
0023           querying about clock configuration and register configuration of dss,
0024           dispc, dsi, hdmi and rfbi.
0025 
0026 config FB_OMAP2_DSS_COLLECT_IRQ_STATS
0027         bool "Collect DSS IRQ statistics"
0028         depends on FB_OMAP2_DSS_DEBUGFS
0029         help
0030           Collect DSS IRQ statistics, printable via debugfs.
0031 
0032           The statistics can be found from
0033           <debugfs>/omapdss/dispc_irq for DISPC interrupts, and
0034           <debugfs>/omapdss/dsi_irq for DSI interrupts.
0035 
0036 config FB_OMAP2_DSS_DPI
0037         bool "DPI support"
0038         default y
0039         help
0040           DPI Interface. This is the Parallel Display Interface.
0041 
0042 config FB_OMAP2_DSS_VENC
0043         bool "VENC support"
0044         default y
0045         help
0046           OMAP Video Encoder support for S-Video and composite TV-out.
0047 
0048 config FB_OMAP2_DSS_HDMI_COMMON
0049         bool
0050 
0051 config FB_OMAP4_DSS_HDMI
0052         bool "HDMI support for OMAP4"
0053         default y
0054         select FB_OMAP2_DSS_HDMI_COMMON
0055         help
0056           HDMI support for OMAP4 based SoCs.
0057 
0058 config FB_OMAP5_DSS_HDMI
0059         bool "HDMI support for OMAP5"
0060         select FB_OMAP2_DSS_HDMI_COMMON
0061         help
0062           HDMI Interface for OMAP5 and similar cores. This adds the High
0063           Definition Multimedia Interface. See https://www.hdmi.org/ for HDMI
0064           specification.
0065 
0066 config FB_OMAP2_DSS_SDI
0067         bool "SDI support"
0068         help
0069           SDI (Serial Display Interface) support.
0070 
0071           SDI is a high speed one-way display serial bus between the host
0072           processor and a display.
0073 
0074 config FB_OMAP2_DSS_DSI
0075         bool "DSI support"
0076         help
0077           MIPI DSI (Display Serial Interface) support.
0078 
0079           DSI is a high speed half-duplex serial interface between the host
0080           processor and a peripheral, such as a display or a framebuffer chip.
0081 
0082           See https://www.mipi.org/ for DSI specifications.
0083 
0084 config FB_OMAP2_DSS_MIN_FCK_PER_PCK
0085         int "Minimum FCK/PCK ratio (for scaling)"
0086         range 0 32
0087         default 0
0088         help
0089           This can be used to adjust the minimum FCK/PCK ratio.
0090 
0091           With this you can make sure that DISPC FCK is at least
0092           n x PCK. Video plane scaling requires higher FCK than
0093           normally.
0094 
0095           If this is set to 0, there's no extra constraint on the
0096           DISPC FCK. However, the FCK will at minimum be
0097           2xPCK (if active matrix) or 3xPCK (if passive matrix).
0098 
0099           Max FCK is 173MHz, so this doesn't work if your PCK
0100           is very high.
0101 
0102 config FB_OMAP2_DSS_SLEEP_AFTER_VENC_RESET
0103         bool "Sleep 20ms after VENC reset"
0104         default y
0105         help
0106           There is a 20ms sleep after VENC reset which seemed to fix the
0107           reset. The reason for the bug is unclear, and it's also unclear
0108           on what platforms this happens.
0109 
0110           This option enables the sleep, and is enabled by default. You can
0111           disable the sleep if it doesn't cause problems on your platform.