1# SPDX-License-Identifier: GPL-2.0-only
2config INTERCONNECT_QCOM
3	tristate "Qualcomm Network-on-Chip interconnect drivers"
4	depends on ARCH_QCOM
5	help
6	  Support for Qualcomm's Network-on-Chip interconnect hardware.
7
8config INTERCONNECT_QCOM_BCM_VOTER
9	tristate
10
11config INTERCONNECT_QCOM_MSM8909
12	tristate "Qualcomm MSM8909 interconnect driver"
13	depends on INTERCONNECT_QCOM
14	depends on QCOM_SMD_RPM
15	select INTERCONNECT_QCOM_SMD_RPM
16	help
17	  This is a driver for the Qualcomm Network-on-Chip on msm8909-based
18	  platforms.
19
20config INTERCONNECT_QCOM_MSM8916
21	tristate "Qualcomm MSM8916 interconnect driver"
22	depends on INTERCONNECT_QCOM
23	depends on QCOM_SMD_RPM
24	select INTERCONNECT_QCOM_SMD_RPM
25	help
26	  This is a driver for the Qualcomm Network-on-Chip on msm8916-based
27	  platforms.
28
29config INTERCONNECT_QCOM_MSM8937
30	tristate "Qualcomm MSM8937 interconnect driver"
31	depends on INTERCONNECT_QCOM
32	depends on QCOM_SMD_RPM
33	select INTERCONNECT_QCOM_SMD_RPM
34	help
35	  This is a driver for the Qualcomm Network-on-Chip on msm8937-based
36	  platforms.
37
38config INTERCONNECT_QCOM_MSM8939
39	tristate "Qualcomm MSM8939 interconnect driver"
40	depends on INTERCONNECT_QCOM
41	depends on QCOM_SMD_RPM
42	select INTERCONNECT_QCOM_SMD_RPM
43	help
44	  This is a driver for the Qualcomm Network-on-Chip on msm8939-based
45	  platforms.
46
47config INTERCONNECT_QCOM_MSM8953
48	tristate "Qualcomm MSM8953 interconnect driver"
49	depends on INTERCONNECT_QCOM
50	depends on QCOM_SMD_RPM
51	select INTERCONNECT_QCOM_SMD_RPM
52	help
53	  This is a driver for the Qualcomm Network-on-Chip on msm8953-based
54	  platforms.
55
56config INTERCONNECT_QCOM_MSM8974
57	tristate "Qualcomm MSM8974 interconnect driver"
58	depends on INTERCONNECT_QCOM
59	depends on QCOM_SMD_RPM
60	select INTERCONNECT_QCOM_SMD_RPM
61	help
62	 This is a driver for the Qualcomm Network-on-Chip on msm8974-based
63	 platforms.
64
65config INTERCONNECT_QCOM_MSM8976
66	tristate "Qualcomm MSM8976 interconnect driver"
67	depends on INTERCONNECT_QCOM
68	depends on QCOM_SMD_RPM
69	select INTERCONNECT_QCOM_SMD_RPM
70	help
71	  This is a driver for the Qualcomm Network-on-Chip on msm8976-based
72	  platforms.
73
74config INTERCONNECT_QCOM_MSM8996
75	tristate "Qualcomm MSM8996 interconnect driver"
76	depends on INTERCONNECT_QCOM
77	depends on QCOM_SMD_RPM
78	select INTERCONNECT_QCOM_SMD_RPM
79	help
80	  This is a driver for the Qualcomm Network-on-Chip on msm8996-based
81	  platforms.
82
83config INTERCONNECT_QCOM_OSM_L3
84	tristate "Qualcomm OSM L3 interconnect driver"
85	depends on INTERCONNECT_QCOM || COMPILE_TEST
86	help
87	  Say y here to support the Operating State Manager (OSM) interconnect
88	  driver which controls the scaling of L3 caches on Qualcomm SoCs.
89
90config INTERCONNECT_QCOM_QCM2290
91	tristate "Qualcomm QCM2290 interconnect driver"
92	depends on INTERCONNECT_QCOM
93	depends on QCOM_SMD_RPM
94	select INTERCONNECT_QCOM_SMD_RPM
95	help
96	  This is a driver for the Qualcomm Network-on-Chip on qcm2290-based
97	  platforms.
98
99config INTERCONNECT_QCOM_QCS404
100	tristate "Qualcomm QCS404 interconnect driver"
101	depends on INTERCONNECT_QCOM
102	depends on QCOM_SMD_RPM
103	select INTERCONNECT_QCOM_SMD_RPM
104	help
105	  This is a driver for the Qualcomm Network-on-Chip on qcs404-based
106	  platforms.
107
108config INTERCONNECT_QCOM_QCS8300
109	tristate "Qualcomm QCS8300 interconnect driver"
110	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
111	select INTERCONNECT_QCOM_RPMH
112	select INTERCONNECT_QCOM_BCM_VOTER
113	help
114	  This is a driver for the Qualcomm Technologies, Inc. Network-on-Chip
115	  on QCS8300-based platforms. The interconnect provider collects and
116	  aggreagates the cosumer bandwidth requests to satisfy constraints
117	  placed on Network-on-Chip performance states.
118
119config INTERCONNECT_QCOM_QDU1000
120	tristate "Qualcomm QDU1000/QRU1000 interconnect driver"
121	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
122	select INTERCONNECT_QCOM_RPMH
123	select INTERCONNECT_QCOM_BCM_VOTER
124	help
125	  This is a driver for the Qualcomm Network-on-Chip on QDU1000-based
126	  and QRU1000-based platforms.
127
128config INTERCONNECT_QCOM_RPMH_POSSIBLE
129	tristate
130	default INTERCONNECT_QCOM
131	depends on QCOM_RPMH || (COMPILE_TEST && !QCOM_RPMH)
132	depends on QCOM_COMMAND_DB || (COMPILE_TEST && !QCOM_COMMAND_DB)
133	depends on OF
134	help
135	  Compile-testing RPMH drivers is possible on other platforms,
136	  but in order to avoid link failures, drivers must not be built-in
137	  when QCOM_RPMH or QCOM_COMMAND_DB are loadable modules
138
139config INTERCONNECT_QCOM_RPMH
140	tristate
141
142config INTERCONNECT_QCOM_SA8775P
143	tristate "Qualcomm SA8775P interconnect driver"
144	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
145	select INTERCONNECT_QCOM_RPMH
146	select INTERCONNECT_QCOM_BCM_VOTER
147	help
148	  This is a driver for the Qualcomm Network-on-Chip on sa8775p-based
149	  platforms.
150
151config INTERCONNECT_QCOM_SC7180
152	tristate "Qualcomm SC7180 interconnect driver"
153	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
154	select INTERCONNECT_QCOM_RPMH
155	select INTERCONNECT_QCOM_BCM_VOTER
156	help
157	  This is a driver for the Qualcomm Network-on-Chip on sc7180-based
158	  platforms.
159
160config INTERCONNECT_QCOM_SC7280
161	tristate "Qualcomm SC7280 interconnect driver"
162	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
163	select INTERCONNECT_QCOM_RPMH
164	select INTERCONNECT_QCOM_BCM_VOTER
165	help
166	  This is a driver for the Qualcomm Network-on-Chip on sc7280-based
167	  platforms.
168
169config INTERCONNECT_QCOM_SC8180X
170	tristate "Qualcomm SC8180X interconnect driver"
171	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
172	select INTERCONNECT_QCOM_RPMH
173	select INTERCONNECT_QCOM_BCM_VOTER
174	help
175	  This is a driver for the Qualcomm Network-on-Chip on sc8180x-based
176	  platforms.
177
178config INTERCONNECT_QCOM_SC8280XP
179	tristate "Qualcomm SC8280XP interconnect driver"
180	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
181	select INTERCONNECT_QCOM_RPMH
182	select INTERCONNECT_QCOM_BCM_VOTER
183	help
184	  This is a driver for the Qualcomm Network-on-Chip on SC8280XP-based
185	  platforms.
186
187config INTERCONNECT_QCOM_SDM660
188	tristate "Qualcomm SDM660 interconnect driver"
189	depends on INTERCONNECT_QCOM
190	depends on QCOM_SMD_RPM
191	select INTERCONNECT_QCOM_SMD_RPM
192	help
193	  This is a driver for the Qualcomm Network-on-Chip on sdm660-based
194	  platforms.
195
196config INTERCONNECT_QCOM_SDM670
197	tristate "Qualcomm SDM670 interconnect driver"
198	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
199	select INTERCONNECT_QCOM_RPMH
200	select INTERCONNECT_QCOM_BCM_VOTER
201	help
202	  This is a driver for the Qualcomm Network-on-Chip on sdm670-based
203	  platforms.
204
205config INTERCONNECT_QCOM_SDM845
206	tristate "Qualcomm SDM845 interconnect driver"
207	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
208	select INTERCONNECT_QCOM_RPMH
209	select INTERCONNECT_QCOM_BCM_VOTER
210	help
211	  This is a driver for the Qualcomm Network-on-Chip on sdm845-based
212	  platforms.
213
214config INTERCONNECT_QCOM_SDX55
215	tristate "Qualcomm SDX55 interconnect driver"
216	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
217	select INTERCONNECT_QCOM_RPMH
218	select INTERCONNECT_QCOM_BCM_VOTER
219	help
220	  This is a driver for the Qualcomm Network-on-Chip on sdx55-based
221	  platforms.
222
223config INTERCONNECT_QCOM_SDX65
224	tristate "Qualcomm SDX65 interconnect driver"
225	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
226	select INTERCONNECT_QCOM_RPMH
227	select INTERCONNECT_QCOM_BCM_VOTER
228	help
229	  This is a driver for the Qualcomm Network-on-Chip on sdx65-based
230	  platforms.
231
232config INTERCONNECT_QCOM_SDX75
233	tristate "Qualcomm SDX75 interconnect driver"
234	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
235	select INTERCONNECT_QCOM_RPMH
236	select INTERCONNECT_QCOM_BCM_VOTER
237	help
238	  This is a driver for the Qualcomm Network-on-Chip on sdx75-based
239	  platforms.
240
241config INTERCONNECT_QCOM_SM6115
242	tristate "Qualcomm SM6115 interconnect driver"
243	depends on INTERCONNECT_QCOM
244	depends on QCOM_SMD_RPM
245	select INTERCONNECT_QCOM_SMD_RPM
246	help
247	  This is a driver for the Qualcomm Network-on-Chip on sm6115-based
248	  platforms.
249
250config INTERCONNECT_QCOM_SM6350
251	tristate "Qualcomm SM6350 interconnect driver"
252	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
253	select INTERCONNECT_QCOM_RPMH
254	select INTERCONNECT_QCOM_BCM_VOTER
255	help
256	  This is a driver for the Qualcomm Network-on-Chip on sm6350-based
257	  platforms.
258
259config INTERCONNECT_QCOM_SM7150
260	tristate "Qualcomm SM7150 interconnect driver"
261	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
262	select INTERCONNECT_QCOM_RPMH
263	select INTERCONNECT_QCOM_BCM_VOTER
264	help
265	  This is a driver for the Qualcomm Network-on-Chip on sm7150-based
266	  platforms.
267
268config INTERCONNECT_QCOM_SM8150
269	tristate "Qualcomm SM8150 interconnect driver"
270	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
271	select INTERCONNECT_QCOM_RPMH
272	select INTERCONNECT_QCOM_BCM_VOTER
273	help
274	  This is a driver for the Qualcomm Network-on-Chip on sm8150-based
275	  platforms.
276
277config INTERCONNECT_QCOM_SM8250
278	tristate "Qualcomm SM8250 interconnect driver"
279	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
280	select INTERCONNECT_QCOM_RPMH
281	select INTERCONNECT_QCOM_BCM_VOTER
282	help
283	  This is a driver for the Qualcomm Network-on-Chip on sm8250-based
284	  platforms.
285
286config INTERCONNECT_QCOM_SM8350
287	tristate "Qualcomm SM8350 interconnect driver"
288	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
289	select INTERCONNECT_QCOM_RPMH
290	select INTERCONNECT_QCOM_BCM_VOTER
291	help
292	  This is a driver for the Qualcomm Network-on-Chip on SM8350-based
293	  platforms.
294
295config INTERCONNECT_QCOM_SM8450
296	tristate "Qualcomm SM8450 interconnect driver"
297	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
298	select INTERCONNECT_QCOM_RPMH
299	select INTERCONNECT_QCOM_BCM_VOTER
300	help
301	  This is a driver for the Qualcomm Network-on-Chip on SM8450-based
302	  platforms.
303
304config INTERCONNECT_QCOM_SM8550
305	tristate "Qualcomm SM8550 interconnect driver"
306	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
307	select INTERCONNECT_QCOM_RPMH
308	select INTERCONNECT_QCOM_BCM_VOTER
309	help
310	  This is a driver for the Qualcomm Network-on-Chip on SM8550-based
311	  platforms.
312
313config INTERCONNECT_QCOM_SM8650
314	tristate "Qualcomm SM8650 interconnect driver"
315	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
316	select INTERCONNECT_QCOM_RPMH
317	select INTERCONNECT_QCOM_BCM_VOTER
318	help
319	  This is a driver for the Qualcomm Network-on-Chip on SM8650-based
320	  platforms.
321
322config INTERCONNECT_QCOM_X1E80100
323	tristate "Qualcomm X1E80100 interconnect driver"
324	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
325	select INTERCONNECT_QCOM_RPMH
326	select INTERCONNECT_QCOM_BCM_VOTER
327	help
328	  This is a driver for the Qualcomm Network-on-Chip on X1E80100-based
329	  platforms.
330
331config INTERCONNECT_QCOM_SMD_RPM
332	tristate
333