2 # PINCTRL infrastructure and drivers
12 bool "Support pin multiplexing controllers" if COMPILE_TEST
15 bool "Support pin configuration controllers" if COMPILE_TEST
17 config GENERIC_PINCONF
22 bool "Debug PINCTRL calls"
23 depends on DEBUG_KERNEL
25 Say Y here to add some extra checks and diagnostics to PINCTRL calls.
28 bool "ADI pin controller driver"
33 This is the pin controller and gpio driver for ADI BF54x, BF60x and
34 future processors. This option is selected automatically when specific
35 machine and arch are selected to build.
38 tristate "Pinctrl and GPIO driver for ams AS3722 PMIC"
39 depends on MFD_AS3722 && GPIOLIB
41 select GENERIC_PINCONF
43 AS3722 device supports the configuration of GPIO pins for different
44 functionality. This driver supports the pinmux, push-pull and
45 open drain configuration for the GPIO pins of AS3722 devices. It also
46 supports the GPIO functionality through gpiolib.
57 bool "AT91 pinctrl driver"
64 select GPIOLIB_IRQCHIP
66 Say Y here to enable the at91 pinctrl driver
68 config PINCTRL_AT91PIO4
69 bool "AT91 PIO4 pinctrl driver"
73 select GENERIC_PINCONF
75 select GPIOLIB_IRQCHIP
78 Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4
79 controller available on sama5d2 SoC.
82 tristate "AMD GPIO pin control"
84 select GPIOLIB_IRQCHIP
86 select GENERIC_PINCONF
88 driver for memory mapped GPIO functionality on AMD platforms
89 (x86 or arm).Most pins are usually muxed to some other
90 functionality by firmware,so only a small amount is available
93 Requires ACPI/FDT device enumeration code to set up a platform
96 config PINCTRL_DA850_PUPD
97 tristate "TI DA850/OMAP-L138/AM18XX pullup/pulldown groups"
98 depends on OF && (ARCH_DAVINCI_DA850 || COMPILE_TEST)
100 select GENERIC_PINCONF
102 Driver for TI DA850/OMAP-L138/AM18XX pinconf. Used to control
103 pullup/pulldown pin groups.
105 config PINCTRL_DIGICOLOR
107 depends on OF && (ARCH_DIGICOLOR || COMPILE_TEST)
109 select GENERIC_PINCONF
111 config PINCTRL_LANTIQ
117 config PINCTRL_LPC18XX
118 bool "NXP LPC18XX/43XX SCU pinctrl driver"
119 depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
122 select GENERIC_PINCONF
124 Pinctrl driver for NXP LPC18xx/43xx System Control Unit (SCU).
126 config PINCTRL_FALCON
128 depends on SOC_FALCON
129 depends on PINCTRL_LANTIQ
136 select GENERIC_PINCONF
146 select GENERIC_PINCONF
149 select GPIOLIB_IRQCHIP
152 config PINCTRL_ROCKCHIP
155 select GENERIC_PINCONF
156 select GENERIC_IRQ_CHIP
159 config PINCTRL_SINGLE
160 tristate "One-register-per-pin type device tree based pinctrl driver"
164 select GENERIC_PINCONF
166 This selects the device tree based generic pinctrl driver.
169 bool "CSR SiRFprimaII pin controller driver"
173 select GENERIC_PINCONF
174 select GPIOLIB_IRQCHIP
176 config PINCTRL_SX150X
177 bool "Semtech SX150x I2C GPIO expander pinctrl driver"
178 depends on GPIOLIB && I2C=y
181 select GENERIC_PINCONF
182 select GPIOLIB_IRQCHIP
185 Say yes here to provide support for Semtech SX150x-series I2C
186 GPIO expanders as pinctrl module.
187 Compatible models include:
188 - 8 bits: sx1508q, sx1502q
189 - 16 bits: sx1509q, sx1506q
191 config PINCTRL_PISTACHIO
192 def_bool y if MACH_PISTACHIO
195 select GENERIC_PINCONF
196 select GPIOLIB_IRQCHIP
204 select GPIOLIB_IRQCHIP
206 config PINCTRL_TZ1090
207 bool "Toumaz Xenif TZ1090 pin control driver"
208 depends on SOC_TZ1090
210 select GENERIC_PINCONF
212 config PINCTRL_TZ1090_PDC
213 bool "Toumaz Xenif TZ1090 PDC pin control driver"
214 depends on SOC_TZ1090
219 bool "U300 pin controller driver"
222 select GENERIC_PINCONF
224 config PINCTRL_COH901
225 bool "ST-Ericsson U300 COH 901 335/571 GPIO"
226 depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
227 select GPIOLIB_IRQCHIP
229 Say yes here to support GPIO interface on ST-Ericsson U300.
230 The names of the two IP block variants supported are
231 COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
232 ports of 8 GPIO pins each.
234 config PINCTRL_MAX77620
235 tristate "MAX77620/MAX20024 Pincontrol support"
236 depends on MFD_MAX77620 && OF
238 select GENERIC_PINCONF
240 Say Yes here to enable Pin control support for Maxim PMIC MAX77620.
241 This PMIC has 8 GPIO pins that work as GPIO as well as special
242 function in alternate mode. This driver also configure push-pull,
243 open drain, FPS slots etc.
245 config PINCTRL_PALMAS
246 tristate "Pinctrl driver for the PALMAS Series MFD devices"
247 depends on OF && MFD_PALMAS
249 select GENERIC_PINCONF
251 Palmas device supports the configuration of pins for different
252 functionality. This driver supports the pinmux, push-pull and
253 open drain configuration for the Palmas series devices like
254 TPS65913, TPS80036 etc.
257 bool "Microchip PIC32 pin controller driver"
259 depends on MACH_PIC32
261 select GENERIC_PINCONF
262 select GPIOLIB_IRQCHIP
265 This is the pin controller and gpio driver for Microchip PIC32
266 microcontrollers. This option is selected automatically when specific
267 machine and arch are selected to build.
269 config PINCTRL_PIC32MZDA
270 def_bool y if PIC32MZDA
274 bool "Pinctrl driver for Xilinx Zynq"
277 select GENERIC_PINCONF
279 This selects the pinctrl driver for Xilinx Zynq.
281 source "drivers/pinctrl/aspeed/Kconfig"
282 source "drivers/pinctrl/bcm/Kconfig"
283 source "drivers/pinctrl/berlin/Kconfig"
284 source "drivers/pinctrl/freescale/Kconfig"
285 source "drivers/pinctrl/intel/Kconfig"
286 source "drivers/pinctrl/mvebu/Kconfig"
287 source "drivers/pinctrl/nomadik/Kconfig"
288 source "drivers/pinctrl/pxa/Kconfig"
289 source "drivers/pinctrl/qcom/Kconfig"
290 source "drivers/pinctrl/samsung/Kconfig"
291 source "drivers/pinctrl/sh-pfc/Kconfig"
292 source "drivers/pinctrl/spear/Kconfig"
293 source "drivers/pinctrl/stm32/Kconfig"
294 source "drivers/pinctrl/sunxi/Kconfig"
295 source "drivers/pinctrl/tegra/Kconfig"
296 source "drivers/pinctrl/uniphier/Kconfig"
297 source "drivers/pinctrl/vt8500/Kconfig"
298 source "drivers/pinctrl/mediatek/Kconfig"
302 depends on SOC_TYPE_XWAY
303 depends on PINCTRL_LANTIQ
307 depends on OF && ARC_PLAT_TB10X