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