blob: 5fb8d7430908414effcf6842e7ac7db042bddc81 [file] [log] [blame]
Stephen Boyd73bb7dc2015-10-08 10:59:32 -07001config QCOM_GDSC
2 bool
3 select PM_GENERIC_DOMAINS if PM
4
Georgi Djakov00f64b52016-11-02 17:56:56 +02005config QCOM_RPMCC
6 bool
7
Stephen Boyd085d7a42014-01-15 10:47:23 -08008config COMMON_CLK_QCOM
9 tristate "Support for Qualcomm's clock controllers"
10 depends on OF
Bartlomiej Zolnierkiewicz39375672015-04-07 14:12:04 +020011 depends on ARCH_QCOM || COMPILE_TEST
Stephen Boyd085d7a42014-01-15 10:47:23 -080012 select REGMAP_MMIO
Stephen Boydb36ba302014-01-15 10:47:27 -080013 select RESET_CONTROLLER
Stephen Boyd2ec94132014-01-15 10:47:28 -080014
Georgi Djakov872f91b52016-11-02 17:56:57 +020015config QCOM_CLK_RPM
16 tristate "RPM based Clock Controller"
17 depends on COMMON_CLK_QCOM && MFD_QCOM_RPM
18 select QCOM_RPMCC
19 help
20 The RPM (Resource Power Manager) is a dedicated hardware engine for
21 managing the shared SoC resources in order to keep the lowest power
22 profile. It communicates with other hardware subsystems via shared
23 memory and accepts clock requests, aggregates the requests and turns
24 the clocks on/off or scales them on demand.
25 Say Y if you want to support the clocks exposed by the RPM on
26 platforms such as apq8064, msm8660, msm8960 etc.
27
Georgi Djakov00f64b52016-11-02 17:56:56 +020028config QCOM_CLK_SMD_RPM
29 tristate "RPM over SMD based Clock Controller"
30 depends on COMMON_CLK_QCOM && QCOM_SMD_RPM
31 select QCOM_RPMCC
32 help
33 The RPM (Resource Power Manager) is a dedicated hardware engine for
34 managing the shared SoC resources in order to keep the lowest power
35 profile. It communicates with other hardware subsystems via shared
36 memory and accepts clock requests, aggregates the requests and turns
37 the clocks on/off or scales them on demand.
38 Say Y if you want to support the clocks exposed by the RPM on
39 platforms such as apq8016, apq8084, msm8974 etc.
40
Georgi Djakov02824652014-06-03 17:24:09 +030041config APQ_GCC_8084
42 tristate "APQ8084 Global Clock Controller"
Rajendra Nayak639af942015-08-06 16:07:49 +053043 select QCOM_GDSC
Georgi Djakov02824652014-06-03 17:24:09 +030044 depends on COMMON_CLK_QCOM
45 help
46 Support for the global clock controller on apq8084 devices.
47 Say Y if you want to use peripheral devices such as UART, SPI,
48 i2c, USB, SD/eMMC, SATA, PCIe, etc.
49
Georgi Djakov2b46cd22014-06-12 19:41:42 +030050config APQ_MMCC_8084
51 tristate "APQ8084 Multimedia Clock Controller"
52 select APQ_GCC_8084
Stephane Viaucb2eb7d2015-08-06 16:07:50 +053053 select QCOM_GDSC
Georgi Djakov2b46cd22014-06-12 19:41:42 +030054 depends on COMMON_CLK_QCOM
55 help
56 Support for the multimedia clock controller on apq8084 devices.
57 Say Y if you want to support multimedia devices such as display,
58 graphics, video encode/decode, camera, etc.
59
Varadarajan Narayanan6971e862015-11-19 17:19:29 -060060config IPQ_GCC_4019
61 tristate "IPQ4019 Global Clock Controller"
62 depends on COMMON_CLK_QCOM
63 help
64 Support for the global clock controller on ipq4019 devices.
65 Say Y if you want to use peripheral devices such as UART, SPI,
66 i2c, USB, SD/eMMC, etc.
67
Kumar Gala24d8fba2014-06-17 14:46:51 -050068config IPQ_GCC_806X
69 tristate "IPQ806x Global Clock Controller"
70 depends on COMMON_CLK_QCOM
71 help
72 Support for the global clock controller on ipq806x devices.
73 Say Y if you want to use peripheral devices such as UART, SPI,
74 i2c, USB, SD/eMMC, etc.
75
Rajendra Nayakc99e5152015-01-19 18:05:33 -080076config IPQ_LCC_806X
77 tristate "IPQ806x LPASS Clock Controller"
78 select IPQ_GCC_806X
79 depends on COMMON_CLK_QCOM
80 help
81 Support for the LPASS clock controller on ipq806x devices.
82 Say Y if you want to use audio devices such as i2s, pcm,
83 S/PDIF, etc.
84
Stephen Boyd0eeff272014-01-15 10:47:32 -080085config MSM_GCC_8660
86 tristate "MSM8660 Global Clock Controller"
87 depends on COMMON_CLK_QCOM
88 help
89 Support for the global clock controller on msm8660 devices.
90 Say Y if you want to use peripheral devices such as UART, SPI,
91 i2c, USB, SD/eMMC, etc.
92
Georgi Djakov3966fab2015-03-18 16:08:22 +020093config MSM_GCC_8916
94 tristate "MSM8916 Global Clock Controller"
Rajendra Nayak073ae2b2015-08-06 16:07:46 +053095 select QCOM_GDSC
Georgi Djakov3966fab2015-03-18 16:08:22 +020096 depends on COMMON_CLK_QCOM
97 help
98 Support for the global clock controller on msm8916 devices.
99 Say Y if you want to use devices such as UART, SPI i2c, USB,
100 SD/eMMC, display, graphics, camera etc.
101
Stephen Boyd2ec94132014-01-15 10:47:28 -0800102config MSM_GCC_8960
Kumar Gala2d85a712014-04-04 11:31:29 -0500103 tristate "APQ8064/MSM8960 Global Clock Controller"
Stephen Boyd2ec94132014-01-15 10:47:28 -0800104 depends on COMMON_CLK_QCOM
105 help
Kumar Gala2d85a712014-04-04 11:31:29 -0500106 Support for the global clock controller on apq8064/msm8960 devices.
Stephen Boyd2ec94132014-01-15 10:47:28 -0800107 Say Y if you want to use peripheral devices such as UART, SPI,
108 i2c, USB, SD/eMMC, SATA, PCIe, etc.
Stephen Boyd6d00b562014-01-15 10:47:29 -0800109
Stephen Boydb82875e2015-01-19 18:05:34 -0800110config MSM_LCC_8960
111 tristate "APQ8064/MSM8960 LPASS Clock Controller"
112 select MSM_GCC_8960
113 depends on COMMON_CLK_QCOM
114 help
115 Support for the LPASS clock controller on apq8064/msm8960 devices.
116 Say Y if you want to use audio devices such as i2s, pcm,
117 SLIMBus, etc.
118
Neil Armstrong7792a8d2016-08-11 14:48:04 +0200119config MDM_GCC_9615
120 tristate "MDM9615 Global Clock Controller"
121 depends on COMMON_CLK_QCOM
122 help
123 Support for the global clock controller on mdm9615 devices.
124 Say Y if you want to use peripheral devices such as UART, SPI,
125 i2c, USB, SD/eMMC, etc.
126
127config MDM_LCC_9615
128 tristate "MDM9615 LPASS Clock Controller"
129 select MDM_GCC_9615
130 depends on COMMON_CLK_QCOM
131 help
132 Support for the LPASS clock controller on mdm9615 devices.
133 Say Y if you want to use audio devices such as i2s, pcm,
134 SLIMBus, etc.
135
Stephen Boyd6d00b562014-01-15 10:47:29 -0800136config MSM_MMCC_8960
137 tristate "MSM8960 Multimedia Clock Controller"
138 select MSM_GCC_8960
139 depends on COMMON_CLK_QCOM
140 help
141 Support for the multimedia clock controller on msm8960 devices.
142 Say Y if you want to support multimedia devices such as display,
143 graphics, video encode/decode, camera, etc.
Stephen Boydd33faa92014-01-15 10:47:30 -0800144
145config MSM_GCC_8974
146 tristate "MSM8974 Global Clock Controller"
Stephen Boyd340029e2015-08-06 16:07:47 +0530147 select QCOM_GDSC
Stephen Boydd33faa92014-01-15 10:47:30 -0800148 depends on COMMON_CLK_QCOM
149 help
150 Support for the global clock controller on msm8974 devices.
151 Say Y if you want to use peripheral devices such as UART, SPI,
152 i2c, USB, SD/eMMC, SATA, PCIe, etc.
Stephen Boydd8b21202014-01-15 10:47:31 -0800153
154config MSM_MMCC_8974
155 tristate "MSM8974 Multimedia Clock Controller"
156 select MSM_GCC_8974
Stephen Boyd8108b232015-08-06 16:07:48 +0530157 select QCOM_GDSC
Stephen Boydd8b21202014-01-15 10:47:31 -0800158 depends on COMMON_CLK_QCOM
159 help
160 Support for the multimedia clock controller on msm8974 devices.
161 Say Y if you want to support multimedia devices such as display,
162 graphics, video encode/decode, camera, etc.
Stephen Boydb1e010c2015-11-30 17:31:40 -0800163
Bastian Köcheraec89f72016-11-04 13:56:35 -0700164config MSM_GCC_8994
165 tristate "MSM8994 Global Clock Controller"
166 depends on COMMON_CLK_QCOM
167 help
168 Support for the global clock controller on msm8994 devices.
169 Say Y if you want to use peripheral devices such as UART, SPI,
170 i2c, USB, UFS, SD/eMMC, PCIe, etc.
171
Stephen Boydb1e010c2015-11-30 17:31:40 -0800172config MSM_GCC_8996
173 tristate "MSM8996 Global Clock Controller"
Srinivas Kandagatla6d91f2c2016-08-25 12:28:07 +0100174 select QCOM_GDSC
Stephen Boydb1e010c2015-11-30 17:31:40 -0800175 depends on COMMON_CLK_QCOM
176 help
177 Support for the global clock controller on msm8996 devices.
178 Say Y if you want to use peripheral devices such as UART, SPI,
179 i2c, USB, UFS, SD/eMMC, PCIe, etc.
Stephen Boydc2526592015-11-30 17:31:42 -0800180
181config MSM_MMCC_8996
182 tristate "MSM8996 Multimedia Clock Controller"
183 select MSM_GCC_8996
Srinivas Kandagatla6d91f2c2016-08-25 12:28:07 +0100184 select QCOM_GDSC
Stephen Boydc2526592015-11-30 17:31:42 -0800185 depends on COMMON_CLK_QCOM
186 help
187 Support for the multimedia clock controller on msm8996 devices.
188 Say Y if you want to support multimedia devices such as display,
189 graphics, video encode/decode, camera, etc.