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