xref: /openbmc/linux/drivers/gpu/drm/msm/Kconfig (revision 80483c3a)
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	select SND_SOC_HDMI_CODEC if SND_SOC
14	default y
15	help
16	  DRM/KMS driver for MSM/snapdragon.
17
18config DRM_MSM_REGISTER_LOGGING
19	bool "MSM DRM register logging"
20	depends on DRM_MSM
21	default n
22	help
23	  Compile in support for logging register reads/writes in a format
24	  that can be parsed by envytools demsm tool.  If enabled, register
25	  logging can be switched on via msm.reglog=y module param.
26
27config DRM_MSM_HDMI_HDCP
28	bool "Enable HDMI HDCP support in MSM DRM driver"
29	depends on DRM_MSM && QCOM_SCM
30	default y
31	help
32	  Choose this option to enable HDCP state machine
33
34config DRM_MSM_DSI
35	bool "Enable DSI support in MSM DRM driver"
36	depends on DRM_MSM
37	select DRM_PANEL
38	select DRM_MIPI_DSI
39	default y
40	help
41	  Choose this option if you have a need for MIPI DSI connector
42	  support.
43
44config DRM_MSM_DSI_PLL
45	bool "Enable DSI PLL driver in MSM DRM"
46	depends on DRM_MSM_DSI && COMMON_CLK
47	default y
48	help
49	  Choose this option to enable DSI PLL driver which provides DSI
50	  source clocks under common clock framework.
51
52config DRM_MSM_DSI_28NM_PHY
53	bool "Enable DSI 28nm PHY driver in MSM DRM"
54	depends on DRM_MSM_DSI
55	default y
56	help
57	  Choose this option if the 28nm DSI PHY is used on the platform.
58
59config DRM_MSM_DSI_20NM_PHY
60	bool "Enable DSI 20nm PHY driver in MSM DRM"
61	depends on DRM_MSM_DSI
62	default y
63	help
64	  Choose this option if the 20nm DSI PHY is used on the platform.
65
66config DRM_MSM_DSI_28NM_8960_PHY
67	bool "Enable DSI 28nm 8960 PHY driver in MSM DRM"
68	depends on DRM_MSM_DSI
69	default y
70	help
71	  Choose this option if the 28nm DSI PHY 8960 variant is used on the
72	  platform.
73