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_MSM8916
12	tristate "Qualcomm MSM8916 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 msm8916-based
18	  platforms.
19
20config INTERCONNECT_QCOM_MSM8939
21	tristate "Qualcomm MSM8939 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 msm8939-based
27	  platforms.
28
29config INTERCONNECT_QCOM_MSM8974
30	tristate "Qualcomm MSM8974 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 msm8974-based
36	 platforms.
37
38config INTERCONNECT_QCOM_MSM8996
39	tristate "Qualcomm MSM8996 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 msm8996-based
45	  platforms.
46
47config INTERCONNECT_QCOM_OSM_L3
48	tristate "Qualcomm OSM L3 interconnect driver"
49	depends on INTERCONNECT_QCOM || COMPILE_TEST
50	help
51	  Say y here to support the Operating State Manager (OSM) interconnect
52	  driver which controls the scaling of L3 caches on Qualcomm SoCs.
53
54config INTERCONNECT_QCOM_QCM2290
55	tristate "Qualcomm QCM2290 interconnect driver"
56	depends on INTERCONNECT_QCOM
57	depends on QCOM_SMD_RPM
58	select INTERCONNECT_QCOM_SMD_RPM
59	help
60	  This is a driver for the Qualcomm Network-on-Chip on qcm2290-based
61	  platforms.
62
63config INTERCONNECT_QCOM_QCS404
64	tristate "Qualcomm QCS404 interconnect driver"
65	depends on INTERCONNECT_QCOM
66	depends on QCOM_SMD_RPM
67	select INTERCONNECT_QCOM_SMD_RPM
68	help
69	  This is a driver for the Qualcomm Network-on-Chip on qcs404-based
70	  platforms.
71
72config INTERCONNECT_QCOM_QDU1000
73	tristate "Qualcomm QDU1000/QRU1000 interconnect driver"
74	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
75	select INTERCONNECT_QCOM_RPMH
76	select INTERCONNECT_QCOM_BCM_VOTER
77	help
78	  This is a driver for the Qualcomm Network-on-Chip on QDU1000-based
79	  and QRU1000-based platforms.
80
81config INTERCONNECT_QCOM_RPMH_POSSIBLE
82	tristate
83	default INTERCONNECT_QCOM
84	depends on QCOM_RPMH || (COMPILE_TEST && !QCOM_RPMH)
85	depends on QCOM_COMMAND_DB || (COMPILE_TEST && !QCOM_COMMAND_DB)
86	depends on OF || COMPILE_TEST
87	help
88	  Compile-testing RPMH drivers is possible on other platforms,
89	  but in order to avoid link failures, drivers must not be built-in
90	  when QCOM_RPMH or QCOM_COMMAND_DB are loadable modules
91
92config INTERCONNECT_QCOM_RPMH
93	tristate
94
95config INTERCONNECT_QCOM_SA8775P
96	tristate "Qualcomm SA8775P interconnect driver"
97	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
98	select INTERCONNECT_QCOM_RPMH
99	select INTERCONNECT_QCOM_BCM_VOTER
100	help
101	  This is a driver for the Qualcomm Network-on-Chip on sa8775p-based
102	  platforms.
103
104config INTERCONNECT_QCOM_SC7180
105	tristate "Qualcomm SC7180 interconnect driver"
106	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
107	select INTERCONNECT_QCOM_RPMH
108	select INTERCONNECT_QCOM_BCM_VOTER
109	help
110	  This is a driver for the Qualcomm Network-on-Chip on sc7180-based
111	  platforms.
112
113config INTERCONNECT_QCOM_SC7280
114	tristate "Qualcomm SC7280 interconnect driver"
115	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
116	select INTERCONNECT_QCOM_RPMH
117	select INTERCONNECT_QCOM_BCM_VOTER
118	help
119	  This is a driver for the Qualcomm Network-on-Chip on sc7280-based
120	  platforms.
121
122config INTERCONNECT_QCOM_SC8180X
123	tristate "Qualcomm SC8180X interconnect driver"
124	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
125	select INTERCONNECT_QCOM_RPMH
126	select INTERCONNECT_QCOM_BCM_VOTER
127	help
128	  This is a driver for the Qualcomm Network-on-Chip on sc8180x-based
129	  platforms.
130
131config INTERCONNECT_QCOM_SC8280XP
132	tristate "Qualcomm SC8280XP interconnect driver"
133	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
134	select INTERCONNECT_QCOM_RPMH
135	select INTERCONNECT_QCOM_BCM_VOTER
136	help
137	  This is a driver for the Qualcomm Network-on-Chip on SC8280XP-based
138	  platforms.
139
140config INTERCONNECT_QCOM_SDM660
141	tristate "Qualcomm SDM660 interconnect driver"
142	depends on INTERCONNECT_QCOM
143	depends on QCOM_SMD_RPM
144	select INTERCONNECT_QCOM_SMD_RPM
145	help
146	  This is a driver for the Qualcomm Network-on-Chip on sdm660-based
147	  platforms.
148
149config INTERCONNECT_QCOM_SDM670
150	tristate "Qualcomm SDM670 interconnect driver"
151	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
152	select INTERCONNECT_QCOM_RPMH
153	select INTERCONNECT_QCOM_BCM_VOTER
154	help
155	  This is a driver for the Qualcomm Network-on-Chip on sdm670-based
156	  platforms.
157
158config INTERCONNECT_QCOM_SDM845
159	tristate "Qualcomm SDM845 interconnect driver"
160	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
161	select INTERCONNECT_QCOM_RPMH
162	select INTERCONNECT_QCOM_BCM_VOTER
163	help
164	  This is a driver for the Qualcomm Network-on-Chip on sdm845-based
165	  platforms.
166
167config INTERCONNECT_QCOM_SDX55
168	tristate "Qualcomm SDX55 interconnect driver"
169	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
170	select INTERCONNECT_QCOM_RPMH
171	select INTERCONNECT_QCOM_BCM_VOTER
172	help
173	  This is a driver for the Qualcomm Network-on-Chip on sdx55-based
174	  platforms.
175
176config INTERCONNECT_QCOM_SDX65
177	tristate "Qualcomm SDX65 interconnect driver"
178	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
179	select INTERCONNECT_QCOM_RPMH
180	select INTERCONNECT_QCOM_BCM_VOTER
181	help
182	  This is a driver for the Qualcomm Network-on-Chip on sdx65-based
183	  platforms.
184
185config INTERCONNECT_QCOM_SM6350
186	tristate "Qualcomm SM6350 interconnect driver"
187	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
188	select INTERCONNECT_QCOM_RPMH
189	select INTERCONNECT_QCOM_BCM_VOTER
190	help
191	  This is a driver for the Qualcomm Network-on-Chip on sm6350-based
192	  platforms.
193
194config INTERCONNECT_QCOM_SM8150
195	tristate "Qualcomm SM8150 interconnect driver"
196	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
197	select INTERCONNECT_QCOM_RPMH
198	select INTERCONNECT_QCOM_BCM_VOTER
199	help
200	  This is a driver for the Qualcomm Network-on-Chip on sm8150-based
201	  platforms.
202
203config INTERCONNECT_QCOM_SM8250
204	tristate "Qualcomm SM8250 interconnect driver"
205	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
206	select INTERCONNECT_QCOM_RPMH
207	select INTERCONNECT_QCOM_BCM_VOTER
208	help
209	  This is a driver for the Qualcomm Network-on-Chip on sm8250-based
210	  platforms.
211
212config INTERCONNECT_QCOM_SM8350
213	tristate "Qualcomm SM8350 interconnect driver"
214	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
215	select INTERCONNECT_QCOM_RPMH
216	select INTERCONNECT_QCOM_BCM_VOTER
217	help
218	  This is a driver for the Qualcomm Network-on-Chip on SM8350-based
219	  platforms.
220
221config INTERCONNECT_QCOM_SM8450
222	tristate "Qualcomm SM8450 interconnect driver"
223	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
224	select INTERCONNECT_QCOM_RPMH
225	select INTERCONNECT_QCOM_BCM_VOTER
226	help
227	  This is a driver for the Qualcomm Network-on-Chip on SM8450-based
228	  platforms.
229
230config INTERCONNECT_QCOM_SM8550
231	tristate "Qualcomm SM8550 interconnect driver"
232	depends on INTERCONNECT_QCOM_RPMH_POSSIBLE
233	select INTERCONNECT_QCOM_RPMH
234	select INTERCONNECT_QCOM_BCM_VOTER
235	help
236	  This is a driver for the Qualcomm Network-on-Chip on SM8550-based
237	  platforms.
238
239config INTERCONNECT_QCOM_SMD_RPM
240	tristate
241