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