xref: /openbmc/linux/drivers/gpu/drm/exynos/Kconfig (revision 1c82407a)
1config DRM_EXYNOS
2	tristate "DRM Support for Samsung SoC EXYNOS Series"
3	depends on OF && DRM && (ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || ARCH_MULTIPLATFORM)
4	select DRM_KMS_HELPER
5	select VIDEOMODE_HELPERS
6	select SND_SOC_HDMI_CODEC if SND_SOC
7	help
8	  Choose this option if you have a Samsung SoC EXYNOS chipset.
9	  If M is selected the module will be called exynosdrm.
10
11if DRM_EXYNOS
12
13config DRM_EXYNOS_IOMMU
14	bool
15	depends on EXYNOS_IOMMU
16	default y
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	default n
64	help
65	  This enables support for Exynos MIPI-DSI device.
66
67config DRM_EXYNOS_DP
68	bool "EXYNOS specific extensions for Analogix DP driver"
69	depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
70	select DRM_ANALOGIX_DP
71	default DRM_EXYNOS
72	select DRM_PANEL
73	help
74	  This enables support for DP device.
75
76config DRM_EXYNOS_HDMI
77	bool "HDMI"
78	depends on DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON
79	select CEC_CORE if CEC_NOTIFIER
80	help
81	  Choose this option if you want to use Exynos HDMI for DRM.
82
83config DRM_EXYNOS_MIC
84	bool "Mobile Image Compressor"
85	depends on DRM_EXYNOS5433_DECON
86	help
87	  Choose this option if you want to use Exynos MIC for DRM.
88
89comment "Sub-drivers"
90
91config DRM_EXYNOS_G2D
92	bool "G2D"
93	depends on VIDEO_SAMSUNG_S5P_G2D=n
94	select FRAME_VECTOR
95	help
96	  Choose this option if you want to use Exynos G2D for DRM.
97
98config DRM_EXYNOS_IPP
99	bool
100
101config DRM_EXYNOS_FIMC
102	bool "FIMC"
103	select DRM_EXYNOS_IPP
104	help
105	  Choose this option if you want to use Exynos FIMC for DRM.
106
107config DRM_EXYNOS_ROTATOR
108	bool "Rotator"
109	select DRM_EXYNOS_IPP
110	help
111	  Choose this option if you want to use Exynos Rotator for DRM.
112
113config DRM_EXYNOS_SCALER
114	bool "Scaler"
115	select DRM_EXYNOS_IPP
116	help
117	  Choose this option if you want to use Exynos Scaler for DRM.
118
119config DRM_EXYNOS_GSC
120	bool "GScaler"
121	depends on VIDEO_SAMSUNG_EXYNOS_GSC=n
122	select DRM_EXYNOS_IPP
123	help
124	  Choose this option if you want to use Exynos GSC for DRM.
125
126endif
127