blob: 5b8e23d051f2f3752a180df4abedccefcfebc3ed [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
Arnd Bergmannf0c379a2017-01-11 14:33:35 +01007 depends on MMU
Rob Clarkb7bbd642014-10-31 12:19:40 -04008 select REGULATOR
Rob Clarkc8afe682013-06-26 12:44:06 -04009 select DRM_KMS_HELPER
Rob Clark3e875992014-08-01 13:08:11 -040010 select DRM_PANEL
Rob Clarkc8afe682013-06-26 12:44:06 -040011 select SHMEM
12 select TMPFS
jilai wangc6a57a52015-04-02 17:49:01 -040013 select QCOM_SCM
Srinivas Kandagatlaf1427012016-06-10 10:45:56 +010014 select SND_SOC_HDMI_CODEC if SND_SOC
Rob Clarkf0a42bb2016-06-16 16:08:19 -040015 select SYNC_FILE
Rob Clarkc8afe682013-06-26 12:44:06 -040016 default y
17 help
18 DRM/KMS driver for MSM/snapdragon.
19
Rob Clarkc8afe682013-06-26 12:44:06 -040020config DRM_MSM_REGISTER_LOGGING
21 bool "MSM DRM register logging"
22 depends on DRM_MSM
23 default n
24 help
25 Compile in support for logging register reads/writes in a format
26 that can be parsed by envytools demsm tool. If enabled, register
27 logging can be switched on via msm.reglog=y module param.
Hai Lia6895542015-03-31 14:36:33 -040028
Rob Clarkfeb46f02016-03-20 10:16:29 -040029config DRM_MSM_HDMI_HDCP
30 bool "Enable HDMI HDCP support in MSM DRM driver"
31 depends on DRM_MSM && QCOM_SCM
32 default y
33 help
34 Choose this option to enable HDCP state machine
35
Hai Lia6895542015-03-31 14:36:33 -040036config DRM_MSM_DSI
37 bool "Enable DSI support in MSM DRM driver"
38 depends on DRM_MSM
39 select DRM_PANEL
40 select DRM_MIPI_DSI
41 default y
42 help
43 Choose this option if you have a need for MIPI DSI connector
44 support.
45
Hai Li825637b2015-05-15 13:04:04 -040046config DRM_MSM_DSI_PLL
47 bool "Enable DSI PLL driver in MSM DRM"
48 depends on DRM_MSM_DSI && COMMON_CLK
49 default y
50 help
51 Choose this option to enable DSI PLL driver which provides DSI
52 source clocks under common clock framework.
Hai Li1bf4d7c2015-08-13 17:45:53 -040053
54config DRM_MSM_DSI_28NM_PHY
55 bool "Enable DSI 28nm PHY driver in MSM DRM"
56 depends on DRM_MSM_DSI
57 default y
58 help
59 Choose this option if the 28nm DSI PHY is used on the platform.
60
61config DRM_MSM_DSI_20NM_PHY
62 bool "Enable DSI 20nm PHY driver in MSM DRM"
63 depends on DRM_MSM_DSI
64 default y
65 help
66 Choose this option if the 20nm DSI PHY is used on the platform.
Archit Taneja225380b2015-10-14 12:00:34 +053067
68config DRM_MSM_DSI_28NM_8960_PHY
69 bool "Enable DSI 28nm 8960 PHY driver in MSM DRM"
70 depends on DRM_MSM_DSI
71 default y
72 help
73 Choose this option if the 28nm DSI PHY 8960 variant is used on the
74 platform.
Archit Tanejaf079f6d2017-01-03 19:45:43 +053075
76config DRM_MSM_DSI_14NM_PHY
77 bool "Enable DSI 14nm PHY driver in MSM DRM (used by MSM8996/APQ8096)"
78 depends on DRM_MSM_DSI
79 default y
80 help
81 Choose this option if DSI PHY on 8996 is used on the platform.