pinctrl: msm: Add msm8960 definitions
[linux-2.6-block.git] / drivers / pinctrl / Kconfig
CommitLineData
2744e8af
LW
1#
2# PINCTRL infrastructure and drivers
3#
4
45f034ef
LW
5config PINCTRL
6 bool
2744e8af
LW
7
8if PINCTRL
9
45f034ef
LW
10menu "Pin controllers"
11 depends on PINCTRL
12
2744e8af 13config PINMUX
244e95a7 14 bool "Support pin multiplexing controllers" if COMPILE_TEST
ae6b4d85
LW
15
16config PINCONF
244e95a7 17 bool "Support pin configuration controllers" if COMPILE_TEST
2744e8af 18
394349f7
LW
19config GENERIC_PINCONF
20 bool
21 select PINCONF
22
2744e8af
LW
23config DEBUG_PINCTRL
24 bool "Debug PINCTRL calls"
25 depends on DEBUG_KERNEL
26 help
27 Say Y here to add some extra checks and diagnostics to PINCTRL calls.
28
0493e649
PC
29config PINCTRL_ABX500
30 bool "ST-Ericsson ABx500 family Mixed Signal Circuit gpio functions"
31 depends on AB8500_CORE
32 select GENERIC_PINCONF
33 help
34 Select this to enable the ABx500 family IC GPIO driver
35
3c937993
PC
36config PINCTRL_AB8500
37 bool "AB8500 pin controller driver"
38 depends on PINCTRL_ABX500 && ARCH_U8500
39
a8f96e41
PC
40config PINCTRL_AB8540
41 bool "AB8540 pin controller driver"
42 depends on PINCTRL_ABX500 && ARCH_U8500
43
09dbec3f
PC
44config PINCTRL_AB9540
45 bool "AB9540 pin controller driver"
46 depends on PINCTRL_ABX500 && ARCH_U8500
47
1aa2d8d4
PC
48config PINCTRL_AB8505
49 bool "AB8505 pin controller driver"
50 depends on PINCTRL_ABX500 && ARCH_U8500
51
e9a03add
SZ
52config PINCTRL_ADI2
53 bool "ADI pin controller driver"
9d7278d0 54 depends on BLACKFIN
e9a03add
SZ
55 select PINMUX
56 select IRQ_DOMAIN
57 help
58 This is the pin controller and gpio driver for ADI BF54x, BF60x and
59 future processors. This option is selected automatically when specific
60 machine and arch are selected to build.
61
c8ce8782
LD
62config PINCTRL_AS3722
63 bool "Pinctrl and GPIO driver for ams AS3722 PMIC"
64 depends on MFD_AS3722 && GPIOLIB
65 select PINMUX
66 select GENERIC_PINCONF
67 help
68 AS3722 device supports the configuration of GPIO pins for different
69 functionality. This driver supports the pinmux, push-pull and
70 open drain configuration for the GPIO pins of AS3722 devices. It also
71 supports the GPIO functionality through gpiolib.
72
e9a03add
SZ
73config PINCTRL_BF54x
74 def_bool y if BF54x
75 select PINCTRL_ADI2
76
77config PINCTRL_BF60x
78 def_bool y if BF60x
79 select PINCTRL_ADI2
80
6732ae5c
JCPV
81config PINCTRL_AT91
82 bool "AT91 pinctrl driver"
83 depends on OF
84 depends on ARCH_AT91
85 select PINMUX
86 select PINCONF
80cc3732
AS
87 select GPIOLIB
88 select OF_GPIO
89 select GPIOLIB_IRQCHIP
6732ae5c
JCPV
90 help
91 Say Y here to enable the at91 pinctrl driver
92
a5d811bb
MN
93config PINCTRL_BAYTRAIL
94 bool "Intel Baytrail GPIO pin control"
95 depends on GPIOLIB && ACPI && X86
ec243320 96 select IRQ_DOMAIN
a5d811bb
MN
97 help
98 driver for memory mapped GPIO functionality on Intel Baytrail
99 platforms. Supports 3 banks with 102, 28 and 44 gpios.
100 Most pins are usually muxed to some other functionality by firmware,
101 so only a small amount is available for gpio use.
102
103 Requires ACPI device enumeration code to set up a platform device.
104
e1b2dc70
SA
105config PINCTRL_BCM2835
106 bool
107 select PINMUX
108 select PINCONF
109
7418b5cc
SY
110config PINCTRL_BCM281XX
111 bool "Broadcom BCM281xx pinctrl driver"
fe0ec0ee 112 depends on OF
54b1aa5a
SY
113 select PINMUX
114 select PINCONF
115 select GENERIC_PINCONF
116 select REGMAP_MMIO
117 help
7418b5cc
SY
118 Say Y here to support Broadcom BCM281xx pinctrl driver, which is used
119 for the BCM281xx SoC family, including BCM11130, BCM11140, BCM11351,
54b1aa5a
SY
120 BCM28145, and BCM28155 SoCs. This driver requires the pinctrl
121 framework. GPIO is provided by a separate GPIO driver.
122
ae75ff81
DA
123config PINCTRL_IMX
124 bool
125 select PINMUX
126 select PINCONF
127
30612cd9
MP
128config PINCTRL_IMX1_CORE
129 bool
130 select PINMUX
131 select PINCONF
132
4877e51e
AS
133config PINCTRL_IMX1
134 bool "IMX1 pinctrl driver"
135 depends on SOC_IMX1
136 select PINCTRL_IMX1_CORE
137 help
138 Say Y here to enable the imx1 pinctrl driver
139
e16dbf60
MP
140config PINCTRL_IMX27
141 bool "IMX27 pinctrl driver"
e16dbf60
MP
142 depends on SOC_IMX27
143 select PINCTRL_IMX1_CORE
144 help
145 Say Y here to enable the imx27 pinctrl driver
146
b4a87c9b
DC
147
148config PINCTRL_IMX25
149 bool "IMX25 pinctrl driver"
150 depends on OF
151 depends on SOC_IMX25
152 select PINCTRL_IMX
153 help
154 Say Y here to enable the imx25 pinctrl driver
155
b9aa8f13
UKK
156config PINCTRL_IMX35
157 bool "IMX35 pinctrl driver"
b9aa8f13
UKK
158 depends on SOC_IMX35
159 select PINCTRL_IMX
160 help
161 Say Y here to enable the imx35 pinctrl driver
162
9da83120
GU
163config PINCTRL_IMX50
164 bool "IMX50 pinctrl driver"
9da83120
GU
165 depends on SOC_IMX50
166 select PINCTRL_IMX
167 help
168 Say Y here to enable the imx50 pinctrl driver
169
4f6a16bf
DA
170config PINCTRL_IMX51
171 bool "IMX51 pinctrl driver"
4f6a16bf
DA
172 depends on SOC_IMX51
173 select PINCTRL_IMX
174 help
175 Say Y here to enable the imx51 pinctrl driver
176
93fbd3c0
DA
177config PINCTRL_IMX53
178 bool "IMX53 pinctrl driver"
93fbd3c0
DA
179 depends on SOC_IMX53
180 select PINCTRL_IMX
181 help
182 Say Y here to enable the imx53 pinctrl driver
183
d8fe3572 184config PINCTRL_IMX6Q
3f551d6a 185 bool "IMX6Q/DL pinctrl driver"
d8fe3572
DA
186 depends on SOC_IMX6Q
187 select PINCTRL_IMX
188 help
3f551d6a 189 Say Y here to enable the imx6q/dl pinctrl driver
d8fe3572 190
21e59123
SG
191config PINCTRL_IMX6SL
192 bool "IMX6SL pinctrl driver"
21e59123
SG
193 depends on SOC_IMX6SL
194 select PINCTRL_IMX
195 help
196 Say Y here to enable the imx6sl pinctrl driver
d8fe3572 197
2cc140fe
AH
198config PINCTRL_IMX6SX
199 bool "IMX6SX pinctrl driver"
200 depends on SOC_IMX6SX
201 select PINCTRL_IMX
202 help
203 Say Y here to enable the imx6sx pinctrl driver
204
78bafc66
JL
205config PINCTRL_VF610
206 bool "Freescale Vybrid VF610 pinctrl driver"
78bafc66
JL
207 depends on SOC_VF610
208 select PINCTRL_IMX
209 help
210 Say Y here to enable the Freescale Vybrid VF610 pinctrl driver
211
3f8c50c9
JC
212config PINCTRL_LANTIQ
213 bool
214 depends on LANTIQ
215 select PINMUX
216 select PINCONF
217
e316cb2b
JC
218config PINCTRL_FALCON
219 bool
220 depends on SOC_FALCON
221 depends on PINCTRL_LANTIQ
222
17723111
SG
223config PINCTRL_MXS
224 bool
90db8a14
AL
225 select PINMUX
226 select PINCONF
17723111
SG
227
228config PINCTRL_IMX23
229 bool
17723111
SG
230 select PINCTRL_MXS
231
232config PINCTRL_IMX28
233 bool
17723111
SG
234 select PINCTRL_MXS
235
f365be09 236config PINCTRL_MSM
5ba34160 237 bool
f365be09
BA
238 select PINMUX
239 select PINCONF
240 select GENERIC_PINCONF
cdcb0ab6 241 select GPIOLIB_IRQCHIP
f365be09 242
e2c802be
BA
243config PINCTRL_APQ8064
244 tristate "Qualcomm APQ8064 pin controller driver"
245 depends on GPIOLIB && OF
246 select PINCTRL_MSM
247 help
248 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
249 Qualcomm TLMM block found in the Qualcomm APQ8064 platform.
250
b4da6573
AG
251config PINCTRL_IPQ8064
252 tristate "Qualcomm IPQ8064 pin controller driver"
253 depends on GPIOLIB && OF
254 select PINCTRL_MSM
255 help
256 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
257 Qualcomm TLMM block found in the Qualcomm IPQ8064 platform.
258
14d40ff8
BA
259config PINCTRL_MSM8960
260 tristate "Qualcomm 8960 pin controller driver"
261 depends on GPIOLIB && OF
262 select PINCTRL_MSM
263 help
264 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
265 Qualcomm TLMM block found in the Qualcomm 8960 platform.
266
55aaf834 267config PINCTRL_MSM8X74
376f413a 268 tristate "Qualcomm 8x74 pin controller driver"
fb95a94b 269 depends on GPIOLIB && OF && (ARCH_QCOM || COMPILE_TEST)
55aaf834 270 select PINCTRL_MSM
376f413a
BA
271 help
272 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
273 Qualcomm TLMM block found in the Qualcomm 8974 platform.
55aaf834 274
e98ea774
LW
275config PINCTRL_NOMADIK
276 bool "Nomadik pin controller driver"
0fa7be40 277 depends on ARCH_U8500 || ARCH_NOMADIK
dbfe8ca2 278 select PINMUX
d41af627 279 select PINCONF
e0bc34a3
LW
280 select GPIOLIB
281 select OF_GPIO
282 select GPIOLIB_IRQCHIP
e98ea774 283
f79c5ed9
LW
284config PINCTRL_STN8815
285 bool "STN8815 pin controller driver"
286 depends on PINCTRL_NOMADIK && ARCH_NOMADIK
287
e98ea774
LW
288config PINCTRL_DB8500
289 bool "DB8500 pin controller driver"
290 depends on PINCTRL_NOMADIK && ARCH_U8500
291
45a1b531
PC
292config PINCTRL_DB8540
293 bool "DB8540 pin controller driver"
294 depends on PINCTRL_NOMADIK && ARCH_U8500
295
d3e51161
HS
296config PINCTRL_ROCKCHIP
297 bool
298 select PINMUX
299 select GENERIC_PINCONF
300 select GENERIC_IRQ_CHIP
751a99ab 301 select MFD_SYSCON
d3e51161 302
8b8b091b
TL
303config PINCTRL_SINGLE
304 tristate "One-register-per-pin type device tree based pinctrl driver"
305 depends on OF
306 select PINMUX
307 select PINCONF
9dddb4df 308 select GENERIC_PINCONF
8b8b091b
TL
309 help
310 This selects the device tree based generic pinctrl driver.
311
3bece55a 312config PINCTRL_SIRF
d3e26f2f
BS
313 bool "CSR SiRFprimaII/SiRFmarco pin controller driver"
314 depends on ARCH_SIRF
393daa81 315 select PINMUX
7420d2d0 316 select GPIOLIB_IRQCHIP
393daa81 317
701016c0
SK
318config PINCTRL_ST
319 bool
320 depends on OF
321 select PINMUX
322 select PINCONF
130cbe30 323 select GPIOLIB_IRQCHIP
701016c0 324
971dac71
SW
325config PINCTRL_TEGRA
326 bool
507ccdbf
AL
327 select PINMUX
328 select PINCONF
971dac71
SW
329
330config PINCTRL_TEGRA20
331 bool
971dac71
SW
332 select PINCTRL_TEGRA
333
334config PINCTRL_TEGRA30
335 bool
971dac71
SW
336 select PINCTRL_TEGRA
337
b6ae7a26
PR
338config PINCTRL_TEGRA114
339 bool
340 select PINCTRL_TEGRA
341
1a16bee6
AG
342config PINCTRL_TEGRA124
343 bool
344 select PINCTRL_TEGRA
345
d5025f9f
JH
346config PINCTRL_TZ1090
347 bool "Toumaz Xenif TZ1090 pin control driver"
348 depends on SOC_TZ1090
349 select PINMUX
350 select GENERIC_PINCONF
351
b58f0273
JH
352config PINCTRL_TZ1090_PDC
353 bool "Toumaz Xenif TZ1090 PDC pin control driver"
354 depends on SOC_TZ1090
355 select PINMUX
356 select PINCONF
357
3bece55a
LW
358config PINCTRL_U300
359 bool "U300 pin controller driver"
98da3529
LW
360 depends on ARCH_U300
361 select PINMUX
dc0b1aa3 362 select GENERIC_PINCONF
45f034ef 363
ca402d37
LW
364config PINCTRL_COH901
365 bool "ST-Ericsson U300 COH 901 335/571 GPIO"
3c94d1bb 366 depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
523dcce7 367 select GPIOLIB_IRQCHIP
ca402d37
LW
368 help
369 Say yes here to support GPIO interface on ST-Ericsson U300.
370 The names of the two IP block variants supported are
371 COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
372 ports of 8 GPIO pins each.
373
30574f0d 374config PINCTRL_SAMSUNG
cbc351ab 375 bool
30574f0d
TA
376 select PINMUX
377 select PINCONF
378
a1ed2670 379config PINCTRL_EXYNOS
83978253 380 bool "Pinctrl driver data for Samsung EXYNOS SoCs other than 5440"
608a26a7 381 depends on OF && GPIOLIB && (ARCH_EXYNOS || ARCH_S5PV210)
43b169db
TA
382 select PINCTRL_SAMSUNG
383
f0b9a7e5
TA
384config PINCTRL_EXYNOS5440
385 bool "Samsung EXYNOS5440 SoC pinctrl driver"
83978253 386 depends on SOC_EXYNOS5440
f0b9a7e5
TA
387 select PINMUX
388 select PINCONF
389
0a8d3e24 390config PINCTRL_PALMAS
736658c5 391 bool "Pinctrl driver for the PALMAS Series MFD devices"
0a8d3e24 392 depends on OF && MFD_PALMAS
63ca8db7 393 select PINMUX
0a8d3e24
LD
394 select GENERIC_PINCONF
395 help
396 Palmas device supports the configuration of pins for different
397 functionality. This driver supports the pinmux, push-pull and
398 open drain configuration for the Palmas series devices like
399 TPS65913, TPS80036 etc.
400
af99a750
HS
401config PINCTRL_S3C24XX
402 bool "Samsung S3C24XX SoC pinctrl driver"
403 depends on ARCH_S3C24XX
404 select PINCTRL_SAMSUNG
405
61dd7261
TF
406config PINCTRL_S3C64XX
407 bool "Samsung S3C64XX SoC pinctrl driver"
408 depends on ARCH_S3C64XX
409 select PINCTRL_SAMSUNG
410
3de68d33 411source "drivers/pinctrl/berlin/Kconfig"
06763c74 412source "drivers/pinctrl/mvebu/Kconfig"
6e54d8d2 413source "drivers/pinctrl/sh-pfc/Kconfig"
deda8287 414source "drivers/pinctrl/spear/Kconfig"
5f910777 415source "drivers/pinctrl/sunxi/Kconfig"
170c6152 416source "drivers/pinctrl/vt8500/Kconfig"
deda8287 417
3f8c50c9
JC
418config PINCTRL_XWAY
419 bool
420 depends on SOC_TYPE_XWAY
421 depends on PINCTRL_LANTIQ
422
5aad0db1
CR
423config PINCTRL_TB10X
424 bool
425 depends on ARC_PLAT_TB10X
426
45f034ef 427endmenu
98da3529 428
2744e8af 429endif