]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - drivers/pinctrl/Kconfig
Merge tag 'efi-urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/mfleming...
[mirror_ubuntu-zesty-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
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
e9a03add
SZ
29config PINCTRL_ADI2
30 bool "ADI pin controller driver"
9d7278d0 31 depends on BLACKFIN
e9a03add
SZ
32 select PINMUX
33 select IRQ_DOMAIN
34 help
35 This is the pin controller and gpio driver for ADI BF54x, BF60x and
36 future processors. This option is selected automatically when specific
37 machine and arch are selected to build.
38
c8ce8782
LD
39config PINCTRL_AS3722
40 bool "Pinctrl and GPIO driver for ams AS3722 PMIC"
41 depends on MFD_AS3722 && GPIOLIB
42 select PINMUX
43 select GENERIC_PINCONF
44 help
45 AS3722 device supports the configuration of GPIO pins for different
46 functionality. This driver supports the pinmux, push-pull and
47 open drain configuration for the GPIO pins of AS3722 devices. It also
48 supports the GPIO functionality through gpiolib.
49
e9a03add
SZ
50config PINCTRL_BF54x
51 def_bool y if BF54x
52 select PINCTRL_ADI2
53
54config PINCTRL_BF60x
55 def_bool y if BF60x
56 select PINCTRL_ADI2
57
6732ae5c
JCPV
58config PINCTRL_AT91
59 bool "AT91 pinctrl driver"
60 depends on OF
61 depends on ARCH_AT91
62 select PINMUX
63 select PINCONF
80cc3732
AS
64 select GPIOLIB
65 select OF_GPIO
66 select GPIOLIB_IRQCHIP
6732ae5c
JCPV
67 help
68 Say Y here to enable the at91 pinctrl driver
69
e1b2dc70
SA
70config PINCTRL_BCM2835
71 bool
72 select PINMUX
73 select PINCONF
74
7418b5cc
SY
75config PINCTRL_BCM281XX
76 bool "Broadcom BCM281xx pinctrl driver"
e4742d57 77 depends on OF && (ARCH_BCM_MOBILE || COMPILE_TEST)
54b1aa5a
SY
78 select PINMUX
79 select PINCONF
80 select GENERIC_PINCONF
81 select REGMAP_MMIO
82 help
7418b5cc
SY
83 Say Y here to support Broadcom BCM281xx pinctrl driver, which is used
84 for the BCM281xx SoC family, including BCM11130, BCM11140, BCM11351,
54b1aa5a
SY
85 BCM28145, and BCM28155 SoCs. This driver requires the pinctrl
86 framework. GPIO is provided by a separate GPIO driver.
87
3f8c50c9
JC
88config PINCTRL_LANTIQ
89 bool
90 depends on LANTIQ
91 select PINMUX
92 select PINCONF
93
e316cb2b
JC
94config PINCTRL_FALCON
95 bool
96 depends on SOC_FALCON
97 depends on PINCTRL_LANTIQ
98
6ac73095
BG
99config PINCTRL_MESON
100 bool
101 select PINMUX
102 select PINCONF
103 select GENERIC_PINCONF
104 select OF_GPIO
105 select REGMAP_MMIO
106
d3e51161
HS
107config PINCTRL_ROCKCHIP
108 bool
109 select PINMUX
110 select GENERIC_PINCONF
111 select GENERIC_IRQ_CHIP
751a99ab 112 select MFD_SYSCON
d3e51161 113
8b8b091b
TL
114config PINCTRL_SINGLE
115 tristate "One-register-per-pin type device tree based pinctrl driver"
116 depends on OF
117 select PINMUX
118 select PINCONF
9dddb4df 119 select GENERIC_PINCONF
8b8b091b
TL
120 help
121 This selects the device tree based generic pinctrl driver.
122
3bece55a 123config PINCTRL_SIRF
a17272a4 124 bool "CSR SiRFprimaII pin controller driver"
d3e26f2f 125 depends on ARCH_SIRF
393daa81 126 select PINMUX
7420d2d0 127 select GPIOLIB_IRQCHIP
393daa81 128
701016c0
SK
129config PINCTRL_ST
130 bool
131 depends on OF
132 select PINMUX
133 select PINCONF
130cbe30 134 select GPIOLIB_IRQCHIP
701016c0 135
971dac71
SW
136config PINCTRL_TEGRA
137 bool
507ccdbf
AL
138 select PINMUX
139 select PINCONF
971dac71
SW
140
141config PINCTRL_TEGRA20
142 bool
971dac71
SW
143 select PINCTRL_TEGRA
144
145config PINCTRL_TEGRA30
146 bool
971dac71
SW
147 select PINCTRL_TEGRA
148
b6ae7a26
PR
149config PINCTRL_TEGRA114
150 bool
151 select PINCTRL_TEGRA
152
1a16bee6
AG
153config PINCTRL_TEGRA124
154 bool
155 select PINCTRL_TEGRA
156
dc0a3938
TR
157config PINCTRL_TEGRA_XUSB
158 def_bool y if ARCH_TEGRA
159 select GENERIC_PHY
160 select PINCONF
161 select PINMUX
162
d5025f9f
JH
163config PINCTRL_TZ1090
164 bool "Toumaz Xenif TZ1090 pin control driver"
165 depends on SOC_TZ1090
166 select PINMUX
167 select GENERIC_PINCONF
168
b58f0273
JH
169config PINCTRL_TZ1090_PDC
170 bool "Toumaz Xenif TZ1090 PDC pin control driver"
171 depends on SOC_TZ1090
172 select PINMUX
173 select PINCONF
174
3bece55a
LW
175config PINCTRL_U300
176 bool "U300 pin controller driver"
98da3529
LW
177 depends on ARCH_U300
178 select PINMUX
dc0b1aa3 179 select GENERIC_PINCONF
45f034ef 180
ca402d37
LW
181config PINCTRL_COH901
182 bool "ST-Ericsson U300 COH 901 335/571 GPIO"
3c94d1bb 183 depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
523dcce7 184 select GPIOLIB_IRQCHIP
ca402d37
LW
185 help
186 Say yes here to support GPIO interface on ST-Ericsson U300.
187 The names of the two IP block variants supported are
188 COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
189 ports of 8 GPIO pins each.
190
0a8d3e24 191config PINCTRL_PALMAS
736658c5 192 bool "Pinctrl driver for the PALMAS Series MFD devices"
0a8d3e24 193 depends on OF && MFD_PALMAS
63ca8db7 194 select PINMUX
0a8d3e24
LD
195 select GENERIC_PINCONF
196 help
197 Palmas device supports the configuration of pins for different
198 functionality. This driver supports the pinmux, push-pull and
199 open drain configuration for the Palmas series devices like
200 TPS65913, TPS80036 etc.
201
add958ce
SB
202config PINCTRL_ZYNQ
203 bool "Pinctrl driver for Xilinx Zynq"
204 depends on ARCH_ZYNQ
205 select PINMUX
206 select GENERIC_PINCONF
207 help
208 This selectes the pinctrl driver for Xilinx Zynq.
209
3de68d33 210source "drivers/pinctrl/berlin/Kconfig"
edad3b2a 211source "drivers/pinctrl/freescale/Kconfig"
5fae8b86 212source "drivers/pinctrl/intel/Kconfig"
06763c74 213source "drivers/pinctrl/mvebu/Kconfig"
3a198059 214source "drivers/pinctrl/nomadik/Kconfig"
69b78b8d 215source "drivers/pinctrl/qcom/Kconfig"
ebe629a3 216source "drivers/pinctrl/samsung/Kconfig"
6e54d8d2 217source "drivers/pinctrl/sh-pfc/Kconfig"
deda8287 218source "drivers/pinctrl/spear/Kconfig"
5f910777 219source "drivers/pinctrl/sunxi/Kconfig"
170c6152 220source "drivers/pinctrl/vt8500/Kconfig"
deda8287 221
3f8c50c9
JC
222config PINCTRL_XWAY
223 bool
224 depends on SOC_TYPE_XWAY
225 depends on PINCTRL_LANTIQ
226
5aad0db1
CR
227config PINCTRL_TB10X
228 bool
229 depends on ARC_PLAT_TB10X
230
45f034ef 231endmenu
98da3529 232
2744e8af 233endif