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