xref: /openbmc/linux/drivers/clk/qcom/Kconfig (revision f071bceb)
14d7dc77bSStephen Boydconfig KRAIT_CLOCKS
24d7dc77bSStephen Boyd       bool
34d7dc77bSStephen Boyd       select KRAIT_L2_ACCESSORS
44d7dc77bSStephen Boyd
573bb7dc0SStephen Boydconfig QCOM_GDSC
673bb7dc0SStephen Boyd	bool
773bb7dc0SStephen Boyd	select PM_GENERIC_DOMAINS if PM
873bb7dc0SStephen Boyd
900f64b58SGeorgi Djakovconfig QCOM_RPMCC
1000f64b58SGeorgi Djakov	bool
1100f64b58SGeorgi Djakov
12*f071bcebSStephen Boydmenuconfig COMMON_CLK_QCOM
13085d7a45SStephen Boyd	tristate "Support for Qualcomm's clock controllers"
14085d7a45SStephen Boyd	depends on OF
153937567dSBartlomiej Zolnierkiewicz	depends on ARCH_QCOM || COMPILE_TEST
16085d7a45SStephen Boyd	select REGMAP_MMIO
17b36ba30cSStephen Boyd	select RESET_CONTROLLER
182ec94130SStephen Boyd
19*f071bcebSStephen Boydif COMMON_CLK_QCOM
20*f071bcebSStephen Boyd
210c6ab1b8SGeorgi Djakovconfig QCOM_A53PLL
220c6ab1b8SGeorgi Djakov	tristate "MSM8916 A53 PLL"
230c6ab1b8SGeorgi Djakov	default ARCH_QCOM
240c6ab1b8SGeorgi Djakov	help
250c6ab1b8SGeorgi Djakov	  Support for the A53 PLL on MSM8916 devices. It provides
260c6ab1b8SGeorgi Djakov	  the CPU with frequencies above 1GHz.
270c6ab1b8SGeorgi Djakov	  Say Y if you want to support higher CPU frequencies on MSM8916
280c6ab1b8SGeorgi Djakov	  devices.
290c6ab1b8SGeorgi Djakov
3081ac3884SGeorgi Djakovconfig QCOM_CLK_APCS_MSM8916
3181ac3884SGeorgi Djakov	tristate "MSM8916 APCS Clock Controller"
3281ac3884SGeorgi Djakov	depends on QCOM_APCS_IPC || COMPILE_TEST
3381ac3884SGeorgi Djakov	default ARCH_QCOM
3481ac3884SGeorgi Djakov	help
3581ac3884SGeorgi Djakov	  Support for the APCS Clock Controller on msm8916 devices. The
3681ac3884SGeorgi Djakov	  APCS is managing the mux and divider which feeds the CPUs.
3781ac3884SGeorgi Djakov	  Say Y if you want to support CPU frequency scaling on devices
3881ac3884SGeorgi Djakov	  such as msm8916.
3981ac3884SGeorgi Djakov
40872f91b5SGeorgi Djakovconfig QCOM_CLK_RPM
41872f91b5SGeorgi Djakov	tristate "RPM based Clock Controller"
42*f071bcebSStephen Boyd	depends on MFD_QCOM_RPM
43872f91b5SGeorgi Djakov	select QCOM_RPMCC
44872f91b5SGeorgi Djakov	help
45872f91b5SGeorgi Djakov	  The RPM (Resource Power Manager) is a dedicated hardware engine for
46872f91b5SGeorgi Djakov	  managing the shared SoC resources in order to keep the lowest power
47872f91b5SGeorgi Djakov	  profile. It communicates with other hardware subsystems via shared
48872f91b5SGeorgi Djakov	  memory and accepts clock requests, aggregates the requests and turns
49872f91b5SGeorgi Djakov	  the clocks on/off or scales them on demand.
50872f91b5SGeorgi Djakov	  Say Y if you want to support the clocks exposed by the RPM on
51872f91b5SGeorgi Djakov	  platforms such as apq8064, msm8660, msm8960 etc.
52872f91b5SGeorgi Djakov
5300f64b58SGeorgi Djakovconfig QCOM_CLK_SMD_RPM
5400f64b58SGeorgi Djakov	tristate "RPM over SMD based Clock Controller"
55*f071bcebSStephen Boyd	depends on QCOM_SMD_RPM
5600f64b58SGeorgi Djakov	select QCOM_RPMCC
5700f64b58SGeorgi Djakov	help
5800f64b58SGeorgi Djakov	  The RPM (Resource Power Manager) is a dedicated hardware engine for
5900f64b58SGeorgi Djakov	  managing the shared SoC resources in order to keep the lowest power
6000f64b58SGeorgi Djakov	  profile. It communicates with other hardware subsystems via shared
6100f64b58SGeorgi Djakov	  memory and accepts clock requests, aggregates the requests and turns
6200f64b58SGeorgi Djakov	  the clocks on/off or scales them on demand.
6300f64b58SGeorgi Djakov	  Say Y if you want to support the clocks exposed by the RPM on
6400f64b58SGeorgi Djakov	  platforms such as apq8016, apq8084, msm8974 etc.
6500f64b58SGeorgi Djakov
669c7e4702STaniya Dasconfig QCOM_CLK_RPMH
679c7e4702STaniya Das	tristate "RPMh Clock Driver"
68*f071bcebSStephen Boyd	depends on QCOM_RPMH
699c7e4702STaniya Das	help
709c7e4702STaniya Das	 RPMh manages shared resources on some Qualcomm Technologies, Inc.
719c7e4702STaniya Das	 SoCs. It accepts requests from other hardware subsystems via RSC.
729c7e4702STaniya Das	 Say Y if you want to support the clocks exposed by RPMh on
739c7e4702STaniya Das	 platforms such as SDM845.
749c7e4702STaniya Das
7502824653SGeorgi Djakovconfig APQ_GCC_8084
7602824653SGeorgi Djakov	tristate "APQ8084 Global Clock Controller"
77639af949SRajendra Nayak	select QCOM_GDSC
7802824653SGeorgi Djakov	help
7902824653SGeorgi Djakov	  Support for the global clock controller on apq8084 devices.
8002824653SGeorgi Djakov	  Say Y if you want to use peripheral devices such as UART, SPI,
8102824653SGeorgi Djakov	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
8202824653SGeorgi Djakov
832b46cd23SGeorgi Djakovconfig APQ_MMCC_8084
842b46cd23SGeorgi Djakov	tristate "APQ8084 Multimedia Clock Controller"
852b46cd23SGeorgi Djakov	select APQ_GCC_8084
86cb2eb7deSStephane Viau	select QCOM_GDSC
872b46cd23SGeorgi Djakov	help
882b46cd23SGeorgi Djakov	  Support for the multimedia clock controller on apq8084 devices.
892b46cd23SGeorgi Djakov	  Say Y if you want to support multimedia devices such as display,
902b46cd23SGeorgi Djakov	  graphics, video encode/decode, camera, etc.
912b46cd23SGeorgi Djakov
926971e863SVaradarajan Narayananconfig IPQ_GCC_4019
936971e863SVaradarajan Narayanan	tristate "IPQ4019 Global Clock Controller"
946971e863SVaradarajan Narayanan	help
956971e863SVaradarajan Narayanan	  Support for the global clock controller on ipq4019 devices.
966971e863SVaradarajan Narayanan	  Say Y if you want to use peripheral devices such as UART, SPI,
976971e863SVaradarajan Narayanan	  i2c, USB, SD/eMMC, etc.
986971e863SVaradarajan Narayanan
9924d8fba4SKumar Galaconfig IPQ_GCC_806X
10024d8fba4SKumar Gala	tristate "IPQ806x Global Clock Controller"
10124d8fba4SKumar Gala	help
10224d8fba4SKumar Gala	  Support for the global clock controller on ipq806x devices.
10324d8fba4SKumar Gala	  Say Y if you want to use peripheral devices such as UART, SPI,
10424d8fba4SKumar Gala	  i2c, USB, SD/eMMC, etc.
10524d8fba4SKumar Gala
106c99e515aSRajendra Nayakconfig IPQ_LCC_806X
107c99e515aSRajendra Nayak	tristate "IPQ806x LPASS Clock Controller"
108c99e515aSRajendra Nayak	select IPQ_GCC_806X
109c99e515aSRajendra Nayak	help
110c99e515aSRajendra Nayak	  Support for the LPASS clock controller on ipq806x devices.
111c99e515aSRajendra Nayak	  Say Y if you want to use audio devices such as i2s, pcm,
112c99e515aSRajendra Nayak	  S/PDIF, etc.
113c99e515aSRajendra Nayak
114371a9507SAbhishek Sahuconfig IPQ_GCC_8074
115371a9507SAbhishek Sahu	tristate "IPQ8074 Global Clock Controller"
116371a9507SAbhishek Sahu	help
117371a9507SAbhishek Sahu	  Support for global clock controller on ipq8074 devices.
118371a9507SAbhishek Sahu	  Say Y if you want to use peripheral devices such as UART, SPI,
119371a9507SAbhishek Sahu	  i2c, USB, SD/eMMC, etc. Select this for the root clock
120371a9507SAbhishek Sahu	  of ipq8074.
121371a9507SAbhishek Sahu
1220eeff27bSStephen Boydconfig MSM_GCC_8660
1230eeff27bSStephen Boyd	tristate "MSM8660 Global Clock Controller"
1240eeff27bSStephen Boyd	help
1250eeff27bSStephen Boyd	  Support for the global clock controller on msm8660 devices.
1260eeff27bSStephen Boyd	  Say Y if you want to use peripheral devices such as UART, SPI,
1270eeff27bSStephen Boyd	  i2c, USB, SD/eMMC, etc.
1280eeff27bSStephen Boyd
1293966fab8SGeorgi Djakovconfig MSM_GCC_8916
1303966fab8SGeorgi Djakov	tristate "MSM8916 Global Clock Controller"
131073ae2b4SRajendra Nayak	select QCOM_GDSC
1323966fab8SGeorgi Djakov	help
1333966fab8SGeorgi Djakov	  Support for the global clock controller on msm8916 devices.
1343966fab8SGeorgi Djakov	  Say Y if you want to use devices such as UART, SPI i2c, USB,
1353966fab8SGeorgi Djakov	  SD/eMMC, display, graphics, camera etc.
1363966fab8SGeorgi Djakov
1372ec94130SStephen Boydconfig MSM_GCC_8960
1382d85a713SKumar Gala	tristate "APQ8064/MSM8960 Global Clock Controller"
1392ec94130SStephen Boyd	help
1402d85a713SKumar Gala	  Support for the global clock controller on apq8064/msm8960 devices.
1412ec94130SStephen Boyd	  Say Y if you want to use peripheral devices such as UART, SPI,
1422ec94130SStephen Boyd	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
1436d00b56fSStephen Boyd
144b82875eeSStephen Boydconfig MSM_LCC_8960
145b82875eeSStephen Boyd	tristate "APQ8064/MSM8960 LPASS Clock Controller"
146b82875eeSStephen Boyd	select MSM_GCC_8960
147b82875eeSStephen Boyd	help
148b82875eeSStephen Boyd	  Support for the LPASS clock controller on apq8064/msm8960 devices.
149b82875eeSStephen Boyd	  Say Y if you want to use audio devices such as i2s, pcm,
150b82875eeSStephen Boyd	  SLIMBus, etc.
151b82875eeSStephen Boyd
1527792a8d6SNeil Armstrongconfig MDM_GCC_9615
1537792a8d6SNeil Armstrong	tristate "MDM9615 Global Clock Controller"
1547792a8d6SNeil Armstrong	help
1557792a8d6SNeil Armstrong	  Support for the global clock controller on mdm9615 devices.
1567792a8d6SNeil Armstrong	  Say Y if you want to use peripheral devices such as UART, SPI,
1577792a8d6SNeil Armstrong	  i2c, USB, SD/eMMC, etc.
1587792a8d6SNeil Armstrong
1597792a8d6SNeil Armstrongconfig MDM_LCC_9615
1607792a8d6SNeil Armstrong	tristate "MDM9615 LPASS Clock Controller"
1617792a8d6SNeil Armstrong	select MDM_GCC_9615
1627792a8d6SNeil Armstrong	help
1637792a8d6SNeil Armstrong	  Support for the LPASS clock controller on mdm9615 devices.
1647792a8d6SNeil Armstrong	  Say Y if you want to use audio devices such as i2s, pcm,
1657792a8d6SNeil Armstrong	  SLIMBus, etc.
1667792a8d6SNeil Armstrong
1676d00b56fSStephen Boydconfig MSM_MMCC_8960
1686d00b56fSStephen Boyd	tristate "MSM8960 Multimedia Clock Controller"
1696d00b56fSStephen Boyd	select MSM_GCC_8960
1706d00b56fSStephen Boyd	help
1716d00b56fSStephen Boyd	  Support for the multimedia clock controller on msm8960 devices.
1726d00b56fSStephen Boyd	  Say Y if you want to support multimedia devices such as display,
1736d00b56fSStephen Boyd	  graphics, video encode/decode, camera, etc.
174d33faa9eSStephen Boyd
175d33faa9eSStephen Boydconfig MSM_GCC_8974
176d33faa9eSStephen Boyd	tristate "MSM8974 Global Clock Controller"
177340029efSStephen Boyd	select QCOM_GDSC
178d33faa9eSStephen Boyd	help
179d33faa9eSStephen Boyd	  Support for the global clock controller on msm8974 devices.
180d33faa9eSStephen Boyd	  Say Y if you want to use peripheral devices such as UART, SPI,
181d33faa9eSStephen Boyd	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
182d8b21201SStephen Boyd
183d8b21201SStephen Boydconfig MSM_MMCC_8974
184d8b21201SStephen Boyd	tristate "MSM8974 Multimedia Clock Controller"
185d8b21201SStephen Boyd	select MSM_GCC_8974
1868108b23cSStephen Boyd	select QCOM_GDSC
187d8b21201SStephen Boyd	help
188d8b21201SStephen Boyd	  Support for the multimedia clock controller on msm8974 devices.
189d8b21201SStephen Boyd	  Say Y if you want to support multimedia devices such as display,
190d8b21201SStephen Boyd	  graphics, video encode/decode, camera, etc.
191b1e010c0SStephen Boyd
192aec89f78SBastian Köcherconfig MSM_GCC_8994
193aec89f78SBastian Köcher	tristate "MSM8994 Global Clock Controller"
194aec89f78SBastian Köcher	help
195aec89f78SBastian Köcher	  Support for the global clock controller on msm8994 devices.
196aec89f78SBastian Köcher	  Say Y if you want to use peripheral devices such as UART, SPI,
197aec89f78SBastian Köcher	  i2c, USB, UFS, SD/eMMC, PCIe, etc.
198aec89f78SBastian Köcher
199b1e010c0SStephen Boydconfig MSM_GCC_8996
200b1e010c0SStephen Boyd	tristate "MSM8996 Global Clock Controller"
2016d91f2c0SSrinivas Kandagatla	select QCOM_GDSC
202b1e010c0SStephen Boyd	help
203b1e010c0SStephen Boyd	  Support for the global clock controller on msm8996 devices.
204b1e010c0SStephen Boyd	  Say Y if you want to use peripheral devices such as UART, SPI,
205b1e010c0SStephen Boyd	  i2c, USB, UFS, SD/eMMC, PCIe, etc.
206c2526597SStephen Boyd
207c2526597SStephen Boydconfig MSM_MMCC_8996
208c2526597SStephen Boyd	tristate "MSM8996 Multimedia Clock Controller"
209c2526597SStephen Boyd	select MSM_GCC_8996
2106d91f2c0SSrinivas Kandagatla	select QCOM_GDSC
211c2526597SStephen Boyd	help
212c2526597SStephen Boyd	  Support for the multimedia clock controller on msm8996 devices.
213c2526597SStephen Boyd	  Say Y if you want to support multimedia devices such as display,
214c2526597SStephen Boyd	  graphics, video encode/decode, camera, etc.
2154cfaa55fSTirupathi Reddy
216b5f5f525SJoonwoo Parkconfig MSM_GCC_8998
217b5f5f525SJoonwoo Park	tristate "MSM8998 Global Clock Controller"
218b5f5f525SJoonwoo Park	help
219b5f5f525SJoonwoo Park	  Support for the global clock controller on msm8998 devices.
220b5f5f525SJoonwoo Park	  Say Y if you want to use peripheral devices such as UART, SPI,
221b5f5f525SJoonwoo Park	  i2c, USB, UFS, SD/eMMC, PCIe, etc.
222b5f5f525SJoonwoo Park
223652f1813SShefali Jainconfig QCS_GCC_404
224652f1813SShefali Jain	tristate "QCS404 Global Clock Controller"
225652f1813SShefali Jain	help
226652f1813SShefali Jain	  Support for the global clock controller on QCS404 devices.
227652f1813SShefali Jain	  Say Y if you want to use multimedia devices or peripheral
228652f1813SShefali Jain	  devices such as UART, SPI, I2C, USB, SD/eMMC, PCIe etc.
229652f1813SShefali Jain
23078412c26SAmit Nischalconfig SDM_CAMCC_845
23178412c26SAmit Nischal	tristate "SDM845 Camera Clock Controller"
23278412c26SAmit Nischal	select SDM_GCC_845
23378412c26SAmit Nischal	help
23478412c26SAmit Nischal	  Support for the camera clock controller on SDM845 devices.
23578412c26SAmit Nischal	  Say Y if you want to support camera devices and camera functionality.
23678412c26SAmit Nischal
237f2a76a29STaniya Dasconfig SDM_GCC_660
238f2a76a29STaniya Das	tristate "SDM660 Global Clock Controller"
239f2a76a29STaniya Das	select QCOM_GDSC
240f2a76a29STaniya Das	help
241f2a76a29STaniya Das	  Support for the global clock controller on SDM660 devices.
242f2a76a29STaniya Das	  Say Y if you want to use peripheral devices such as UART, SPI,
243f2a76a29STaniya Das	  i2C, USB, UFS, SDDC, PCIe, etc.
244f2a76a29STaniya Das
24506391eddSTaniya Dasconfig SDM_GCC_845
24606391eddSTaniya Das	tristate "SDM845 Global Clock Controller"
24706391eddSTaniya Das	select QCOM_GDSC
24806391eddSTaniya Das	help
24977122d6fSStephen Boyd	  Support for the global clock controller on SDM845 devices.
25006391eddSTaniya Das	  Say Y if you want to use peripheral devices such as UART, SPI,
25177122d6fSStephen Boyd	  i2C, USB, UFS, SDDC, PCIe, etc.
25206391eddSTaniya Das
253c646b347SAmit Nischalconfig SDM_VIDEOCC_845
254c646b347SAmit Nischal	tristate "SDM845 Video Clock Controller"
255c646b347SAmit Nischal	select SDM_GCC_845
256c646b347SAmit Nischal	select QCOM_GDSC
257c646b347SAmit Nischal	help
25877122d6fSStephen Boyd	  Support for the video clock controller on SDM845 devices.
259c646b347SAmit Nischal	  Say Y if you want to support video devices and functionality such as
260c646b347SAmit Nischal	  video encode and decode.
261c646b347SAmit Nischal
26281351776STaniya Dasconfig SDM_DISPCC_845
26381351776STaniya Das	tristate "SDM845 Display Clock Controller"
26481351776STaniya Das	select SDM_GCC_845
26581351776STaniya Das	help
26681351776STaniya Das	  Support for the display clock controller on Qualcomm Technologies, Inc
26781351776STaniya Das	  SDM845 devices.
26881351776STaniya Das	  Say Y if you want to support display devices and functionality such as
26981351776STaniya Das	  splash screen.
27081351776STaniya Das
2714cfaa55fSTirupathi Reddyconfig SPMI_PMIC_CLKDIV
2724cfaa55fSTirupathi Reddy	tristate "SPMI PMIC clkdiv Support"
273*f071bcebSStephen Boyd	depends on SPMI || COMPILE_TEST
2744cfaa55fSTirupathi Reddy	help
2754cfaa55fSTirupathi Reddy	  This driver supports the clkdiv functionality on the Qualcomm
2764cfaa55fSTirupathi Reddy	  Technologies, Inc. SPMI PMIC. It configures the frequency of
2774cfaa55fSTirupathi Reddy	  clkdiv outputs of the PMIC. These clocks are typically wired
2784cfaa55fSTirupathi Reddy	  through alternate functions on GPIO pins.
279cb546b79SStephen Boyd
280cb546b79SStephen Boydconfig QCOM_HFPLL
281cb546b79SStephen Boyd	tristate "High-Frequency PLL (HFPLL) Clock Controller"
282cb546b79SStephen Boyd	help
283cb546b79SStephen Boyd	  Support for the high-frequency PLLs present on Qualcomm devices.
284cb546b79SStephen Boyd	  Say Y if you want to support CPU frequency scaling on devices
285cb546b79SStephen Boyd	  such as MSM8974, APQ8084, etc.
2863ddc3564SStephen Boyd
2873ddc3564SStephen Boydconfig KPSS_XCC
2883ddc3564SStephen Boyd	tristate "KPSS Clock Controller"
2893ddc3564SStephen Boyd	help
2903ddc3564SStephen Boyd	  Support for the Krait ACC and GCC clock controllers. Say Y
2913ddc3564SStephen Boyd	  if you want to support CPU frequency scaling on devices such
2923ddc3564SStephen Boyd	  as MSM8960, APQ8064, etc.
293bb5c4a85SStephen Boyd
294bb5c4a85SStephen Boydconfig KRAITCC
295bb5c4a85SStephen Boyd	tristate "Krait Clock Controller"
296*f071bcebSStephen Boyd	depends on ARM
297bb5c4a85SStephen Boyd	select KRAIT_CLOCKS
298bb5c4a85SStephen Boyd	help
299bb5c4a85SStephen Boyd	  Support for the Krait CPU clocks on Qualcomm devices.
300bb5c4a85SStephen Boyd	  Say Y if you want to support CPU frequency scaling.
301*f071bcebSStephen Boyd
302*f071bcebSStephen Boydendif
303