blob: d96b2b6898a3739b220633b4a711955f2a385e76 [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 Clarkf0a42bb2016-06-16 16:08:19 -040014 select SYNC_FILE
Rob Clarkc8afe682013-06-26 12:44:06 -040015 default y
16 help
17 DRM/KMS driver for MSM/snapdragon.
18
Rob Clarkc8afe682013-06-26 12:44:06 -040019config 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.
Hai Lia6895542015-03-31 14:36:33 -040027
Rob Clarkfeb46f02016-03-20 10:16:29 -040028config 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
Hai Lia6895542015-03-31 14:36:33 -040035config 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
Hai Li825637b2015-05-15 13:04:04 -040045config 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.
Hai Li1bf4d7c2015-08-13 17:45:53 -040052
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.
Archit Taneja225380b2015-10-14 12:00:34 +053066
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.