xref: /linux/drivers/pinctrl/Kconfig (revision a0f160ffcb83de6a04fa75f9e7bdfe969f2863f7)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
22744e8afSLinus Walleij#
32744e8afSLinus Walleij# PINCTRL infrastructure and drivers
42744e8afSLinus Walleij#
52744e8afSLinus Walleij
6d219b924SPhil Reidmenuconfig PINCTRL
7d219b924SPhil Reid	bool "Pin controllers"
82744e8afSLinus Walleij
9d219b924SPhil Reidif PINCTRL
1045f034efSLinus Walleij
11c033a718SLinus Walleijconfig GENERIC_PINCTRL_GROUPS
12c7059c5aSTony Lindgren	bool
13c7059c5aSTony Lindgren
142744e8afSLinus Walleijconfig PINMUX
15244e95a7SUwe Kleine-König	bool "Support pin multiplexing controllers" if COMPILE_TEST
16ae6b4d85SLinus Walleij
17a76edc89STony Lindgrenconfig GENERIC_PINMUX_FUNCTIONS
18a76edc89STony Lindgren	bool
19a76edc89STony Lindgren	select PINMUX
20a76edc89STony Lindgren
21ae6b4d85SLinus Walleijconfig PINCONF
22244e95a7SUwe Kleine-König	bool "Support pin configuration controllers" if COMPILE_TEST
232744e8afSLinus Walleij
24394349f7SLinus Walleijconfig GENERIC_PINCONF
25394349f7SLinus Walleij	bool
26394349f7SLinus Walleij	select PINCONF
27394349f7SLinus Walleij
282744e8afSLinus Walleijconfig DEBUG_PINCTRL
292744e8afSLinus Walleij	bool "Debug PINCTRL calls"
302744e8afSLinus Walleij	depends on DEBUG_KERNEL
312744e8afSLinus Walleij	help
322744e8afSLinus Walleij	  Say Y here to add some extra checks and diagnostics to PINCTRL calls.
332744e8afSLinus Walleij
34*a0f160ffSJoey Goulyconfig PINCTRL_APPLE_GPIO
35*a0f160ffSJoey Gouly	tristate "Apple SoC GPIO pin controller driver"
36*a0f160ffSJoey Gouly	depends on ARCH_APPLE
37*a0f160ffSJoey Gouly	select PINMUX
38*a0f160ffSJoey Gouly	select GPIOLIB
39*a0f160ffSJoey Gouly	select GPIOLIB_IRQCHIP
40*a0f160ffSJoey Gouly	select GENERIC_PINCTRL_GROUPS
41*a0f160ffSJoey Gouly	select GENERIC_PINMUX_FUNCTIONS
42*a0f160ffSJoey Gouly	select OF_GPIO
43*a0f160ffSJoey Gouly	help
44*a0f160ffSJoey Gouly	  This is the driver for the GPIO controller found on Apple ARM SoCs,
45*a0f160ffSJoey Gouly	  including M1.
46*a0f160ffSJoey Gouly
47*a0f160ffSJoey Gouly	  This driver can also be built as a module. If so, the module
48*a0f160ffSJoey Gouly	  will be called pinctrl-apple-gpio.
49*a0f160ffSJoey Gouly
5000df0582SJesper Nilssonconfig PINCTRL_ARTPEC6
5100df0582SJesper Nilsson	bool "Axis ARTPEC-6 pin controller driver"
5200df0582SJesper Nilsson	depends on MACH_ARTPEC6
5300df0582SJesper Nilsson	select PINMUX
5400df0582SJesper Nilsson	select GENERIC_PINCONF
5500df0582SJesper Nilsson	help
5600df0582SJesper Nilsson	  This is the driver for the Axis ARTPEC-6 pin controller. This driver
5700df0582SJesper Nilsson	  supports pin function multiplexing as well as pin bias and drive
5800df0582SJesper Nilsson	  strength configuration. Device tree integration instructions can be
5900df0582SJesper Nilsson	  found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt
6000df0582SJesper Nilsson
61c8ce8782SLaxman Dewanganconfig PINCTRL_AS3722
629385f35dSPaul Gortmaker	tristate "Pinctrl and GPIO driver for ams AS3722 PMIC"
63c8ce8782SLaxman Dewangan	depends on MFD_AS3722 && GPIOLIB
64c8ce8782SLaxman Dewangan	select PINMUX
65c8ce8782SLaxman Dewangan	select GENERIC_PINCONF
66c8ce8782SLaxman Dewangan	help
67c8ce8782SLaxman Dewangan	  AS3722 device supports the configuration of GPIO pins for different
68c8ce8782SLaxman Dewangan	  functionality. This driver supports the pinmux, push-pull and
69c8ce8782SLaxman Dewangan	  open drain configuration for the GPIO pins of AS3722 devices. It also
70c8ce8782SLaxman Dewangan	  supports the GPIO functionality through gpiolib.
71c8ce8782SLaxman Dewangan
72449317a8SQuentin Schulzconfig PINCTRL_AXP209
73449317a8SQuentin Schulz	tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support"
74449317a8SQuentin Schulz	depends on MFD_AXP20X
75971f1b38SQuentin Schulz	depends on OF
76971f1b38SQuentin Schulz	select PINMUX
77971f1b38SQuentin Schulz	select GENERIC_PINCONF
78971f1b38SQuentin Schulz	select GPIOLIB
79449317a8SQuentin Schulz	help
80449317a8SQuentin Schulz	  AXP PMICs provides multiple GPIOs that can be muxed for different
81449317a8SQuentin Schulz	  functions. This driver bundles a pinctrl driver to select the function
82449317a8SQuentin Schulz	  muxing and a GPIO driver to handle the GPIO when the GPIO function is
83449317a8SQuentin Schulz	  selected.
84449317a8SQuentin Schulz	  Say yes to enable pinctrl and GPIO support for the AXP209 PMIC
85449317a8SQuentin Schulz
866732ae5cSJean-Christophe PLAGNIOL-VILLARDconfig PINCTRL_AT91
876732ae5cSJean-Christophe PLAGNIOL-VILLARD	bool "AT91 pinctrl driver"
886732ae5cSJean-Christophe PLAGNIOL-VILLARD	depends on OF
896732ae5cSJean-Christophe PLAGNIOL-VILLARD	depends on ARCH_AT91
906732ae5cSJean-Christophe PLAGNIOL-VILLARD	select PINMUX
916732ae5cSJean-Christophe PLAGNIOL-VILLARD	select PINCONF
9280cc3732SAlexander Stein	select GPIOLIB
9380cc3732SAlexander Stein	select OF_GPIO
9480cc3732SAlexander Stein	select GPIOLIB_IRQCHIP
956732ae5cSJean-Christophe PLAGNIOL-VILLARD	help
966732ae5cSJean-Christophe PLAGNIOL-VILLARD	  Say Y here to enable the at91 pinctrl driver
976732ae5cSJean-Christophe PLAGNIOL-VILLARD
9877618084SLudovic Desrochesconfig PINCTRL_AT91PIO4
9977618084SLudovic Desroches	bool "AT91 PIO4 pinctrl driver"
10077618084SLudovic Desroches	depends on OF
1010a03658dSTiezhu Yang	depends on HAS_IOMEM
102e682fcc7STiezhu Yang	depends on ARCH_AT91 || COMPILE_TEST
10377618084SLudovic Desroches	select PINMUX
10477618084SLudovic Desroches	select GENERIC_PINCONF
10577618084SLudovic Desroches	select GPIOLIB
10677618084SLudovic Desroches	select GPIOLIB_IRQCHIP
10777618084SLudovic Desroches	select OF_GPIO
10877618084SLudovic Desroches	help
10977618084SLudovic Desroches	  Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4
11077618084SLudovic Desroches	  controller available on sama5d2 SoC.
11177618084SLudovic Desroches
112dbad75ddSKen Xueconfig PINCTRL_AMD
113337ea0fbSJean Delvare	tristate "AMD GPIO pin control"
114fd35b202SLinus Walleij	depends on HAS_IOMEM
11547fa5c97SGeert Uytterhoeven	depends on ACPI || COMPILE_TEST
116e2a021d4SLinus Walleij	select GPIOLIB
117dbad75ddSKen Xue	select GPIOLIB_IRQCHIP
11883b31c2aSPetr Mladek	select PINMUX
119dbad75ddSKen Xue	select PINCONF
120dbad75ddSKen Xue	select GENERIC_PINCONF
121dbad75ddSKen Xue	help
122dbad75ddSKen Xue	  driver for memory mapped GPIO functionality on AMD platforms
123dbad75ddSKen Xue	  (x86 or arm).Most pins are usually muxed to some other
124dbad75ddSKen Xue	  functionality by firmware,so only a small amount is available
125dbad75ddSKen Xue	  for gpio use.
126dbad75ddSKen Xue
127dbad75ddSKen Xue	  Requires ACPI/FDT device enumeration code to set up a platform
128dbad75ddSKen Xue	  device.
129dbad75ddSKen Xue
1308f3f0246SManivannan Sadhasivamconfig PINCTRL_BM1880
1318f3f0246SManivannan Sadhasivam	bool "Bitmain BM1880 Pinctrl driver"
1328293b3c6SManivannan Sadhasivam	depends on OF && (ARCH_BITMAIN || COMPILE_TEST)
1338293b3c6SManivannan Sadhasivam	default ARCH_BITMAIN
1348f3f0246SManivannan Sadhasivam	select PINMUX
1358f3f0246SManivannan Sadhasivam	help
1368f3f0246SManivannan Sadhasivam	  Pinctrl driver for Bitmain BM1880 SoC.
1378f3f0246SManivannan Sadhasivam
1381ff91f0aSDavid Lechnerconfig PINCTRL_DA850_PUPD
1391ff91f0aSDavid Lechner	tristate "TI DA850/OMAP-L138/AM18XX pullup/pulldown groups"
1401ff91f0aSDavid Lechner	depends on OF && (ARCH_DAVINCI_DA850 || COMPILE_TEST)
1411ff91f0aSDavid Lechner	select PINCONF
1421ff91f0aSDavid Lechner	select GENERIC_PINCONF
1431ff91f0aSDavid Lechner	help
1441ff91f0aSDavid Lechner	  Driver for TI DA850/OMAP-L138/AM18XX pinconf. Used to control
1451ff91f0aSDavid Lechner	  pullup/pulldown pin groups.
1461ff91f0aSDavid Lechner
14756cc3af4SMarco Felschconfig PINCTRL_DA9062
14856cc3af4SMarco Felsch	tristate "Dialog Semiconductor DA9062 PMIC pinctrl and GPIO Support"
14956cc3af4SMarco Felsch	depends on MFD_DA9062
15056cc3af4SMarco Felsch	select GPIOLIB
15156cc3af4SMarco Felsch	help
15256cc3af4SMarco Felsch	  The Dialog DA9062 PMIC provides multiple GPIOs that can be muxed for
15356cc3af4SMarco Felsch	  different functions. This driver bundles a pinctrl driver to select the
15456cc3af4SMarco Felsch	  function muxing and a GPIO driver to handle the GPIO when the GPIO
15556cc3af4SMarco Felsch	  function is selected.
15656cc3af4SMarco Felsch
15756cc3af4SMarco Felsch	  Say yes to enable pinctrl and GPIO support for the DA9062 PMIC.
15856cc3af4SMarco Felsch
15938b0e507SBaruch Siachconfig PINCTRL_DIGICOLOR
16038b0e507SBaruch Siach	bool
16138b0e507SBaruch Siach	depends on OF && (ARCH_DIGICOLOR || COMPILE_TEST)
16238b0e507SBaruch Siach	select PINMUX
16338b0e507SBaruch Siach	select GENERIC_PINCONF
16438b0e507SBaruch Siach
1653f8c50c9SJohn Crispinconfig PINCTRL_LANTIQ
1663f8c50c9SJohn Crispin	bool
1673f8c50c9SJohn Crispin	depends on LANTIQ
1683f8c50c9SJohn Crispin	select PINMUX
1693f8c50c9SJohn Crispin	select PINCONF
1703f8c50c9SJohn Crispin
1712f77ac93SJoachim Eastwoodconfig PINCTRL_LPC18XX
1722f77ac93SJoachim Eastwood	bool "NXP LPC18XX/43XX SCU pinctrl driver"
1732f77ac93SJoachim Eastwood	depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
1742f77ac93SJoachim Eastwood	default ARCH_LPC18XX
1752f77ac93SJoachim Eastwood	select PINMUX
1762f77ac93SJoachim Eastwood	select GENERIC_PINCONF
1772f77ac93SJoachim Eastwood	help
1782f77ac93SJoachim Eastwood	  Pinctrl driver for NXP LPC18xx/43xx System Control Unit (SCU).
1792f77ac93SJoachim Eastwood
180e316cb2bSJohn Crispinconfig PINCTRL_FALCON
181e316cb2bSJohn Crispin	bool
182e316cb2bSJohn Crispin	depends on SOC_FALCON
183e316cb2bSJohn Crispin	depends on PINCTRL_LANTIQ
184e316cb2bSJohn Crispin
18506351d13SLinus Walleijconfig PINCTRL_GEMINI
18606351d13SLinus Walleij	bool
18706351d13SLinus Walleij	depends on ARCH_GEMINI
18806351d13SLinus Walleij	default ARCH_GEMINI
18906351d13SLinus Walleij	select PINMUX
1901c5b7f3cSLinus Walleij	select GENERIC_PINCONF
19106351d13SLinus Walleij	select MFD_SYSCON
19206351d13SLinus Walleij
1930f04a817SAndy Shevchenkoconfig PINCTRL_MCP23S08_I2C
1940f04a817SAndy Shevchenko	tristate
1950f04a817SAndy Shevchenko	select REGMAP_I2C
1960f04a817SAndy Shevchenko
1970f04a817SAndy Shevchenkoconfig PINCTRL_MCP23S08_SPI
1980f04a817SAndy Shevchenko	tristate
1990f04a817SAndy Shevchenko	select REGMAP_SPI
2000f04a817SAndy Shevchenko
20164ac43e6SSebastian Reichelconfig PINCTRL_MCP23S08
20264ac43e6SSebastian Reichel	tristate "Microchip MCP23xxx I/O expander"
20364ac43e6SSebastian Reichel	depends on SPI_MASTER || I2C
204e2a021d4SLinus Walleij	select GPIOLIB
20564ac43e6SSebastian Reichel	select GPIOLIB_IRQCHIP
20682039d24SSebastian Reichel	select GENERIC_PINCONF
2070f04a817SAndy Shevchenko	select PINCTRL_MCP23S08_I2C if I2C
2080f04a817SAndy Shevchenko	select PINCTRL_MCP23S08_SPI if SPI_MASTER
20964ac43e6SSebastian Reichel	help
2106ff45566SJan Kundrát	  SPI/I2C driver for Microchip MCP23S08 / MCP23S17 / MCP23S18 /
2116ff45566SJan Kundrát	  MCP23008 / MCP23017 / MCP23018 I/O expanders.
2126ff45566SJan Kundrát	  This provides a GPIO interface supporting inputs and outputs and a
2136ff45566SJan Kundrát	  corresponding interrupt-controller.
21464ac43e6SSebastian Reichel
215611dac1eSNeil Armstrongconfig PINCTRL_OXNAS
216611dac1eSNeil Armstrong	bool
217611dac1eSNeil Armstrong	depends on OF
218611dac1eSNeil Armstrong	select PINMUX
219611dac1eSNeil Armstrong	select PINCONF
220611dac1eSNeil Armstrong	select GENERIC_PINCONF
221611dac1eSNeil Armstrong	select GPIOLIB
222611dac1eSNeil Armstrong	select OF_GPIO
223611dac1eSNeil Armstrong	select GPIOLIB_IRQCHIP
224611dac1eSNeil Armstrong	select MFD_SYSCON
225611dac1eSNeil Armstrong
226d3e51161SHeiko Stübnerconfig PINCTRL_ROCKCHIP
227be786ac5SJianqun Xu	tristate "Rockchip gpio and pinctrl driver"
228febb4ee2SGeert Uytterhoeven	depends on ARCH_ROCKCHIP || COMPILE_TEST
2290662e4a1SHeiko Stuebner	depends on OF
23025fda51cSJianqun Xu	select GPIOLIB
231d3e51161SHeiko Stübner	select PINMUX
232d3e51161SHeiko Stübner	select GENERIC_PINCONF
233d3e51161SHeiko Stübner	select GENERIC_IRQ_CHIP
234751a99abSHeiko Stübner	select MFD_SYSCON
2350662e4a1SHeiko Stuebner	select OF_GPIO
23625fda51cSJianqun Xu	default ARCH_ROCKCHIP
23725fda51cSJianqun Xu	help
23825fda51cSJianqun Xu          This support pinctrl and gpio driver for Rockchip SoCs.
239d3e51161SHeiko Stübner
2408b8b091bSTony Lindgrenconfig PINCTRL_SINGLE
2418b8b091bSTony Lindgren	tristate "One-register-per-pin type device tree based pinctrl driver"
2428b8b091bSTony Lindgren	depends on OF
243fd35b202SLinus Walleij	depends on HAS_IOMEM
244caeb774eSTony Lindgren	select GENERIC_PINCTRL_GROUPS
245571aec4dSTony Lindgren	select GENERIC_PINMUX_FUNCTIONS
2469dddb4dfSHaojian Zhuang	select GENERIC_PINCONF
2478b8b091bSTony Lindgren	help
2488b8b091bSTony Lindgren	  This selects the device tree based generic pinctrl driver.
2498b8b091bSTony Lindgren
2509e80f906SNeil Armstrongconfig PINCTRL_SX150X
2519e80f906SNeil Armstrong	bool "Semtech SX150x I2C GPIO expander pinctrl driver"
252e2a021d4SLinus Walleij	depends on I2C=y
2539e80f906SNeil Armstrong	select PINMUX
2549e80f906SNeil Armstrong	select PINCONF
2559e80f906SNeil Armstrong	select GENERIC_PINCONF
256e2a021d4SLinus Walleij	select GPIOLIB
2579e80f906SNeil Armstrong	select GPIOLIB_IRQCHIP
2580db0f26cSAndrey Smirnov	select REGMAP
2599e80f906SNeil Armstrong	help
2609e80f906SNeil Armstrong	  Say yes here to provide support for Semtech SX150x-series I2C
2619e80f906SNeil Armstrong	  GPIO expanders as pinctrl module.
2629e80f906SNeil Armstrong	  Compatible models include:
2639e80f906SNeil Armstrong	  - 8 bits:  sx1508q, sx1502q
2649e80f906SNeil Armstrong	  - 16 bits: sx1509q, sx1506q
2659e80f906SNeil Armstrong
266cefc03e5SAndrew Brestickerconfig PINCTRL_PISTACHIO
2676ceb3c64SJiaxun Yang	bool "IMG Pistachio SoC pinctrl driver"
2686ceb3c64SJiaxun Yang	depends on OF && (MIPS || COMPILE_TEST)
269cefc03e5SAndrew Bresticker	depends on GPIOLIB
270cefc03e5SAndrew Bresticker	select PINMUX
271cefc03e5SAndrew Bresticker	select GENERIC_PINCONF
272cefc03e5SAndrew Bresticker	select GPIOLIB_IRQCHIP
273cefc03e5SAndrew Bresticker	select OF_GPIO
2746ceb3c64SJiaxun Yang    help
2756ceb3c64SJiaxun Yang	  This support pinctrl and gpio driver for IMG Pistachio SoC.
276cefc03e5SAndrew Bresticker
277701016c0SSrinivas KANDAGATLAconfig PINCTRL_ST
278701016c0SSrinivas KANDAGATLA	bool
279701016c0SSrinivas KANDAGATLA	depends on OF
280701016c0SSrinivas KANDAGATLA	select PINMUX
281701016c0SSrinivas KANDAGATLA	select PINCONF
282130cbe30SLinus Walleij	select GPIOLIB_IRQCHIP
283701016c0SSrinivas KANDAGATLA
2841490d9f8SAmelie Delaunayconfig PINCTRL_STMFX
2851490d9f8SAmelie Delaunay	tristate "STMicroelectronics STMFX GPIO expander pinctrl driver"
2869af2de76SAmelie Delaunay	depends on I2C
287ec2e0f4fSAmelie Delaunay	depends on OF_GPIO
2881490d9f8SAmelie Delaunay	select GENERIC_PINCONF
2891490d9f8SAmelie Delaunay	select GPIOLIB_IRQCHIP
2901490d9f8SAmelie Delaunay	select MFD_STMFX
2911490d9f8SAmelie Delaunay	help
2921490d9f8SAmelie Delaunay	  Driver for STMicroelectronics Multi-Function eXpander (STMFX)
2931490d9f8SAmelie Delaunay	  GPIO expander.
2941490d9f8SAmelie Delaunay	  This provides a GPIO interface supporting inputs and outputs,
2951490d9f8SAmelie Delaunay	  and configuring push-pull, open-drain, and can also be used as
2961490d9f8SAmelie Delaunay	  interrupt-controller.
2971490d9f8SAmelie Delaunay
2982df723d4SLaxman Dewanganconfig PINCTRL_MAX77620
2992df723d4SLaxman Dewangan	tristate "MAX77620/MAX20024 Pincontrol support"
30024d6a91cSArnd Bergmann	depends on MFD_MAX77620 && OF
30179f28b9fSArnd Bergmann	select PINMUX
3022df723d4SLaxman Dewangan	select GENERIC_PINCONF
3032df723d4SLaxman Dewangan	help
3042df723d4SLaxman Dewangan	  Say Yes here to enable Pin control support for Maxim PMIC MAX77620.
3052df723d4SLaxman Dewangan	  This PMIC has 8 GPIO pins that work as GPIO as well as special
3062df723d4SLaxman Dewangan	  function in alternate mode. This driver also configure push-pull,
3072df723d4SLaxman Dewangan	  open drain, FPS slots etc.
3082df723d4SLaxman Dewangan
3090a8d3e24SLaxman Dewanganconfig PINCTRL_PALMAS
310767b8ce3SPaul Gortmaker	tristate "Pinctrl driver for the PALMAS Series MFD devices"
3110a8d3e24SLaxman Dewangan	depends on OF && MFD_PALMAS
31263ca8db7SAxel Lin	select PINMUX
3130a8d3e24SLaxman Dewangan	select GENERIC_PINCONF
3140a8d3e24SLaxman Dewangan	help
3150a8d3e24SLaxman Dewangan	  Palmas device supports the configuration of pins for different
3160a8d3e24SLaxman Dewangan	  functionality. This driver supports the pinmux, push-pull and
3170a8d3e24SLaxman Dewangan	  open drain configuration for the Palmas series devices like
3180a8d3e24SLaxman Dewangan	  TPS65913, TPS80036 etc.
3190a8d3e24SLaxman Dewangan
3202ba384e6SJoshua Hendersonconfig PINCTRL_PIC32
3212ba384e6SJoshua Henderson	bool "Microchip PIC32 pin controller driver"
3222ba384e6SJoshua Henderson	depends on OF
3232ba384e6SJoshua Henderson	depends on MACH_PIC32
3242ba384e6SJoshua Henderson	select PINMUX
3252ba384e6SJoshua Henderson	select GENERIC_PINCONF
3262ba384e6SJoshua Henderson	select GPIOLIB_IRQCHIP
3272ba384e6SJoshua Henderson	select OF_GPIO
3282ba384e6SJoshua Henderson	help
3292ba384e6SJoshua Henderson	  This is the pin controller and gpio driver for Microchip PIC32
3302ba384e6SJoshua Henderson	  microcontrollers. This option is selected automatically when specific
3312ba384e6SJoshua Henderson	  machine and arch are selected to build.
3322ba384e6SJoshua Henderson
3332ba384e6SJoshua Hendersonconfig PINCTRL_PIC32MZDA
3342ba384e6SJoshua Henderson	def_bool y if PIC32MZDA
3352ba384e6SJoshua Henderson	select PINCTRL_PIC32
3362ba384e6SJoshua Henderson
337add958ceSSoren Brinkmannconfig PINCTRL_ZYNQ
338add958ceSSoren Brinkmann	bool "Pinctrl driver for Xilinx Zynq"
339add958ceSSoren Brinkmann	depends on ARCH_ZYNQ
340add958ceSSoren Brinkmann	select PINMUX
341add958ceSSoren Brinkmann	select GENERIC_PINCONF
342add958ceSSoren Brinkmann	help
343485dba27SMasahiro Yamada	  This selects the pinctrl driver for Xilinx Zynq.
344add958ceSSoren Brinkmann
3458b242ca7SSai Krishna Potthuriconfig PINCTRL_ZYNQMP
3468b242ca7SSai Krishna Potthuri	tristate "Pinctrl driver for Xilinx ZynqMP"
3478b242ca7SSai Krishna Potthuri	depends on ZYNQMP_FIRMWARE
3488b242ca7SSai Krishna Potthuri	select PINMUX
3498b242ca7SSai Krishna Potthuri	select GENERIC_PINCONF
3508b242ca7SSai Krishna Potthuri	default ZYNQMP_FIRMWARE
3518b242ca7SSai Krishna Potthuri	help
3528b242ca7SSai Krishna Potthuri	  This selects the pinctrl driver for Xilinx ZynqMP platform.
3538b242ca7SSai Krishna Potthuri	  This driver will query the pin information from the firmware
3548b242ca7SSai Krishna Potthuri	  and allow configuring the pins.
3558b242ca7SSai Krishna Potthuri	  Configuration can include the mux function to select on those
3568b242ca7SSai Krishna Potthuri	  pin(s)/group(s), and various pin configuration parameters
3578b242ca7SSai Krishna Potthuri	  such as pull-up, slew rate, etc.
358fa99e701SSai Krishna Potthuri	  This driver can also be built as a module. If so, the module
359fa99e701SSai Krishna Potthuri	  will be called pinctrl-zynqmp.
3608b242ca7SSai Krishna Potthuri
361b5c23aa4SPaul Cercueilconfig PINCTRL_INGENIC
362b5c23aa4SPaul Cercueil	bool "Pinctrl driver for the Ingenic JZ47xx SoCs"
363635c20a1SPaul Cercueil	default MACH_INGENIC
364c504985eSLinus Walleij	depends on OF
365635c20a1SPaul Cercueil	depends on MIPS || COMPILE_TEST
366b5c23aa4SPaul Cercueil	select GENERIC_PINCONF
367b5c23aa4SPaul Cercueil	select GENERIC_PINCTRL_GROUPS
368b5c23aa4SPaul Cercueil	select GENERIC_PINMUX_FUNCTIONS
369e72394e2SPaul Cercueil	select GPIOLIB
370e72394e2SPaul Cercueil	select GPIOLIB_IRQCHIP
371b5c23aa4SPaul Cercueil	select REGMAP_MMIO
372b5c23aa4SPaul Cercueil
373ea479996SJoseph Chenconfig PINCTRL_RK805
374ea479996SJoseph Chen	tristate "Pinctrl and GPIO driver for RK805 PMIC"
375ea479996SJoseph Chen	depends on MFD_RK808
376ea479996SJoseph Chen	select GPIOLIB
377ea479996SJoseph Chen	select PINMUX
378ea479996SJoseph Chen	select GENERIC_PINCONF
379ea479996SJoseph Chen	help
380ea479996SJoseph Chen	  This selects the pinctrl driver for RK805.
381ea479996SJoseph Chen
382ce8dc094SAlexandre Belloniconfig PINCTRL_OCELOT
383da801ab5SAlexandre Belloni	bool "Pinctrl driver for the Microsemi Ocelot and Jaguar2 SoCs"
384ce8dc094SAlexandre Belloni	depends on OF
3852dab3dd1SLinus Walleij	depends on HAS_IOMEM
386ce8dc094SAlexandre Belloni	select GPIOLIB
387be36abb7SQuentin Schulz	select GPIOLIB_IRQCHIP
388ce8dc094SAlexandre Belloni	select GENERIC_PINCONF
389ce8dc094SAlexandre Belloni	select GENERIC_PINCTRL_GROUPS
390ce8dc094SAlexandre Belloni	select GENERIC_PINMUX_FUNCTIONS
391da801ab5SAlexandre Belloni	select OF_GPIO
392ce8dc094SAlexandre Belloni	select REGMAP_MMIO
393ce8dc094SAlexandre Belloni
3947e5ea974SLars Povlsenconfig PINCTRL_MICROCHIP_SGPIO
3957e5ea974SLars Povlsen	bool "Pinctrl driver for Microsemi/Microchip Serial GPIO"
396552a9cc0SLars Povlsen	depends on OF
3977e5ea974SLars Povlsen	depends on HAS_IOMEM
3987e5ea974SLars Povlsen	select GPIOLIB
399be2dc859SLars Povlsen	select GPIOLIB_IRQCHIP
4007e5ea974SLars Povlsen	select GENERIC_PINCONF
4017e5ea974SLars Povlsen	select GENERIC_PINCTRL_GROUPS
4027e5ea974SLars Povlsen	select GENERIC_PINMUX_FUNCTIONS
403552a9cc0SLars Povlsen	select OF_GPIO
4047e5ea974SLars Povlsen	help
4057e5ea974SLars Povlsen	  Support for the serial GPIO interface used on Microsemi and
4067e5ea974SLars Povlsen	  Microchip SoC's. By using a serial interface, the SIO
4077e5ea974SLars Povlsen	  controller significantly extends the number of available
4087e5ea974SLars Povlsen	  GPIOs with a minimum number of additional pins on the
4097e5ea974SLars Povlsen	  device. The primary purpose of the SIO controller is to
4107e5ea974SLars Povlsen	  connect control signals from SFP modules and to act as an
4117e5ea974SLars Povlsen	  LED controller.
4127e5ea974SLars Povlsen
413d4c34d09SDamien Le Moalconfig PINCTRL_K210
414d4c34d09SDamien Le Moal	bool "Pinctrl driver for the Canaan Kendryte K210 SoC"
415d4c34d09SDamien Le Moal	depends on RISCV && SOC_CANAAN && OF
416d4c34d09SDamien Le Moal	select GENERIC_PINMUX_FUNCTIONS
417d4c34d09SDamien Le Moal	select GENERIC_PINCONF
418d4c34d09SDamien Le Moal	select GPIOLIB
419d4c34d09SDamien Le Moal	select OF_GPIO
420d4c34d09SDamien Le Moal	select REGMAP_MMIO
421d4c34d09SDamien Le Moal	default SOC_CANAAN
422d4c34d09SDamien Le Moal	help
423d4c34d09SDamien Le Moal	  Add support for the Canaan Kendryte K210 RISC-V SOC Field
424d4c34d09SDamien Le Moal	  Programmable IO Array (FPIOA) controller.
425d4c34d09SDamien Le Moal
426ffd4e739SLakshmi Sowjanya Dconfig PINCTRL_KEEMBAY
427ffd4e739SLakshmi Sowjanya D	tristate "Pinctrl driver for Intel Keem Bay SoC"
428ffd4e739SLakshmi Sowjanya D	depends on ARCH_KEEMBAY || (ARM64 && COMPILE_TEST)
429ffd4e739SLakshmi Sowjanya D	depends on HAS_IOMEM
430ffd4e739SLakshmi Sowjanya D	select PINMUX
431ffd4e739SLakshmi Sowjanya D	select PINCONF
432ffd4e739SLakshmi Sowjanya D	select GENERIC_PINCONF
433ffd4e739SLakshmi Sowjanya D	select GENERIC_PINCTRL_GROUPS
434ffd4e739SLakshmi Sowjanya D	select GENERIC_PINMUX_FUNCTIONS
435ffd4e739SLakshmi Sowjanya D	select GPIOLIB
436ffd4e739SLakshmi Sowjanya D	select GPIOLIB_IRQCHIP
437ffd4e739SLakshmi Sowjanya D	select GPIO_GENERIC
438ffd4e739SLakshmi Sowjanya D	help
439ffd4e739SLakshmi Sowjanya D	  This selects pin control driver for the Intel Keembay SoC.
440ffd4e739SLakshmi Sowjanya D	  It provides pin config functions such as pullup, pulldown,
441ffd4e739SLakshmi Sowjanya D	  interrupt, drive strength, sec lock, schmitt trigger, slew
442ffd4e739SLakshmi Sowjanya D	  rate control and direction control. This module will be
443ffd4e739SLakshmi Sowjanya D	  called as pinctrl-keembay.
444ffd4e739SLakshmi Sowjanya D
4452242ddfbSManivannan Sadhasivamsource "drivers/pinctrl/actions/Kconfig"
4464d3d0e42SAndrew Jefferysource "drivers/pinctrl/aspeed/Kconfig"
447b17f2f9bSRay Juisource "drivers/pinctrl/bcm/Kconfig"
4483de68d33SAntoine Tenartsource "drivers/pinctrl/berlin/Kconfig"
449edad3b2aSLinus Walleijsource "drivers/pinctrl/freescale/Kconfig"
4505fae8b86SMika Westerbergsource "drivers/pinctrl/intel/Kconfig"
45106763c74SThomas Petazzonisource "drivers/pinctrl/mvebu/Kconfig"
4523a198059SLinus Walleijsource "drivers/pinctrl/nomadik/Kconfig"
4533b588e43STomer Maimonsource "drivers/pinctrl/nuvoton/Kconfig"
4544b15ec9dSRobert Jarzmiksource "drivers/pinctrl/pxa/Kconfig"
45569b78b8dSLinus Walleijsource "drivers/pinctrl/qcom/Kconfig"
456518b466aSSergio Paracuellossource "drivers/pinctrl/ralink/Kconfig"
457077365a9SGeert Uytterhoevensource "drivers/pinctrl/renesas/Kconfig"
458ebe629a3SSachin Kamatsource "drivers/pinctrl/samsung/Kconfig"
459deda8287SViresh Kumarsource "drivers/pinctrl/spear/Kconfig"
46041d32cfcSBaolin Wangsource "drivers/pinctrl/sprd/Kconfig"
461aceb16dcSMaxime Coquelinsource "drivers/pinctrl/stm32/Kconfig"
4625f910777SMaxime Ripardsource "drivers/pinctrl/sunxi/Kconfig"
46325cbac77SMasahiro Yamadasource "drivers/pinctrl/tegra/Kconfig"
464003910ebSNishanth Menonsource "drivers/pinctrl/ti/Kconfig"
4656e908892SMasahiro Yamadasource "drivers/pinctrl/uniphier/Kconfig"
466170c6152STony Prisksource "drivers/pinctrl/vt8500/Kconfig"
467a6df410dSHongzhou Yangsource "drivers/pinctrl/mediatek/Kconfig"
468277d14ebSJerome Brunetsource "drivers/pinctrl/meson/Kconfig"
469218d72a7SRichard Fitzgeraldsource "drivers/pinctrl/cirrus/Kconfig"
470a68a7844SNobuhiro Iwamatsusource "drivers/pinctrl/visconti/Kconfig"
471deda8287SViresh Kumar
4723f8c50c9SJohn Crispinconfig PINCTRL_XWAY
4733f8c50c9SJohn Crispin	bool
4743f8c50c9SJohn Crispin	depends on SOC_TYPE_XWAY
4753f8c50c9SJohn Crispin	depends on PINCTRL_LANTIQ
4763f8c50c9SJohn Crispin
4775aad0db1SChristian Ruppertconfig PINCTRL_TB10X
4785aad0db1SChristian Ruppert	bool
479b99e6fb8SLinus Walleij	depends on OF && ARC_PLAT_TB10X
480b99e6fb8SLinus Walleij	select GPIOLIB
4815aad0db1SChristian Ruppert
4821948d5c5SRahul Tanwarconfig PINCTRL_EQUILIBRIUM
4831948d5c5SRahul Tanwar	tristate "Generic pinctrl and GPIO driver for Intel Lightning Mountain SoC"
4849e65527aSPaul Cercueil	depends on OF && HAS_IOMEM
48580691a8aSGeert Uytterhoeven	depends on X86 || COMPILE_TEST
4861948d5c5SRahul Tanwar	select PINMUX
4871948d5c5SRahul Tanwar	select PINCONF
4881948d5c5SRahul Tanwar	select GPIOLIB
4891948d5c5SRahul Tanwar	select GPIO_GENERIC
4901948d5c5SRahul Tanwar	select GPIOLIB_IRQCHIP
4911948d5c5SRahul Tanwar	select GENERIC_PINCONF
4921948d5c5SRahul Tanwar	select GENERIC_PINCTRL_GROUPS
4931948d5c5SRahul Tanwar	select GENERIC_PINMUX_FUNCTIONS
4941948d5c5SRahul Tanwar
4951948d5c5SRahul Tanwar	help
4961948d5c5SRahul Tanwar	  Equilibrium pinctrl driver is a pinctrl & GPIO driver for Intel Lightning
4971948d5c5SRahul Tanwar	  Mountain network processor SoC that supports both the linux GPIO and pin
4981948d5c5SRahul Tanwar	  control frameworks. It provides interfaces to setup pinmux, assign desired
4991948d5c5SRahul Tanwar	  pin functions, configure GPIO attributes for LGM SoC pins. Pinmux and
5001948d5c5SRahul Tanwar	  pinconf settings are retrieved from device tree.
5011948d5c5SRahul Tanwar
502d219b924SPhil Reidendif
503