Linux 4.18-rc1
[linux-2.6-block.git] / drivers / clk / qcom / Kconfig
CommitLineData
73bb7dc0
SB
1config QCOM_GDSC
2 bool
3 select PM_GENERIC_DOMAINS if PM
4
00f64b58
GD
5config QCOM_RPMCC
6 bool
7
085d7a45
SB
8config COMMON_CLK_QCOM
9 tristate "Support for Qualcomm's clock controllers"
10 depends on OF
3937567d 11 depends on ARCH_QCOM || COMPILE_TEST
085d7a45 12 select REGMAP_MMIO
b36ba30c 13 select RESET_CONTROLLER
2ec94130 14
0c6ab1b8
GD
15config 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
81ac3884
GD
25config 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
872f91b5
GD
36config 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
00f64b58
GD
49config 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
02824653
GD
62config APQ_GCC_8084
63 tristate "APQ8084 Global Clock Controller"
639af949 64 select QCOM_GDSC
02824653
GD
65 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
2b46cd23
GD
71config APQ_MMCC_8084
72 tristate "APQ8084 Multimedia Clock Controller"
73 select APQ_GCC_8084
cb2eb7de 74 select QCOM_GDSC
2b46cd23
GD
75 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
6971e863
VN
81config 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
24d8fba4
KG
89config 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
c99e515a
RN
97config 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
371a9507
AS
106config 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
0eeff27b
SB
115config 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
3966fab8
GD
123config MSM_GCC_8916
124 tristate "MSM8916 Global Clock Controller"
073ae2b4 125 select QCOM_GDSC
3966fab8
GD
126 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
2ec94130 132config MSM_GCC_8960
2d85a713 133 tristate "APQ8064/MSM8960 Global Clock Controller"
2ec94130
SB
134 depends on COMMON_CLK_QCOM
135 help
2d85a713 136 Support for the global clock controller on apq8064/msm8960 devices.
2ec94130
SB
137 Say Y if you want to use peripheral devices such as UART, SPI,
138 i2c, USB, SD/eMMC, SATA, PCIe, etc.
6d00b56f 139
b82875ee
SB
140config 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
7792a8d6
NA
149config 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
6d00b56f
SB
166config 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.
d33faa9e
SB
174
175config MSM_GCC_8974
176 tristate "MSM8974 Global Clock Controller"
340029ef 177 select QCOM_GDSC
d33faa9e
SB
178 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.
d8b21201
SB
183
184config MSM_MMCC_8974
185 tristate "MSM8974 Multimedia Clock Controller"
186 select MSM_GCC_8974
8108b23c 187 select QCOM_GDSC
d8b21201
SB
188 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.
b1e010c0 193
aec89f78
BK
194config 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
b1e010c0
SB
202config MSM_GCC_8996
203 tristate "MSM8996 Global Clock Controller"
6d91f2c0 204 select QCOM_GDSC
b1e010c0
SB
205 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.
c2526597
SB
210
211config MSM_MMCC_8996
212 tristate "MSM8996 Multimedia Clock Controller"
213 select MSM_GCC_8996
6d91f2c0 214 select QCOM_GDSC
c2526597
SB
215 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.
4cfaa55f 220
b5f5f525
JP
221config MSM_GCC_8998
222 tristate "MSM8998 Global Clock Controller"
223 depends on COMMON_CLK_QCOM
224 help
225 Support for the global clock controller on msm8998 devices.
226 Say Y if you want to use peripheral devices such as UART, SPI,
227 i2c, USB, UFS, SD/eMMC, PCIe, etc.
228
06391edd
TD
229config SDM_GCC_845
230 tristate "SDM845 Global Clock Controller"
231 select QCOM_GDSC
232 depends on COMMON_CLK_QCOM
233 help
77122d6f 234 Support for the global clock controller on SDM845 devices.
06391edd 235 Say Y if you want to use peripheral devices such as UART, SPI,
77122d6f 236 i2C, USB, UFS, SDDC, PCIe, etc.
06391edd 237
c646b347
AN
238config SDM_VIDEOCC_845
239 tristate "SDM845 Video Clock Controller"
240 depends on COMMON_CLK_QCOM
241 select SDM_GCC_845
242 select QCOM_GDSC
243 help
77122d6f 244 Support for the video clock controller on SDM845 devices.
c646b347
AN
245 Say Y if you want to support video devices and functionality such as
246 video encode and decode.
247
4cfaa55f
TR
248config SPMI_PMIC_CLKDIV
249 tristate "SPMI PMIC clkdiv Support"
250 depends on (COMMON_CLK_QCOM && SPMI) || COMPILE_TEST
251 help
252 This driver supports the clkdiv functionality on the Qualcomm
253 Technologies, Inc. SPMI PMIC. It configures the frequency of
254 clkdiv outputs of the PMIC. These clocks are typically wired
255 through alternate functions on GPIO pins.