Kconfig 15.2 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0-only
2 3 4
if (ARCH_QCOM || COMPILE_TEST)

config PINCTRL_MSM
5
	tristate "Qualcomm core pin controller driver"
6 7
	depends on GPIOLIB
	select QCOM_SCM
8 9 10 11
	select PINMUX
	select PINCONF
	select GENERIC_PINCONF
	select GPIOLIB_IRQCHIP
12 13
	select IRQ_DOMAIN_HIERARCHY
	select IRQ_FASTEOI_HIERARCHY_HANDLERS
14 15 16

config PINCTRL_APQ8064
	tristate "Qualcomm APQ8064 pin controller driver"
17
	depends on OF
18
	depends on ARM || COMPILE_TEST
19
	depends on PINCTRL_MSM
20 21 22 23
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found in the Qualcomm APQ8064 platform.

24 25
config PINCTRL_APQ8084
	tristate "Qualcomm APQ8084 pin controller driver"
26
	depends on OF
27
	depends on ARM || COMPILE_TEST
28
	depends on PINCTRL_MSM
29 30 31 32
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found in the Qualcomm APQ8084 platform.

33 34
config PINCTRL_IPQ4019
	tristate "Qualcomm IPQ4019 pin controller driver"
35
	depends on OF
36
	depends on ARM || COMPILE_TEST
37
	depends on PINCTRL_MSM
38 39 40 41
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found in the Qualcomm IPQ4019 platform.

42 43
config PINCTRL_IPQ8064
	tristate "Qualcomm IPQ8064 pin controller driver"
44
	depends on OF
45
	depends on ARM || COMPILE_TEST
46
	depends on PINCTRL_MSM
47 48 49 50
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found in the Qualcomm IPQ8064 platform.

51 52
config PINCTRL_IPQ8074
	tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver"
53
	depends on OF
54
	depends on ARM64 || COMPILE_TEST
55
	depends on PINCTRL_MSM
56 57 58 59 60 61
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
	  the Qualcomm Technologies Inc. TLMM block found on the
	  Qualcomm Technologies Inc. IPQ8074 platform. Select this for
	  IPQ8074.

62 63
config PINCTRL_IPQ6018
	tristate "Qualcomm Technologies, Inc. IPQ6018 pin controller driver"
64
	depends on OF
65
	depends on ARM64 || COMPILE_TEST
66
	depends on PINCTRL_MSM
67 68 69 70 71 72
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
	  the Qualcomm Technologies Inc. TLMM block found on the
	  Qualcomm Technologies Inc. IPQ6018 platform. Select this for
	  IPQ6018.

73 74
config PINCTRL_MSM8226
	tristate "Qualcomm 8226 pin controller driver"
75
	depends on OF
76
	depends on ARM || COMPILE_TEST
77
	depends on PINCTRL_MSM
78 79 80 81 82
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
	  Technologies Inc MSM8226 platform.

83 84
config PINCTRL_MSM8660
	tristate "Qualcomm 8660 pin controller driver"
85
	depends on OF
86
	depends on ARM || COMPILE_TEST
87
	depends on PINCTRL_MSM
88 89 90 91
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found in the Qualcomm 8660 platform.

92 93
config PINCTRL_MSM8960
	tristate "Qualcomm 8960 pin controller driver"
94
	depends on OF
95
	depends on ARM || COMPILE_TEST
96
	depends on PINCTRL_MSM
97 98 99 100
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found in the Qualcomm 8960 platform.

101 102 103 104 105 106 107 108
config PINCTRL_MDM9607
	tristate "Qualcomm 9607 pin controller driver"
	depends on GPIOLIB && OF
	depends on PINCTRL_MSM
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found in the Qualcomm 9607 platform.

109 110
config PINCTRL_MDM9615
	tristate "Qualcomm 9615 pin controller driver"
111
	depends on OF
112
	depends on ARM || COMPILE_TEST
113
	depends on PINCTRL_MSM
114 115 116 117
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found in the Qualcomm 9615 platform.

118 119
config PINCTRL_MSM8X74
	tristate "Qualcomm 8x74 pin controller driver"
120
	depends on OF
121
	depends on ARM || COMPILE_TEST
122
	depends on PINCTRL_MSM
123 124 125 126
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found in the Qualcomm 8974 platform.

127 128 129
config PINCTRL_MSM8909
	tristate "Qualcomm 8909 pin controller driver"
	depends on OF
130
	depends on ARM || COMPILE_TEST
131 132 133 134 135
	depends on PINCTRL_MSM
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found on the Qualcomm MSM8909 platform.

136 137
config PINCTRL_MSM8916
	tristate "Qualcomm 8916 pin controller driver"
138
	depends on OF
139
	depends on PINCTRL_MSM
140 141 142 143
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found on the Qualcomm 8916 platform.

144 145
config PINCTRL_MSM8953
	tristate "Qualcomm 8953 pin controller driver"
146
	depends on OF
147
	depends on ARM64 || COMPILE_TEST
148
	depends on PINCTRL_MSM
149 150 151 152 153 154
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found on the Qualcomm MSM8953 platform.
	  The Qualcomm APQ8053, SDM450, SDM632 platforms are also
	  supported by this driver.

155 156
config PINCTRL_MSM8976
	tristate "Qualcomm 8976 pin controller driver"
157
	depends on OF
158
	depends on ARM64 || COMPILE_TEST
159
	depends on PINCTRL_MSM
160 161 162 163 164 165
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found on the Qualcomm MSM8976 platform.
	  The Qualcomm MSM8956, APQ8056, APQ8076 platforms are also
	  supported by this driver.

166 167
config PINCTRL_MSM8994
	tristate "Qualcomm 8994 pin controller driver"
168
	depends on OF
169
	depends on ARM64 || COMPILE_TEST
170
	depends on PINCTRL_MSM
171 172 173 174 175
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found in the Qualcomm 8994 platform. The
	  Qualcomm 8992 platform is also supported by this driver.

176 177
config PINCTRL_MSM8996
	tristate "Qualcomm MSM8996 pin controller driver"
178
	depends on OF
179
	depends on ARM64 || COMPILE_TEST
180
	depends on PINCTRL_MSM
181 182 183 184
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found in the Qualcomm MSM8996 platform.

185 186
config PINCTRL_MSM8998
	tristate "Qualcomm MSM8998 pin controller driver"
187
	depends on OF
188
	depends on ARM64 || COMPILE_TEST
189
	depends on PINCTRL_MSM
190 191 192 193
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found in the Qualcomm MSM8998 platform.

194 195 196
config PINCTRL_QCM2290
	tristate "Qualcomm QCM2290 pin controller driver"
	depends on OF
197
	depends on ARM64 || COMPILE_TEST
198 199 200 201 202
	depends on PINCTRL_MSM
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  TLMM block found in the Qualcomm QCM2290 platform.

203 204
config PINCTRL_QCS404
	tristate "Qualcomm QCS404 pin controller driver"
205
	depends on OF
206
	depends on ARM64 || COMPILE_TEST
207
	depends on PINCTRL_MSM
208 209 210 211
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  TLMM block found in the Qualcomm QCS404 platform.

212 213
config PINCTRL_QDF2XXX
	tristate "Qualcomm Technologies QDF2xxx pin controller driver"
214
	depends on ACPI
215
	depends on PINCTRL_MSM
216 217 218 219
	help
	  This is the GPIO driver for the TLMM block found on the
	  Qualcomm Technologies QDF2xxx SOCs.

220
config PINCTRL_QCOM_SPMI_PMIC
221
	tristate "Qualcomm SPMI PMIC pin controller driver"
222
	depends on OF && SPMI
223 224 225 226
	select REGMAP_SPMI
	select PINMUX
	select PINCONF
	select GENERIC_PINCONF
227
  select GPIOLIB
228 229 230 231 232 233 234
	select GPIOLIB_IRQCHIP
	select IRQ_DOMAIN_HIERARCHY
	help
	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
	 which are using SPMI for communication with SoC. Example PMIC's
	 devices are pm8841, pm8941 and pma8084.
235

236
config PINCTRL_QCOM_SSBI_PMIC
237
	tristate "Qualcomm SSBI PMIC pin controller driver"
238
	depends on OF
239 240 241
	select PINMUX
	select PINCONF
	select GENERIC_PINCONF
242
  select GPIOLIB
243 244 245 246 247 248 249
	select GPIOLIB_IRQCHIP
	select IRQ_DOMAIN_HIERARCHY
	help
	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
	 which are using SSBI for communication with SoC. Example PMIC's
	 devices are pm8058 and pm8921.
250

251 252
config PINCTRL_SC7180
	tristate "Qualcomm Technologies Inc SC7180 pin controller driver"
253
	depends on OF
254
	depends on ARM64 || COMPILE_TEST
255
	depends on PINCTRL_MSM
256 257 258 259 260
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
	  Technologies Inc SC7180 platform.

261 262
config PINCTRL_SC7280
	tristate "Qualcomm Technologies Inc SC7280 pin controller driver"
263
	depends on OF
264
	depends on ARM64 || COMPILE_TEST
265 266 267 268 269 270
	depends on PINCTRL_MSM
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
	  Technologies Inc SC7280 platform.

271 272 273
config PINCTRL_SC7280_LPASS_LPI
	tristate "Qualcomm Technologies Inc SC7280 LPASS LPI pin controller driver"
	depends on GPIOLIB
274
	depends on ARM64 || COMPILE_TEST
275 276 277 278 279 280
	depends on PINCTRL_LPASS_LPI
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
	  (Low Power Island) found on the Qualcomm Technologies Inc SC7280 platform.

281 282
config PINCTRL_SC8180X
	tristate "Qualcomm Technologies Inc SC8180x pin controller driver"
283
	depends on (OF || ACPI)
284
	depends on ARM64 || COMPILE_TEST
285
	depends on PINCTRL_MSM
286 287 288 289 290
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
	  Technologies Inc SC8180x platform.

291 292 293
config PINCTRL_SC8280XP
	tristate "Qualcomm Technologies Inc SC8280xp pin controller driver"
	depends on OF
294
	depends on ARM64 || COMPILE_TEST
295 296 297 298 299 300
	depends on PINCTRL_MSM
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
	  Technologies Inc SC8280xp platform.

301
config PINCTRL_SDM660
302
	tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
303
	depends on OF
304
	depends on ARM64 || COMPILE_TEST
305
	depends on PINCTRL_MSM
306 307 308 309
	help
	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
	 Technologies Inc SDM660 platform.
310

311 312 313 314 315 316 317 318 319 320
config PINCTRL_SDM670
	tristate "Qualcomm Technologies Inc SDM670 pin controller driver"
	depends on OF
	depends on ARM64 || COMPILE_TEST
	depends on PINCTRL_MSM
	help
	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
	 Technologies Inc SDM670 platform.

321
config PINCTRL_SDM845
322
	tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
323
	depends on (OF || ACPI)
324
	depends on ARM64 || COMPILE_TEST
325
	depends on PINCTRL_MSM
326 327 328 329
	help
	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
	 Technologies Inc SDM845 platform.
330

331 332
config PINCTRL_SDX55
	tristate "Qualcomm Technologies Inc SDX55 pin controller driver"
333
	depends on OF
334
	depends on ARM || COMPILE_TEST
335
	depends on PINCTRL_MSM
336 337 338 339 340
	help
	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
	 Technologies Inc SDX55 platform.

341 342 343
config PINCTRL_SM6115
	tristate "Qualcomm Technologies Inc SM6115,SM4250 pin controller driver"
	depends on GPIOLIB && OF
344
	depends on ARM64 || COMPILE_TEST
345 346 347 348 349 350
	depends on PINCTRL_MSM
	help
	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
	 Technologies Inc SM6115 and SM4250 platforms.

351 352
config PINCTRL_SM6125
	tristate "Qualcomm Technologies Inc SM6125 pin controller driver"
353
	depends on OF
354
	depends on ARM64 || COMPILE_TEST
355 356 357 358 359 360
	depends on PINCTRL_MSM
	help
	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
	 Technologies Inc SM6125 platform.

361 362 363
config PINCTRL_SM6350
	tristate "Qualcomm Technologies Inc SM6350 pin controller driver"
	depends on GPIOLIB && OF
364
	depends on ARM64 || COMPILE_TEST
365 366 367 368 369 370
	depends on PINCTRL_MSM
	help
	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
	 Technologies Inc SM6350 platform.

371 372 373
config PINCTRL_SM6375
	tristate "Qualcomm Technologies Inc SM6375 pin controller driver"
	depends on GPIOLIB && OF
374
	depends on ARM64 || COMPILE_TEST
375 376 377 378 379 380
	depends on PINCTRL_MSM
	help
	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
	 Technologies Inc SM6375 platform.

381 382 383
config PINCTRL_SDX65
	tristate "Qualcomm Technologies Inc SDX65 pin controller driver"
	depends on GPIOLIB && OF
384
	depends on ARM || COMPILE_TEST
385 386 387 388 389 390
	depends on PINCTRL_MSM
	help
	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
	 Technologies Inc SDX65 platform.

391
config PINCTRL_SM8150
392
	tristate "Qualcomm Technologies Inc SM8150 pin controller driver"
393
	depends on OF
394
	depends on ARM64 || COMPILE_TEST
395
	depends on PINCTRL_MSM
396 397 398 399
	help
	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
	 Technologies Inc SM8150 platform.
400

401 402
config PINCTRL_SM8250
	tristate "Qualcomm Technologies Inc SM8250 pin controller driver"
403
	depends on OF
404
	depends on ARM64 || COMPILE_TEST
405
	depends on PINCTRL_MSM
406 407 408 409
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
	  Technologies Inc SM8250 platform.
410 411 412 413

config PINCTRL_SM8250_LPASS_LPI
	tristate "Qualcomm Technologies Inc SM8250 LPASS LPI pin controller driver"
	depends on GPIOLIB
414
	depends on ARM64 || COMPILE_TEST
415 416 417 418 419
	depends on PINCTRL_LPASS_LPI
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
	  (Low Power Island) found on the Qualcomm Technologies Inc SM8250 platform.
420

421 422
config PINCTRL_SM8350
	tristate "Qualcomm Technologies Inc SM8350 pin controller driver"
423
	depends on ARM64 || COMPILE_TEST
424
	depends on PINCTRL_MSM
425 426 427 428 429
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
	  Technologies Inc SM8350 platform.

430 431 432
config PINCTRL_SM8450
	tristate "Qualcomm Technologies Inc SM8450 pin controller driver"
	depends on GPIOLIB && OF
433
	depends on ARM64 || COMPILE_TEST
434
	depends on PINCTRL_MSM
435 436 437 438 439
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
	  Technologies Inc SM8450 platform.

440 441 442
config PINCTRL_SM8450_LPASS_LPI
	tristate "Qualcomm Technologies Inc SM8450 LPASS LPI pin controller driver"
	depends on GPIOLIB
443
	depends on ARM64 || COMPILE_TEST
444 445 446 447 448 449
	depends on PINCTRL_LPASS_LPI
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
	  (Low Power Island) found on the Qualcomm Technologies Inc SM8450 platform.

450 451 452
config PINCTRL_SC8280XP_LPASS_LPI
	tristate "Qualcomm Technologies Inc SC8280XP LPASS LPI pin controller driver"
	depends on GPIOLIB
453
	depends on ARM64 || COMPILE_TEST
454 455 456 457 458 459
	depends on PINCTRL_LPASS_LPI
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
	  (Low Power Island) found on the Qualcomm Technologies Inc SC8280XP platform.

460 461 462 463 464
config PINCTRL_LPASS_LPI
	tristate "Qualcomm Technologies Inc LPASS LPI pin controller driver"
	select PINMUX
	select PINCONF
	select GENERIC_PINCONF
465
	select GENERIC_PINCTRL_GROUPS
466 467 468 469 470 471
	depends on GPIOLIB
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
	  (Low Power Island) found on the Qualcomm Technologies Inc SoCs.

472
endif