xref: /openbmc/linux/drivers/pinctrl/qcom/Kconfig (revision 25b892b5)
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_QCS404
169	tristate "Qualcomm QCS404 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 QCS404 platform.
175
176config PINCTRL_QDF2XXX
177	tristate "Qualcomm Technologies QDF2xxx pin controller driver"
178	depends on ACPI
179	depends on PINCTRL_MSM
180	help
181	  This is the GPIO driver for the TLMM block found on the
182	  Qualcomm Technologies QDF2xxx SOCs.
183
184config PINCTRL_QCOM_SPMI_PMIC
185	tristate "Qualcomm SPMI PMIC pin controller driver"
186	depends on OF && SPMI
187	select REGMAP_SPMI
188	select PINMUX
189	select PINCONF
190	select GENERIC_PINCONF
191	select GPIOLIB_IRQCHIP
192	select IRQ_DOMAIN_HIERARCHY
193	help
194	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
195	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
196	 which are using SPMI for communication with SoC. Example PMIC's
197	 devices are pm8841, pm8941 and pma8084.
198
199config PINCTRL_QCOM_SSBI_PMIC
200	tristate "Qualcomm SSBI PMIC pin controller driver"
201	depends on OF
202	select PINMUX
203	select PINCONF
204	select GENERIC_PINCONF
205	select GPIOLIB_IRQCHIP
206	select IRQ_DOMAIN_HIERARCHY
207	help
208	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
209	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
210	 which are using SSBI for communication with SoC. Example PMIC's
211	 devices are pm8058 and pm8921.
212
213config PINCTRL_SC7180
214	tristate "Qualcomm Technologies Inc SC7180 pin controller driver"
215	depends on OF
216	depends on PINCTRL_MSM
217	help
218	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
219	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
220	  Technologies Inc SC7180 platform.
221
222config PINCTRL_SC7280
223	tristate "Qualcomm Technologies Inc SC7280 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 SC7280 platform.
230
231config PINCTRL_SC8180X
232	tristate "Qualcomm Technologies Inc SC8180x pin controller driver"
233	depends on (OF || ACPI)
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 SC8180x platform.
239
240config PINCTRL_SDM660
241	tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
242	depends on OF
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 SDM660 platform.
248
249config PINCTRL_SDM845
250	tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
251	depends on (OF || ACPI)
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 SDM845 platform.
257
258config PINCTRL_SDX55
259	tristate "Qualcomm Technologies Inc SDX55 pin controller driver"
260	depends on OF
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 SDX55 platform.
266
267config PINCTRL_SM6115
268	tristate "Qualcomm Technologies Inc SM6115,SM4250 pin controller driver"
269	depends on GPIOLIB && 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 SM6115 and SM4250 platforms.
275
276config PINCTRL_SM6125
277	tristate "Qualcomm Technologies Inc SM6125 pin controller driver"
278	depends on 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 SM6125 platform.
284
285config PINCTRL_SM8150
286	tristate "Qualcomm Technologies Inc SM8150 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 SM8150 platform.
293
294config PINCTRL_SM8250
295	tristate "Qualcomm Technologies Inc SM8250 pin controller driver"
296	depends on 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 SM8250 platform.
302
303config PINCTRL_SM8350
304	tristate "Qualcomm Technologies Inc SM8350 pin controller driver"
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 SM8350 platform.
310
311config PINCTRL_LPASS_LPI
312	tristate "Qualcomm Technologies Inc LPASS LPI pin controller driver"
313	select PINMUX
314	select PINCONF
315	select GENERIC_PINCONF
316	depends on GPIOLIB
317	help
318	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
319	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
320	  (Low Power Island) found on the Qualcomm Technologies Inc SoCs.
321
322endif
323