2 # PINCTRL infrastructure and drivers
11 config GENERIC_PINCTRL_GROUPS
15 bool "Support pin multiplexing controllers" if COMPILE_TEST
17 config GENERIC_PINMUX_FUNCTIONS
22 bool "Support pin configuration controllers" if COMPILE_TEST
24 config GENERIC_PINCONF
29 bool "Debug PINCTRL calls"
30 depends on DEBUG_KERNEL
32 Say Y here to add some extra checks and diagnostics to PINCTRL calls.
35 bool "ADI pin controller driver"
40 This is the pin controller and gpio driver for ADI BF54x, BF60x and
41 future processors. This option is selected automatically when specific
42 machine and arch are selected to build.
45 tristate "Pinctrl and GPIO driver for ams AS3722 PMIC"
46 depends on MFD_AS3722 && GPIOLIB
48 select GENERIC_PINCONF
50 AS3722 device supports the configuration of GPIO pins for different
51 functionality. This driver supports the pinmux, push-pull and
52 open drain configuration for the GPIO pins of AS3722 devices. It also
53 supports the GPIO functionality through gpiolib.
64 bool "AT91 pinctrl driver"
71 select GPIOLIB_IRQCHIP
73 Say Y here to enable the at91 pinctrl driver
75 config PINCTRL_AT91PIO4
76 bool "AT91 PIO4 pinctrl driver"
80 select GENERIC_PINCONF
82 select GPIOLIB_IRQCHIP
85 Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4
86 controller available on sama5d2 SoC.
89 tristate "AMD GPIO pin control"
91 select GPIOLIB_IRQCHIP
93 select GENERIC_PINCONF
95 driver for memory mapped GPIO functionality on AMD platforms
96 (x86 or arm).Most pins are usually muxed to some other
97 functionality by firmware,so only a small amount is available
100 Requires ACPI/FDT device enumeration code to set up a platform
103 config PINCTRL_DA850_PUPD
104 tristate "TI DA850/OMAP-L138/AM18XX pullup/pulldown groups"
105 depends on OF && (ARCH_DAVINCI_DA850 || COMPILE_TEST)
107 select GENERIC_PINCONF
109 Driver for TI DA850/OMAP-L138/AM18XX pinconf. Used to control
110 pullup/pulldown pin groups.
112 config PINCTRL_DIGICOLOR
114 depends on OF && (ARCH_DIGICOLOR || COMPILE_TEST)
116 select GENERIC_PINCONF
118 config PINCTRL_LANTIQ
124 config PINCTRL_LPC18XX
125 bool "NXP LPC18XX/43XX SCU pinctrl driver"
126 depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
129 select GENERIC_PINCONF
131 Pinctrl driver for NXP LPC18xx/43xx System Control Unit (SCU).
133 config PINCTRL_FALCON
135 depends on SOC_FALCON
136 depends on PINCTRL_LANTIQ
143 select GENERIC_PINCONF
153 select GENERIC_PINCONF
156 select GPIOLIB_IRQCHIP
159 config PINCTRL_ROCKCHIP
162 select GENERIC_PINCONF
163 select GENERIC_IRQ_CHIP
166 config PINCTRL_SINGLE
167 tristate "One-register-per-pin type device tree based pinctrl driver"
169 select GENERIC_PINCTRL_GROUPS
170 select GENERIC_PINMUX_FUNCTIONS
171 select GENERIC_PINCONF
173 This selects the device tree based generic pinctrl driver.
176 bool "CSR SiRFprimaII pin controller driver"
180 select GENERIC_PINCONF
181 select GPIOLIB_IRQCHIP
183 config PINCTRL_SX150X
184 bool "Semtech SX150x I2C GPIO expander pinctrl driver"
185 depends on GPIOLIB && I2C=y
188 select GENERIC_PINCONF
189 select GPIOLIB_IRQCHIP
192 Say yes here to provide support for Semtech SX150x-series I2C
193 GPIO expanders as pinctrl module.
194 Compatible models include:
195 - 8 bits: sx1508q, sx1502q
196 - 16 bits: sx1509q, sx1506q
198 config PINCTRL_PISTACHIO
199 def_bool y if MACH_PISTACHIO
202 select GENERIC_PINCONF
203 select GPIOLIB_IRQCHIP
211 select GPIOLIB_IRQCHIP
213 config PINCTRL_TZ1090
214 bool "Toumaz Xenif TZ1090 pin control driver"
215 depends on SOC_TZ1090
217 select GENERIC_PINCONF
219 config PINCTRL_TZ1090_PDC
220 bool "Toumaz Xenif TZ1090 PDC pin control driver"
221 depends on SOC_TZ1090
226 bool "U300 pin controller driver"
229 select GENERIC_PINCONF
231 config PINCTRL_COH901
232 bool "ST-Ericsson U300 COH 901 335/571 GPIO"
233 depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
234 select GPIOLIB_IRQCHIP
236 Say yes here to support GPIO interface on ST-Ericsson U300.
237 The names of the two IP block variants supported are
238 COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
239 ports of 8 GPIO pins each.
241 config PINCTRL_MAX77620
242 tristate "MAX77620/MAX20024 Pincontrol support"
243 depends on MFD_MAX77620 && OF
245 select GENERIC_PINCONF
247 Say Yes here to enable Pin control support for Maxim PMIC MAX77620.
248 This PMIC has 8 GPIO pins that work as GPIO as well as special
249 function in alternate mode. This driver also configure push-pull,
250 open drain, FPS slots etc.
252 config PINCTRL_PALMAS
253 tristate "Pinctrl driver for the PALMAS Series MFD devices"
254 depends on OF && MFD_PALMAS
256 select GENERIC_PINCONF
258 Palmas device supports the configuration of pins for different
259 functionality. This driver supports the pinmux, push-pull and
260 open drain configuration for the Palmas series devices like
261 TPS65913, TPS80036 etc.
264 bool "Microchip PIC32 pin controller driver"
266 depends on MACH_PIC32
268 select GENERIC_PINCONF
269 select GPIOLIB_IRQCHIP
272 This is the pin controller and gpio driver for Microchip PIC32
273 microcontrollers. This option is selected automatically when specific
274 machine and arch are selected to build.
276 config PINCTRL_PIC32MZDA
277 def_bool y if PIC32MZDA
281 bool "Pinctrl driver for Xilinx Zynq"
284 select GENERIC_PINCONF
286 This selects the pinctrl driver for Xilinx Zynq.
288 source "drivers/pinctrl/aspeed/Kconfig"
289 source "drivers/pinctrl/bcm/Kconfig"
290 source "drivers/pinctrl/berlin/Kconfig"
291 source "drivers/pinctrl/freescale/Kconfig"
292 source "drivers/pinctrl/intel/Kconfig"
293 source "drivers/pinctrl/mvebu/Kconfig"
294 source "drivers/pinctrl/nomadik/Kconfig"
295 source "drivers/pinctrl/pxa/Kconfig"
296 source "drivers/pinctrl/qcom/Kconfig"
297 source "drivers/pinctrl/samsung/Kconfig"
298 source "drivers/pinctrl/sh-pfc/Kconfig"
299 source "drivers/pinctrl/spear/Kconfig"
300 source "drivers/pinctrl/stm32/Kconfig"
301 source "drivers/pinctrl/sunxi/Kconfig"
302 source "drivers/pinctrl/tegra/Kconfig"
303 source "drivers/pinctrl/ti/Kconfig"
304 source "drivers/pinctrl/uniphier/Kconfig"
305 source "drivers/pinctrl/vt8500/Kconfig"
306 source "drivers/pinctrl/mediatek/Kconfig"
310 depends on SOC_TYPE_XWAY
311 depends on PINCTRL_LANTIQ
315 depends on OF && ARC_PLAT_TB10X