xref: /openbmc/linux/drivers/pinctrl/qcom/Kconfig (revision a4e1d0b7)
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 PINCTRL_MSM
19	help
20	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
21	  Qualcomm TLMM block found in the Qualcomm APQ8064 platform.
22
23config PINCTRL_APQ8084
24	tristate "Qualcomm APQ8084 pin controller driver"
25	depends on OF
26	depends on PINCTRL_MSM
27	help
28	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
29	  Qualcomm TLMM block found in the Qualcomm APQ8084 platform.
30
31config PINCTRL_IPQ4019
32	tristate "Qualcomm IPQ4019 pin controller driver"
33	depends on OF
34	depends on PINCTRL_MSM
35	help
36	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
37	  Qualcomm TLMM block found in the Qualcomm IPQ4019 platform.
38
39config PINCTRL_IPQ8064
40	tristate "Qualcomm IPQ8064 pin controller driver"
41	depends on OF
42	depends on PINCTRL_MSM
43	help
44	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
45	  Qualcomm TLMM block found in the Qualcomm IPQ8064 platform.
46
47config PINCTRL_IPQ8074
48	tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver"
49	depends on OF
50	depends on PINCTRL_MSM
51	help
52	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
53	  the Qualcomm Technologies Inc. TLMM block found on the
54	  Qualcomm Technologies Inc. IPQ8074 platform. Select this for
55	  IPQ8074.
56
57config PINCTRL_IPQ6018
58	tristate "Qualcomm Technologies, Inc. IPQ6018 pin controller driver"
59	depends on OF
60	depends on PINCTRL_MSM
61	help
62	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
63	  the Qualcomm Technologies Inc. TLMM block found on the
64	  Qualcomm Technologies Inc. IPQ6018 platform. Select this for
65	  IPQ6018.
66
67config PINCTRL_MSM8226
68	tristate "Qualcomm 8226 pin controller driver"
69	depends on OF
70	depends on PINCTRL_MSM
71	help
72	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
73	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
74	  Technologies Inc MSM8226 platform.
75
76config PINCTRL_MSM8660
77	tristate "Qualcomm 8660 pin controller driver"
78	depends on OF
79	depends on PINCTRL_MSM
80	help
81	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
82	  Qualcomm TLMM block found in the Qualcomm 8660 platform.
83
84config PINCTRL_MSM8960
85	tristate "Qualcomm 8960 pin controller driver"
86	depends on OF
87	depends on PINCTRL_MSM
88	help
89	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
90	  Qualcomm TLMM block found in the Qualcomm 8960 platform.
91
92config PINCTRL_MDM9607
93	tristate "Qualcomm 9607 pin controller driver"
94	depends on GPIOLIB && OF
95	depends on PINCTRL_MSM
96	help
97	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
98	  Qualcomm TLMM block found in the Qualcomm 9607 platform.
99
100config PINCTRL_MDM9615
101	tristate "Qualcomm 9615 pin controller driver"
102	depends on OF
103	depends on PINCTRL_MSM
104	help
105	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
106	  Qualcomm TLMM block found in the Qualcomm 9615 platform.
107
108config PINCTRL_MSM8X74
109	tristate "Qualcomm 8x74 pin controller driver"
110	depends on OF
111	depends on PINCTRL_MSM
112	help
113	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
114	  Qualcomm TLMM block found in the Qualcomm 8974 platform.
115
116config PINCTRL_MSM8909
117	tristate "Qualcomm 8909 pin controller driver"
118	depends on OF
119	depends on PINCTRL_MSM
120	help
121	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
122	  Qualcomm TLMM block found on the Qualcomm MSM8909 platform.
123
124config PINCTRL_MSM8916
125	tristate "Qualcomm 8916 pin controller driver"
126	depends on OF
127	depends on PINCTRL_MSM
128	help
129	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
130	  Qualcomm TLMM block found on the Qualcomm 8916 platform.
131
132config PINCTRL_MSM8953
133	tristate "Qualcomm 8953 pin controller driver"
134	depends on OF
135	depends on PINCTRL_MSM
136	help
137	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
138	  Qualcomm TLMM block found on the Qualcomm MSM8953 platform.
139	  The Qualcomm APQ8053, SDM450, SDM632 platforms are also
140	  supported by this driver.
141
142config PINCTRL_MSM8976
143	tristate "Qualcomm 8976 pin controller driver"
144	depends on OF
145	depends on PINCTRL_MSM
146	help
147	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
148	  Qualcomm TLMM block found on the Qualcomm MSM8976 platform.
149	  The Qualcomm MSM8956, APQ8056, APQ8076 platforms are also
150	  supported by this driver.
151
152config PINCTRL_MSM8994
153	tristate "Qualcomm 8994 pin controller driver"
154	depends on OF
155	depends on PINCTRL_MSM
156	help
157	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
158	  Qualcomm TLMM block found in the Qualcomm 8994 platform. The
159	  Qualcomm 8992 platform is also supported by this driver.
160
161config PINCTRL_MSM8996
162	tristate "Qualcomm MSM8996 pin controller driver"
163	depends on OF
164	depends on PINCTRL_MSM
165	help
166	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
167	  Qualcomm TLMM block found in the Qualcomm MSM8996 platform.
168
169config PINCTRL_MSM8998
170	tristate "Qualcomm MSM8998 pin controller driver"
171	depends on OF
172	depends on PINCTRL_MSM
173	help
174	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
175	  Qualcomm TLMM block found in the Qualcomm MSM8998 platform.
176
177config PINCTRL_QCM2290
178	tristate "Qualcomm QCM2290 pin controller driver"
179	depends on OF
180	depends on PINCTRL_MSM
181	help
182	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
183	  TLMM block found in the Qualcomm QCM2290 platform.
184
185config PINCTRL_QCS404
186	tristate "Qualcomm QCS404 pin controller driver"
187	depends on OF
188	depends on PINCTRL_MSM
189	help
190	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
191	  TLMM block found in the Qualcomm QCS404 platform.
192
193config PINCTRL_QDF2XXX
194	tristate "Qualcomm Technologies QDF2xxx pin controller driver"
195	depends on ACPI
196	depends on PINCTRL_MSM
197	help
198	  This is the GPIO driver for the TLMM block found on the
199	  Qualcomm Technologies QDF2xxx SOCs.
200
201config PINCTRL_QCOM_SPMI_PMIC
202	tristate "Qualcomm SPMI PMIC pin controller driver"
203	depends on OF && SPMI
204	select REGMAP_SPMI
205	select PINMUX
206	select PINCONF
207	select GENERIC_PINCONF
208  select GPIOLIB
209	select GPIOLIB_IRQCHIP
210	select IRQ_DOMAIN_HIERARCHY
211	help
212	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
213	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
214	 which are using SPMI for communication with SoC. Example PMIC's
215	 devices are pm8841, pm8941 and pma8084.
216
217config PINCTRL_QCOM_SSBI_PMIC
218	tristate "Qualcomm SSBI PMIC pin controller driver"
219	depends on OF
220	select PINMUX
221	select PINCONF
222	select GENERIC_PINCONF
223  select GPIOLIB
224	select GPIOLIB_IRQCHIP
225	select IRQ_DOMAIN_HIERARCHY
226	help
227	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
228	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
229	 which are using SSBI for communication with SoC. Example PMIC's
230	 devices are pm8058 and pm8921.
231
232config PINCTRL_SC7180
233	tristate "Qualcomm Technologies Inc SC7180 pin controller driver"
234	depends on OF
235	depends on PINCTRL_MSM
236	help
237	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
238	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
239	  Technologies Inc SC7180 platform.
240
241config PINCTRL_SC7280
242	tristate "Qualcomm Technologies Inc SC7280 pin controller driver"
243	depends on OF
244	depends on PINCTRL_MSM
245	help
246	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
247	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
248	  Technologies Inc SC7280 platform.
249
250config PINCTRL_SC7280_LPASS_LPI
251	tristate "Qualcomm Technologies Inc SC7280 LPASS LPI pin controller driver"
252	depends on GPIOLIB
253	depends on PINCTRL_LPASS_LPI
254	help
255	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
256	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
257	  (Low Power Island) found on the Qualcomm Technologies Inc SC7280 platform.
258
259config PINCTRL_SC8180X
260	tristate "Qualcomm Technologies Inc SC8180x pin controller driver"
261	depends on (OF || ACPI)
262	depends on PINCTRL_MSM
263	help
264	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
265	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
266	  Technologies Inc SC8180x platform.
267
268config PINCTRL_SC8280XP
269	tristate "Qualcomm Technologies Inc SC8280xp pin controller driver"
270	depends on OF
271	depends on PINCTRL_MSM
272	help
273	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
274	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
275	  Technologies Inc SC8280xp platform.
276
277config PINCTRL_SDM660
278	tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
279	depends on OF
280	depends on PINCTRL_MSM
281	help
282	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
283	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
284	 Technologies Inc SDM660 platform.
285
286config PINCTRL_SDM845
287	tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
288	depends on (OF || ACPI)
289	depends on PINCTRL_MSM
290	help
291	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
292	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
293	 Technologies Inc SDM845 platform.
294
295config PINCTRL_SDX55
296	tristate "Qualcomm Technologies Inc SDX55 pin controller driver"
297	depends on OF
298	depends on PINCTRL_MSM
299	help
300	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
301	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
302	 Technologies Inc SDX55 platform.
303
304config PINCTRL_SM6115
305	tristate "Qualcomm Technologies Inc SM6115,SM4250 pin controller driver"
306	depends on GPIOLIB && OF
307	depends on PINCTRL_MSM
308	help
309	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
310	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
311	 Technologies Inc SM6115 and SM4250 platforms.
312
313config PINCTRL_SM6125
314	tristate "Qualcomm Technologies Inc SM6125 pin controller driver"
315	depends on OF
316	depends on PINCTRL_MSM
317	help
318	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
319	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
320	 Technologies Inc SM6125 platform.
321
322config PINCTRL_SM6350
323	tristate "Qualcomm Technologies Inc SM6350 pin controller driver"
324	depends on GPIOLIB && OF
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 SM6350 platform.
330
331config PINCTRL_SM6375
332	tristate "Qualcomm Technologies Inc SM6375 pin controller driver"
333	depends on GPIOLIB && OF
334	depends on PINCTRL_MSM
335	help
336	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
337	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
338	 Technologies Inc SM6375 platform.
339
340config PINCTRL_SDX65
341	tristate "Qualcomm Technologies Inc SDX65 pin controller driver"
342	depends on GPIOLIB && OF
343	depends on PINCTRL_MSM
344	help
345	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
346	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
347	 Technologies Inc SDX65 platform.
348
349config PINCTRL_SM8150
350	tristate "Qualcomm Technologies Inc SM8150 pin controller driver"
351	depends on OF
352	depends on PINCTRL_MSM
353	help
354	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
355	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
356	 Technologies Inc SM8150 platform.
357
358config PINCTRL_SM8250
359	tristate "Qualcomm Technologies Inc SM8250 pin controller driver"
360	depends on OF
361	depends on PINCTRL_MSM
362	help
363	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
364	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
365	  Technologies Inc SM8250 platform.
366
367config PINCTRL_SM8250_LPASS_LPI
368	tristate "Qualcomm Technologies Inc SM8250 LPASS LPI pin controller driver"
369	depends on GPIOLIB
370	depends on PINCTRL_LPASS_LPI
371	help
372	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
373	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
374	  (Low Power Island) found on the Qualcomm Technologies Inc SM8250 platform.
375
376config PINCTRL_SM8350
377	tristate "Qualcomm Technologies Inc SM8350 pin controller driver"
378	depends on PINCTRL_MSM
379	help
380	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
381	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
382	  Technologies Inc SM8350 platform.
383
384config PINCTRL_SM8450
385	tristate "Qualcomm Technologies Inc SM8450 pin controller driver"
386	depends on GPIOLIB && OF
387	depends on PINCTRL_MSM
388	help
389	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
390	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
391	  Technologies Inc SM8450 platform.
392
393config PINCTRL_LPASS_LPI
394	tristate "Qualcomm Technologies Inc LPASS LPI pin controller driver"
395	select PINMUX
396	select PINCONF
397	select GENERIC_PINCONF
398	select GENERIC_PINCTRL_GROUPS
399	depends on GPIOLIB
400	help
401	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
402	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
403	  (Low Power Island) found on the Qualcomm Technologies Inc SoCs.
404
405endif
406