Loading...
1# SPDX-License-Identifier: GPL-2.0-only
2config DRM_EXYNOS
3 tristate "DRM Support for Samsung SoC EXYNOS Series"
4 depends on OF && DRM && (ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || ARCH_MULTIPLATFORM || COMPILE_TEST)
5 depends on MMU
6 select DRM_KMS_HELPER
7 select VIDEOMODE_HELPERS
8 select SND_SOC_HDMI_CODEC if SND_SOC
9 help
10 Choose this option if you have a Samsung SoC EXYNOS chipset.
11 If M is selected the module will be called exynosdrm.
12
13if DRM_EXYNOS
14
15comment "CRTCs"
16
17config DRM_EXYNOS_FIMD
18 bool "FIMD"
19 depends on !FB_S3C
20 select MFD_SYSCON
21 help
22 Choose this option if you want to use Exynos FIMD for DRM.
23
24config DRM_EXYNOS5433_DECON
25 bool "DECON on Exynos5433"
26 help
27 Choose this option if you want to use Exynos5433 DECON for DRM.
28
29config DRM_EXYNOS7_DECON
30 bool "DECON on Exynos7"
31 depends on !FB_S3C
32 help
33 Choose this option if you want to use Exynos DECON for DRM.
34
35config DRM_EXYNOS_MIXER
36 bool "Mixer"
37 help
38 Choose this option if you want to use Exynos Mixer for DRM.
39
40config DRM_EXYNOS_VIDI
41 bool "Virtual Display"
42 help
43 Choose this option if you want to use Exynos VIDI for DRM.
44
45comment "Encoders and Bridges"
46
47config DRM_EXYNOS_DPI
48 bool "Parallel output"
49 depends on DRM_EXYNOS_FIMD
50 select DRM_PANEL
51 default n
52 help
53 This enables support for Exynos parallel output.
54
55config DRM_EXYNOS_DSI
56 bool "MIPI-DSI host"
57 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON
58 select DRM_MIPI_DSI
59 select DRM_PANEL
60 default n
61 help
62 This enables support for Exynos MIPI-DSI device.
63
64config DRM_EXYNOS_DP
65 bool "EXYNOS specific extensions for Analogix DP driver"
66 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
67 select DRM_ANALOGIX_DP
68 default DRM_EXYNOS
69 select DRM_PANEL
70 help
71 This enables support for DP device.
72
73config DRM_EXYNOS_HDMI
74 bool "HDMI"
75 depends on DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON
76 select CEC_CORE if CEC_NOTIFIER
77 help
78 Choose this option if you want to use Exynos HDMI for DRM.
79
80config DRM_EXYNOS_MIC
81 bool "Mobile Image Compressor"
82 depends on DRM_EXYNOS5433_DECON
83 help
84 Choose this option if you want to use Exynos MIC for DRM.
85
86comment "Sub-drivers"
87
88config DRM_EXYNOS_G2D
89 bool "G2D"
90 depends on VIDEO_SAMSUNG_S5P_G2D=n || COMPILE_TEST
91 select FRAME_VECTOR
92 help
93 Choose this option if you want to use Exynos G2D for DRM.
94
95config DRM_EXYNOS_IPP
96 bool
97
98config DRM_EXYNOS_FIMC
99 bool "FIMC"
100 select DRM_EXYNOS_IPP
101 help
102 Choose this option if you want to use Exynos FIMC for DRM.
103
104config DRM_EXYNOS_ROTATOR
105 bool "Rotator"
106 select DRM_EXYNOS_IPP
107 help
108 Choose this option if you want to use Exynos Rotator for DRM.
109
110config DRM_EXYNOS_SCALER
111 bool "Scaler"
112 select DRM_EXYNOS_IPP
113 help
114 Choose this option if you want to use Exynos Scaler for DRM.
115
116config DRM_EXYNOS_GSC
117 bool "GScaler"
118 depends on VIDEO_SAMSUNG_EXYNOS_GSC=n || COMPILE_TEST
119 select DRM_EXYNOS_IPP
120 help
121 Choose this option if you want to use Exynos GSC for DRM.
122
123endif
1# SPDX-License-Identifier: GPL-2.0-only
2config DRM_EXYNOS
3 tristate "DRM Support for Samsung SoC Exynos Series"
4 depends on OF && DRM && COMMON_CLK
5 depends on ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
6 depends on MMU
7 select DRM_DISPLAY_HELPER if DRM_EXYNOS_DP
8 select DRM_KMS_HELPER
9 select VIDEOMODE_HELPERS
10 select FB_DMAMEM_HELPERS if DRM_FBDEV_EMULATION
11 select SND_SOC_HDMI_CODEC if SND_SOC
12 help
13 Choose this option if you have a Samsung SoC Exynos chipset.
14 If M is selected the module will be called exynosdrm.
15
16if DRM_EXYNOS
17
18comment "CRTCs"
19
20config DRM_EXYNOS_FIMD
21 bool "FIMD"
22 depends on !FB_S3C
23 select MFD_SYSCON
24 help
25 Choose this option if you want to use Exynos FIMD for DRM.
26
27config DRM_EXYNOS5433_DECON
28 bool "DECON on Exynos5433"
29 help
30 Choose this option if you want to use Exynos5433 DECON for DRM.
31
32config DRM_EXYNOS7_DECON
33 bool "DECON on Exynos7"
34 depends on !FB_S3C
35 help
36 Choose this option if you want to use Exynos DECON for DRM.
37
38config DRM_EXYNOS_MIXER
39 bool "Mixer"
40 help
41 Choose this option if you want to use Exynos Mixer for DRM.
42
43config DRM_EXYNOS_VIDI
44 bool "Virtual Display"
45 help
46 Choose this option if you want to use Exynos VIDI for DRM.
47
48comment "Encoders and Bridges"
49
50config DRM_EXYNOS_DPI
51 bool "Parallel output"
52 depends on DRM_EXYNOS_FIMD
53 select DRM_PANEL
54 default n
55 help
56 This enables support for Exynos parallel output.
57
58config DRM_EXYNOS_DSI
59 bool "MIPI-DSI host"
60 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON
61 select DRM_MIPI_DSI
62 select DRM_PANEL
63 select DRM_SAMSUNG_DSIM
64 default n
65 help
66 This enables support for Exynos MIPI-DSI device.
67
68config DRM_EXYNOS_DP
69 bool "Exynos specific extensions for Analogix DP driver"
70 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
71 select DRM_ANALOGIX_DP
72 select DRM_DISPLAY_DP_HELPER
73 default DRM_EXYNOS
74 select DRM_PANEL
75 help
76 This enables support for DP device.
77
78config DRM_EXYNOS_HDMI
79 bool "HDMI"
80 depends on DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON
81 select CEC_CORE if CEC_NOTIFIER
82 help
83 Choose this option if you want to use Exynos HDMI for DRM.
84
85config DRM_EXYNOS_MIC
86 bool "Mobile Image Compressor"
87 depends on DRM_EXYNOS5433_DECON
88 help
89 Choose this option if you want to use Exynos MIC for DRM.
90
91comment "Sub-drivers"
92
93config DRM_EXYNOS_G2D
94 bool "G2D"
95 depends on VIDEO_SAMSUNG_S5P_G2D=n || COMPILE_TEST
96 help
97 Choose this option if you want to use Exynos G2D for DRM.
98
99config DRM_EXYNOS_IPP
100 bool
101
102config DRM_EXYNOS_FIMC
103 bool "FIMC"
104 select DRM_EXYNOS_IPP
105 help
106 Choose this option if you want to use Exynos FIMC for DRM.
107
108config DRM_EXYNOS_ROTATOR
109 bool "Rotator"
110 select DRM_EXYNOS_IPP
111 help
112 Choose this option if you want to use Exynos Rotator for DRM.
113
114config DRM_EXYNOS_SCALER
115 bool "Scaler"
116 select DRM_EXYNOS_IPP
117 help
118 Choose this option if you want to use Exynos Scaler for DRM.
119
120config DRM_EXYNOS_GSC
121 bool "GScaler"
122 depends on VIDEO_SAMSUNG_EXYNOS_GSC=n || COMPILE_TEST
123 select DRM_EXYNOS_IPP
124 help
125 Choose this option if you want to use Exynos GSC for DRM.
126
127endif