blob: 7c7a0314a7563f46a62b1ef4f156aba7615ebc03 [file] [log] [blame]
Rob Clarkc8afe682013-06-26 12:44:06 -04001
2config DRM_MSM
3 tristate "MSM DRM"
4 depends on DRM
Rob Clarkfb27b8f2014-05-30 15:37:54 -04005 depends on ARCH_QCOM || (ARM && COMPILE_TEST)
Arnd Bergmann40039902015-01-28 14:48:09 +01006 depends on OF && COMMON_CLK
Rob Clarkb7bbd642014-10-31 12:19:40 -04007 select REGULATOR
Rob Clarkc8afe682013-06-26 12:44:06 -04008 select DRM_KMS_HELPER
Rob Clark3e875992014-08-01 13:08:11 -04009 select DRM_PANEL
Rob Clarkc8afe682013-06-26 12:44:06 -040010 select SHMEM
11 select TMPFS
jilai wangc6a57a52015-04-02 17:49:01 -040012 select QCOM_SCM
Srinivas Kandagatlaf1427012016-06-10 10:45:56 +010013 select SND_SOC_HDMI_CODEC if SND_SOC
Rob Clarkc8afe682013-06-26 12:44:06 -040014 default y
15 help
16 DRM/KMS driver for MSM/snapdragon.
17
Rob Clarkc8afe682013-06-26 12:44:06 -040018config 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.
Hai Lia6895542015-03-31 14:36:33 -040026
Rob Clarkfeb46f02016-03-20 10:16:29 -040027config 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
Hai Lia6895542015-03-31 14:36:33 -040034config 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
Hai Li825637b2015-05-15 13:04:04 -040044config 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.
Hai Li1bf4d7c2015-08-13 17:45:53 -040051
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.
Archit Taneja225380b2015-10-14 12:00:34 +053065
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.