2 # PINCTRL infrastructure and drivers
10 config GENERIC_PINCTRL_GROUPS
14 bool "Support pin multiplexing controllers" if COMPILE_TEST
16 config GENERIC_PINMUX_FUNCTIONS
21 bool "Support pin configuration controllers" if COMPILE_TEST
23 config GENERIC_PINCONF
28 bool "Debug PINCTRL calls"
29 depends on DEBUG_KERNEL
31 Say Y here to add some extra checks and diagnostics to PINCTRL calls.
33 config PINCTRL_ARTPEC6
34 bool "Axis ARTPEC-6 pin controller driver"
35 depends on MACH_ARTPEC6
37 select GENERIC_PINCONF
39 This is the driver for the Axis ARTPEC-6 pin controller. This driver
40 supports pin function multiplexing as well as pin bias and drive
41 strength configuration. Device tree integration instructions can be
42 found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt
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.
56 tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support"
60 select GENERIC_PINCONF
63 AXP PMICs provides multiple GPIOs that can be muxed for different
64 functions. This driver bundles a pinctrl driver to select the function
65 muxing and a GPIO driver to handle the GPIO when the GPIO function is
67 Say yes to enable pinctrl and GPIO support for the AXP209 PMIC
70 bool "AT91 pinctrl driver"
77 select GPIOLIB_IRQCHIP
79 Say Y here to enable the at91 pinctrl driver
81 config PINCTRL_AT91PIO4
82 bool "AT91 PIO4 pinctrl driver"
86 select GENERIC_PINCONF
88 select GPIOLIB_IRQCHIP
91 Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4
92 controller available on sama5d2 SoC.
95 tristate "AMD GPIO pin control"
98 select GPIOLIB_IRQCHIP
101 select GENERIC_PINCONF
103 driver for memory mapped GPIO functionality on AMD platforms
104 (x86 or arm).Most pins are usually muxed to some other
105 functionality by firmware,so only a small amount is available
108 Requires ACPI/FDT device enumeration code to set up a platform
111 config PINCTRL_BM1880
112 bool "Bitmain BM1880 Pinctrl driver"
113 depends on OF && (ARCH_BITMAIN || COMPILE_TEST)
117 Pinctrl driver for Bitmain BM1880 SoC.
119 config PINCTRL_DA850_PUPD
120 tristate "TI DA850/OMAP-L138/AM18XX pullup/pulldown groups"
121 depends on OF && (ARCH_DAVINCI_DA850 || COMPILE_TEST)
123 select GENERIC_PINCONF
125 Driver for TI DA850/OMAP-L138/AM18XX pinconf. Used to control
126 pullup/pulldown pin groups.
128 config PINCTRL_DIGICOLOR
130 depends on OF && (ARCH_DIGICOLOR || COMPILE_TEST)
132 select GENERIC_PINCONF
134 config PINCTRL_LANTIQ
140 config PINCTRL_LPC18XX
141 bool "NXP LPC18XX/43XX SCU pinctrl driver"
142 depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
145 select GENERIC_PINCONF
147 Pinctrl driver for NXP LPC18xx/43xx System Control Unit (SCU).
149 config PINCTRL_FALCON
151 depends on SOC_FALCON
152 depends on PINCTRL_LANTIQ
154 config PINCTRL_GEMINI
156 depends on ARCH_GEMINI
159 select GENERIC_PINCONF
162 config PINCTRL_MCP23S08
163 tristate "Microchip MCP23xxx I/O expander"
164 depends on SPI_MASTER || I2C
165 depends on I2C || I2C=n
167 select GPIOLIB_IRQCHIP
168 select REGMAP_I2C if I2C
169 select REGMAP_SPI if SPI_MASTER
170 select GENERIC_PINCONF
172 SPI/I2C driver for Microchip MCP23S08 / MCP23S17 / MCP23S18 /
173 MCP23008 / MCP23017 / MCP23018 I/O expanders.
174 This provides a GPIO interface supporting inputs and outputs and a
175 corresponding interrupt-controller.
182 select GENERIC_PINCONF
185 select GPIOLIB_IRQCHIP
188 config PINCTRL_ROCKCHIP
191 select GENERIC_PINCONF
192 select GENERIC_IRQ_CHIP
196 bool "Renesas RZ/A1 gpio and pinctrl driver"
198 depends on ARCH_R7S72100 || COMPILE_TEST
200 select GENERIC_PINCTRL_GROUPS
201 select GENERIC_PINMUX_FUNCTIONS
202 select GENERIC_PINCONF
204 This selects pinctrl driver for Renesas RZ/A1 platforms.
207 bool "Renesas RZ/A2 gpio and pinctrl driver"
209 depends on ARCH_R7S9210 || COMPILE_TEST
211 select GENERIC_PINCTRL_GROUPS
212 select GENERIC_PINMUX_FUNCTIONS
213 select GENERIC_PINCONF
215 This selects GPIO and pinctrl driver for Renesas RZ/A2 platforms.
218 bool "Renesas RZ/N1 pinctrl driver"
220 depends on ARCH_RZN1 || COMPILE_TEST
221 select GENERIC_PINCTRL_GROUPS
222 select GENERIC_PINMUX_FUNCTIONS
223 select GENERIC_PINCONF
225 This selects pinctrl driver for Renesas RZ/N1 devices.
227 config PINCTRL_SINGLE
228 tristate "One-register-per-pin type device tree based pinctrl driver"
231 select GENERIC_PINCTRL_GROUPS
232 select GENERIC_PINMUX_FUNCTIONS
233 select GENERIC_PINCONF
235 This selects the device tree based generic pinctrl driver.
238 bool "CSR SiRFprimaII pin controller driver"
242 select GENERIC_PINCONF
243 select GPIOLIB_IRQCHIP
245 config PINCTRL_SX150X
246 bool "Semtech SX150x I2C GPIO expander pinctrl driver"
250 select GENERIC_PINCONF
252 select GPIOLIB_IRQCHIP
255 Say yes here to provide support for Semtech SX150x-series I2C
256 GPIO expanders as pinctrl module.
257 Compatible models include:
258 - 8 bits: sx1508q, sx1502q
259 - 16 bits: sx1509q, sx1506q
261 config PINCTRL_PISTACHIO
262 def_bool y if MACH_PISTACHIO
265 select GENERIC_PINCONF
266 select GPIOLIB_IRQCHIP
274 select GPIOLIB_IRQCHIP
277 tristate "STMicroelectronics STMFX GPIO expander pinctrl driver"
279 depends on OF || COMPILE_TEST
280 select GENERIC_PINCONF
281 select GPIOLIB_IRQCHIP
284 Driver for STMicroelectronics Multi-Function eXpander (STMFX)
286 This provides a GPIO interface supporting inputs and outputs,
287 and configuring push-pull, open-drain, and can also be used as
288 interrupt-controller.
291 bool "U300 pin controller driver"
294 select GENERIC_PINCONF
296 config PINCTRL_COH901
297 bool "ST-Ericsson U300 COH 901 335/571 GPIO"
298 depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
299 select GPIOLIB_IRQCHIP
301 Say yes here to support GPIO interface on ST-Ericsson U300.
302 The names of the two IP block variants supported are
303 COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
304 ports of 8 GPIO pins each.
306 config PINCTRL_MAX77620
307 tristate "MAX77620/MAX20024 Pincontrol support"
308 depends on MFD_MAX77620 && OF
310 select GENERIC_PINCONF
312 Say Yes here to enable Pin control support for Maxim PMIC MAX77620.
313 This PMIC has 8 GPIO pins that work as GPIO as well as special
314 function in alternate mode. This driver also configure push-pull,
315 open drain, FPS slots etc.
317 config PINCTRL_PALMAS
318 tristate "Pinctrl driver for the PALMAS Series MFD devices"
319 depends on OF && MFD_PALMAS
321 select GENERIC_PINCONF
323 Palmas device supports the configuration of pins for different
324 functionality. This driver supports the pinmux, push-pull and
325 open drain configuration for the Palmas series devices like
326 TPS65913, TPS80036 etc.
329 bool "Microchip PIC32 pin controller driver"
331 depends on MACH_PIC32
333 select GENERIC_PINCONF
334 select GPIOLIB_IRQCHIP
337 This is the pin controller and gpio driver for Microchip PIC32
338 microcontrollers. This option is selected automatically when specific
339 machine and arch are selected to build.
341 config PINCTRL_PIC32MZDA
342 def_bool y if PIC32MZDA
346 bool "Pinctrl driver for Xilinx Zynq"
349 select GENERIC_PINCONF
351 This selects the pinctrl driver for Xilinx Zynq.
353 config PINCTRL_INGENIC
354 bool "Pinctrl driver for the Ingenic JZ47xx SoCs"
357 depends on MIPS || COMPILE_TEST
358 select GENERIC_PINCONF
359 select GENERIC_PINCTRL_GROUPS
360 select GENERIC_PINMUX_FUNCTIONS
362 select GPIOLIB_IRQCHIP
366 tristate "Pinctrl and GPIO driver for RK805 PMIC"
370 select GENERIC_PINCONF
372 This selects the pinctrl driver for RK805.
374 config PINCTRL_OCELOT
375 bool "Pinctrl driver for the Microsemi Ocelot and Jaguar2 SoCs"
379 select GPIOLIB_IRQCHIP
380 select GENERIC_PINCONF
381 select GENERIC_PINCTRL_GROUPS
382 select GENERIC_PINMUX_FUNCTIONS
386 source "drivers/pinctrl/actions/Kconfig"
387 source "drivers/pinctrl/aspeed/Kconfig"
388 source "drivers/pinctrl/bcm/Kconfig"
389 source "drivers/pinctrl/berlin/Kconfig"
390 source "drivers/pinctrl/freescale/Kconfig"
391 source "drivers/pinctrl/intel/Kconfig"
392 source "drivers/pinctrl/mvebu/Kconfig"
393 source "drivers/pinctrl/nomadik/Kconfig"
394 source "drivers/pinctrl/nuvoton/Kconfig"
395 source "drivers/pinctrl/pxa/Kconfig"
396 source "drivers/pinctrl/qcom/Kconfig"
397 source "drivers/pinctrl/samsung/Kconfig"
398 source "drivers/pinctrl/sh-pfc/Kconfig"
399 source "drivers/pinctrl/spear/Kconfig"
400 source "drivers/pinctrl/sprd/Kconfig"
401 source "drivers/pinctrl/stm32/Kconfig"
402 source "drivers/pinctrl/sunxi/Kconfig"
403 source "drivers/pinctrl/tegra/Kconfig"
404 source "drivers/pinctrl/ti/Kconfig"
405 source "drivers/pinctrl/uniphier/Kconfig"
406 source "drivers/pinctrl/vt8500/Kconfig"
407 source "drivers/pinctrl/mediatek/Kconfig"
408 source "drivers/pinctrl/zte/Kconfig"
409 source "drivers/pinctrl/meson/Kconfig"
410 source "drivers/pinctrl/cirrus/Kconfig"
414 depends on SOC_TYPE_XWAY
415 depends on PINCTRL_LANTIQ
419 depends on OF && ARC_PLAT_TB10X