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