blob: fbf4532f94b8cc03fbf5c7ed26ed9cb532635637 [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 Djakov0c6ab1b2017-12-05 17:46:58 +020015config QCOM_A53PLL
16 tristate "MSM8916 A53 PLL"
17 depends on COMMON_CLK_QCOM
18 default ARCH_QCOM
19 help
20 Support for the A53 PLL on MSM8916 devices. It provides
21 the CPU with frequencies above 1GHz.
22 Say Y if you want to support higher CPU frequencies on MSM8916
23 devices.
24
Georgi Djakov81ac3882017-12-05 17:47:01 +020025config QCOM_CLK_APCS_MSM8916
26 tristate "MSM8916 APCS Clock Controller"
27 depends on COMMON_CLK_QCOM
28 depends on QCOM_APCS_IPC || COMPILE_TEST
29 default ARCH_QCOM
30 help
31 Support for the APCS Clock Controller on msm8916 devices. The
32 APCS is managing the mux and divider which feeds the CPUs.
33 Say Y if you want to support CPU frequency scaling on devices
34 such as msm8916.
35
Georgi Djakov872f91b52016-11-02 17:56:57 +020036config QCOM_CLK_RPM
37 tristate "RPM based Clock Controller"
38 depends on COMMON_CLK_QCOM && MFD_QCOM_RPM
39 select QCOM_RPMCC
40 help
41 The RPM (Resource Power Manager) is a dedicated hardware engine for
42 managing the shared SoC resources in order to keep the lowest power
43 profile. It communicates with other hardware subsystems via shared
44 memory and accepts clock requests, aggregates the requests and turns
45 the clocks on/off or scales them on demand.
46 Say Y if you want to support the clocks exposed by the RPM on
47 platforms such as apq8064, msm8660, msm8960 etc.
48
Georgi Djakov00f64b52016-11-02 17:56:56 +020049config QCOM_CLK_SMD_RPM
50 tristate "RPM over SMD based Clock Controller"
51 depends on COMMON_CLK_QCOM && QCOM_SMD_RPM
52 select QCOM_RPMCC
53 help
54 The RPM (Resource Power Manager) is a dedicated hardware engine for
55 managing the shared SoC resources in order to keep the lowest power
56 profile. It communicates with other hardware subsystems via shared
57 memory and accepts clock requests, aggregates the requests and turns
58 the clocks on/off or scales them on demand.
59 Say Y if you want to support the clocks exposed by the RPM on
60 platforms such as apq8016, apq8084, msm8974 etc.
61
Georgi Djakov02824652014-06-03 17:24:09 +030062config APQ_GCC_8084
63 tristate "APQ8084 Global Clock Controller"
Rajendra Nayak639af942015-08-06 16:07:49 +053064 select QCOM_GDSC
Georgi Djakov02824652014-06-03 17:24:09 +030065 depends on COMMON_CLK_QCOM
66 help
67 Support for the global clock controller on apq8084 devices.
68 Say Y if you want to use peripheral devices such as UART, SPI,
69 i2c, USB, SD/eMMC, SATA, PCIe, etc.
70
Georgi Djakov2b46cd22014-06-12 19:41:42 +030071config APQ_MMCC_8084
72 tristate "APQ8084 Multimedia Clock Controller"
73 select APQ_GCC_8084
Stephane Viaucb2eb7d2015-08-06 16:07:50 +053074 select QCOM_GDSC
Georgi Djakov2b46cd22014-06-12 19:41:42 +030075 depends on COMMON_CLK_QCOM
76 help
77 Support for the multimedia clock controller on apq8084 devices.
78 Say Y if you want to support multimedia devices such as display,
79 graphics, video encode/decode, camera, etc.
80
Varadarajan Narayanan6971e862015-11-19 17:19:29 -060081config IPQ_GCC_4019
82 tristate "IPQ4019 Global Clock Controller"
83 depends on COMMON_CLK_QCOM
84 help
85 Support for the global clock controller on ipq4019 devices.
86 Say Y if you want to use peripheral devices such as UART, SPI,
87 i2c, USB, SD/eMMC, etc.
88
Kumar Gala24d8fba2014-06-17 14:46:51 -050089config IPQ_GCC_806X
90 tristate "IPQ806x Global Clock Controller"
91 depends on COMMON_CLK_QCOM
92 help
93 Support for the global clock controller on ipq806x devices.
94 Say Y if you want to use peripheral devices such as UART, SPI,
95 i2c, USB, SD/eMMC, etc.
96
Rajendra Nayakc99e5152015-01-19 18:05:33 -080097config IPQ_LCC_806X
98 tristate "IPQ806x LPASS Clock Controller"
99 select IPQ_GCC_806X
100 depends on COMMON_CLK_QCOM
101 help
102 Support for the LPASS clock controller on ipq806x devices.
103 Say Y if you want to use audio devices such as i2s, pcm,
104 S/PDIF, etc.
105
Abhishek Sahu371a9502017-06-09 15:11:57 +0530106config IPQ_GCC_8074
107 tristate "IPQ8074 Global Clock Controller"
108 depends on COMMON_CLK_QCOM
109 help
110 Support for global clock controller on ipq8074 devices.
111 Say Y if you want to use peripheral devices such as UART, SPI,
112 i2c, USB, SD/eMMC, etc. Select this for the root clock
113 of ipq8074.
114
Stephen Boyd0eeff272014-01-15 10:47:32 -0800115config MSM_GCC_8660
116 tristate "MSM8660 Global Clock Controller"
117 depends on COMMON_CLK_QCOM
118 help
119 Support for the global clock controller on msm8660 devices.
120 Say Y if you want to use peripheral devices such as UART, SPI,
121 i2c, USB, SD/eMMC, etc.
122
Georgi Djakov3966fab2015-03-18 16:08:22 +0200123config MSM_GCC_8916
124 tristate "MSM8916 Global Clock Controller"
Rajendra Nayak073ae2b2015-08-06 16:07:46 +0530125 select QCOM_GDSC
Georgi Djakov3966fab2015-03-18 16:08:22 +0200126 depends on COMMON_CLK_QCOM
127 help
128 Support for the global clock controller on msm8916 devices.
129 Say Y if you want to use devices such as UART, SPI i2c, USB,
130 SD/eMMC, display, graphics, camera etc.
131
Stephen Boyd2ec94132014-01-15 10:47:28 -0800132config MSM_GCC_8960
Kumar Gala2d85a712014-04-04 11:31:29 -0500133 tristate "APQ8064/MSM8960 Global Clock Controller"
Stephen Boyd2ec94132014-01-15 10:47:28 -0800134 depends on COMMON_CLK_QCOM
135 help
Kumar Gala2d85a712014-04-04 11:31:29 -0500136 Support for the global clock controller on apq8064/msm8960 devices.
Stephen Boyd2ec94132014-01-15 10:47:28 -0800137 Say Y if you want to use peripheral devices such as UART, SPI,
138 i2c, USB, SD/eMMC, SATA, PCIe, etc.
Stephen Boyd6d00b562014-01-15 10:47:29 -0800139
Stephen Boydb82875e2015-01-19 18:05:34 -0800140config MSM_LCC_8960
141 tristate "APQ8064/MSM8960 LPASS Clock Controller"
142 select MSM_GCC_8960
143 depends on COMMON_CLK_QCOM
144 help
145 Support for the LPASS clock controller on apq8064/msm8960 devices.
146 Say Y if you want to use audio devices such as i2s, pcm,
147 SLIMBus, etc.
148
Neil Armstrong7792a8d2016-08-11 14:48:04 +0200149config MDM_GCC_9615
150 tristate "MDM9615 Global Clock Controller"
151 depends on COMMON_CLK_QCOM
152 help
153 Support for the global clock controller on mdm9615 devices.
154 Say Y if you want to use peripheral devices such as UART, SPI,
155 i2c, USB, SD/eMMC, etc.
156
157config MDM_LCC_9615
158 tristate "MDM9615 LPASS Clock Controller"
159 select MDM_GCC_9615
160 depends on COMMON_CLK_QCOM
161 help
162 Support for the LPASS clock controller on mdm9615 devices.
163 Say Y if you want to use audio devices such as i2s, pcm,
164 SLIMBus, etc.
165
Stephen Boyd6d00b562014-01-15 10:47:29 -0800166config MSM_MMCC_8960
167 tristate "MSM8960 Multimedia Clock Controller"
168 select MSM_GCC_8960
169 depends on COMMON_CLK_QCOM
170 help
171 Support for the multimedia clock controller on msm8960 devices.
172 Say Y if you want to support multimedia devices such as display,
173 graphics, video encode/decode, camera, etc.
Stephen Boydd33faa92014-01-15 10:47:30 -0800174
175config MSM_GCC_8974
176 tristate "MSM8974 Global Clock Controller"
Stephen Boyd340029e2015-08-06 16:07:47 +0530177 select QCOM_GDSC
Stephen Boydd33faa92014-01-15 10:47:30 -0800178 depends on COMMON_CLK_QCOM
179 help
180 Support for the global clock controller on msm8974 devices.
181 Say Y if you want to use peripheral devices such as UART, SPI,
182 i2c, USB, SD/eMMC, SATA, PCIe, etc.
Stephen Boydd8b21202014-01-15 10:47:31 -0800183
184config MSM_MMCC_8974
185 tristate "MSM8974 Multimedia Clock Controller"
186 select MSM_GCC_8974
Stephen Boyd8108b232015-08-06 16:07:48 +0530187 select QCOM_GDSC
Stephen Boydd8b21202014-01-15 10:47:31 -0800188 depends on COMMON_CLK_QCOM
189 help
190 Support for the multimedia clock controller on msm8974 devices.
191 Say Y if you want to support multimedia devices such as display,
192 graphics, video encode/decode, camera, etc.
Stephen Boydb1e010c2015-11-30 17:31:40 -0800193
Bastian Köcheraec89f72016-11-04 13:56:35 -0700194config MSM_GCC_8994
195 tristate "MSM8994 Global Clock Controller"
196 depends on COMMON_CLK_QCOM
197 help
198 Support for the global clock controller on msm8994 devices.
199 Say Y if you want to use peripheral devices such as UART, SPI,
200 i2c, USB, UFS, SD/eMMC, PCIe, etc.
201
Stephen Boydb1e010c2015-11-30 17:31:40 -0800202config MSM_GCC_8996
203 tristate "MSM8996 Global Clock Controller"
Srinivas Kandagatla6d91f2c2016-08-25 12:28:07 +0100204 select QCOM_GDSC
Stephen Boydb1e010c2015-11-30 17:31:40 -0800205 depends on COMMON_CLK_QCOM
206 help
207 Support for the global clock controller on msm8996 devices.
208 Say Y if you want to use peripheral devices such as UART, SPI,
209 i2c, USB, UFS, SD/eMMC, PCIe, etc.
Stephen Boydc2526592015-11-30 17:31:42 -0800210
211config MSM_MMCC_8996
212 tristate "MSM8996 Multimedia Clock Controller"
213 select MSM_GCC_8996
Srinivas Kandagatla6d91f2c2016-08-25 12:28:07 +0100214 select QCOM_GDSC
Stephen Boydc2526592015-11-30 17:31:42 -0800215 depends on COMMON_CLK_QCOM
216 help
217 Support for the multimedia clock controller on msm8996 devices.
218 Say Y if you want to support multimedia devices such as display,
219 graphics, video encode/decode, camera, etc.
Tirupathi Reddy4cfaa552017-11-21 14:41:04 +0530220
221config SPMI_PMIC_CLKDIV
222 tristate "SPMI PMIC clkdiv Support"
223 depends on (COMMON_CLK_QCOM && SPMI) || COMPILE_TEST
224 help
225 This driver supports the clkdiv functionality on the Qualcomm
226 Technologies, Inc. SPMI PMIC. It configures the frequency of
227 clkdiv outputs of the PMIC. These clocks are typically wired
228 through alternate functions on GPIO pins.