]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/pinctrl/Kconfig
pinctrl: sunxi: Drop unused structure members
[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
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
e16dbf60
MP
133config PINCTRL_IMX27
134 bool "IMX27 pinctrl driver"
e16dbf60
MP
135 depends on SOC_IMX27
136 select PINCTRL_IMX1_CORE
137 help
138 Say Y here to enable the imx27 pinctrl driver
139
b4a87c9b
DC
140
141config PINCTRL_IMX25
142 bool "IMX25 pinctrl driver"
143 depends on OF
144 depends on SOC_IMX25
145 select PINCTRL_IMX
146 help
147 Say Y here to enable the imx25 pinctrl driver
148
b9aa8f13
UKK
149config PINCTRL_IMX35
150 bool "IMX35 pinctrl driver"
b9aa8f13
UKK
151 depends on SOC_IMX35
152 select PINCTRL_IMX
153 help
154 Say Y here to enable the imx35 pinctrl driver
155
9da83120
GU
156config PINCTRL_IMX50
157 bool "IMX50 pinctrl driver"
9da83120
GU
158 depends on SOC_IMX50
159 select PINCTRL_IMX
160 help
161 Say Y here to enable the imx50 pinctrl driver
162
4f6a16bf
DA
163config PINCTRL_IMX51
164 bool "IMX51 pinctrl driver"
4f6a16bf
DA
165 depends on SOC_IMX51
166 select PINCTRL_IMX
167 help
168 Say Y here to enable the imx51 pinctrl driver
169
93fbd3c0
DA
170config PINCTRL_IMX53
171 bool "IMX53 pinctrl driver"
93fbd3c0
DA
172 depends on SOC_IMX53
173 select PINCTRL_IMX
174 help
175 Say Y here to enable the imx53 pinctrl driver
176
d8fe3572 177config PINCTRL_IMX6Q
3f551d6a 178 bool "IMX6Q/DL pinctrl driver"
d8fe3572
DA
179 depends on SOC_IMX6Q
180 select PINCTRL_IMX
181 help
3f551d6a 182 Say Y here to enable the imx6q/dl pinctrl driver
d8fe3572 183
21e59123
SG
184config PINCTRL_IMX6SL
185 bool "IMX6SL pinctrl driver"
21e59123
SG
186 depends on SOC_IMX6SL
187 select PINCTRL_IMX
188 help
189 Say Y here to enable the imx6sl pinctrl driver
d8fe3572 190
78bafc66
JL
191config PINCTRL_VF610
192 bool "Freescale Vybrid VF610 pinctrl driver"
78bafc66
JL
193 depends on SOC_VF610
194 select PINCTRL_IMX
195 help
196 Say Y here to enable the Freescale Vybrid VF610 pinctrl driver
197
3f8c50c9
JC
198config PINCTRL_LANTIQ
199 bool
200 depends on LANTIQ
201 select PINMUX
202 select PINCONF
203
e316cb2b
JC
204config PINCTRL_FALCON
205 bool
206 depends on SOC_FALCON
207 depends on PINCTRL_LANTIQ
208
17723111
SG
209config PINCTRL_MXS
210 bool
90db8a14
AL
211 select PINMUX
212 select PINCONF
17723111
SG
213
214config PINCTRL_IMX23
215 bool
17723111
SG
216 select PINCTRL_MXS
217
218config PINCTRL_IMX28
219 bool
17723111
SG
220 select PINCTRL_MXS
221
f365be09 222config PINCTRL_MSM
5ba34160 223 bool
f365be09
BA
224 select PINMUX
225 select PINCONF
226 select GENERIC_PINCONF
227
e2c802be
BA
228config PINCTRL_APQ8064
229 tristate "Qualcomm APQ8064 pin controller driver"
230 depends on GPIOLIB && OF
231 select PINCTRL_MSM
232 help
233 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
234 Qualcomm TLMM block found in the Qualcomm APQ8064 platform.
235
b4da6573
AG
236config PINCTRL_IPQ8064
237 tristate "Qualcomm IPQ8064 pin controller driver"
238 depends on GPIOLIB && OF
239 select PINCTRL_MSM
240 help
241 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
242 Qualcomm TLMM block found in the Qualcomm IPQ8064 platform.
243
55aaf834 244config PINCTRL_MSM8X74
376f413a 245 tristate "Qualcomm 8x74 pin controller driver"
fb95a94b 246 depends on GPIOLIB && OF && (ARCH_QCOM || COMPILE_TEST)
55aaf834 247 select PINCTRL_MSM
376f413a
BA
248 help
249 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
250 Qualcomm TLMM block found in the Qualcomm 8974 platform.
55aaf834 251
e98ea774
LW
252config PINCTRL_NOMADIK
253 bool "Nomadik pin controller driver"
0fa7be40 254 depends on ARCH_U8500 || ARCH_NOMADIK
dbfe8ca2 255 select PINMUX
d41af627 256 select PINCONF
e0bc34a3
LW
257 select GPIOLIB
258 select OF_GPIO
259 select GPIOLIB_IRQCHIP
e98ea774 260
f79c5ed9
LW
261config PINCTRL_STN8815
262 bool "STN8815 pin controller driver"
263 depends on PINCTRL_NOMADIK && ARCH_NOMADIK
264
e98ea774
LW
265config PINCTRL_DB8500
266 bool "DB8500 pin controller driver"
267 depends on PINCTRL_NOMADIK && ARCH_U8500
268
45a1b531
PC
269config PINCTRL_DB8540
270 bool "DB8540 pin controller driver"
271 depends on PINCTRL_NOMADIK && ARCH_U8500
272
d3e51161
HS
273config PINCTRL_ROCKCHIP
274 bool
275 select PINMUX
276 select GENERIC_PINCONF
277 select GENERIC_IRQ_CHIP
278
8b8b091b
TL
279config PINCTRL_SINGLE
280 tristate "One-register-per-pin type device tree based pinctrl driver"
281 depends on OF
282 select PINMUX
283 select PINCONF
9dddb4df 284 select GENERIC_PINCONF
8b8b091b
TL
285 help
286 This selects the device tree based generic pinctrl driver.
287
3bece55a 288config PINCTRL_SIRF
d3e26f2f
BS
289 bool "CSR SiRFprimaII/SiRFmarco pin controller driver"
290 depends on ARCH_SIRF
393daa81 291 select PINMUX
7420d2d0 292 select GPIOLIB_IRQCHIP
393daa81 293
0e37f88d
MR
294config PINCTRL_SUNXI
295 bool
296 select PINMUX
297 select GENERIC_PINCONF
298
701016c0
SK
299config PINCTRL_ST
300 bool
301 depends on OF
302 select PINMUX
303 select PINCONF
130cbe30 304 select GPIOLIB_IRQCHIP
701016c0 305
971dac71
SW
306config PINCTRL_TEGRA
307 bool
507ccdbf
AL
308 select PINMUX
309 select PINCONF
971dac71
SW
310
311config PINCTRL_TEGRA20
312 bool
971dac71
SW
313 select PINCTRL_TEGRA
314
315config PINCTRL_TEGRA30
316 bool
971dac71
SW
317 select PINCTRL_TEGRA
318
b6ae7a26
PR
319config PINCTRL_TEGRA114
320 bool
321 select PINCTRL_TEGRA
322
1a16bee6
AG
323config PINCTRL_TEGRA124
324 bool
325 select PINCTRL_TEGRA
326
d5025f9f
JH
327config PINCTRL_TZ1090
328 bool "Toumaz Xenif TZ1090 pin control driver"
329 depends on SOC_TZ1090
330 select PINMUX
331 select GENERIC_PINCONF
332
b58f0273
JH
333config PINCTRL_TZ1090_PDC
334 bool "Toumaz Xenif TZ1090 PDC pin control driver"
335 depends on SOC_TZ1090
336 select PINMUX
337 select PINCONF
338
3bece55a
LW
339config PINCTRL_U300
340 bool "U300 pin controller driver"
98da3529
LW
341 depends on ARCH_U300
342 select PINMUX
dc0b1aa3 343 select GENERIC_PINCONF
45f034ef 344
ca402d37
LW
345config PINCTRL_COH901
346 bool "ST-Ericsson U300 COH 901 335/571 GPIO"
3c94d1bb 347 depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
523dcce7 348 select GPIOLIB_IRQCHIP
ca402d37
LW
349 help
350 Say yes here to support GPIO interface on ST-Ericsson U300.
351 The names of the two IP block variants supported are
352 COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
353 ports of 8 GPIO pins each.
354
30574f0d 355config PINCTRL_SAMSUNG
cbc351ab 356 bool
30574f0d
TA
357 select PINMUX
358 select PINCONF
359
a1ed2670 360config PINCTRL_EXYNOS
83978253 361 bool "Pinctrl driver data for Samsung EXYNOS SoCs other than 5440"
608a26a7 362 depends on OF && GPIOLIB && (ARCH_EXYNOS || ARCH_S5PV210)
43b169db
TA
363 select PINCTRL_SAMSUNG
364
f0b9a7e5
TA
365config PINCTRL_EXYNOS5440
366 bool "Samsung EXYNOS5440 SoC pinctrl driver"
83978253 367 depends on SOC_EXYNOS5440
f0b9a7e5
TA
368 select PINMUX
369 select PINCONF
370
0a8d3e24 371config PINCTRL_PALMAS
736658c5 372 bool "Pinctrl driver for the PALMAS Series MFD devices"
0a8d3e24 373 depends on OF && MFD_PALMAS
63ca8db7 374 select PINMUX
0a8d3e24
LD
375 select GENERIC_PINCONF
376 help
377 Palmas device supports the configuration of pins for different
378 functionality. This driver supports the pinmux, push-pull and
379 open drain configuration for the Palmas series devices like
380 TPS65913, TPS80036 etc.
381
af99a750
HS
382config PINCTRL_S3C24XX
383 bool "Samsung S3C24XX SoC pinctrl driver"
384 depends on ARCH_S3C24XX
385 select PINCTRL_SAMSUNG
386
61dd7261
TF
387config PINCTRL_S3C64XX
388 bool "Samsung S3C64XX SoC pinctrl driver"
389 depends on ARCH_S3C64XX
390 select PINCTRL_SAMSUNG
391
06763c74 392source "drivers/pinctrl/mvebu/Kconfig"
6e54d8d2 393source "drivers/pinctrl/sh-pfc/Kconfig"
deda8287 394source "drivers/pinctrl/spear/Kconfig"
170c6152 395source "drivers/pinctrl/vt8500/Kconfig"
deda8287 396
3f8c50c9
JC
397config PINCTRL_XWAY
398 bool
399 depends on SOC_TYPE_XWAY
400 depends on PINCTRL_LANTIQ
401
5aad0db1
CR
402config PINCTRL_TB10X
403 bool
404 depends on ARC_PLAT_TB10X
405
45f034ef 406endmenu
98da3529 407
2744e8af 408endif