blob: 84d3ec98e6b9e045699c748fb05d80e608d8e06a [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
26config DRM_MSM_DSI
27 bool "Enable DSI support in MSM DRM driver"
28 depends on DRM_MSM
29 select DRM_PANEL
30 select DRM_MIPI_DSI
31 default y
32 help
33 Choose this option if you have a need for MIPI DSI connector
34 support.
35
Hai Li825637b2015-05-15 13:04:04 -040036config DRM_MSM_DSI_PLL
37 bool "Enable DSI PLL driver in MSM DRM"
38 depends on DRM_MSM_DSI && COMMON_CLK
39 default y
40 help
41 Choose this option to enable DSI PLL driver which provides DSI
42 source clocks under common clock framework.
Hai Li1bf4d7c2015-08-13 17:45:53 -040043
44config DRM_MSM_DSI_28NM_PHY
45 bool "Enable DSI 28nm PHY driver in MSM DRM"
46 depends on DRM_MSM_DSI
47 default y
48 help
49 Choose this option if the 28nm DSI PHY is used on the platform.
50
51config DRM_MSM_DSI_20NM_PHY
52 bool "Enable DSI 20nm PHY driver in MSM DRM"
53 depends on DRM_MSM_DSI
54 default y
55 help
56 Choose this option if the 20nm DSI PHY is used on the platform.