xref: /openbmc/linux/drivers/gpu/drm/msm/Kconfig (revision abfbd895)
1
2config DRM_MSM
3	tristate "MSM DRM"
4	depends on DRM
5	depends on ARCH_QCOM || (ARM && COMPILE_TEST)
6	depends on OF && COMMON_CLK
7	select REGULATOR
8	select DRM_KMS_HELPER
9	select DRM_PANEL
10	select SHMEM
11	select TMPFS
12	select QCOM_SCM
13	default y
14	help
15	  DRM/KMS driver for MSM/snapdragon.
16
17config DRM_MSM_REGISTER_LOGGING
18	bool "MSM DRM register logging"
19	depends on DRM_MSM
20	default n
21	help
22	  Compile in support for logging register reads/writes in a format
23	  that can be parsed by envytools demsm tool.  If enabled, register
24	  logging can be switched on via msm.reglog=y module param.
25
26config DRM_MSM_DSI
27	bool "Enable DSI support in MSM DRM driver"
28	depends on DRM_MSM
29	select DRM_PANEL
30	select DRM_MIPI_DSI
31	default y
32	help
33	  Choose this option if you have a need for MIPI DSI connector
34	  support.
35
36config DRM_MSM_DSI_PLL
37	bool "Enable DSI PLL driver in MSM DRM"
38	depends on DRM_MSM_DSI && COMMON_CLK
39	default y
40	help
41	  Choose this option to enable DSI PLL driver which provides DSI
42	  source clocks under common clock framework.
43
44config DRM_MSM_DSI_28NM_PHY
45	bool "Enable DSI 28nm PHY driver in MSM DRM"
46	depends on DRM_MSM_DSI
47	default y
48	help
49	  Choose this option if the 28nm DSI PHY is used on the platform.
50
51config DRM_MSM_DSI_20NM_PHY
52	bool "Enable DSI 20nm PHY driver in MSM DRM"
53	depends on DRM_MSM_DSI
54	default y
55	help
56	  Choose this option if the 20nm DSI PHY is used on the platform.
57