GNU Linux-libre 5.15.54-gnu
[releases.git] / drivers / pinctrl / qcom / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 if (ARCH_QCOM || COMPILE_TEST)
3
4 config 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
15 config 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
23 config 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
31 config 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
39 config 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
47 config 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
57 config 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
67 config 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
76 config 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
84 config 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
92 config 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
100 config 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
108 config 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
116 config 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
124 config 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
134 config 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
144 config 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
153 config 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
161 config 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
169 config PINCTRL_QCS404
170         tristate "Qualcomm QCS404 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 QCS404 platform.
176
177 config PINCTRL_QDF2XXX
178         tristate "Qualcomm Technologies QDF2xxx pin controller driver"
179         depends on ACPI
180         depends on PINCTRL_MSM
181         help
182           This is the GPIO driver for the TLMM block found on the
183           Qualcomm Technologies QDF2xxx SOCs.
184
185 config PINCTRL_QCOM_SPMI_PMIC
186         tristate "Qualcomm SPMI PMIC pin controller driver"
187         depends on OF && SPMI
188         select REGMAP_SPMI
189         select PINMUX
190         select PINCONF
191         select GENERIC_PINCONF
192   select GPIOLIB
193         select GPIOLIB_IRQCHIP
194         select IRQ_DOMAIN_HIERARCHY
195         help
196          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
197          Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
198          which are using SPMI for communication with SoC. Example PMIC's
199          devices are pm8841, pm8941 and pma8084.
200
201 config PINCTRL_QCOM_SSBI_PMIC
202         tristate "Qualcomm SSBI PMIC pin controller driver"
203         depends on OF
204         select PINMUX
205         select PINCONF
206         select GENERIC_PINCONF
207   select GPIOLIB
208         select GPIOLIB_IRQCHIP
209         select IRQ_DOMAIN_HIERARCHY
210         help
211          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
212          Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
213          which are using SSBI for communication with SoC. Example PMIC's
214          devices are pm8058 and pm8921.
215
216 config PINCTRL_SC7180
217         tristate "Qualcomm Technologies Inc SC7180 pin controller driver"
218         depends on OF
219         depends on PINCTRL_MSM
220         help
221           This is the pinctrl, pinmux, pinconf and gpiolib driver for the
222           Qualcomm Technologies Inc TLMM block found on the Qualcomm
223           Technologies Inc SC7180 platform.
224
225 config PINCTRL_SC7280
226         tristate "Qualcomm Technologies Inc SC7280 pin controller driver"
227         depends on OF
228         depends on PINCTRL_MSM
229         help
230           This is the pinctrl, pinmux, pinconf and gpiolib driver for the
231           Qualcomm Technologies Inc TLMM block found on the Qualcomm
232           Technologies Inc SC7280 platform.
233
234 config PINCTRL_SC8180X
235         tristate "Qualcomm Technologies Inc SC8180x pin controller driver"
236         depends on (OF || ACPI)
237         depends on PINCTRL_MSM
238         help
239           This is the pinctrl, pinmux, pinconf and gpiolib driver for the
240           Qualcomm Technologies Inc TLMM block found on the Qualcomm
241           Technologies Inc SC8180x platform.
242
243 config PINCTRL_SDM660
244         tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
245         depends on OF
246         depends on PINCTRL_MSM
247         help
248          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
249          Qualcomm Technologies Inc TLMM block found on the Qualcomm
250          Technologies Inc SDM660 platform.
251
252 config PINCTRL_SDM845
253         tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
254         depends on (OF || ACPI)
255         depends on PINCTRL_MSM
256         help
257          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
258          Qualcomm Technologies Inc TLMM block found on the Qualcomm
259          Technologies Inc SDM845 platform.
260
261 config PINCTRL_SDX55
262         tristate "Qualcomm Technologies Inc SDX55 pin controller driver"
263         depends on OF
264         depends on PINCTRL_MSM
265         help
266          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
267          Qualcomm Technologies Inc TLMM block found on the Qualcomm
268          Technologies Inc SDX55 platform.
269
270 config PINCTRL_SM6115
271         tristate "Qualcomm Technologies Inc SM6115,SM4250 pin controller driver"
272         depends on GPIOLIB && OF
273         depends on PINCTRL_MSM
274         help
275          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
276          Qualcomm Technologies Inc TLMM block found on the Qualcomm
277          Technologies Inc SM6115 and SM4250 platforms.
278
279 config PINCTRL_SM6125
280         tristate "Qualcomm Technologies Inc SM6125 pin controller driver"
281         depends on OF
282         depends on PINCTRL_MSM
283         help
284          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
285          Qualcomm Technologies Inc TLMM block found on the Qualcomm
286          Technologies Inc SM6125 platform.
287
288 config PINCTRL_SM8150
289         tristate "Qualcomm Technologies Inc SM8150 pin controller driver"
290         depends on OF
291         depends on PINCTRL_MSM
292         help
293          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
294          Qualcomm Technologies Inc TLMM block found on the Qualcomm
295          Technologies Inc SM8150 platform.
296
297 config PINCTRL_SM8250
298         tristate "Qualcomm Technologies Inc SM8250 pin controller driver"
299         depends on OF
300         depends on PINCTRL_MSM
301         help
302           This is the pinctrl, pinmux, pinconf and gpiolib driver for the
303           Qualcomm Technologies Inc TLMM block found on the Qualcomm
304           Technologies Inc SM8250 platform.
305
306 config PINCTRL_SM8350
307         tristate "Qualcomm Technologies Inc SM8350 pin controller driver"
308         depends on PINCTRL_MSM
309         help
310           This is the pinctrl, pinmux, pinconf and gpiolib driver for the
311           Qualcomm Technologies Inc TLMM block found on the Qualcomm
312           Technologies Inc SM8350 platform.
313
314 config PINCTRL_LPASS_LPI
315         tristate "Qualcomm Technologies Inc LPASS LPI pin controller driver"
316         select PINMUX
317         select PINCONF
318         select GENERIC_PINCONF
319         depends on GPIOLIB
320         help
321           This is the pinctrl, pinmux, pinconf and gpiolib driver for the
322           Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
323           (Low Power Island) found on the Qualcomm Technologies Inc SoCs.
324
325 endif