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