]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/pinctrl/Kconfig
Merge tag 'mfd-3.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd...
[mirror_ubuntu-bionic-kernel.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
ae6b4d85
LW
14 bool "Support pin multiplexing controllers"
15
16config PINCONF
17 bool "Support pin configuration controllers"
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
87 help
88 Say Y here to enable the at91 pinctrl driver
89
a5d811bb
MN
90config PINCTRL_BAYTRAIL
91 bool "Intel Baytrail GPIO pin control"
92 depends on GPIOLIB && ACPI && X86
ec243320 93 select IRQ_DOMAIN
a5d811bb
MN
94 help
95 driver for memory mapped GPIO functionality on Intel Baytrail
96 platforms. Supports 3 banks with 102, 28 and 44 gpios.
97 Most pins are usually muxed to some other functionality by firmware,
98 so only a small amount is available for gpio use.
99
100 Requires ACPI device enumeration code to set up a platform device.
101
e1b2dc70
SA
102config PINCTRL_BCM2835
103 bool
104 select PINMUX
105 select PINCONF
106
ae75ff81
DA
107config PINCTRL_IMX
108 bool
109 select PINMUX
110 select PINCONF
111
30612cd9
MP
112config PINCTRL_IMX1_CORE
113 bool
114 select PINMUX
115 select PINCONF
116
e16dbf60
MP
117config PINCTRL_IMX27
118 bool "IMX27 pinctrl driver"
119 depends on OF
120 depends on SOC_IMX27
121 select PINCTRL_IMX1_CORE
122 help
123 Say Y here to enable the imx27 pinctrl driver
124
b9aa8f13
UKK
125config PINCTRL_IMX35
126 bool "IMX35 pinctrl driver"
127 depends on OF
128 depends on SOC_IMX35
129 select PINCTRL_IMX
130 help
131 Say Y here to enable the imx35 pinctrl driver
132
9da83120
GU
133config PINCTRL_IMX50
134 bool "IMX50 pinctrl driver"
135 depends on OF
136 depends on SOC_IMX50
137 select PINCTRL_IMX
138 help
139 Say Y here to enable the imx50 pinctrl driver
140
4f6a16bf
DA
141config PINCTRL_IMX51
142 bool "IMX51 pinctrl driver"
143 depends on OF
144 depends on SOC_IMX51
145 select PINCTRL_IMX
146 help
147 Say Y here to enable the imx51 pinctrl driver
148
93fbd3c0
DA
149config PINCTRL_IMX53
150 bool "IMX53 pinctrl driver"
151 depends on OF
152 depends on SOC_IMX53
153 select PINCTRL_IMX
154 help
155 Say Y here to enable the imx53 pinctrl driver
156
d8fe3572 157config PINCTRL_IMX6Q
3f551d6a 158 bool "IMX6Q/DL pinctrl driver"
d8fe3572
DA
159 depends on OF
160 depends on SOC_IMX6Q
161 select PINCTRL_IMX
162 help
3f551d6a 163 Say Y here to enable the imx6q/dl pinctrl driver
d8fe3572 164
21e59123
SG
165config PINCTRL_IMX6SL
166 bool "IMX6SL pinctrl driver"
167 depends on OF
168 depends on SOC_IMX6SL
169 select PINCTRL_IMX
170 help
171 Say Y here to enable the imx6sl pinctrl driver
d8fe3572 172
78bafc66
JL
173config PINCTRL_VF610
174 bool "Freescale Vybrid VF610 pinctrl driver"
175 depends on OF
176 depends on SOC_VF610
177 select PINCTRL_IMX
178 help
179 Say Y here to enable the Freescale Vybrid VF610 pinctrl driver
180
3f8c50c9
JC
181config PINCTRL_LANTIQ
182 bool
183 depends on LANTIQ
184 select PINMUX
185 select PINCONF
186
e316cb2b
JC
187config PINCTRL_FALCON
188 bool
189 depends on SOC_FALCON
190 depends on PINCTRL_LANTIQ
191
17723111
SG
192config PINCTRL_MXS
193 bool
90db8a14
AL
194 select PINMUX
195 select PINCONF
17723111
SG
196
197config PINCTRL_IMX23
198 bool
17723111
SG
199 select PINCTRL_MXS
200
201config PINCTRL_IMX28
202 bool
17723111
SG
203 select PINCTRL_MXS
204
e98ea774
LW
205config PINCTRL_NOMADIK
206 bool "Nomadik pin controller driver"
0fa7be40 207 depends on ARCH_U8500 || ARCH_NOMADIK
dbfe8ca2 208 select PINMUX
d41af627 209 select PINCONF
e98ea774 210
f79c5ed9
LW
211config PINCTRL_STN8815
212 bool "STN8815 pin controller driver"
213 depends on PINCTRL_NOMADIK && ARCH_NOMADIK
214
e98ea774
LW
215config PINCTRL_DB8500
216 bool "DB8500 pin controller driver"
217 depends on PINCTRL_NOMADIK && ARCH_U8500
218
45a1b531
PC
219config PINCTRL_DB8540
220 bool "DB8540 pin controller driver"
221 depends on PINCTRL_NOMADIK && ARCH_U8500
222
d3e51161
HS
223config PINCTRL_ROCKCHIP
224 bool
225 select PINMUX
226 select GENERIC_PINCONF
227 select GENERIC_IRQ_CHIP
228
8b8b091b
TL
229config PINCTRL_SINGLE
230 tristate "One-register-per-pin type device tree based pinctrl driver"
231 depends on OF
232 select PINMUX
233 select PINCONF
9dddb4df 234 select GENERIC_PINCONF
8b8b091b
TL
235 help
236 This selects the device tree based generic pinctrl driver.
237
3bece55a 238config PINCTRL_SIRF
d3e26f2f
BS
239 bool "CSR SiRFprimaII/SiRFmarco pin controller driver"
240 depends on ARCH_SIRF
393daa81 241 select PINMUX
393daa81 242
0e37f88d
MR
243config PINCTRL_SUNXI
244 bool
245 select PINMUX
246 select GENERIC_PINCONF
247
701016c0
SK
248config PINCTRL_ST
249 bool
250 depends on OF
251 select PINMUX
252 select PINCONF
253
971dac71
SW
254config PINCTRL_TEGRA
255 bool
507ccdbf
AL
256 select PINMUX
257 select PINCONF
971dac71
SW
258
259config PINCTRL_TEGRA20
260 bool
971dac71
SW
261 select PINCTRL_TEGRA
262
263config PINCTRL_TEGRA30
264 bool
971dac71
SW
265 select PINCTRL_TEGRA
266
b6ae7a26
PR
267config PINCTRL_TEGRA114
268 bool
269 select PINCTRL_TEGRA
270
d5025f9f
JH
271config PINCTRL_TZ1090
272 bool "Toumaz Xenif TZ1090 pin control driver"
273 depends on SOC_TZ1090
274 select PINMUX
275 select GENERIC_PINCONF
276
b58f0273
JH
277config PINCTRL_TZ1090_PDC
278 bool "Toumaz Xenif TZ1090 PDC pin control driver"
279 depends on SOC_TZ1090
280 select PINMUX
281 select PINCONF
282
3bece55a
LW
283config PINCTRL_U300
284 bool "U300 pin controller driver"
98da3529
LW
285 depends on ARCH_U300
286 select PINMUX
dc0b1aa3 287 select GENERIC_PINCONF
45f034ef 288
ca402d37
LW
289config PINCTRL_COH901
290 bool "ST-Ericsson U300 COH 901 335/571 GPIO"
3c94d1bb 291 depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
ca402d37
LW
292 help
293 Say yes here to support GPIO interface on ST-Ericsson U300.
294 The names of the two IP block variants supported are
295 COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
296 ports of 8 GPIO pins each.
297
30574f0d 298config PINCTRL_SAMSUNG
cbc351ab 299 bool
30574f0d
TA
300 select PINMUX
301 select PINCONF
302
a1ed2670 303config PINCTRL_EXYNOS
83978253 304 bool "Pinctrl driver data for Samsung EXYNOS SoCs other than 5440"
608a26a7 305 depends on OF && GPIOLIB && (ARCH_EXYNOS || ARCH_S5PV210)
43b169db
TA
306 select PINCTRL_SAMSUNG
307
f0b9a7e5
TA
308config PINCTRL_EXYNOS5440
309 bool "Samsung EXYNOS5440 SoC pinctrl driver"
83978253 310 depends on SOC_EXYNOS5440
f0b9a7e5
TA
311 select PINMUX
312 select PINCONF
313
0a8d3e24 314config PINCTRL_PALMAS
736658c5 315 bool "Pinctrl driver for the PALMAS Series MFD devices"
0a8d3e24 316 depends on OF && MFD_PALMAS
63ca8db7 317 select PINMUX
0a8d3e24
LD
318 select GENERIC_PINCONF
319 help
320 Palmas device supports the configuration of pins for different
321 functionality. This driver supports the pinmux, push-pull and
322 open drain configuration for the Palmas series devices like
323 TPS65913, TPS80036 etc.
324
af99a750
HS
325config PINCTRL_S3C24XX
326 bool "Samsung S3C24XX SoC pinctrl driver"
327 depends on ARCH_S3C24XX
328 select PINCTRL_SAMSUNG
329
61dd7261
TF
330config PINCTRL_S3C64XX
331 bool "Samsung S3C64XX SoC pinctrl driver"
332 depends on ARCH_S3C64XX
333 select PINCTRL_SAMSUNG
334
06763c74 335source "drivers/pinctrl/mvebu/Kconfig"
6e54d8d2 336source "drivers/pinctrl/sh-pfc/Kconfig"
deda8287 337source "drivers/pinctrl/spear/Kconfig"
170c6152 338source "drivers/pinctrl/vt8500/Kconfig"
deda8287 339
3f8c50c9
JC
340config PINCTRL_XWAY
341 bool
342 depends on SOC_TYPE_XWAY
343 depends on PINCTRL_LANTIQ
344
5aad0db1
CR
345config PINCTRL_TB10X
346 bool
347 depends on ARC_PLAT_TB10X
348
45f034ef 349endmenu
98da3529 350
2744e8af 351endif