xref: /openbmc/linux/drivers/pinctrl/qcom/Kconfig (revision b39d8c41)
1# SPDX-License-Identifier: GPL-2.0-only
2if (ARCH_QCOM || COMPILE_TEST)
3
4config PINCTRL_MSM
5	tristate "Qualcomm core pin controller driver"
6	depends on GPIOLIB
7	select QCOM_SCM
8	select PINMUX
9	select PINCONF
10	select GENERIC_PINCONF
11	select GPIOLIB_IRQCHIP
12	select IRQ_DOMAIN_HIERARCHY
13	select IRQ_FASTEOI_HIERARCHY_HANDLERS
14
15config PINCTRL_APQ8064
16	tristate "Qualcomm APQ8064 pin controller driver"
17	depends on OF
18	depends on ARM || COMPILE_TEST
19	depends on PINCTRL_MSM
20	help
21	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
22	  Qualcomm TLMM block found in the Qualcomm APQ8064 platform.
23
24config PINCTRL_APQ8084
25	tristate "Qualcomm APQ8084 pin controller driver"
26	depends on OF
27	depends on ARM || COMPILE_TEST
28	depends on PINCTRL_MSM
29	help
30	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
31	  Qualcomm TLMM block found in the Qualcomm APQ8084 platform.
32
33config PINCTRL_IPQ4019
34	tristate "Qualcomm IPQ4019 pin controller driver"
35	depends on OF
36	depends on ARM || COMPILE_TEST
37	depends on PINCTRL_MSM
38	help
39	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
40	  Qualcomm TLMM block found in the Qualcomm IPQ4019 platform.
41
42config PINCTRL_IPQ8064
43	tristate "Qualcomm IPQ8064 pin controller driver"
44	depends on OF
45	depends on ARM || COMPILE_TEST
46	depends on PINCTRL_MSM
47	help
48	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
49	  Qualcomm TLMM block found in the Qualcomm IPQ8064 platform.
50
51config PINCTRL_IPQ5332
52	tristate "Qualcomm Technologies Inc IPQ5332 pin controller driver"
53	depends on OF
54	depends on ARM64 || COMPILE_TEST
55	depends on PINCTRL_MSM
56	help
57	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
58	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
59	  Technologies Inc IPQ5332 platform.
60
61config PINCTRL_IPQ8074
62	tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver"
63	depends on OF
64	depends on ARM64 || COMPILE_TEST
65	depends on PINCTRL_MSM
66	help
67	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
68	  the Qualcomm Technologies Inc. TLMM block found on the
69	  Qualcomm Technologies Inc. IPQ8074 platform. Select this for
70	  IPQ8074.
71
72config PINCTRL_IPQ6018
73	tristate "Qualcomm Technologies, Inc. IPQ6018 pin controller driver"
74	depends on OF
75	depends on ARM64 || COMPILE_TEST
76	depends on PINCTRL_MSM
77	help
78	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
79	  the Qualcomm Technologies Inc. TLMM block found on the
80	  Qualcomm Technologies Inc. IPQ6018 platform. Select this for
81	  IPQ6018.
82
83config PINCTRL_IPQ9574
84	tristate "Qualcomm Technologies, Inc. IPQ9574 pin controller driver"
85	depends on OF || COMPILE_TEST
86	depends on ARM64 || COMPILE_TEST
87	depends on PINCTRL_MSM
88	help
89	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
90          the Qualcomm Technologies Inc. TLMM block found on the
91          Qualcomm Technologies Inc. IPQ9574 platform. Select this for
92          IPQ9574.
93
94config PINCTRL_MSM8226
95	tristate "Qualcomm 8226 pin controller driver"
96	depends on OF
97	depends on ARM || COMPILE_TEST
98	depends on PINCTRL_MSM
99	help
100	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
101	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
102	  Technologies Inc MSM8226 platform.
103
104config PINCTRL_MSM8660
105	tristate "Qualcomm 8660 pin controller driver"
106	depends on OF
107	depends on ARM || COMPILE_TEST
108	depends on PINCTRL_MSM
109	help
110	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
111	  Qualcomm TLMM block found in the Qualcomm 8660 platform.
112
113config PINCTRL_MSM8960
114	tristate "Qualcomm 8960 pin controller driver"
115	depends on OF
116	depends on ARM || COMPILE_TEST
117	depends on PINCTRL_MSM
118	help
119	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
120	  Qualcomm TLMM block found in the Qualcomm 8960 platform.
121
122config PINCTRL_MDM9607
123	tristate "Qualcomm 9607 pin controller driver"
124	depends on GPIOLIB && OF
125	depends on PINCTRL_MSM
126	help
127	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
128	  Qualcomm TLMM block found in the Qualcomm 9607 platform.
129
130config PINCTRL_MDM9615
131	tristate "Qualcomm 9615 pin controller driver"
132	depends on OF
133	depends on ARM || COMPILE_TEST
134	depends on PINCTRL_MSM
135	help
136	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
137	  Qualcomm TLMM block found in the Qualcomm 9615 platform.
138
139config PINCTRL_MSM8X74
140	tristate "Qualcomm 8x74 pin controller driver"
141	depends on OF
142	depends on ARM || COMPILE_TEST
143	depends on PINCTRL_MSM
144	help
145	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
146	  Qualcomm TLMM block found in the Qualcomm 8974 platform.
147
148config PINCTRL_MSM8909
149	tristate "Qualcomm 8909 pin controller driver"
150	depends on OF
151	depends on ARM || COMPILE_TEST
152	depends on PINCTRL_MSM
153	help
154	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
155	  Qualcomm TLMM block found on the Qualcomm MSM8909 platform.
156
157config PINCTRL_MSM8916
158	tristate "Qualcomm 8916 pin controller driver"
159	depends on OF
160	depends on PINCTRL_MSM
161	help
162	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
163	  Qualcomm TLMM block found on the Qualcomm 8916 platform.
164
165config PINCTRL_MSM8953
166	tristate "Qualcomm 8953 pin controller driver"
167	depends on OF
168	depends on ARM64 || COMPILE_TEST
169	depends on PINCTRL_MSM
170	help
171	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
172	  Qualcomm TLMM block found on the Qualcomm MSM8953 platform.
173	  The Qualcomm APQ8053, SDM450, SDM632 platforms are also
174	  supported by this driver.
175
176config PINCTRL_MSM8976
177	tristate "Qualcomm 8976 pin controller driver"
178	depends on OF
179	depends on ARM64 || COMPILE_TEST
180	depends on PINCTRL_MSM
181	help
182	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
183	  Qualcomm TLMM block found on the Qualcomm MSM8976 platform.
184	  The Qualcomm MSM8956, APQ8056, APQ8076 platforms are also
185	  supported by this driver.
186
187config PINCTRL_MSM8994
188	tristate "Qualcomm 8994 pin controller driver"
189	depends on OF
190	depends on ARM64 || COMPILE_TEST
191	depends on PINCTRL_MSM
192	help
193	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
194	  Qualcomm TLMM block found in the Qualcomm 8994 platform. The
195	  Qualcomm 8992 platform is also supported by this driver.
196
197config PINCTRL_MSM8996
198	tristate "Qualcomm MSM8996 pin controller driver"
199	depends on OF
200	depends on ARM64 || COMPILE_TEST
201	depends on PINCTRL_MSM
202	help
203	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
204	  Qualcomm TLMM block found in the Qualcomm MSM8996 platform.
205
206config PINCTRL_MSM8998
207	tristate "Qualcomm MSM8998 pin controller driver"
208	depends on OF
209	depends on ARM64 || COMPILE_TEST
210	depends on PINCTRL_MSM
211	help
212	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
213	  Qualcomm TLMM block found in the Qualcomm MSM8998 platform.
214
215config PINCTRL_QCM2290
216	tristate "Qualcomm QCM2290 pin controller driver"
217	depends on OF
218	depends on ARM64 || COMPILE_TEST
219	depends on PINCTRL_MSM
220	help
221	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
222	  TLMM block found in the Qualcomm QCM2290 platform.
223
224config PINCTRL_QCS404
225	tristate "Qualcomm QCS404 pin controller driver"
226	depends on OF
227	depends on ARM64 || COMPILE_TEST
228	depends on PINCTRL_MSM
229	help
230	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
231	  TLMM block found in the Qualcomm QCS404 platform.
232
233config PINCTRL_QDF2XXX
234	tristate "Qualcomm Technologies QDF2xxx pin controller driver"
235	depends on ACPI
236	depends on PINCTRL_MSM
237	help
238	  This is the GPIO driver for the TLMM block found on the
239	  Qualcomm Technologies QDF2xxx SOCs.
240
241config PINCTRL_QCOM_SPMI_PMIC
242	tristate "Qualcomm SPMI PMIC pin controller driver"
243	depends on OF && SPMI
244	select REGMAP_SPMI
245	select PINMUX
246	select PINCONF
247	select GENERIC_PINCONF
248  select GPIOLIB
249	select GPIOLIB_IRQCHIP
250	select IRQ_DOMAIN_HIERARCHY
251	help
252	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
253	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
254	 which are using SPMI for communication with SoC. Example PMIC's
255	 devices are pm8841, pm8941 and pma8084.
256
257config PINCTRL_QCOM_SSBI_PMIC
258	tristate "Qualcomm SSBI PMIC pin controller driver"
259	depends on OF
260	select PINMUX
261	select PINCONF
262	select GENERIC_PINCONF
263  select GPIOLIB
264	select GPIOLIB_IRQCHIP
265	select IRQ_DOMAIN_HIERARCHY
266	help
267	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
268	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
269	 which are using SSBI for communication with SoC. Example PMIC's
270	 devices are pm8058 and pm8921.
271
272config PINCTRL_QDU1000
273	tristate "Qualcomm Tehcnologies Inc QDU1000/QRU1000 pin controller driver"
274	depends on GPIOLIB && OF
275	depends on ARM64 || COMPILE_TEST
276	depends on PINCTRL_MSM
277	help
278	  This is the pinctrl, pinmux, pinconf, and gpiolib driver for the
279	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
280	  Technologies Inc QDU1000 and QRU1000 platforms.
281
282config PINCTRL_SA8775P
283	tristate "Qualcomm Technologies Inc SA8775P pin controller driver"
284	depends on OF
285	depends on ARM64 || COMPILE_TEST
286	depends on PINCTRL_MSM
287	help
288	  This is the pinctrl, pinmux and pinconf driver for the Qualcomm
289	  TLMM block found on the Qualcomm SA8775P platforms.
290
291config PINCTRL_SC7180
292	tristate "Qualcomm Technologies Inc SC7180 pin controller driver"
293	depends on OF
294	depends on ARM64 || COMPILE_TEST
295	depends on PINCTRL_MSM
296	help
297	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
298	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
299	  Technologies Inc SC7180 platform.
300
301config PINCTRL_SC7280
302	tristate "Qualcomm Technologies Inc SC7280 pin controller driver"
303	depends on OF
304	depends on ARM64 || COMPILE_TEST
305	depends on PINCTRL_MSM
306	help
307	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
308	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
309	  Technologies Inc SC7280 platform.
310
311config PINCTRL_SC7280_LPASS_LPI
312	tristate "Qualcomm Technologies Inc SC7280 LPASS LPI pin controller driver"
313	depends on GPIOLIB
314	depends on ARM64 || COMPILE_TEST
315	depends on PINCTRL_LPASS_LPI
316	help
317	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
318	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
319	  (Low Power Island) found on the Qualcomm Technologies Inc SC7280 platform.
320
321config PINCTRL_SC8180X
322	tristate "Qualcomm Technologies Inc SC8180x pin controller driver"
323	depends on (OF || ACPI)
324	depends on ARM64 || COMPILE_TEST
325	depends on PINCTRL_MSM
326	help
327	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
328	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
329	  Technologies Inc SC8180x platform.
330
331config PINCTRL_SC8280XP
332	tristate "Qualcomm Technologies Inc SC8280xp pin controller driver"
333	depends on OF
334	depends on ARM64 || COMPILE_TEST
335	depends on PINCTRL_MSM
336	help
337	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
338	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
339	  Technologies Inc SC8280xp platform.
340
341config PINCTRL_SDM660
342	tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
343	depends on OF
344	depends on ARM64 || COMPILE_TEST
345	depends on PINCTRL_MSM
346	help
347	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
348	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
349	 Technologies Inc SDM660 platform.
350
351config PINCTRL_SDM670
352	tristate "Qualcomm Technologies Inc SDM670 pin controller driver"
353	depends on OF
354	depends on ARM64 || COMPILE_TEST
355	depends on PINCTRL_MSM
356	help
357	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
358	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
359	 Technologies Inc SDM670 platform.
360
361config PINCTRL_SDM845
362	tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
363	depends on (OF || ACPI)
364	depends on ARM64 || COMPILE_TEST
365	depends on PINCTRL_MSM
366	help
367	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
368	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
369	 Technologies Inc SDM845 platform.
370
371config PINCTRL_SDX55
372	tristate "Qualcomm Technologies Inc SDX55 pin controller driver"
373	depends on OF
374	depends on ARM || COMPILE_TEST
375	depends on PINCTRL_MSM
376	help
377	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
378	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
379	 Technologies Inc SDX55 platform.
380
381config PINCTRL_SM6115
382	tristate "Qualcomm Technologies Inc SM6115,SM4250 pin controller driver"
383	depends on GPIOLIB && OF
384	depends on ARM64 || COMPILE_TEST
385	depends on PINCTRL_MSM
386	help
387	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
388	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
389	 Technologies Inc SM6115 and SM4250 platforms.
390
391config PINCTRL_SM6125
392	tristate "Qualcomm Technologies Inc SM6125 pin controller driver"
393	depends on OF
394	depends on ARM64 || COMPILE_TEST
395	depends on PINCTRL_MSM
396	help
397	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
398	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
399	 Technologies Inc SM6125 platform.
400
401config PINCTRL_SM6350
402	tristate "Qualcomm Technologies Inc SM6350 pin controller driver"
403	depends on GPIOLIB && OF
404	depends on ARM64 || COMPILE_TEST
405	depends on PINCTRL_MSM
406	help
407	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
408	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
409	 Technologies Inc SM6350 platform.
410
411config PINCTRL_SM6375
412	tristate "Qualcomm Technologies Inc SM6375 pin controller driver"
413	depends on GPIOLIB && OF
414	depends on ARM64 || COMPILE_TEST
415	depends on PINCTRL_MSM
416	help
417	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
418	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
419	 Technologies Inc SM6375 platform.
420
421config PINCTRL_SDX65
422	tristate "Qualcomm Technologies Inc SDX65 pin controller driver"
423	depends on GPIOLIB && OF
424	depends on ARM || COMPILE_TEST
425	depends on PINCTRL_MSM
426	help
427	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
428	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
429	 Technologies Inc SDX65 platform.
430
431config PINCTRL_SM7150
432	tristate "Qualcomm Technologies Inc SM7150 pin controller driver"
433	depends on OF
434	depends on ARM64 || COMPILE_TEST
435	depends on PINCTRL_MSM
436	help
437	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
438	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
439	 Technologies Inc SM7150 platform.
440
441config PINCTRL_SM8150
442	tristate "Qualcomm Technologies Inc SM8150 pin controller driver"
443	depends on OF
444	depends on ARM64 || COMPILE_TEST
445	depends on PINCTRL_MSM
446	help
447	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
448	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
449	 Technologies Inc SM8150 platform.
450
451config PINCTRL_SM8250
452	tristate "Qualcomm Technologies Inc SM8250 pin controller driver"
453	depends on OF
454	depends on ARM64 || COMPILE_TEST
455	depends on PINCTRL_MSM
456	help
457	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
458	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
459	  Technologies Inc SM8250 platform.
460
461config PINCTRL_SM8250_LPASS_LPI
462	tristate "Qualcomm Technologies Inc SM8250 LPASS LPI pin controller driver"
463	depends on GPIOLIB
464	depends on ARM64 || COMPILE_TEST
465	depends on PINCTRL_LPASS_LPI
466	help
467	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
468	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
469	  (Low Power Island) found on the Qualcomm Technologies Inc SM8250 platform.
470
471config PINCTRL_SM8350
472	tristate "Qualcomm Technologies Inc SM8350 pin controller driver"
473	depends on ARM64 || COMPILE_TEST
474	depends on PINCTRL_MSM
475	help
476	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
477	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
478	  Technologies Inc SM8350 platform.
479
480config PINCTRL_SM8450
481	tristate "Qualcomm Technologies Inc SM8450 pin controller driver"
482	depends on GPIOLIB && OF
483	depends on ARM64 || COMPILE_TEST
484	depends on PINCTRL_MSM
485	help
486	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
487	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
488	  Technologies Inc SM8450 platform.
489
490config PINCTRL_SM8450_LPASS_LPI
491	tristate "Qualcomm Technologies Inc SM8450 LPASS LPI pin controller driver"
492	depends on GPIOLIB
493	depends on ARM64 || COMPILE_TEST
494	depends on PINCTRL_LPASS_LPI
495	help
496	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
497	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
498	  (Low Power Island) found on the Qualcomm Technologies Inc SM8450 platform.
499
500config PINCTRL_SC8280XP_LPASS_LPI
501	tristate "Qualcomm Technologies Inc SC8280XP LPASS LPI pin controller driver"
502	depends on GPIOLIB
503	depends on ARM64 || COMPILE_TEST
504	depends on PINCTRL_LPASS_LPI
505	help
506	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
507	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
508	  (Low Power Island) found on the Qualcomm Technologies Inc SC8280XP platform.
509
510config PINCTRL_SM8550
511	tristate "Qualcomm Technologies Inc SM8550 pin controller driver"
512	depends on GPIOLIB
513	depends on ARM64 || COMPILE_TEST
514	depends on PINCTRL_MSM
515	help
516	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
517	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
518	  Technologies Inc SM8550 platform.
519
520config PINCTRL_SM8550_LPASS_LPI
521	tristate "Qualcomm Technologies Inc SM8550 LPASS LPI pin controller driver"
522	depends on GPIOLIB
523	depends on ARM64 || COMPILE_TEST
524	depends on PINCTRL_LPASS_LPI
525	help
526	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
527	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
528	  (Low Power Island) found on the Qualcomm Technologies Inc SM8550
529	  platform.
530
531config PINCTRL_LPASS_LPI
532	tristate "Qualcomm Technologies Inc LPASS LPI pin controller driver"
533	select PINMUX
534	select PINCONF
535	select GENERIC_PINCONF
536	select GENERIC_PINCTRL_GROUPS
537	depends on GPIOLIB
538	help
539	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
540	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
541	  (Low Power Island) found on the Qualcomm Technologies Inc SoCs.
542
543endif
544