Merge tag 'devicetree-fixes-for-4.12' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-block.git] / drivers / gpu / drm / msm / Kconfig
CommitLineData
c8afe684
RC
1
2config DRM_MSM
3 tristate "MSM DRM"
4 depends on DRM
fb27b8f2 5 depends on ARCH_QCOM || (ARM && COMPILE_TEST)
40039904 6 depends on OF && COMMON_CLK
f0c379a1 7 depends on MMU
b7bbd640 8 select REGULATOR
c8afe684 9 select DRM_KMS_HELPER
3e87599b 10 select DRM_PANEL
c8afe684
RC
11 select SHMEM
12 select TMPFS
c6a57a50 13 select QCOM_SCM
f1427016 14 select SND_SOC_HDMI_CODEC if SND_SOC
f0a42bb5 15 select SYNC_FILE
c8afe684
RC
16 default y
17 help
18 DRM/KMS driver for MSM/snapdragon.
19
c8afe684
RC
20config 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.
a689554b 28
feb46f02
RC
29config 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
a689554b
HL
36config 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
825637b9
HL
46config 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.
1bf4d7c5
HL
53
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.
225380b3
AT
67
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.
f079f6d9
AT
75
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.