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.
44 config PINCTRL_ARTPEC6
45 bool "Axis ARTPEC-6 pin controller driver"
46 depends on MACH_ARTPEC6
48 select GENERIC_PINCONF
50 This is the driver for the Axis ARTPEC-6 pin controller. This driver
51 supports pin function multiplexing as well as pin bias and drive
52 strength configuration. Device tree integration instructions can be
53 found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt
56 tristate "Pinctrl and GPIO driver for ams AS3722 PMIC"
57 depends on MFD_AS3722 && GPIOLIB
59 select GENERIC_PINCONF
61 AS3722 device supports the configuration of GPIO pins for different
62 functionality. This driver supports the pinmux, push-pull and
63 open drain configuration for the GPIO pins of AS3722 devices. It also
64 supports the GPIO functionality through gpiolib.
75 bool "AT91 pinctrl driver"
82 select GPIOLIB_IRQCHIP
84 Say Y here to enable the at91 pinctrl driver
86 config PINCTRL_AT91PIO4
87 bool "AT91 PIO4 pinctrl driver"
91 select GENERIC_PINCONF
93 select GPIOLIB_IRQCHIP
96 Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4
97 controller available on sama5d2 SoC.
100 tristate "AMD GPIO pin control"
102 select GPIOLIB_IRQCHIP
104 select GENERIC_PINCONF
106 driver for memory mapped GPIO functionality on AMD platforms
107 (x86 or arm).Most pins are usually muxed to some other
108 functionality by firmware,so only a small amount is available
111 Requires ACPI/FDT device enumeration code to set up a platform
114 config PINCTRL_DA850_PUPD
115 tristate "TI DA850/OMAP-L138/AM18XX pullup/pulldown groups"
116 depends on OF && (ARCH_DAVINCI_DA850 || COMPILE_TEST)
118 select GENERIC_PINCONF
120 Driver for TI DA850/OMAP-L138/AM18XX pinconf. Used to control
121 pullup/pulldown pin groups.
123 config PINCTRL_DIGICOLOR
125 depends on OF && (ARCH_DIGICOLOR || COMPILE_TEST)
127 select GENERIC_PINCONF
129 config PINCTRL_LANTIQ
135 config PINCTRL_LPC18XX
136 bool "NXP LPC18XX/43XX SCU pinctrl driver"
137 depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
140 select GENERIC_PINCONF
142 Pinctrl driver for NXP LPC18xx/43xx System Control Unit (SCU).
144 config PINCTRL_FALCON
146 depends on SOC_FALCON
147 depends on PINCTRL_LANTIQ
149 config PINCTRL_MCP23S08
150 tristate "Microchip MCP23xxx I/O expander"
151 depends on SPI_MASTER || I2C
152 depends on I2C || I2C=n
153 select GPIOLIB_IRQCHIP
154 select REGMAP_I2C if I2C
155 select REGMAP_SPI if SPI_MASTER
156 select GENERIC_PINCONF
158 SPI/I2C driver for Microchip MCP23S08/MCP23S17/MCP23008/MCP23017
160 This provides a GPIO interface supporting inputs and outputs.
161 The I2C versions of the chips can be used as interrupt-controller.
168 select GENERIC_PINCONF
178 select GENERIC_PINCONF
181 select GPIOLIB_IRQCHIP
184 config PINCTRL_ROCKCHIP
187 select GENERIC_PINCONF
188 select GENERIC_IRQ_CHIP
192 bool "Renesas RZ/A1 gpio and pinctrl driver"
194 depends on ARCH_R7S72100 || COMPILE_TEST
196 select GENERIC_PINCTRL_GROUPS
197 select GENERIC_PINMUX_FUNCTIONS
198 select GENERIC_PINCONF
200 This selects pinctrl driver for Renesas RZ/A1 platforms.
202 config PINCTRL_SINGLE
203 tristate "One-register-per-pin type device tree based pinctrl driver"
205 select GENERIC_PINCTRL_GROUPS
206 select GENERIC_PINMUX_FUNCTIONS
207 select GENERIC_PINCONF
209 This selects the device tree based generic pinctrl driver.
212 bool "CSR SiRFprimaII pin controller driver"
216 select GENERIC_PINCONF
217 select GPIOLIB_IRQCHIP
219 config PINCTRL_SX150X
220 bool "Semtech SX150x I2C GPIO expander pinctrl driver"
221 depends on GPIOLIB && I2C=y
224 select GENERIC_PINCONF
225 select GPIOLIB_IRQCHIP
228 Say yes here to provide support for Semtech SX150x-series I2C
229 GPIO expanders as pinctrl module.
230 Compatible models include:
231 - 8 bits: sx1508q, sx1502q
232 - 16 bits: sx1509q, sx1506q
234 config PINCTRL_PISTACHIO
235 def_bool y if MACH_PISTACHIO
238 select GENERIC_PINCONF
239 select GPIOLIB_IRQCHIP
247 select GPIOLIB_IRQCHIP
249 config PINCTRL_TZ1090
250 bool "Toumaz Xenif TZ1090 pin control driver"
251 depends on SOC_TZ1090
253 select GENERIC_PINCONF
255 config PINCTRL_TZ1090_PDC
256 bool "Toumaz Xenif TZ1090 PDC pin control driver"
257 depends on SOC_TZ1090
262 bool "U300 pin controller driver"
265 select GENERIC_PINCONF
267 config PINCTRL_COH901
268 bool "ST-Ericsson U300 COH 901 335/571 GPIO"
269 depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
270 select GPIOLIB_IRQCHIP
272 Say yes here to support GPIO interface on ST-Ericsson U300.
273 The names of the two IP block variants supported are
274 COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
275 ports of 8 GPIO pins each.
277 config PINCTRL_MAX77620
278 tristate "MAX77620/MAX20024 Pincontrol support"
279 depends on MFD_MAX77620 && OF
281 select GENERIC_PINCONF
283 Say Yes here to enable Pin control support for Maxim PMIC MAX77620.
284 This PMIC has 8 GPIO pins that work as GPIO as well as special
285 function in alternate mode. This driver also configure push-pull,
286 open drain, FPS slots etc.
288 config PINCTRL_PALMAS
289 tristate "Pinctrl driver for the PALMAS Series MFD devices"
290 depends on OF && MFD_PALMAS
292 select GENERIC_PINCONF
294 Palmas device supports the configuration of pins for different
295 functionality. This driver supports the pinmux, push-pull and
296 open drain configuration for the Palmas series devices like
297 TPS65913, TPS80036 etc.
300 bool "Microchip PIC32 pin controller driver"
302 depends on MACH_PIC32
304 select GENERIC_PINCONF
305 select GPIOLIB_IRQCHIP
308 This is the pin controller and gpio driver for Microchip PIC32
309 microcontrollers. This option is selected automatically when specific
310 machine and arch are selected to build.
312 config PINCTRL_PIC32MZDA
313 def_bool y if PIC32MZDA
317 bool "Pinctrl driver for Xilinx Zynq"
320 select GENERIC_PINCONF
322 This selects the pinctrl driver for Xilinx Zynq.
324 config PINCTRL_INGENIC
325 bool "Pinctrl driver for the Ingenic JZ47xx SoCs"
328 depends on MACH_INGENIC || COMPILE_TEST
329 select GENERIC_PINCONF
330 select GENERIC_PINCTRL_GROUPS
331 select GENERIC_PINMUX_FUNCTIONS
334 source "drivers/pinctrl/aspeed/Kconfig"
335 source "drivers/pinctrl/bcm/Kconfig"
336 source "drivers/pinctrl/berlin/Kconfig"
337 source "drivers/pinctrl/freescale/Kconfig"
338 source "drivers/pinctrl/intel/Kconfig"
339 source "drivers/pinctrl/mvebu/Kconfig"
340 source "drivers/pinctrl/nomadik/Kconfig"
341 source "drivers/pinctrl/pxa/Kconfig"
342 source "drivers/pinctrl/qcom/Kconfig"
343 source "drivers/pinctrl/samsung/Kconfig"
344 source "drivers/pinctrl/sh-pfc/Kconfig"
345 source "drivers/pinctrl/spear/Kconfig"
346 source "drivers/pinctrl/stm32/Kconfig"
347 source "drivers/pinctrl/sunxi/Kconfig"
348 source "drivers/pinctrl/tegra/Kconfig"
349 source "drivers/pinctrl/ti/Kconfig"
350 source "drivers/pinctrl/uniphier/Kconfig"
351 source "drivers/pinctrl/vt8500/Kconfig"
352 source "drivers/pinctrl/mediatek/Kconfig"
353 source "drivers/pinctrl/zte/Kconfig"
357 depends on SOC_TYPE_XWAY
358 depends on PINCTRL_LANTIQ
362 depends on OF && ARC_PLAT_TB10X