blob: 167a4971f47c59d20a29b86b9a98a651426055ab [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
Rob Clarkc8afe682013-06-26 12:44:06 -040013 default y
14 help
15 DRM/KMS driver for MSM/snapdragon.
16
Rob Clarkc8afe682013-06-26 12:44:06 -040017config 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.
Hai Lia6895542015-03-31 14:36:33 -040025
Rob Clarkfeb46f02016-03-20 10:16:29 -040026config DRM_MSM_HDMI_HDCP
27 bool "Enable HDMI HDCP support in MSM DRM driver"
28 depends on DRM_MSM && QCOM_SCM
29 default y
30 help
31 Choose this option to enable HDCP state machine
32
Hai Lia6895542015-03-31 14:36:33 -040033config DRM_MSM_DSI
34 bool "Enable DSI support in MSM DRM driver"
35 depends on DRM_MSM
36 select DRM_PANEL
37 select DRM_MIPI_DSI
38 default y
39 help
40 Choose this option if you have a need for MIPI DSI connector
41 support.
42
Hai Li825637b2015-05-15 13:04:04 -040043config DRM_MSM_DSI_PLL
44 bool "Enable DSI PLL driver in MSM DRM"
45 depends on DRM_MSM_DSI && COMMON_CLK
46 default y
47 help
48 Choose this option to enable DSI PLL driver which provides DSI
49 source clocks under common clock framework.
Hai Li1bf4d7c2015-08-13 17:45:53 -040050
51config DRM_MSM_DSI_28NM_PHY
52 bool "Enable DSI 28nm PHY driver in MSM DRM"
53 depends on DRM_MSM_DSI
54 default y
55 help
56 Choose this option if the 28nm DSI PHY is used on the platform.
57
58config DRM_MSM_DSI_20NM_PHY
59 bool "Enable DSI 20nm PHY driver in MSM DRM"
60 depends on DRM_MSM_DSI
61 default y
62 help
63 Choose this option if the 20nm DSI PHY is used on the platform.
Archit Taneja225380b2015-10-14 12:00:34 +053064
65config DRM_MSM_DSI_28NM_8960_PHY
66 bool "Enable DSI 28nm 8960 PHY driver in MSM DRM"
67 depends on DRM_MSM_DSI
68 default y
69 help
70 Choose this option if the 28nm DSI PHY 8960 variant is used on the
71 platform.