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