xref: /linux/drivers/clk/qcom/Kconfig (revision 00f64b58874e14dec2b9c02f7d63147315e0a09b)
1config QCOM_GDSC
2	bool
3	select PM_GENERIC_DOMAINS if PM
4
5config QCOM_RPMCC
6	bool
7
8config COMMON_CLK_QCOM
9	tristate "Support for Qualcomm's clock controllers"
10	depends on OF
11	depends on ARCH_QCOM || COMPILE_TEST
12	select REGMAP_MMIO
13	select RESET_CONTROLLER
14
15config QCOM_CLK_SMD_RPM
16	tristate "RPM over SMD based Clock Controller"
17	depends on COMMON_CLK_QCOM && QCOM_SMD_RPM
18	select QCOM_RPMCC
19	help
20	  The RPM (Resource Power Manager) is a dedicated hardware engine for
21	  managing the shared SoC resources in order to keep the lowest power
22	  profile. It communicates with other hardware subsystems via shared
23	  memory and accepts clock requests, aggregates the requests and turns
24	  the clocks on/off or scales them on demand.
25	  Say Y if you want to support the clocks exposed by the RPM on
26	  platforms such as apq8016, apq8084, msm8974 etc.
27
28config APQ_GCC_8084
29	tristate "APQ8084 Global Clock Controller"
30	select QCOM_GDSC
31	depends on COMMON_CLK_QCOM
32	help
33	  Support for the global clock controller on apq8084 devices.
34	  Say Y if you want to use peripheral devices such as UART, SPI,
35	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
36
37config APQ_MMCC_8084
38	tristate "APQ8084 Multimedia Clock Controller"
39	select APQ_GCC_8084
40	select QCOM_GDSC
41	depends on COMMON_CLK_QCOM
42	help
43	  Support for the multimedia clock controller on apq8084 devices.
44	  Say Y if you want to support multimedia devices such as display,
45	  graphics, video encode/decode, camera, etc.
46
47config IPQ_GCC_4019
48	tristate "IPQ4019 Global Clock Controller"
49	depends on COMMON_CLK_QCOM
50	help
51	  Support for the global clock controller on ipq4019 devices.
52	  Say Y if you want to use peripheral devices such as UART, SPI,
53	  i2c, USB, SD/eMMC, etc.
54
55config IPQ_GCC_806X
56	tristate "IPQ806x Global Clock Controller"
57	depends on COMMON_CLK_QCOM
58	help
59	  Support for the global clock controller on ipq806x devices.
60	  Say Y if you want to use peripheral devices such as UART, SPI,
61	  i2c, USB, SD/eMMC, etc.
62
63config IPQ_LCC_806X
64	tristate "IPQ806x LPASS Clock Controller"
65	select IPQ_GCC_806X
66	depends on COMMON_CLK_QCOM
67	help
68	  Support for the LPASS clock controller on ipq806x devices.
69	  Say Y if you want to use audio devices such as i2s, pcm,
70	  S/PDIF, etc.
71
72config MSM_GCC_8660
73	tristate "MSM8660 Global Clock Controller"
74	depends on COMMON_CLK_QCOM
75	help
76	  Support for the global clock controller on msm8660 devices.
77	  Say Y if you want to use peripheral devices such as UART, SPI,
78	  i2c, USB, SD/eMMC, etc.
79
80config MSM_GCC_8916
81	tristate "MSM8916 Global Clock Controller"
82	select QCOM_GDSC
83	depends on COMMON_CLK_QCOM
84	help
85	  Support for the global clock controller on msm8916 devices.
86	  Say Y if you want to use devices such as UART, SPI i2c, USB,
87	  SD/eMMC, display, graphics, camera etc.
88
89config MSM_GCC_8960
90	tristate "APQ8064/MSM8960 Global Clock Controller"
91	depends on COMMON_CLK_QCOM
92	help
93	  Support for the global clock controller on apq8064/msm8960 devices.
94	  Say Y if you want to use peripheral devices such as UART, SPI,
95	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
96
97config MSM_LCC_8960
98	tristate "APQ8064/MSM8960 LPASS Clock Controller"
99	select MSM_GCC_8960
100	depends on COMMON_CLK_QCOM
101	help
102	  Support for the LPASS clock controller on apq8064/msm8960 devices.
103	  Say Y if you want to use audio devices such as i2s, pcm,
104	  SLIMBus, etc.
105
106config MDM_GCC_9615
107	tristate "MDM9615 Global Clock Controller"
108	depends on COMMON_CLK_QCOM
109	help
110	  Support for the global clock controller on mdm9615 devices.
111	  Say Y if you want to use peripheral devices such as UART, SPI,
112	  i2c, USB, SD/eMMC, etc.
113
114config MDM_LCC_9615
115	tristate "MDM9615 LPASS Clock Controller"
116	select MDM_GCC_9615
117	depends on COMMON_CLK_QCOM
118	help
119	  Support for the LPASS clock controller on mdm9615 devices.
120	  Say Y if you want to use audio devices such as i2s, pcm,
121	  SLIMBus, etc.
122
123config MSM_MMCC_8960
124	tristate "MSM8960 Multimedia Clock Controller"
125	select MSM_GCC_8960
126	depends on COMMON_CLK_QCOM
127	help
128	  Support for the multimedia clock controller on msm8960 devices.
129	  Say Y if you want to support multimedia devices such as display,
130	  graphics, video encode/decode, camera, etc.
131
132config MSM_GCC_8974
133	tristate "MSM8974 Global Clock Controller"
134	select QCOM_GDSC
135	depends on COMMON_CLK_QCOM
136	help
137	  Support for the global clock controller on msm8974 devices.
138	  Say Y if you want to use peripheral devices such as UART, SPI,
139	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
140
141config MSM_MMCC_8974
142	tristate "MSM8974 Multimedia Clock Controller"
143	select MSM_GCC_8974
144	select QCOM_GDSC
145	depends on COMMON_CLK_QCOM
146	help
147	  Support for the multimedia clock controller on msm8974 devices.
148	  Say Y if you want to support multimedia devices such as display,
149	  graphics, video encode/decode, camera, etc.
150
151config MSM_GCC_8996
152	tristate "MSM8996 Global Clock Controller"
153	select QCOM_GDSC
154	depends on COMMON_CLK_QCOM
155	help
156	  Support for the global clock controller on msm8996 devices.
157	  Say Y if you want to use peripheral devices such as UART, SPI,
158	  i2c, USB, UFS, SD/eMMC, PCIe, etc.
159
160config MSM_MMCC_8996
161	tristate "MSM8996 Multimedia Clock Controller"
162	select MSM_GCC_8996
163	select QCOM_GDSC
164	depends on COMMON_CLK_QCOM
165	help
166	  Support for the multimedia clock controller on msm8996 devices.
167	  Say Y if you want to support multimedia devices such as display,
168	  graphics, video encode/decode, camera, etc.
169