1 # SPDX-License-Identifier: GPL-2.0-only
2 if (ARCH_QCOM || COMPILE_TEST)
5 tristate "Qualcomm core pin controller driver"
6 depends on GPIOLIB && (QCOM_SCM || !QCOM_SCM) #if QCOM_SCM=m this can't be =y
10 select GPIOLIB_IRQCHIP
11 select IRQ_DOMAIN_HIERARCHY
12 select IRQ_FASTEOI_HIERARCHY_HANDLERS
14 config PINCTRL_APQ8064
15 tristate "Qualcomm APQ8064 pin controller driver"
17 depends on PINCTRL_MSM
19 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
20 Qualcomm TLMM block found in the Qualcomm APQ8064 platform.
22 config PINCTRL_APQ8084
23 tristate "Qualcomm APQ8084 pin controller driver"
25 depends on PINCTRL_MSM
27 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
28 Qualcomm TLMM block found in the Qualcomm APQ8084 platform.
30 config PINCTRL_IPQ4019
31 tristate "Qualcomm IPQ4019 pin controller driver"
33 depends on PINCTRL_MSM
35 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
36 Qualcomm TLMM block found in the Qualcomm IPQ4019 platform.
38 config PINCTRL_IPQ8064
39 tristate "Qualcomm IPQ8064 pin controller driver"
41 depends on PINCTRL_MSM
43 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
44 Qualcomm TLMM block found in the Qualcomm IPQ8064 platform.
46 config PINCTRL_IPQ8074
47 tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver"
49 depends on PINCTRL_MSM
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
56 config PINCTRL_IPQ6018
57 tristate "Qualcomm Technologies, Inc. IPQ6018 pin controller driver"
59 depends on PINCTRL_MSM
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
66 config PINCTRL_MSM8226
67 tristate "Qualcomm 8226 pin controller driver"
69 depends on PINCTRL_MSM
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.
75 config PINCTRL_MSM8660
76 tristate "Qualcomm 8660 pin controller driver"
78 depends on PINCTRL_MSM
80 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
81 Qualcomm TLMM block found in the Qualcomm 8660 platform.
83 config PINCTRL_MSM8960
84 tristate "Qualcomm 8960 pin controller driver"
86 depends on PINCTRL_MSM
88 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
89 Qualcomm TLMM block found in the Qualcomm 8960 platform.
91 config PINCTRL_MDM9607
92 tristate "Qualcomm 9607 pin controller driver"
93 depends on GPIOLIB && OF
94 depends on PINCTRL_MSM
96 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
97 Qualcomm TLMM block found in the Qualcomm 9607 platform.
99 config PINCTRL_MDM9615
100 tristate "Qualcomm 9615 pin controller driver"
102 depends on PINCTRL_MSM
104 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
105 Qualcomm TLMM block found in the Qualcomm 9615 platform.
107 config PINCTRL_MSM8X74
108 tristate "Qualcomm 8x74 pin controller driver"
110 depends on PINCTRL_MSM
112 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
113 Qualcomm TLMM block found in the Qualcomm 8974 platform.
115 config PINCTRL_MSM8916
116 tristate "Qualcomm 8916 pin controller driver"
118 depends on PINCTRL_MSM
120 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
121 Qualcomm TLMM block found on the Qualcomm 8916 platform.
123 config PINCTRL_MSM8953
124 tristate "Qualcomm 8953 pin controller driver"
126 depends on PINCTRL_MSM
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.
133 config PINCTRL_MSM8976
134 tristate "Qualcomm 8976 pin controller driver"
136 depends on PINCTRL_MSM
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.
143 config PINCTRL_MSM8994
144 tristate "Qualcomm 8994 pin controller driver"
146 depends on PINCTRL_MSM
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.
152 config PINCTRL_MSM8996
153 tristate "Qualcomm MSM8996 pin controller driver"
155 depends on PINCTRL_MSM
157 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
158 Qualcomm TLMM block found in the Qualcomm MSM8996 platform.
160 config PINCTRL_MSM8998
161 tristate "Qualcomm MSM8998 pin controller driver"
163 depends on PINCTRL_MSM
165 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
166 Qualcomm TLMM block found in the Qualcomm MSM8998 platform.
168 config PINCTRL_QCS404
169 tristate "Qualcomm QCS404 pin controller driver"
171 depends on PINCTRL_MSM
173 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
174 TLMM block found in the Qualcomm QCS404 platform.
176 config PINCTRL_QDF2XXX
177 tristate "Qualcomm Technologies QDF2xxx pin controller driver"
179 depends on PINCTRL_MSM
181 This is the GPIO driver for the TLMM block found on the
182 Qualcomm Technologies QDF2xxx SOCs.
184 config PINCTRL_QCOM_SPMI_PMIC
185 tristate "Qualcomm SPMI PMIC pin controller driver"
186 depends on OF && SPMI
190 select GENERIC_PINCONF
191 select GPIOLIB_IRQCHIP
192 select IRQ_DOMAIN_HIERARCHY
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.
199 config PINCTRL_QCOM_SSBI_PMIC
200 tristate "Qualcomm SSBI PMIC pin controller driver"
204 select GENERIC_PINCONF
205 select GPIOLIB_IRQCHIP
206 select IRQ_DOMAIN_HIERARCHY
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.
213 config PINCTRL_SC7180
214 tristate "Qualcomm Technologies Inc SC7180 pin controller driver"
216 depends on PINCTRL_MSM
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.
222 config PINCTRL_SC7280
223 tristate "Qualcomm Technologies Inc SC7280 pin controller driver"
225 depends on PINCTRL_MSM
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.
231 config PINCTRL_SC8180X
232 tristate "Qualcomm Technologies Inc SC8180x pin controller driver"
233 depends on (OF || ACPI)
234 depends on PINCTRL_MSM
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.
240 config PINCTRL_SDM660
241 tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
243 depends on PINCTRL_MSM
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.
249 config PINCTRL_SDM845
250 tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
251 depends on (OF || ACPI)
252 depends on PINCTRL_MSM
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.
259 tristate "Qualcomm Technologies Inc SDX55 pin controller driver"
261 depends on PINCTRL_MSM
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.
267 config PINCTRL_SM6115
268 tristate "Qualcomm Technologies Inc SM6115,SM4250 pin controller driver"
269 depends on GPIOLIB && OF
270 depends on PINCTRL_MSM
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.
276 config PINCTRL_SM6125
277 tristate "Qualcomm Technologies Inc SM6125 pin controller driver"
279 depends on PINCTRL_MSM
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.
285 config PINCTRL_SM8150
286 tristate "Qualcomm Technologies Inc SM8150 pin controller driver"
288 depends on PINCTRL_MSM
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.
294 config PINCTRL_SM8250
295 tristate "Qualcomm Technologies Inc SM8250 pin controller driver"
297 depends on PINCTRL_MSM
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.
303 config PINCTRL_SM8350
304 tristate "Qualcomm Technologies Inc SM8350 pin controller driver"
305 depends on PINCTRL_MSM
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.
311 config PINCTRL_LPASS_LPI
312 tristate "Qualcomm Technologies Inc LPASS LPI pin controller driver"
315 select GENERIC_PINCONF
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.