xref: /openbmc/linux/drivers/pinctrl/qcom/Kconfig (revision df0e68c1)
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_MSM8916
117	tristate "Qualcomm 8916 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 8916 platform.
123
124config PINCTRL_MSM8953
125	tristate "Qualcomm 8953 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 MSM8953 platform.
131	  The Qualcomm APQ8053, SDM450, SDM632 platforms are also
132	  supported by this driver.
133
134config PINCTRL_MSM8976
135	tristate "Qualcomm 8976 pin controller driver"
136	depends on OF
137	depends on PINCTRL_MSM
138	help
139	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
140	  Qualcomm TLMM block found on the Qualcomm MSM8976 platform.
141	  The Qualcomm MSM8956, APQ8056, APQ8076 platforms are also
142	  supported by this driver.
143
144config PINCTRL_MSM8994
145	tristate "Qualcomm 8994 pin controller driver"
146	depends on OF
147	depends on PINCTRL_MSM
148	help
149	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
150	  Qualcomm TLMM block found in the Qualcomm 8994 platform. The
151	  Qualcomm 8992 platform is also supported by this driver.
152
153config PINCTRL_MSM8996
154	tristate "Qualcomm MSM8996 pin controller driver"
155	depends on OF
156	depends on PINCTRL_MSM
157	help
158	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
159	  Qualcomm TLMM block found in the Qualcomm MSM8996 platform.
160
161config PINCTRL_MSM8998
162	tristate "Qualcomm MSM8998 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 MSM8998 platform.
168
169config PINCTRL_QCM2290
170	tristate "Qualcomm QCM2290 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	  TLMM block found in the Qualcomm QCM2290 platform.
176
177config PINCTRL_QCS404
178	tristate "Qualcomm QCS404 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 QCS404 platform.
184
185config PINCTRL_QDF2XXX
186	tristate "Qualcomm Technologies QDF2xxx pin controller driver"
187	depends on ACPI
188	depends on PINCTRL_MSM
189	help
190	  This is the GPIO driver for the TLMM block found on the
191	  Qualcomm Technologies QDF2xxx SOCs.
192
193config PINCTRL_QCOM_SPMI_PMIC
194	tristate "Qualcomm SPMI PMIC pin controller driver"
195	depends on OF && SPMI
196	select REGMAP_SPMI
197	select PINMUX
198	select PINCONF
199	select GENERIC_PINCONF
200	select GPIOLIB_IRQCHIP
201	select IRQ_DOMAIN_HIERARCHY
202	help
203	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
204	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
205	 which are using SPMI for communication with SoC. Example PMIC's
206	 devices are pm8841, pm8941 and pma8084.
207
208config PINCTRL_QCOM_SSBI_PMIC
209	tristate "Qualcomm SSBI PMIC pin controller driver"
210	depends on OF
211	select PINMUX
212	select PINCONF
213	select GENERIC_PINCONF
214	select GPIOLIB_IRQCHIP
215	select IRQ_DOMAIN_HIERARCHY
216	help
217	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
218	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
219	 which are using SSBI for communication with SoC. Example PMIC's
220	 devices are pm8058 and pm8921.
221
222config PINCTRL_SC7180
223	tristate "Qualcomm Technologies Inc SC7180 pin controller driver"
224	depends on OF
225	depends on PINCTRL_MSM
226	help
227	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
228	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
229	  Technologies Inc SC7180 platform.
230
231config PINCTRL_SC7280
232	tristate "Qualcomm Technologies Inc SC7280 pin controller driver"
233	depends on OF
234	depends on PINCTRL_MSM
235	help
236	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
237	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
238	  Technologies Inc SC7280 platform.
239
240config PINCTRL_SC8180X
241	tristate "Qualcomm Technologies Inc SC8180x pin controller driver"
242	depends on (OF || ACPI)
243	depends on PINCTRL_MSM
244	help
245	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
246	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
247	  Technologies Inc SC8180x platform.
248
249config PINCTRL_SDM660
250	tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
251	depends on OF
252	depends on PINCTRL_MSM
253	help
254	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
255	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
256	 Technologies Inc SDM660 platform.
257
258config PINCTRL_SDM845
259	tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
260	depends on (OF || ACPI)
261	depends on PINCTRL_MSM
262	help
263	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
264	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
265	 Technologies Inc SDM845 platform.
266
267config PINCTRL_SDX55
268	tristate "Qualcomm Technologies Inc SDX55 pin controller driver"
269	depends on OF
270	depends on PINCTRL_MSM
271	help
272	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
273	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
274	 Technologies Inc SDX55 platform.
275
276config PINCTRL_SM6115
277	tristate "Qualcomm Technologies Inc SM6115,SM4250 pin controller driver"
278	depends on GPIOLIB && OF
279	depends on PINCTRL_MSM
280	help
281	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
282	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
283	 Technologies Inc SM6115 and SM4250 platforms.
284
285config PINCTRL_SM6125
286	tristate "Qualcomm Technologies Inc SM6125 pin controller driver"
287	depends on OF
288	depends on PINCTRL_MSM
289	help
290	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
291	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
292	 Technologies Inc SM6125 platform.
293
294config PINCTRL_SM6350
295	tristate "Qualcomm Technologies Inc SM6350 pin controller driver"
296	depends on GPIOLIB && OF
297	depends on PINCTRL_MSM
298	help
299	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
300	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
301	 Technologies Inc SM6350 platform.
302
303config PINCTRL_SM8150
304	tristate "Qualcomm Technologies Inc SM8150 pin controller driver"
305	depends on OF
306	depends on PINCTRL_MSM
307	help
308	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
309	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
310	 Technologies Inc SM8150 platform.
311
312config PINCTRL_SM8250
313	tristate "Qualcomm Technologies Inc SM8250 pin controller driver"
314	depends on OF
315	depends on PINCTRL_MSM
316	help
317	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
318	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
319	  Technologies Inc SM8250 platform.
320
321config PINCTRL_SM8350
322	tristate "Qualcomm Technologies Inc SM8350 pin controller driver"
323	depends on PINCTRL_MSM
324	help
325	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
326	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
327	  Technologies Inc SM8350 platform.
328
329config PINCTRL_LPASS_LPI
330	tristate "Qualcomm Technologies Inc LPASS LPI pin controller driver"
331	select PINMUX
332	select PINCONF
333	select GENERIC_PINCONF
334	depends on GPIOLIB
335	help
336	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
337	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
338	  (Low Power Island) found on the Qualcomm Technologies Inc SoCs.
339
340endif
341