xref: /openbmc/linux/drivers/clk/qcom/Kconfig (revision 496d1a13)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
24d7dc77bSStephen Boydconfig KRAIT_CLOCKS
34d7dc77bSStephen Boyd	bool
44d7dc77bSStephen Boyd	select KRAIT_L2_ACCESSORS
54d7dc77bSStephen Boyd
673bb7dc0SStephen Boydconfig QCOM_GDSC
773bb7dc0SStephen Boyd	bool
873bb7dc0SStephen Boyd	select PM_GENERIC_DOMAINS if PM
973bb7dc0SStephen Boyd
1000f64b58SGeorgi Djakovconfig QCOM_RPMCC
1100f64b58SGeorgi Djakov	bool
1200f64b58SGeorgi Djakov
13f071bcebSStephen Boydmenuconfig COMMON_CLK_QCOM
14085d7a45SStephen Boyd	tristate "Support for Qualcomm's clock controllers"
15085d7a45SStephen Boyd	depends on OF
163937567dSBartlomiej Zolnierkiewicz	depends on ARCH_QCOM || COMPILE_TEST
17cddf1f82STaniya Das	select RATIONAL
18085d7a45SStephen Boyd	select REGMAP_MMIO
19b36ba30cSStephen Boyd	select RESET_CONTROLLER
202ec94130SStephen Boyd
21f071bcebSStephen Boydif COMMON_CLK_QCOM
22f071bcebSStephen Boyd
230c6ab1b8SGeorgi Djakovconfig QCOM_A53PLL
240c6ab1b8SGeorgi Djakov	tristate "MSM8916 A53 PLL"
250c6ab1b8SGeorgi Djakov	help
260c6ab1b8SGeorgi Djakov	  Support for the A53 PLL on MSM8916 devices. It provides
270c6ab1b8SGeorgi Djakov	  the CPU with frequencies above 1GHz.
280c6ab1b8SGeorgi Djakov	  Say Y if you want to support higher CPU frequencies on MSM8916
290c6ab1b8SGeorgi Djakov	  devices.
300c6ab1b8SGeorgi Djakov
315a5223ffSManivannan Sadhasivamconfig QCOM_A7PLL
325a5223ffSManivannan Sadhasivam	tristate "SDX55 A7 PLL"
335a5223ffSManivannan Sadhasivam	help
345a5223ffSManivannan Sadhasivam	  Support for the A7 PLL on SDX55 devices. It provides the CPU with
355a5223ffSManivannan Sadhasivam	  frequencies above 1GHz.
365a5223ffSManivannan Sadhasivam	  Say Y if you want to support higher CPU frequencies on SDX55
375a5223ffSManivannan Sadhasivam	  devices.
385a5223ffSManivannan Sadhasivam
3981ac3884SGeorgi Djakovconfig QCOM_CLK_APCS_MSM8916
4081ac3884SGeorgi Djakov	tristate "MSM8916 APCS Clock Controller"
4181ac3884SGeorgi Djakov	depends on QCOM_APCS_IPC || COMPILE_TEST
4281ac3884SGeorgi Djakov	help
4381ac3884SGeorgi Djakov	  Support for the APCS Clock Controller on msm8916 devices. The
4481ac3884SGeorgi Djakov	  APCS is managing the mux and divider which feeds the CPUs.
4581ac3884SGeorgi Djakov	  Say Y if you want to support CPU frequency scaling on devices
4681ac3884SGeorgi Djakov	  such as msm8916.
4781ac3884SGeorgi Djakov
4803e342dcSLoic Poulainconfig QCOM_CLK_APCC_MSM8996
4903e342dcSLoic Poulain	tristate "MSM8996 CPU Clock Controller"
5003e342dcSLoic Poulain	select QCOM_KRYO_L2_ACCESSORS
5103e342dcSLoic Poulain	depends on ARM64
5203e342dcSLoic Poulain	help
5303e342dcSLoic Poulain	  Support for the CPU clock controller on msm8996 devices.
5403e342dcSLoic Poulain	  Say Y if you want to support CPU clock scaling using CPUfreq
5502d8e879SColin Ian King	  drivers for dynamic power management.
5603e342dcSLoic Poulain
57f28dec1aSManivannan Sadhasivamconfig QCOM_CLK_APCS_SDX55
58f28dec1aSManivannan Sadhasivam	tristate "SDX55 APCS Clock Controller"
59f28dec1aSManivannan Sadhasivam	depends on QCOM_APCS_IPC || COMPILE_TEST
60f28dec1aSManivannan Sadhasivam	help
61f28dec1aSManivannan Sadhasivam	  Support for the APCS Clock Controller on SDX55 platform. The
62f28dec1aSManivannan Sadhasivam	  APCS is managing the mux and divider which feeds the CPUs.
63f28dec1aSManivannan Sadhasivam	  Say Y if you want to support CPU frequency scaling on devices
64f28dec1aSManivannan Sadhasivam	  such as SDX55.
65f28dec1aSManivannan Sadhasivam
66872f91b5SGeorgi Djakovconfig QCOM_CLK_RPM
67872f91b5SGeorgi Djakov	tristate "RPM based Clock Controller"
68f071bcebSStephen Boyd	depends on MFD_QCOM_RPM
69872f91b5SGeorgi Djakov	select QCOM_RPMCC
70872f91b5SGeorgi Djakov	help
71872f91b5SGeorgi Djakov	  The RPM (Resource Power Manager) is a dedicated hardware engine for
72872f91b5SGeorgi Djakov	  managing the shared SoC resources in order to keep the lowest power
73872f91b5SGeorgi Djakov	  profile. It communicates with other hardware subsystems via shared
74872f91b5SGeorgi Djakov	  memory and accepts clock requests, aggregates the requests and turns
75872f91b5SGeorgi Djakov	  the clocks on/off or scales them on demand.
76872f91b5SGeorgi Djakov	  Say Y if you want to support the clocks exposed by the RPM on
77872f91b5SGeorgi Djakov	  platforms such as apq8064, msm8660, msm8960 etc.
78872f91b5SGeorgi Djakov
7900f64b58SGeorgi Djakovconfig QCOM_CLK_SMD_RPM
8000f64b58SGeorgi Djakov	tristate "RPM over SMD based Clock Controller"
81f071bcebSStephen Boyd	depends on QCOM_SMD_RPM
8200f64b58SGeorgi Djakov	select QCOM_RPMCC
8300f64b58SGeorgi Djakov	help
8400f64b58SGeorgi Djakov	  The RPM (Resource Power Manager) is a dedicated hardware engine for
8500f64b58SGeorgi Djakov	  managing the shared SoC resources in order to keep the lowest power
8600f64b58SGeorgi Djakov	  profile. It communicates with other hardware subsystems via shared
8700f64b58SGeorgi Djakov	  memory and accepts clock requests, aggregates the requests and turns
8800f64b58SGeorgi Djakov	  the clocks on/off or scales them on demand.
8900f64b58SGeorgi Djakov	  Say Y if you want to support the clocks exposed by the RPM on
9000f64b58SGeorgi Djakov	  platforms such as apq8016, apq8084, msm8974 etc.
9100f64b58SGeorgi Djakov
929c7e4702STaniya Dasconfig QCOM_CLK_RPMH
939c7e4702STaniya Das	tristate "RPMh Clock Driver"
94f071bcebSStephen Boyd	depends on QCOM_RPMH
959c7e4702STaniya Das	help
969c7e4702STaniya Das	 RPMh manages shared resources on some Qualcomm Technologies, Inc.
979c7e4702STaniya Das	 SoCs. It accepts requests from other hardware subsystems via RSC.
989c7e4702STaniya Das	 Say Y if you want to support the clocks exposed by RPMh on
999c7e4702STaniya Das	 platforms such as SDM845.
1009c7e4702STaniya Das
10102824653SGeorgi Djakovconfig APQ_GCC_8084
10202824653SGeorgi Djakov	tristate "APQ8084 Global Clock Controller"
103639af949SRajendra Nayak	select QCOM_GDSC
10402824653SGeorgi Djakov	help
10502824653SGeorgi Djakov	  Support for the global clock controller on apq8084 devices.
10602824653SGeorgi Djakov	  Say Y if you want to use peripheral devices such as UART, SPI,
10702824653SGeorgi Djakov	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
10802824653SGeorgi Djakov
1092b46cd23SGeorgi Djakovconfig APQ_MMCC_8084
1102b46cd23SGeorgi Djakov	tristate "APQ8084 Multimedia Clock Controller"
1112b46cd23SGeorgi Djakov	select APQ_GCC_8084
112cb2eb7deSStephane Viau	select QCOM_GDSC
1132b46cd23SGeorgi Djakov	help
1142b46cd23SGeorgi Djakov	  Support for the multimedia clock controller on apq8084 devices.
1152b46cd23SGeorgi Djakov	  Say Y if you want to support multimedia devices such as display,
1162b46cd23SGeorgi Djakov	  graphics, video encode/decode, camera, etc.
1172b46cd23SGeorgi Djakov
118ecd2bacfSSivaprakash Murugesanconfig IPQ_APSS_PLL
119ecd2bacfSSivaprakash Murugesan	tristate "IPQ APSS PLL"
120ecd2bacfSSivaprakash Murugesan	help
121ecd2bacfSSivaprakash Murugesan	  Support for APSS PLL on ipq devices. The APSS PLL is the main
122ecd2bacfSSivaprakash Murugesan	  clock that feeds the CPUs on ipq based devices.
123ecd2bacfSSivaprakash Murugesan	  Say Y if you want to support CPU frequency scaling on ipq based
124ecd2bacfSSivaprakash Murugesan	  devices.
125ecd2bacfSSivaprakash Murugesan
1265e77b4efSSivaprakash Murugesanconfig IPQ_APSS_6018
1275e77b4efSSivaprakash Murugesan	tristate "IPQ APSS Clock Controller"
1285e77b4efSSivaprakash Murugesan	select IPQ_APSS_PLL
1295e77b4efSSivaprakash Murugesan	depends on QCOM_APCS_IPC || COMPILE_TEST
1305e77b4efSSivaprakash Murugesan	help
1315e77b4efSSivaprakash Murugesan	  Support for APSS clock controller on IPQ platforms. The
1325e77b4efSSivaprakash Murugesan	  APSS clock controller manages the Mux and enable block that feeds the
1335e77b4efSSivaprakash Murugesan	  CPUs.
1345e77b4efSSivaprakash Murugesan	  Say Y if you want to support CPU frequency scaling on
1355e77b4efSSivaprakash Murugesan	  ipq based devices.
1365e77b4efSSivaprakash Murugesan
1376971e863SVaradarajan Narayananconfig IPQ_GCC_4019
1386971e863SVaradarajan Narayanan	tristate "IPQ4019 Global Clock Controller"
1396971e863SVaradarajan Narayanan	help
1406971e863SVaradarajan Narayanan	  Support for the global clock controller on ipq4019 devices.
1416971e863SVaradarajan Narayanan	  Say Y if you want to use peripheral devices such as UART, SPI,
1426971e863SVaradarajan Narayanan	  i2c, USB, SD/eMMC, etc.
1436971e863SVaradarajan Narayanan
144d9db07f0SSricharan Rconfig IPQ_GCC_6018
145d9db07f0SSricharan R	tristate "IPQ6018 Global Clock Controller"
146d9db07f0SSricharan R	help
147d9db07f0SSricharan R	  Support for global clock controller on ipq6018 devices.
148d9db07f0SSricharan R	  Say Y if you want to use peripheral devices such as UART, SPI,
149d9db07f0SSricharan R	  i2c, USB, SD/eMMC, etc. Select this for the root clock
150d9db07f0SSricharan R	  of ipq6018.
151d9db07f0SSricharan R
15224d8fba4SKumar Galaconfig IPQ_GCC_806X
15324d8fba4SKumar Gala	tristate "IPQ806x Global Clock Controller"
15424d8fba4SKumar Gala	help
15524d8fba4SKumar Gala	  Support for the global clock controller on ipq806x devices.
15624d8fba4SKumar Gala	  Say Y if you want to use peripheral devices such as UART, SPI,
15724d8fba4SKumar Gala	  i2c, USB, SD/eMMC, etc.
15824d8fba4SKumar Gala
159c99e515aSRajendra Nayakconfig IPQ_LCC_806X
160c99e515aSRajendra Nayak	tristate "IPQ806x LPASS Clock Controller"
161c99e515aSRajendra Nayak	select IPQ_GCC_806X
162c99e515aSRajendra Nayak	help
163c99e515aSRajendra Nayak	  Support for the LPASS clock controller on ipq806x devices.
164c99e515aSRajendra Nayak	  Say Y if you want to use audio devices such as i2s, pcm,
165c99e515aSRajendra Nayak	  S/PDIF, etc.
166c99e515aSRajendra Nayak
167371a9507SAbhishek Sahuconfig IPQ_GCC_8074
168371a9507SAbhishek Sahu	tristate "IPQ8074 Global Clock Controller"
169371a9507SAbhishek Sahu	help
170371a9507SAbhishek Sahu	  Support for global clock controller on ipq8074 devices.
171371a9507SAbhishek Sahu	  Say Y if you want to use peripheral devices such as UART, SPI,
172371a9507SAbhishek Sahu	  i2c, USB, SD/eMMC, etc. Select this for the root clock
173371a9507SAbhishek Sahu	  of ipq8074.
174371a9507SAbhishek Sahu
1750eeff27bSStephen Boydconfig MSM_GCC_8660
1760eeff27bSStephen Boyd	tristate "MSM8660 Global Clock Controller"
1770eeff27bSStephen Boyd	help
1780eeff27bSStephen Boyd	  Support for the global clock controller on msm8660 devices.
1790eeff27bSStephen Boyd	  Say Y if you want to use peripheral devices such as UART, SPI,
1800eeff27bSStephen Boyd	  i2c, USB, SD/eMMC, etc.
1810eeff27bSStephen Boyd
1823966fab8SGeorgi Djakovconfig MSM_GCC_8916
1833966fab8SGeorgi Djakov	tristate "MSM8916 Global Clock Controller"
184073ae2b4SRajendra Nayak	select QCOM_GDSC
1853966fab8SGeorgi Djakov	help
1863966fab8SGeorgi Djakov	  Support for the global clock controller on msm8916 devices.
1873966fab8SGeorgi Djakov	  Say Y if you want to use devices such as UART, SPI i2c, USB,
1883966fab8SGeorgi Djakov	  SD/eMMC, display, graphics, camera etc.
1893966fab8SGeorgi Djakov
1901664014eSBryan O'Donoghueconfig MSM_GCC_8939
1911664014eSBryan O'Donoghue	tristate "MSM8939 Global Clock Controller"
1921664014eSBryan O'Donoghue	select QCOM_GDSC
1931664014eSBryan O'Donoghue	help
1941664014eSBryan O'Donoghue	  Support for the global clock controller on msm8939 devices.
1951664014eSBryan O'Donoghue	  Say Y if you want to use devices such as UART, SPI i2c, USB,
1961664014eSBryan O'Donoghue	  SD/eMMC, display, graphics, camera etc.
1971664014eSBryan O'Donoghue
1982ec94130SStephen Boydconfig MSM_GCC_8960
1992d85a713SKumar Gala	tristate "APQ8064/MSM8960 Global Clock Controller"
2002ec94130SStephen Boyd	help
2012d85a713SKumar Gala	  Support for the global clock controller on apq8064/msm8960 devices.
2022ec94130SStephen Boyd	  Say Y if you want to use peripheral devices such as UART, SPI,
2032ec94130SStephen Boyd	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
2046d00b56fSStephen Boyd
205b82875eeSStephen Boydconfig MSM_LCC_8960
206b82875eeSStephen Boyd	tristate "APQ8064/MSM8960 LPASS Clock Controller"
207b82875eeSStephen Boyd	select MSM_GCC_8960
208b82875eeSStephen Boyd	help
209b82875eeSStephen Boyd	  Support for the LPASS clock controller on apq8064/msm8960 devices.
210b82875eeSStephen Boyd	  Say Y if you want to use audio devices such as i2s, pcm,
211b82875eeSStephen Boyd	  SLIMBus, etc.
212b82875eeSStephen Boyd
21348b72532SKonrad Dybcioconfig MDM_GCC_9607
21448b72532SKonrad Dybcio	tristate "MDM9607 Global Clock Controller"
21548b72532SKonrad Dybcio	help
21648b72532SKonrad Dybcio	  Support for the global clock controller on mdm9607 devices.
21748b72532SKonrad Dybcio	  Say Y if you want to use peripheral devices such as UART, SPI,
21848b72532SKonrad Dybcio	  I2C, USB, SD/eMMC, etc.
21948b72532SKonrad Dybcio
2207792a8d6SNeil Armstrongconfig MDM_GCC_9615
2217792a8d6SNeil Armstrong	tristate "MDM9615 Global Clock Controller"
2227792a8d6SNeil Armstrong	help
2237792a8d6SNeil Armstrong	  Support for the global clock controller on mdm9615 devices.
2247792a8d6SNeil Armstrong	  Say Y if you want to use peripheral devices such as UART, SPI,
2257792a8d6SNeil Armstrong	  i2c, USB, SD/eMMC, etc.
2267792a8d6SNeil Armstrong
2277792a8d6SNeil Armstrongconfig MDM_LCC_9615
2287792a8d6SNeil Armstrong	tristate "MDM9615 LPASS Clock Controller"
2297792a8d6SNeil Armstrong	select MDM_GCC_9615
2307792a8d6SNeil Armstrong	help
2317792a8d6SNeil Armstrong	  Support for the LPASS clock controller on mdm9615 devices.
2327792a8d6SNeil Armstrong	  Say Y if you want to use audio devices such as i2s, pcm,
2337792a8d6SNeil Armstrong	  SLIMBus, etc.
2347792a8d6SNeil Armstrong
2356d00b56fSStephen Boydconfig MSM_MMCC_8960
2366d00b56fSStephen Boyd	tristate "MSM8960 Multimedia Clock Controller"
2376d00b56fSStephen Boyd	select MSM_GCC_8960
2386d00b56fSStephen Boyd	help
2396d00b56fSStephen Boyd	  Support for the multimedia clock controller on msm8960 devices.
2406d00b56fSStephen Boyd	  Say Y if you want to support multimedia devices such as display,
2416d00b56fSStephen Boyd	  graphics, video encode/decode, camera, etc.
242d33faa9eSStephen Boyd
2439bb6cfc3SVladimir Lypakconfig MSM_GCC_8953
2449bb6cfc3SVladimir Lypak	tristate "MSM8953 Global Clock Controller"
2459bb6cfc3SVladimir Lypak	select QCOM_GDSC
2469bb6cfc3SVladimir Lypak	help
2479bb6cfc3SVladimir Lypak	  Support for the global clock controller on msm8953 devices.
2489bb6cfc3SVladimir Lypak	  Say Y if you want to use devices such as UART, SPI i2c, USB,
2499bb6cfc3SVladimir Lypak	  SD/eMMC, display, graphics, camera etc.
2509bb6cfc3SVladimir Lypak
251d33faa9eSStephen Boydconfig MSM_GCC_8974
252d33faa9eSStephen Boyd	tristate "MSM8974 Global Clock Controller"
253340029efSStephen Boyd	select QCOM_GDSC
254d33faa9eSStephen Boyd	help
255d33faa9eSStephen Boyd	  Support for the global clock controller on msm8974 devices.
256d33faa9eSStephen Boyd	  Say Y if you want to use peripheral devices such as UART, SPI,
257d33faa9eSStephen Boyd	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
258d8b21201SStephen Boyd
259d8b21201SStephen Boydconfig MSM_MMCC_8974
260d8b21201SStephen Boyd	tristate "MSM8974 Multimedia Clock Controller"
261d8b21201SStephen Boyd	select MSM_GCC_8974
2628108b23cSStephen Boyd	select QCOM_GDSC
263d8b21201SStephen Boyd	help
264d8b21201SStephen Boyd	  Support for the multimedia clock controller on msm8974 devices.
265d8b21201SStephen Boyd	  Say Y if you want to support multimedia devices such as display,
266d8b21201SStephen Boyd	  graphics, video encode/decode, camera, etc.
267b1e010c0SStephen Boyd
2684d5b4572SKonrad Dybcioconfig MSM_MMCC_8994
2694d5b4572SKonrad Dybcio	tristate "MSM8994 Multimedia Clock Controller"
2704d5b4572SKonrad Dybcio	select MSM_GCC_8994
2714d5b4572SKonrad Dybcio	select QCOM_GDSC
2724d5b4572SKonrad Dybcio	help
2734d5b4572SKonrad Dybcio	  Support for the multimedia clock controller on msm8994 devices.
2744d5b4572SKonrad Dybcio	  Say Y if you want to support multimedia devices such as display,
2754d5b4572SKonrad Dybcio	  graphics, video encode/decode, camera, etc.
2764d5b4572SKonrad Dybcio
277aec89f78SBastian Köcherconfig MSM_GCC_8994
278aec89f78SBastian Köcher	tristate "MSM8994 Global Clock Controller"
279aec89f78SBastian Köcher	help
280aec89f78SBastian Köcher	  Support for the global clock controller on msm8994 devices.
281aec89f78SBastian Köcher	  Say Y if you want to use peripheral devices such as UART, SPI,
282aec89f78SBastian Köcher	  i2c, USB, UFS, SD/eMMC, PCIe, etc.
283aec89f78SBastian Köcher
284b1e010c0SStephen Boydconfig MSM_GCC_8996
285b1e010c0SStephen Boyd	tristate "MSM8996 Global Clock Controller"
2866d91f2c0SSrinivas Kandagatla	select QCOM_GDSC
287b1e010c0SStephen Boyd	help
288b1e010c0SStephen Boyd	  Support for the global clock controller on msm8996 devices.
289b1e010c0SStephen Boyd	  Say Y if you want to use peripheral devices such as UART, SPI,
290b1e010c0SStephen Boyd	  i2c, USB, UFS, SD/eMMC, PCIe, etc.
291c2526597SStephen Boyd
292c2526597SStephen Boydconfig MSM_MMCC_8996
293c2526597SStephen Boyd	tristate "MSM8996 Multimedia Clock Controller"
294c2526597SStephen Boyd	select MSM_GCC_8996
2956d91f2c0SSrinivas Kandagatla	select QCOM_GDSC
296c2526597SStephen Boyd	help
297c2526597SStephen Boyd	  Support for the multimedia clock controller on msm8996 devices.
298c2526597SStephen Boyd	  Say Y if you want to support multimedia devices such as display,
299c2526597SStephen Boyd	  graphics, video encode/decode, camera, etc.
3004cfaa55fSTirupathi Reddy
301b5f5f525SJoonwoo Parkconfig MSM_GCC_8998
302b5f5f525SJoonwoo Park	tristate "MSM8998 Global Clock Controller"
30383b4c147SMarc Gonzalez	select QCOM_GDSC
304b5f5f525SJoonwoo Park	help
305b5f5f525SJoonwoo Park	  Support for the global clock controller on msm8998 devices.
306b5f5f525SJoonwoo Park	  Say Y if you want to use peripheral devices such as UART, SPI,
307b5f5f525SJoonwoo Park	  i2c, USB, UFS, SD/eMMC, PCIe, etc.
308b5f5f525SJoonwoo Park
3093f7df5baSJeffrey Hugoconfig MSM_GPUCC_8998
3103f7df5baSJeffrey Hugo	tristate "MSM8998 Graphics Clock Controller"
3113f7df5baSJeffrey Hugo	select MSM_GCC_8998
3123f7df5baSJeffrey Hugo	select QCOM_GDSC
3133f7df5baSJeffrey Hugo	help
3143f7df5baSJeffrey Hugo	  Support for the graphics clock controller on MSM8998 devices.
3153f7df5baSJeffrey Hugo	  Say Y if you want to support graphics controller devices and
3163f7df5baSJeffrey Hugo	  functionality such as 3D graphics.
3173f7df5baSJeffrey Hugo
318d14b15b5SJeffrey Hugoconfig MSM_MMCC_8998
319d14b15b5SJeffrey Hugo	tristate "MSM8998 Multimedia Clock Controller"
320d14b15b5SJeffrey Hugo	select MSM_GCC_8998
321d14b15b5SJeffrey Hugo	select QCOM_GDSC
322d14b15b5SJeffrey Hugo	help
323d14b15b5SJeffrey Hugo	  Support for the multimedia clock controller on msm8998 devices.
324d14b15b5SJeffrey Hugo	  Say Y if you want to support multimedia devices such as display,
325d14b15b5SJeffrey Hugo	  graphics, video encode/decode, camera, etc.
326d14b15b5SJeffrey Hugo
327*496d1a13SShawn Guoconfig QCM_GCC_2290
328*496d1a13SShawn Guo	tristate "QCM2290 Global Clock Controller"
329*496d1a13SShawn Guo	select QCOM_GDSC
330*496d1a13SShawn Guo	help
331*496d1a13SShawn Guo	  Support for the global clock controller on QCM2290 devices.
332*496d1a13SShawn Guo	  Say Y if you want to use multimedia devices or peripheral
333*496d1a13SShawn Guo	  devices such as UART, SPI, I2C, USB, SD/eMMC etc.
334*496d1a13SShawn Guo
335652f1813SShefali Jainconfig QCS_GCC_404
336652f1813SShefali Jain	tristate "QCS404 Global Clock Controller"
337652f1813SShefali Jain	help
338652f1813SShefali Jain	  Support for the global clock controller on QCS404 devices.
339652f1813SShefali Jain	  Say Y if you want to use multimedia devices or peripheral
340652f1813SShefali Jain	  devices such as UART, SPI, I2C, USB, SD/eMMC, PCIe etc.
341652f1813SShefali Jain
34215d09e83STaniya Dasconfig SC_CAMCC_7180
34315d09e83STaniya Das	tristate "SC7180 Camera Clock Controller"
34415d09e83STaniya Das	select SC_GCC_7180
34515d09e83STaniya Das	help
34615d09e83STaniya Das	  Support for the camera clock controller on Qualcomm Technologies, Inc
34715d09e83STaniya Das	  SC7180 devices.
34815d09e83STaniya Das	  Say Y if you want to support camera devices and functionality such as
34915d09e83STaniya Das	  capturing pictures.
35015d09e83STaniya Das
351dd3d0662STaniya Dasconfig SC_DISPCC_7180
352dd3d0662STaniya Das	tristate "SC7180 Display Clock Controller"
353dd3d0662STaniya Das	select SC_GCC_7180
354dd3d0662STaniya Das	help
355dd3d0662STaniya Das	  Support for the display clock controller on Qualcomm Technologies, Inc
356dd3d0662STaniya Das	  SC7180 devices.
357dd3d0662STaniya Das	  Say Y if you want to support display devices and functionality such as
358dd3d0662STaniya Das	  splash screen.
359dd3d0662STaniya Das
3601a00c962STaniya Dasconfig SC_DISPCC_7280
3611a00c962STaniya Das	tristate "SC7280 Display Clock Controller"
3621a00c962STaniya Das	select SC_GCC_7280
3631a00c962STaniya Das	help
3641a00c962STaniya Das	  Support for the display clock controller on Qualcomm Technologies, Inc.
3651a00c962STaniya Das	  SC7280 devices.
3661a00c962STaniya Das	  Say Y if you want to support display devices and functionality such as
3671a00c962STaniya Das	  splash screen.
3681a00c962STaniya Das
36917269568STaniya Dasconfig SC_GCC_7180
37017269568STaniya Das	tristate "SC7180 Global Clock Controller"
37117269568STaniya Das	select QCOM_GDSC
37217269568STaniya Das	depends on COMMON_CLK_QCOM
37317269568STaniya Das	help
37417269568STaniya Das	  Support for the global clock controller on SC7180 devices.
37517269568STaniya Das	  Say Y if you want to use peripheral devices such as UART, SPI,
37617269568STaniya Das	  I2C, USB, UFS, SDCC, etc.
37717269568STaniya Das
378a3cc0921STaniya Dasconfig SC_GCC_7280
379a3cc0921STaniya Das	tristate "SC7280 Global Clock Controller"
380a3cc0921STaniya Das	select QCOM_GDSC
381a3cc0921STaniya Das	depends on COMMON_CLK_QCOM
382a3cc0921STaniya Das	help
383a3cc0921STaniya Das	  Support for the global clock controller on SC7280 devices.
384a3cc0921STaniya Das	  Say Y if you want to use peripheral devices such as UART, SPI,
385a3cc0921STaniya Das	  I2C, USB, UFS, SDCC, PCIe etc.
386a3cc0921STaniya Das
3874433594bSBjorn Anderssonconfig SC_GCC_8180X
3884433594bSBjorn Andersson	tristate "SC8180X Global Clock Controller"
3894433594bSBjorn Andersson	select QCOM_GDSC
3904433594bSBjorn Andersson	depends on COMMON_CLK_QCOM
3914433594bSBjorn Andersson	help
3924433594bSBjorn Andersson	  Support for the global clock controller on SC8180X devices.
3934433594bSBjorn Andersson	  Say Y if you want to use peripheral devices such as UART, SPI,
3944433594bSBjorn Andersson	  I2C, USB, UFS, SDCC, etc.
3954433594bSBjorn Andersson
396edab812dSTaniya Dasconfig SC_LPASS_CORECC_7180
397edab812dSTaniya Das	tristate "SC7180 LPASS Core Clock Controller"
398edab812dSTaniya Das	select SC_GCC_7180
399edab812dSTaniya Das	help
400edab812dSTaniya Das	  Support for the LPASS(Low Power Audio Subsystem) core clock controller
401edab812dSTaniya Das	  on SC7180 devices.
402edab812dSTaniya Das	  Say Y if you want to use LPASS clocks and power domains of the LPASS
403edab812dSTaniya Das	  core clock controller.
404edab812dSTaniya Das
405745ff069STaniya Dasconfig SC_GPUCC_7180
406745ff069STaniya Das	tristate "SC7180 Graphics Clock Controller"
407745ff069STaniya Das	select SC_GCC_7180
408745ff069STaniya Das	help
409745ff069STaniya Das	  Support for the graphics clock controller on SC7180 devices.
410745ff069STaniya Das	  Say Y if you want to support graphics controller devices and
411745ff069STaniya Das	  functionality such as 3D graphics.
412745ff069STaniya Das
4133e0f01d6STaniya Dasconfig SC_GPUCC_7280
4143e0f01d6STaniya Das	tristate "SC7280 Graphics Clock Controller"
4153e0f01d6STaniya Das	select SC_GCC_7280
4163e0f01d6STaniya Das	help
4173e0f01d6STaniya Das	  Support for the graphics clock controller on SC7280 devices.
4183e0f01d6STaniya Das	  Say Y if you want to support graphics controller devices and
4193e0f01d6STaniya Das	  functionality such as 3D graphics.
4203e0f01d6STaniya Das
4218def929cSTaniya Dasconfig SC_MSS_7180
4228def929cSTaniya Das	tristate "SC7180 Modem Clock Controller"
4238def929cSTaniya Das	select SC_GCC_7180
4248def929cSTaniya Das	help
4258def929cSTaniya Das	  Support for the Modem Subsystem clock controller on Qualcomm
4268def929cSTaniya Das	  Technologies, Inc on SC7180 devices.
4278def929cSTaniya Das	  Say Y if you want to use the Modem branch clocks of the Modem
4288def929cSTaniya Das	  subsystem clock controller to reset the MSS subsystem.
4298def929cSTaniya Das
430253dc75aSTaniya Dasconfig SC_VIDEOCC_7180
431253dc75aSTaniya Das	tristate "SC7180 Video Clock Controller"
432253dc75aSTaniya Das	select SC_GCC_7180
433253dc75aSTaniya Das	help
434253dc75aSTaniya Das	  Support for the video clock controller on SC7180 devices.
435253dc75aSTaniya Das	  Say Y if you want to support video devices and functionality such as
436253dc75aSTaniya Das	  video encode and decode.
437253dc75aSTaniya Das
438fae7617bSTaniya Dasconfig SC_VIDEOCC_7280
439fae7617bSTaniya Das	tristate "SC7280 Video Clock Controller"
440fae7617bSTaniya Das	select SC_GCC_7280
441fae7617bSTaniya Das	help
442fae7617bSTaniya Das	  Support for the video clock controller on SC7280 devices.
443fae7617bSTaniya Das	  Say Y if you want to support video devices and functionality such as
444fae7617bSTaniya Das	  video encode and decode.
445fae7617bSTaniya Das
44678412c26SAmit Nischalconfig SDM_CAMCC_845
44778412c26SAmit Nischal	tristate "SDM845 Camera Clock Controller"
44878412c26SAmit Nischal	select SDM_GCC_845
44978412c26SAmit Nischal	help
45078412c26SAmit Nischal	  Support for the camera clock controller on SDM845 devices.
45178412c26SAmit Nischal	  Say Y if you want to support camera devices and camera functionality.
45278412c26SAmit Nischal
453f2a76a29STaniya Dasconfig SDM_GCC_660
454f2a76a29STaniya Das	tristate "SDM660 Global Clock Controller"
455f2a76a29STaniya Das	select QCOM_GDSC
456f2a76a29STaniya Das	help
457f2a76a29STaniya Das	  Support for the global clock controller on SDM660 devices.
458f2a76a29STaniya Das	  Say Y if you want to use peripheral devices such as UART, SPI,
459f2a76a29STaniya Das	  i2C, USB, UFS, SDDC, PCIe, etc.
460f2a76a29STaniya Das
4615db3ae8bSMartin Botkaconfig SDM_MMCC_660
4625db3ae8bSMartin Botka	tristate "SDM660 Multimedia Clock Controller"
4635db3ae8bSMartin Botka	select SDM_GCC_660
4645db3ae8bSMartin Botka	select QCOM_GDSC
4655db3ae8bSMartin Botka	help
4665db3ae8bSMartin Botka	  Support for the multimedia clock controller on SDM660 devices.
4675db3ae8bSMartin Botka	  Say Y if you want to support multimedia devices such as display,
4685db3ae8bSMartin Botka	  graphics, video encode/decode, camera, etc.
4695db3ae8bSMartin Botka
47079b5d1fcSAngeloGioacchino Del Regnoconfig SDM_GPUCC_660
47179b5d1fcSAngeloGioacchino Del Regno	tristate "SDM660 Graphics Clock Controller"
47279b5d1fcSAngeloGioacchino Del Regno	select SDM_GCC_660
47379b5d1fcSAngeloGioacchino Del Regno	select QCOM_GDSC
47479b5d1fcSAngeloGioacchino Del Regno	help
47579b5d1fcSAngeloGioacchino Del Regno	  Support for the graphics clock controller on SDM630/636/660 devices.
47679b5d1fcSAngeloGioacchino Del Regno	  Say Y if you want to support graphics controller devices and
47779b5d1fcSAngeloGioacchino Del Regno	  functionality such as 3D graphics
47879b5d1fcSAngeloGioacchino Del Regno
479892df019SBjorn Anderssonconfig QCS_TURING_404
480892df019SBjorn Andersson	tristate "QCS404 Turing Clock Controller"
481892df019SBjorn Andersson	help
482892df019SBjorn Andersson	  Support for the Turing Clock Controller on QCS404, provides clocks
483892df019SBjorn Andersson	  and resets for the Turing subsystem.
484892df019SBjorn Andersson
4856cdef273SGovind Singhconfig QCS_Q6SSTOP_404
4866cdef273SGovind Singh	tristate "QCS404 Q6SSTOP Clock Controller"
4876cdef273SGovind Singh	select QCS_GCC_404
4886cdef273SGovind Singh	help
4896cdef273SGovind Singh	  Support for the Q6SSTOP clock controller on QCS404 devices.
4906cdef273SGovind Singh	  Say Y if you want to use the Q6SSTOP branch clocks of the WCSS clock
4916cdef273SGovind Singh	  controller to reset the Q6SSTOP subsystem.
4926cdef273SGovind Singh
49306391eddSTaniya Dasconfig SDM_GCC_845
49406391eddSTaniya Das	tristate "SDM845 Global Clock Controller"
49506391eddSTaniya Das	select QCOM_GDSC
49606391eddSTaniya Das	help
49777122d6fSStephen Boyd	  Support for the global clock controller on SDM845 devices.
49806391eddSTaniya Das	  Say Y if you want to use peripheral devices such as UART, SPI,
49977122d6fSStephen Boyd	  i2C, USB, UFS, SDDC, PCIe, etc.
50006391eddSTaniya Das
501453361cdSAmit Nischalconfig SDM_GPUCC_845
502453361cdSAmit Nischal	tristate "SDM845 Graphics Clock Controller"
503453361cdSAmit Nischal	select SDM_GCC_845
504453361cdSAmit Nischal	help
505453361cdSAmit Nischal	  Support for the graphics clock controller on SDM845 devices.
506453361cdSAmit Nischal	  Say Y if you want to support graphics controller devices and
507453361cdSAmit Nischal	  functionality such as 3D graphics.
508453361cdSAmit Nischal
509c646b347SAmit Nischalconfig SDM_VIDEOCC_845
510c646b347SAmit Nischal	tristate "SDM845 Video Clock Controller"
511c646b347SAmit Nischal	select SDM_GCC_845
512c646b347SAmit Nischal	select QCOM_GDSC
513c646b347SAmit Nischal	help
51477122d6fSStephen Boyd	  Support for the video clock controller on SDM845 devices.
515c646b347SAmit Nischal	  Say Y if you want to support video devices and functionality such as
516c646b347SAmit Nischal	  video encode and decode.
517c646b347SAmit Nischal
51881351776STaniya Dasconfig SDM_DISPCC_845
51981351776STaniya Das	tristate "SDM845 Display Clock Controller"
52081351776STaniya Das	select SDM_GCC_845
52181351776STaniya Das	help
52281351776STaniya Das	  Support for the display clock controller on Qualcomm Technologies, Inc
52381351776STaniya Das	  SDM845 devices.
52481351776STaniya Das	  Say Y if you want to support display devices and functionality such as
52581351776STaniya Das	  splash screen.
52681351776STaniya Das
5278d3e5b9cSTaniya Dasconfig SDM_LPASSCC_845
5288d3e5b9cSTaniya Das	tristate "SDM845 Low Power Audio Subsystem (LPAAS) Clock Controller"
5298d3e5b9cSTaniya Das	select SDM_GCC_845
5308d3e5b9cSTaniya Das	help
5318d3e5b9cSTaniya Das	  Support for the LPASS clock controller on SDM845 devices.
5328d3e5b9cSTaniya Das	  Say Y if you want to use the LPASS branch clocks of the LPASS clock
5338d3e5b9cSTaniya Das	  controller to reset the LPASS subsystem.
5348d3e5b9cSTaniya Das
5353fade566SNaveen Yadavconfig SDX_GCC_55
5363fade566SNaveen Yadav	tristate "SDX55 Global Clock Controller"
537063930edSManivannan Sadhasivam	select QCOM_GDSC
5383fade566SNaveen Yadav	help
5393fade566SNaveen Yadav	  Support for the global clock controller on SDX55 devices.
5403fade566SNaveen Yadav	  Say Y if you want to use peripheral devices such as UART,
5413fade566SNaveen Yadav	  SPI, I2C, USB, SD/UFS, PCIe etc.
5423fade566SNaveen Yadav
5435d66ca79SJonathan Marekconfig SM_CAMCC_8250
5445d66ca79SJonathan Marek	tristate "SM8250 Camera Clock Controller"
5455d66ca79SJonathan Marek	select SM_GCC_8250
5465d66ca79SJonathan Marek	help
5475d66ca79SJonathan Marek	  Support for the camera clock controller on SM8250 devices.
5485d66ca79SJonathan Marek	  Say Y if you want to support camera devices and camera functionality.
5495d66ca79SJonathan Marek
55080a18f4aSJonathan Marekconfig SM_DISPCC_8250
55180a18f4aSJonathan Marek	tristate "SM8150 and SM8250 Display Clock Controller"
55280a18f4aSJonathan Marek	depends on SM_GCC_8150 || SM_GCC_8250
55380a18f4aSJonathan Marek	help
55480a18f4aSJonathan Marek	  Support for the display clock controller on Qualcomm Technologies, Inc
55580a18f4aSJonathan Marek	  SM8150 and SM8250 devices.
55680a18f4aSJonathan Marek	  Say Y if you want to support display devices and functionality such as
55780a18f4aSJonathan Marek	  splash screen.
55880a18f4aSJonathan Marek
559cbe63bfdSIskren Chernevconfig SM_GCC_6115
560cbe63bfdSIskren Chernev	tristate "SM6115 and SM4250 Global Clock Controller"
561cbe63bfdSIskren Chernev	help
562cbe63bfdSIskren Chernev	  Support for the global clock controller on SM6115 and SM4250 devices.
563cbe63bfdSIskren Chernev	  Say Y if you want to use peripheral devices such as UART, SPI,
564cbe63bfdSIskren Chernev	  i2C, USB, UFS, SDDC, PCIe, etc.
565cbe63bfdSIskren Chernev
5664b8d6ae5SKonrad Dybcioconfig SM_GCC_6125
5674b8d6ae5SKonrad Dybcio	tristate "SM6125 Global Clock Controller"
5684b8d6ae5SKonrad Dybcio	help
5694b8d6ae5SKonrad Dybcio	  Support for the global clock controller on SM6125 devices.
5704b8d6ae5SKonrad Dybcio	  Say Y if you want to use peripheral devices such as UART,
5714b8d6ae5SKonrad Dybcio	  SPI, I2C, USB, SD/UFS, PCIe etc.
5724b8d6ae5SKonrad Dybcio
573131abae9SKonrad Dybcioconfig SM_GCC_6350
574131abae9SKonrad Dybcio	tristate "SM6350 Global Clock Controller"
575131abae9SKonrad Dybcio	help
576131abae9SKonrad Dybcio	  Support for the global clock controller on SM6350 devices.
577131abae9SKonrad Dybcio	  Say Y if you want to use peripheral devices such as UART,
578131abae9SKonrad Dybcio	  SPI, I2C, USB, SD/UFS, PCIe etc.
579131abae9SKonrad Dybcio
5802a1d7eb8SDeepak Katragaddaconfig SM_GCC_8150
5812a1d7eb8SDeepak Katragadda	tristate "SM8150 Global Clock Controller"
5822a1d7eb8SDeepak Katragadda	help
5832a1d7eb8SDeepak Katragadda	  Support for the global clock controller on SM8150 devices.
5842a1d7eb8SDeepak Katragadda	  Say Y if you want to use peripheral devices such as UART,
5852a1d7eb8SDeepak Katragadda	  SPI, I2C, USB, SD/UFS, PCIe etc.
5862a1d7eb8SDeepak Katragadda
5873e577092STaniya Dasconfig SM_GCC_8250
5883e577092STaniya Das	tristate "SM8250 Global Clock Controller"
5893a4ef4caSJonathan Marek	select QCOM_GDSC
5903e577092STaniya Das	help
5913e577092STaniya Das	  Support for the global clock controller on SM8250 devices.
5923e577092STaniya Das	  Say Y if you want to use peripheral devices such as UART,
5933e577092STaniya Das	  SPI, I2C, USB, SD/UFS, PCIe etc.
5943e577092STaniya Das
59544c20c9eSVivek Aknurwarconfig SM_GCC_8350
59644c20c9eSVivek Aknurwar	tristate "SM8350 Global Clock Controller"
59744c20c9eSVivek Aknurwar	select QCOM_GDSC
59844c20c9eSVivek Aknurwar	help
59944c20c9eSVivek Aknurwar	  Support for the global clock controller on SM8350 devices.
60044c20c9eSVivek Aknurwar	  Say Y if you want to use peripheral devices such as UART,
60144c20c9eSVivek Aknurwar	  SPI, I2C, USB, SD/UFS, PCIe etc.
60244c20c9eSVivek Aknurwar
6030cef71f2SJonathan Marekconfig SM_GPUCC_8150
6040cef71f2SJonathan Marek	tristate "SM8150 Graphics Clock Controller"
6050cef71f2SJonathan Marek	select SM_GCC_8150
6060cef71f2SJonathan Marek	help
6070cef71f2SJonathan Marek	  Support for the graphics clock controller on SM8150 devices.
6080cef71f2SJonathan Marek	  Say Y if you want to support graphics controller devices and
6090cef71f2SJonathan Marek	  functionality such as 3D graphics.
6100cef71f2SJonathan Marek
61128f0769cSJonathan Marekconfig SM_GPUCC_8250
61228f0769cSJonathan Marek	tristate "SM8250 Graphics Clock Controller"
61328f0769cSJonathan Marek	select SM_GCC_8250
61428f0769cSJonathan Marek	help
61528f0769cSJonathan Marek	  Support for the graphics clock controller on SM8250 devices.
61628f0769cSJonathan Marek	  Say Y if you want to support graphics controller devices and
61728f0769cSJonathan Marek	  functionality such as 3D graphics.
61828f0769cSJonathan Marek
6195658e8cfSJonathan Marekconfig SM_VIDEOCC_8150
6205658e8cfSJonathan Marek	tristate "SM8150 Video Clock Controller"
621386ea3bdSLukas Bulwahn	select SM_GCC_8150
6225658e8cfSJonathan Marek	select QCOM_GDSC
6235658e8cfSJonathan Marek	help
6245658e8cfSJonathan Marek	  Support for the video clock controller on SM8150 devices.
6255658e8cfSJonathan Marek	  Say Y if you want to support video devices and functionality such as
6265658e8cfSJonathan Marek	  video encode and decode.
6275658e8cfSJonathan Marek
6280e94711aSJonathan Marekconfig SM_VIDEOCC_8250
6290e94711aSJonathan Marek	tristate "SM8250 Video Clock Controller"
630386ea3bdSLukas Bulwahn	select SM_GCC_8250
6310e94711aSJonathan Marek	select QCOM_GDSC
6320e94711aSJonathan Marek	help
6330e94711aSJonathan Marek	  Support for the video clock controller on SM8250 devices.
6340e94711aSJonathan Marek	  Say Y if you want to support video devices and functionality such as
6350e94711aSJonathan Marek	  video encode and decode.
6360e94711aSJonathan Marek
6374cfaa55fSTirupathi Reddyconfig SPMI_PMIC_CLKDIV
6384cfaa55fSTirupathi Reddy	tristate "SPMI PMIC clkdiv Support"
639f071bcebSStephen Boyd	depends on SPMI || COMPILE_TEST
6404cfaa55fSTirupathi Reddy	help
6414cfaa55fSTirupathi Reddy	  This driver supports the clkdiv functionality on the Qualcomm
6424cfaa55fSTirupathi Reddy	  Technologies, Inc. SPMI PMIC. It configures the frequency of
6434cfaa55fSTirupathi Reddy	  clkdiv outputs of the PMIC. These clocks are typically wired
6444cfaa55fSTirupathi Reddy	  through alternate functions on GPIO pins.
645cb546b79SStephen Boyd
646cb546b79SStephen Boydconfig QCOM_HFPLL
647cb546b79SStephen Boyd	tristate "High-Frequency PLL (HFPLL) Clock Controller"
648cb546b79SStephen Boyd	help
649cb546b79SStephen Boyd	  Support for the high-frequency PLLs present on Qualcomm devices.
650cb546b79SStephen Boyd	  Say Y if you want to support CPU frequency scaling on devices
651cb546b79SStephen Boyd	  such as MSM8974, APQ8084, etc.
6523ddc3564SStephen Boyd
6533ddc3564SStephen Boydconfig KPSS_XCC
6543ddc3564SStephen Boyd	tristate "KPSS Clock Controller"
6553ddc3564SStephen Boyd	help
6563ddc3564SStephen Boyd	  Support for the Krait ACC and GCC clock controllers. Say Y
6573ddc3564SStephen Boyd	  if you want to support CPU frequency scaling on devices such
6583ddc3564SStephen Boyd	  as MSM8960, APQ8064, etc.
659bb5c4a85SStephen Boyd
660bb5c4a85SStephen Boydconfig KRAITCC
661bb5c4a85SStephen Boyd	tristate "Krait Clock Controller"
662f071bcebSStephen Boyd	depends on ARM
663bb5c4a85SStephen Boyd	select KRAIT_CLOCKS
664bb5c4a85SStephen Boyd	help
665bb5c4a85SStephen Boyd	  Support for the Krait CPU clocks on Qualcomm devices.
666bb5c4a85SStephen Boyd	  Say Y if you want to support CPU frequency scaling.
667f071bcebSStephen Boyd
668a2d8f507SSrinivas Kandagatlaconfig CLK_GFM_LPASS_SM8250
669a2d8f507SSrinivas Kandagatla	tristate "SM8250 GFM LPASS Clocks"
670a2d8f507SSrinivas Kandagatla	help
671a2d8f507SSrinivas Kandagatla	  Support for the Glitch Free Mux (GFM) Low power audio
672a2d8f507SSrinivas Kandagatla          subsystem (LPASS) clocks found on SM8250 SoCs.
673a2d8f507SSrinivas Kandagatla
674f071bcebSStephen Boydendif
675