xref: /openbmc/linux/drivers/clk/qcom/Kconfig (revision 872f91b5)
173bb7dc0SStephen Boydconfig QCOM_GDSC
273bb7dc0SStephen Boyd	bool
373bb7dc0SStephen Boyd	select PM_GENERIC_DOMAINS if PM
473bb7dc0SStephen Boyd
500f64b58SGeorgi Djakovconfig QCOM_RPMCC
600f64b58SGeorgi Djakov	bool
700f64b58SGeorgi Djakov
8085d7a45SStephen Boydconfig COMMON_CLK_QCOM
9085d7a45SStephen Boyd	tristate "Support for Qualcomm's clock controllers"
10085d7a45SStephen Boyd	depends on OF
113937567dSBartlomiej Zolnierkiewicz	depends on ARCH_QCOM || COMPILE_TEST
12085d7a45SStephen Boyd	select REGMAP_MMIO
13b36ba30cSStephen Boyd	select RESET_CONTROLLER
142ec94130SStephen Boyd
15*872f91b5SGeorgi Djakovconfig QCOM_CLK_RPM
16*872f91b5SGeorgi Djakov	tristate "RPM based Clock Controller"
17*872f91b5SGeorgi Djakov	depends on COMMON_CLK_QCOM && MFD_QCOM_RPM
18*872f91b5SGeorgi Djakov	select QCOM_RPMCC
19*872f91b5SGeorgi Djakov	help
20*872f91b5SGeorgi Djakov	  The RPM (Resource Power Manager) is a dedicated hardware engine for
21*872f91b5SGeorgi Djakov	  managing the shared SoC resources in order to keep the lowest power
22*872f91b5SGeorgi Djakov	  profile. It communicates with other hardware subsystems via shared
23*872f91b5SGeorgi Djakov	  memory and accepts clock requests, aggregates the requests and turns
24*872f91b5SGeorgi Djakov	  the clocks on/off or scales them on demand.
25*872f91b5SGeorgi Djakov	  Say Y if you want to support the clocks exposed by the RPM on
26*872f91b5SGeorgi Djakov	  platforms such as apq8064, msm8660, msm8960 etc.
27*872f91b5SGeorgi Djakov
2800f64b58SGeorgi Djakovconfig QCOM_CLK_SMD_RPM
2900f64b58SGeorgi Djakov	tristate "RPM over SMD based Clock Controller"
3000f64b58SGeorgi Djakov	depends on COMMON_CLK_QCOM && QCOM_SMD_RPM
3100f64b58SGeorgi Djakov	select QCOM_RPMCC
3200f64b58SGeorgi Djakov	help
3300f64b58SGeorgi Djakov	  The RPM (Resource Power Manager) is a dedicated hardware engine for
3400f64b58SGeorgi Djakov	  managing the shared SoC resources in order to keep the lowest power
3500f64b58SGeorgi Djakov	  profile. It communicates with other hardware subsystems via shared
3600f64b58SGeorgi Djakov	  memory and accepts clock requests, aggregates the requests and turns
3700f64b58SGeorgi Djakov	  the clocks on/off or scales them on demand.
3800f64b58SGeorgi Djakov	  Say Y if you want to support the clocks exposed by the RPM on
3900f64b58SGeorgi Djakov	  platforms such as apq8016, apq8084, msm8974 etc.
4000f64b58SGeorgi Djakov
4102824653SGeorgi Djakovconfig APQ_GCC_8084
4202824653SGeorgi Djakov	tristate "APQ8084 Global Clock Controller"
43639af949SRajendra Nayak	select QCOM_GDSC
4402824653SGeorgi Djakov	depends on COMMON_CLK_QCOM
4502824653SGeorgi Djakov	help
4602824653SGeorgi Djakov	  Support for the global clock controller on apq8084 devices.
4702824653SGeorgi Djakov	  Say Y if you want to use peripheral devices such as UART, SPI,
4802824653SGeorgi Djakov	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
4902824653SGeorgi Djakov
502b46cd23SGeorgi Djakovconfig APQ_MMCC_8084
512b46cd23SGeorgi Djakov	tristate "APQ8084 Multimedia Clock Controller"
522b46cd23SGeorgi Djakov	select APQ_GCC_8084
53cb2eb7deSStephane Viau	select QCOM_GDSC
542b46cd23SGeorgi Djakov	depends on COMMON_CLK_QCOM
552b46cd23SGeorgi Djakov	help
562b46cd23SGeorgi Djakov	  Support for the multimedia clock controller on apq8084 devices.
572b46cd23SGeorgi Djakov	  Say Y if you want to support multimedia devices such as display,
582b46cd23SGeorgi Djakov	  graphics, video encode/decode, camera, etc.
592b46cd23SGeorgi Djakov
606971e863SVaradarajan Narayananconfig IPQ_GCC_4019
616971e863SVaradarajan Narayanan	tristate "IPQ4019 Global Clock Controller"
626971e863SVaradarajan Narayanan	depends on COMMON_CLK_QCOM
636971e863SVaradarajan Narayanan	help
646971e863SVaradarajan Narayanan	  Support for the global clock controller on ipq4019 devices.
656971e863SVaradarajan Narayanan	  Say Y if you want to use peripheral devices such as UART, SPI,
666971e863SVaradarajan Narayanan	  i2c, USB, SD/eMMC, etc.
676971e863SVaradarajan Narayanan
6824d8fba4SKumar Galaconfig IPQ_GCC_806X
6924d8fba4SKumar Gala	tristate "IPQ806x Global Clock Controller"
7024d8fba4SKumar Gala	depends on COMMON_CLK_QCOM
7124d8fba4SKumar Gala	help
7224d8fba4SKumar Gala	  Support for the global clock controller on ipq806x devices.
7324d8fba4SKumar Gala	  Say Y if you want to use peripheral devices such as UART, SPI,
7424d8fba4SKumar Gala	  i2c, USB, SD/eMMC, etc.
7524d8fba4SKumar Gala
76c99e515aSRajendra Nayakconfig IPQ_LCC_806X
77c99e515aSRajendra Nayak	tristate "IPQ806x LPASS Clock Controller"
78c99e515aSRajendra Nayak	select IPQ_GCC_806X
79c99e515aSRajendra Nayak	depends on COMMON_CLK_QCOM
80c99e515aSRajendra Nayak	help
81c99e515aSRajendra Nayak	  Support for the LPASS clock controller on ipq806x devices.
82c99e515aSRajendra Nayak	  Say Y if you want to use audio devices such as i2s, pcm,
83c99e515aSRajendra Nayak	  S/PDIF, etc.
84c99e515aSRajendra Nayak
850eeff27bSStephen Boydconfig MSM_GCC_8660
860eeff27bSStephen Boyd	tristate "MSM8660 Global Clock Controller"
870eeff27bSStephen Boyd	depends on COMMON_CLK_QCOM
880eeff27bSStephen Boyd	help
890eeff27bSStephen Boyd	  Support for the global clock controller on msm8660 devices.
900eeff27bSStephen Boyd	  Say Y if you want to use peripheral devices such as UART, SPI,
910eeff27bSStephen Boyd	  i2c, USB, SD/eMMC, etc.
920eeff27bSStephen Boyd
933966fab8SGeorgi Djakovconfig MSM_GCC_8916
943966fab8SGeorgi Djakov	tristate "MSM8916 Global Clock Controller"
95073ae2b4SRajendra Nayak	select QCOM_GDSC
963966fab8SGeorgi Djakov	depends on COMMON_CLK_QCOM
973966fab8SGeorgi Djakov	help
983966fab8SGeorgi Djakov	  Support for the global clock controller on msm8916 devices.
993966fab8SGeorgi Djakov	  Say Y if you want to use devices such as UART, SPI i2c, USB,
1003966fab8SGeorgi Djakov	  SD/eMMC, display, graphics, camera etc.
1013966fab8SGeorgi Djakov
1022ec94130SStephen Boydconfig MSM_GCC_8960
1032d85a713SKumar Gala	tristate "APQ8064/MSM8960 Global Clock Controller"
1042ec94130SStephen Boyd	depends on COMMON_CLK_QCOM
1052ec94130SStephen Boyd	help
1062d85a713SKumar Gala	  Support for the global clock controller on apq8064/msm8960 devices.
1072ec94130SStephen Boyd	  Say Y if you want to use peripheral devices such as UART, SPI,
1082ec94130SStephen Boyd	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
1096d00b56fSStephen Boyd
110b82875eeSStephen Boydconfig MSM_LCC_8960
111b82875eeSStephen Boyd	tristate "APQ8064/MSM8960 LPASS Clock Controller"
112b82875eeSStephen Boyd	select MSM_GCC_8960
113b82875eeSStephen Boyd	depends on COMMON_CLK_QCOM
114b82875eeSStephen Boyd	help
115b82875eeSStephen Boyd	  Support for the LPASS clock controller on apq8064/msm8960 devices.
116b82875eeSStephen Boyd	  Say Y if you want to use audio devices such as i2s, pcm,
117b82875eeSStephen Boyd	  SLIMBus, etc.
118b82875eeSStephen Boyd
1197792a8d6SNeil Armstrongconfig MDM_GCC_9615
1207792a8d6SNeil Armstrong	tristate "MDM9615 Global Clock Controller"
1217792a8d6SNeil Armstrong	depends on COMMON_CLK_QCOM
1227792a8d6SNeil Armstrong	help
1237792a8d6SNeil Armstrong	  Support for the global clock controller on mdm9615 devices.
1247792a8d6SNeil Armstrong	  Say Y if you want to use peripheral devices such as UART, SPI,
1257792a8d6SNeil Armstrong	  i2c, USB, SD/eMMC, etc.
1267792a8d6SNeil Armstrong
1277792a8d6SNeil Armstrongconfig MDM_LCC_9615
1287792a8d6SNeil Armstrong	tristate "MDM9615 LPASS Clock Controller"
1297792a8d6SNeil Armstrong	select MDM_GCC_9615
1307792a8d6SNeil Armstrong	depends on COMMON_CLK_QCOM
1317792a8d6SNeil Armstrong	help
1327792a8d6SNeil Armstrong	  Support for the LPASS clock controller on mdm9615 devices.
1337792a8d6SNeil Armstrong	  Say Y if you want to use audio devices such as i2s, pcm,
1347792a8d6SNeil Armstrong	  SLIMBus, etc.
1357792a8d6SNeil Armstrong
1366d00b56fSStephen Boydconfig MSM_MMCC_8960
1376d00b56fSStephen Boyd	tristate "MSM8960 Multimedia Clock Controller"
1386d00b56fSStephen Boyd	select MSM_GCC_8960
1396d00b56fSStephen Boyd	depends on COMMON_CLK_QCOM
1406d00b56fSStephen Boyd	help
1416d00b56fSStephen Boyd	  Support for the multimedia clock controller on msm8960 devices.
1426d00b56fSStephen Boyd	  Say Y if you want to support multimedia devices such as display,
1436d00b56fSStephen Boyd	  graphics, video encode/decode, camera, etc.
144d33faa9eSStephen Boyd
145d33faa9eSStephen Boydconfig MSM_GCC_8974
146d33faa9eSStephen Boyd	tristate "MSM8974 Global Clock Controller"
147340029efSStephen Boyd	select QCOM_GDSC
148d33faa9eSStephen Boyd	depends on COMMON_CLK_QCOM
149d33faa9eSStephen Boyd	help
150d33faa9eSStephen Boyd	  Support for the global clock controller on msm8974 devices.
151d33faa9eSStephen Boyd	  Say Y if you want to use peripheral devices such as UART, SPI,
152d33faa9eSStephen Boyd	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
153d8b21201SStephen Boyd
154d8b21201SStephen Boydconfig MSM_MMCC_8974
155d8b21201SStephen Boyd	tristate "MSM8974 Multimedia Clock Controller"
156d8b21201SStephen Boyd	select MSM_GCC_8974
1578108b23cSStephen Boyd	select QCOM_GDSC
158d8b21201SStephen Boyd	depends on COMMON_CLK_QCOM
159d8b21201SStephen Boyd	help
160d8b21201SStephen Boyd	  Support for the multimedia clock controller on msm8974 devices.
161d8b21201SStephen Boyd	  Say Y if you want to support multimedia devices such as display,
162d8b21201SStephen Boyd	  graphics, video encode/decode, camera, etc.
163b1e010c0SStephen Boyd
164b1e010c0SStephen Boydconfig MSM_GCC_8996
165b1e010c0SStephen Boyd	tristate "MSM8996 Global Clock Controller"
1666d91f2c0SSrinivas Kandagatla	select QCOM_GDSC
167b1e010c0SStephen Boyd	depends on COMMON_CLK_QCOM
168b1e010c0SStephen Boyd	help
169b1e010c0SStephen Boyd	  Support for the global clock controller on msm8996 devices.
170b1e010c0SStephen Boyd	  Say Y if you want to use peripheral devices such as UART, SPI,
171b1e010c0SStephen Boyd	  i2c, USB, UFS, SD/eMMC, PCIe, etc.
172c2526597SStephen Boyd
173c2526597SStephen Boydconfig MSM_MMCC_8996
174c2526597SStephen Boyd	tristate "MSM8996 Multimedia Clock Controller"
175c2526597SStephen Boyd	select MSM_GCC_8996
1766d91f2c0SSrinivas Kandagatla	select QCOM_GDSC
177c2526597SStephen Boyd	depends on COMMON_CLK_QCOM
178c2526597SStephen Boyd	help
179c2526597SStephen Boyd	  Support for the multimedia clock controller on msm8996 devices.
180c2526597SStephen Boyd	  Say Y if you want to support multimedia devices such as display,
181c2526597SStephen Boyd	  graphics, video encode/decode, camera, etc.
182