xref: /linux/drivers/pinctrl/Kconfig (revision 575f0bcd2d64e12bbe8f1f28d4f287a8872f2012)
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
2843722575SConor Dooleyconfig GENERIC_PINCTRL
2943722575SConor Dooley	bool
30ea9975c2SConor Dooley	select GENERIC_PINCONF
31ea9975c2SConor Dooley	select GENERIC_PINCTRL_GROUPS
32ea9975c2SConor Dooley	select GENERIC_PINMUX_FUNCTIONS
3343722575SConor Dooley
342744e8afSLinus Walleijconfig DEBUG_PINCTRL
352744e8afSLinus Walleij	bool "Debug PINCTRL calls"
362744e8afSLinus Walleij	depends on DEBUG_KERNEL
372744e8afSLinus Walleij	help
382744e8afSLinus Walleij	  Say Y here to add some extra checks and diagnostics to PINCTRL calls.
392744e8afSLinus Walleij
40b124c8bdSAndy Shevchenkoconfig PINCTRL_AMD
4141ef3c1aSMario Limonciello	bool "AMD GPIO pin control"
42b124c8bdSAndy Shevchenko	depends on HAS_IOMEM
43b124c8bdSAndy Shevchenko	depends on ACPI || COMPILE_TEST
44b124c8bdSAndy Shevchenko	select GPIOLIB
45b124c8bdSAndy Shevchenko	select GPIOLIB_IRQCHIP
46b124c8bdSAndy Shevchenko	select PINMUX
47b124c8bdSAndy Shevchenko	select PINCONF
48b124c8bdSAndy Shevchenko	select GENERIC_PINCONF
49b124c8bdSAndy Shevchenko	help
50b124c8bdSAndy Shevchenko	  The driver for memory mapped GPIO functionality on AMD platforms
51b124c8bdSAndy Shevchenko	  (x86 or arm). Most of the pins are usually muxed to some other
52b124c8bdSAndy Shevchenko	  functionality by firmware, so only a small amount is available
53b124c8bdSAndy Shevchenko	  for GPIO use.
54b124c8bdSAndy Shevchenko
55b124c8bdSAndy Shevchenko	  Requires ACPI/FDT device enumeration code to set up a platform
56b124c8bdSAndy Shevchenko	  device.
57b124c8bdSAndy Shevchenko
58e97435abSPratap Nirujogiconfig PINCTRL_AMDISP
59e97435abSPratap Nirujogi	tristate "AMDISP GPIO pin control"
60813b1a1aSGeert Uytterhoeven	depends on DRM_AMD_ISP || COMPILE_TEST
61e97435abSPratap Nirujogi	depends on HAS_IOMEM
62e97435abSPratap Nirujogi	select GPIOLIB
63e97435abSPratap Nirujogi	select PINCONF
64e97435abSPratap Nirujogi	select GENERIC_PINCONF
65e97435abSPratap Nirujogi	help
66e97435abSPratap Nirujogi	  The driver for memory mapped GPIO functionality on AMD platforms
67e97435abSPratap Nirujogi	  with ISP support. All the pins are output controlled only
68e97435abSPratap Nirujogi
69e97435abSPratap Nirujogi	  Requires AMDGPU to MFD add device for enumeration to set up as
70e97435abSPratap Nirujogi	  platform device.
71e97435abSPratap Nirujogi
72a0f160ffSJoey Goulyconfig PINCTRL_APPLE_GPIO
73a0f160ffSJoey Gouly	tristate "Apple SoC GPIO pin controller driver"
74a0f160ffSJoey Gouly	depends on ARCH_APPLE
75a0f160ffSJoey Gouly	select PINMUX
76a0f160ffSJoey Gouly	select GPIOLIB
77a0f160ffSJoey Gouly	select GPIOLIB_IRQCHIP
78a0f160ffSJoey Gouly	select GENERIC_PINCTRL_GROUPS
79a0f160ffSJoey Gouly	select GENERIC_PINMUX_FUNCTIONS
80a0f160ffSJoey Gouly	select OF_GPIO
81a0f160ffSJoey Gouly	help
82a0f160ffSJoey Gouly	  This is the driver for the GPIO controller found on Apple ARM SoCs,
83a0f160ffSJoey Gouly	  including M1.
84a0f160ffSJoey Gouly
85a0f160ffSJoey Gouly	  This driver can also be built as a module. If so, the module
86a0f160ffSJoey Gouly	  will be called pinctrl-apple-gpio.
87a0f160ffSJoey Gouly
8800df0582SJesper Nilssonconfig PINCTRL_ARTPEC6
8900df0582SJesper Nilsson	bool "Axis ARTPEC-6 pin controller driver"
9000df0582SJesper Nilsson	depends on MACH_ARTPEC6
9100df0582SJesper Nilsson	select PINMUX
9200df0582SJesper Nilsson	select GENERIC_PINCONF
9300df0582SJesper Nilsson	help
9400df0582SJesper Nilsson	  This is the driver for the Axis ARTPEC-6 pin controller. This driver
9500df0582SJesper Nilsson	  supports pin function multiplexing as well as pin bias and drive
9600df0582SJesper Nilsson	  strength configuration. Device tree integration instructions can be
9700df0582SJesper Nilsson	  found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt
9800df0582SJesper Nilsson
99c8ce8782SLaxman Dewanganconfig PINCTRL_AS3722
1009385f35dSPaul Gortmaker	tristate "Pinctrl and GPIO driver for ams AS3722 PMIC"
101c8ce8782SLaxman Dewangan	depends on MFD_AS3722 && GPIOLIB
102c8ce8782SLaxman Dewangan	select PINMUX
103c8ce8782SLaxman Dewangan	select GENERIC_PINCONF
104c8ce8782SLaxman Dewangan	help
105c8ce8782SLaxman Dewangan	  AS3722 device supports the configuration of GPIO pins for different
106c8ce8782SLaxman Dewangan	  functionality. This driver supports the pinmux, push-pull and
107c8ce8782SLaxman Dewangan	  open drain configuration for the GPIO pins of AS3722 devices. It also
108c8ce8782SLaxman Dewangan	  supports the GPIO functionality through gpiolib.
109c8ce8782SLaxman Dewangan
1106732ae5cSJean-Christophe PLAGNIOL-VILLARDconfig PINCTRL_AT91
1116732ae5cSJean-Christophe PLAGNIOL-VILLARD	bool "AT91 pinctrl driver"
1128e86af65SBartosz Golaszewski	depends on (OF && ARCH_AT91) || COMPILE_TEST
1136732ae5cSJean-Christophe PLAGNIOL-VILLARD	select PINMUX
1146732ae5cSJean-Christophe PLAGNIOL-VILLARD	select PINCONF
11580cc3732SAlexander Stein	select GPIOLIB
11680cc3732SAlexander Stein	select GPIOLIB_IRQCHIP
1176732ae5cSJean-Christophe PLAGNIOL-VILLARD	help
1186732ae5cSJean-Christophe PLAGNIOL-VILLARD	  Say Y here to enable the at91 pinctrl driver
1196732ae5cSJean-Christophe PLAGNIOL-VILLARD
12077618084SLudovic Desrochesconfig PINCTRL_AT91PIO4
12177618084SLudovic Desroches	bool "AT91 PIO4 pinctrl driver"
12277618084SLudovic Desroches	depends on OF
1230a03658dSTiezhu Yang	depends on HAS_IOMEM
124e682fcc7STiezhu Yang	depends on ARCH_AT91 || COMPILE_TEST
12577618084SLudovic Desroches	select PINMUX
12677618084SLudovic Desroches	select GENERIC_PINCONF
12777618084SLudovic Desroches	select GPIOLIB
12877618084SLudovic Desroches	select GPIOLIB_IRQCHIP
12977618084SLudovic Desroches	select OF_GPIO
13077618084SLudovic Desroches	help
13177618084SLudovic Desroches	  Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4
13277618084SLudovic Desroches	  controller available on sama5d2 SoC.
13377618084SLudovic Desroches
134b124c8bdSAndy Shevchenkoconfig PINCTRL_AXP209
135b124c8bdSAndy Shevchenko	tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support"
136b124c8bdSAndy Shevchenko	depends on MFD_AXP20X
137b124c8bdSAndy Shevchenko	depends on OF
13883b31c2aSPetr Mladek	select PINMUX
139dbad75ddSKen Xue	select GENERIC_PINCONF
140b124c8bdSAndy Shevchenko	select GPIOLIB
141dbad75ddSKen Xue	help
142b124c8bdSAndy Shevchenko	  AXP PMICs provides multiple GPIOs that can be muxed for different
143b124c8bdSAndy Shevchenko	  functions. This driver bundles a pinctrl driver to select the function
144b124c8bdSAndy Shevchenko	  muxing and a GPIO driver to handle the GPIO when the GPIO function is
145b124c8bdSAndy Shevchenko	  selected.
146b124c8bdSAndy Shevchenko	  Say Y to enable pinctrl and GPIO support for the AXP209 PMIC.
147dbad75ddSKen Xue
148576623d7SAngeloGioacchino Del Regnoconfig PINCTRL_AW9523
149d295ad7eSLinus Walleij	tristate "Awinic AW9523/AW9523B I2C GPIO expander pinctrl driver"
150576623d7SAngeloGioacchino Del Regno	depends on OF && I2C
151576623d7SAngeloGioacchino Del Regno	select PINMUX
152576623d7SAngeloGioacchino Del Regno	select PINCONF
153576623d7SAngeloGioacchino Del Regno	select GENERIC_PINCONF
154576623d7SAngeloGioacchino Del Regno	select GPIOLIB
155576623d7SAngeloGioacchino Del Regno	select GPIOLIB_IRQCHIP
156576623d7SAngeloGioacchino Del Regno	select REGMAP
157576623d7SAngeloGioacchino Del Regno	select REGMAP_I2C
158576623d7SAngeloGioacchino Del Regno	help
159576623d7SAngeloGioacchino Del Regno	  The Awinic AW9523/AW9523B is a multi-function I2C GPIO
160576623d7SAngeloGioacchino Del Regno	  expander with PWM functionality. This driver bundles a
161576623d7SAngeloGioacchino Del Regno	  pinctrl driver to select the function muxing and a GPIO
162576623d7SAngeloGioacchino Del Regno	  driver to handle GPIO, when the GPIO function is selected.
163576623d7SAngeloGioacchino Del Regno
164576623d7SAngeloGioacchino Del Regno	  Say yes to enable pinctrl and GPIO support for the AW9523(B).
165576623d7SAngeloGioacchino Del Regno
1668f3f0246SManivannan Sadhasivamconfig PINCTRL_BM1880
1678f3f0246SManivannan Sadhasivam	bool "Bitmain BM1880 Pinctrl driver"
1688293b3c6SManivannan Sadhasivam	depends on OF && (ARCH_BITMAIN || COMPILE_TEST)
1698293b3c6SManivannan Sadhasivam	default ARCH_BITMAIN
1708f3f0246SManivannan Sadhasivam	select PINMUX
1718f3f0246SManivannan Sadhasivam	help
1728f3f0246SManivannan Sadhasivam	  Pinctrl driver for Bitmain BM1880 SoC.
1738f3f0246SManivannan Sadhasivam
174e6cbbe42SPatrick Rudolphconfig PINCTRL_CY8C95X0
175e6cbbe42SPatrick Rudolph	tristate "Cypress CY8C95X0 I2C pinctrl and GPIO driver"
1768586466eSAndy Shevchenko	depends on I2C
177e6cbbe42SPatrick Rudolph	select GPIOLIB
178e6cbbe42SPatrick Rudolph	select GPIOLIB_IRQCHIP
179e6cbbe42SPatrick Rudolph	select PINMUX
180e6cbbe42SPatrick Rudolph	select PINCONF
181e6cbbe42SPatrick Rudolph	select GENERIC_PINCONF
182e6cbbe42SPatrick Rudolph	select REGMAP_I2C
183e6cbbe42SPatrick Rudolph	help
184e6cbbe42SPatrick Rudolph	  Support for 20/40/60 pin Cypress Cy8C95x0 pinctrl/gpio I2C expander.
185e6cbbe42SPatrick Rudolph	  This driver can also be built as a module. If so, the module will be
186e6cbbe42SPatrick Rudolph	  called pinctrl-cy8c95x0.
187e6cbbe42SPatrick Rudolph
1881ff91f0aSDavid Lechnerconfig PINCTRL_DA850_PUPD
189b124c8bdSAndy Shevchenko	tristate "TI DA850/OMAP-L138/AM18XX pull-up and pull-down groups"
1901ff91f0aSDavid Lechner	depends on OF && (ARCH_DAVINCI_DA850 || COMPILE_TEST)
1911ff91f0aSDavid Lechner	select PINCONF
1921ff91f0aSDavid Lechner	select GENERIC_PINCONF
1931ff91f0aSDavid Lechner	help
1941ff91f0aSDavid Lechner	  Driver for TI DA850/OMAP-L138/AM18XX pinconf. Used to control
195b124c8bdSAndy Shevchenko	  pull-up and pull-down pin groups.
1961ff91f0aSDavid Lechner
19756cc3af4SMarco Felschconfig PINCTRL_DA9062
19856cc3af4SMarco Felsch	tristate "Dialog Semiconductor DA9062 PMIC pinctrl and GPIO Support"
19956cc3af4SMarco Felsch	depends on MFD_DA9062
20056cc3af4SMarco Felsch	select GPIOLIB
20156cc3af4SMarco Felsch	help
20256cc3af4SMarco Felsch	  The Dialog DA9062 PMIC provides multiple GPIOs that can be muxed for
20356cc3af4SMarco Felsch	  different functions. This driver bundles a pinctrl driver to select the
20456cc3af4SMarco Felsch	  function muxing and a GPIO driver to handle the GPIO when the GPIO
20556cc3af4SMarco Felsch	  function is selected.
20656cc3af4SMarco Felsch
207b124c8bdSAndy Shevchenko	  Say Y to enable pinctrl and GPIO support for the DA9062 PMIC.
20856cc3af4SMarco Felsch
20938b0e507SBaruch Siachconfig PINCTRL_DIGICOLOR
21038b0e507SBaruch Siach	bool
211083b0230SAndy Shevchenko	depends on ARCH_DIGICOLOR || COMPILE_TEST
21238b0e507SBaruch Siach	select PINMUX
21338b0e507SBaruch Siach	select GENERIC_PINCONF
21438b0e507SBaruch Siach
2155b797bccSYulin Luconfig PINCTRL_EIC7700
2165b797bccSYulin Lu	tristate "EIC7700 PINCTRL driver"
2175b797bccSYulin Lu	depends on ARCH_ESWIN || COMPILE_TEST
2185b797bccSYulin Lu	select PINMUX
2195b797bccSYulin Lu	select GENERIC_PINCONF
220a6a2f50aSYulin Lu	select REGULATOR
221a6a2f50aSYulin Lu	select REGULATOR_FIXED_VOLTAGE
2225b797bccSYulin Lu	help
2235b797bccSYulin Lu	  This driver support for the pin controller in ESWIN's EIC7700 SoC,
2245b797bccSYulin Lu	  which supports pin multiplexing, pin configuration,and rgmii voltage
2255b797bccSYulin Lu	  control.
2265b797bccSYulin Lu	  Say Y here to enable the eic7700 pinctrl driver
2275b797bccSYulin Lu
228035f9007SNikita Shubinconfig PINCTRL_EP93XX
229035f9007SNikita Shubin	bool
230035f9007SNikita Shubin	depends on ARCH_EP93XX || COMPILE_TEST
231035f9007SNikita Shubin	select PINMUX
232035f9007SNikita Shubin	select GENERIC_PINCONF
233035f9007SNikita Shubin	select MFD_SYSCON
234035f9007SNikita Shubin
235b124c8bdSAndy Shevchenkoconfig PINCTRL_EQUILIBRIUM
236b124c8bdSAndy Shevchenko	tristate "Generic pinctrl and GPIO driver for Intel Lightning Mountain SoC"
237b124c8bdSAndy Shevchenko	depends on OF && HAS_IOMEM
238b124c8bdSAndy Shevchenko	depends on X86 || COMPILE_TEST
239b124c8bdSAndy Shevchenko	select PINMUX
240b124c8bdSAndy Shevchenko	select PINCONF
241b124c8bdSAndy Shevchenko	select GPIOLIB
242b124c8bdSAndy Shevchenko	select GPIO_GENERIC
243b124c8bdSAndy Shevchenko	select GPIOLIB_IRQCHIP
244b124c8bdSAndy Shevchenko	select GENERIC_PINCONF
245b124c8bdSAndy Shevchenko	select GENERIC_PINCTRL_GROUPS
246b124c8bdSAndy Shevchenko	select GENERIC_PINMUX_FUNCTIONS
247b124c8bdSAndy Shevchenko	help
248b124c8bdSAndy Shevchenko	  Equilibrium driver is a pinctrl and GPIO driver for Intel Lightning
249b124c8bdSAndy Shevchenko	  Mountain network processor SoC that supports both the GPIO and pin
250b124c8bdSAndy Shevchenko	  control frameworks. It provides interfaces to setup pin muxing, assign
251b124c8bdSAndy Shevchenko	  desired pin functions, configure GPIO attributes for LGM SoC pins.
252b124c8bdSAndy Shevchenko	  Pin muxing and pin config settings are retrieved from device tree.
253b124c8bdSAndy Shevchenko
25441795aa1SThéo Lebrunconfig PINCTRL_EYEQ5
25541795aa1SThéo Lebrun	bool "Mobileye EyeQ5 pinctrl driver"
25641795aa1SThéo Lebrun	depends on OF
25741795aa1SThéo Lebrun	depends on MACH_EYEQ5 || COMPILE_TEST
25841795aa1SThéo Lebrun	select PINMUX
25941795aa1SThéo Lebrun	select GENERIC_PINCONF
26041795aa1SThéo Lebrun	select AUXILIARY_BUS
26141795aa1SThéo Lebrun	default MACH_EYEQ5
26241795aa1SThéo Lebrun	help
26341795aa1SThéo Lebrun	  Pin controller driver for the Mobileye EyeQ5 platform. It does both
26441795aa1SThéo Lebrun	  pin config & pin muxing. It does not handle GPIO.
26541795aa1SThéo Lebrun
26641795aa1SThéo Lebrun	  Pin muxing supports two functions for each pin: first is GPIO, second
26741795aa1SThéo Lebrun	  is pin-dependent. Pin config is about bias & drive strength.
26841795aa1SThéo Lebrun
269b124c8bdSAndy Shevchenkoconfig PINCTRL_GEMINI
270b124c8bdSAndy Shevchenko	bool
271b124c8bdSAndy Shevchenko	depends on ARCH_GEMINI
272b124c8bdSAndy Shevchenko	default ARCH_GEMINI
273b124c8bdSAndy Shevchenko	select PINMUX
274b124c8bdSAndy Shevchenko	select GENERIC_PINCONF
275b124c8bdSAndy Shevchenko	select MFD_SYSCON
276b124c8bdSAndy Shevchenko
277b124c8bdSAndy Shevchenkoconfig PINCTRL_INGENIC
278b124c8bdSAndy Shevchenko	bool "Pinctrl driver for the Ingenic JZ47xx SoCs"
279b124c8bdSAndy Shevchenko	default MACH_INGENIC
280b124c8bdSAndy Shevchenko	depends on OF
281b124c8bdSAndy Shevchenko	depends on MIPS || COMPILE_TEST
282b124c8bdSAndy Shevchenko	select GENERIC_PINCONF
283b124c8bdSAndy Shevchenko	select GENERIC_PINCTRL_GROUPS
284b124c8bdSAndy Shevchenko	select GENERIC_PINMUX_FUNCTIONS
285b124c8bdSAndy Shevchenko	select GPIOLIB
286b124c8bdSAndy Shevchenko	select GPIOLIB_IRQCHIP
287b124c8bdSAndy Shevchenko	select REGMAP_MMIO
288b124c8bdSAndy Shevchenko
289b124c8bdSAndy Shevchenkoconfig PINCTRL_K210
290b124c8bdSAndy Shevchenko	bool "Pinctrl driver for the Canaan Kendryte K210 SoC"
2911982621dSKrzysztof Kozlowski	depends on RISCV && SOC_CANAAN_K210 || COMPILE_TEST
2921982621dSKrzysztof Kozlowski	depends on OF
293b124c8bdSAndy Shevchenko	select GENERIC_PINMUX_FUNCTIONS
294b124c8bdSAndy Shevchenko	select GENERIC_PINCONF
295b124c8bdSAndy Shevchenko	select GPIOLIB
296b124c8bdSAndy Shevchenko	select OF_GPIO
297b124c8bdSAndy Shevchenko	select REGMAP_MMIO
298c1556a9bSYangyu Chen	default SOC_CANAAN_K210
299b124c8bdSAndy Shevchenko	help
300b124c8bdSAndy Shevchenko	  Add support for the Canaan Kendryte K210 RISC-V SOC Field
301b124c8bdSAndy Shevchenko	  Programmable IO Array (FPIOA) controller.
302b124c8bdSAndy Shevchenko
303545887eaSZe Huangconfig PINCTRL_K230
304545887eaSZe Huang	bool "Pinctrl driver for the Canaan Kendryte K230 SoC"
305545887eaSZe Huang	depends on OF
306642490b5SGeert Uytterhoeven	depends on ARCH_CANAAN || COMPILE_TEST
307545887eaSZe Huang	select GENERIC_PINCTRL_GROUPS
308545887eaSZe Huang	select GENERIC_PINMUX_FUNCTIONS
309545887eaSZe Huang	select GENERIC_PINCONF
310545887eaSZe Huang	select REGMAP_MMIO
311545887eaSZe Huang	help
312545887eaSZe Huang	  Add support for the Canaan Kendryte K230 RISC-V SOC pin controller.
313545887eaSZe Huang
314b124c8bdSAndy Shevchenkoconfig PINCTRL_KEEMBAY
315b124c8bdSAndy Shevchenko	tristate "Pinctrl driver for Intel Keem Bay SoC"
316b124c8bdSAndy Shevchenko	depends on ARCH_KEEMBAY || (ARM64 && COMPILE_TEST)
317b124c8bdSAndy Shevchenko	depends on HAS_IOMEM
318b124c8bdSAndy Shevchenko	select PINMUX
319b124c8bdSAndy Shevchenko	select PINCONF
320b124c8bdSAndy Shevchenko	select GENERIC_PINCONF
321b124c8bdSAndy Shevchenko	select GENERIC_PINCTRL_GROUPS
322b124c8bdSAndy Shevchenko	select GENERIC_PINMUX_FUNCTIONS
323b124c8bdSAndy Shevchenko	select GPIOLIB
324b124c8bdSAndy Shevchenko	select GPIOLIB_IRQCHIP
325b124c8bdSAndy Shevchenko	select GPIO_GENERIC
326b124c8bdSAndy Shevchenko	help
327b124c8bdSAndy Shevchenko	  This selects pin control driver for the Intel Keem Bay SoC.
328b124c8bdSAndy Shevchenko	  It provides pin config functions such as pull-up, pull-down,
329b124c8bdSAndy Shevchenko	  interrupt, drive strength, sec lock, Schmitt trigger, slew
330b124c8bdSAndy Shevchenko	  rate control and direction control. This module will be
331b124c8bdSAndy Shevchenko	  called as pinctrl-keembay.
332b124c8bdSAndy Shevchenko
3333f8c50c9SJohn Crispinconfig PINCTRL_LANTIQ
3343f8c50c9SJohn Crispin	bool
3353f8c50c9SJohn Crispin	depends on LANTIQ
3363f8c50c9SJohn Crispin	select PINMUX
3373f8c50c9SJohn Crispin	select PINCONF
3383f8c50c9SJohn Crispin
339b124c8bdSAndy Shevchenkoconfig PINCTRL_FALCON
340b124c8bdSAndy Shevchenko	bool
341b124c8bdSAndy Shevchenko	depends on SOC_FALCON
342b124c8bdSAndy Shevchenko	depends on PINCTRL_LANTIQ
343b124c8bdSAndy Shevchenko
344f73f88acSzhanghongchenconfig PINCTRL_LOONGSON2
345f73f88acSzhanghongchen	tristate "Pinctrl driver for the Loongson-2 SoC"
346c0f358fdSRen Zhijie	depends on OF && (LOONGARCH || COMPILE_TEST)
347f73f88acSzhanghongchen	select PINMUX
348f73f88acSzhanghongchen	select GENERIC_PINCONF
349f73f88acSzhanghongchen	help
350f73f88acSzhanghongchen	 This selects pin control driver for the Loongson-2 SoC. It
351f73f88acSzhanghongchen	 provides pin config functions multiplexing.  GPIO pin pull-up,
352f73f88acSzhanghongchen	 pull-down functions are not supported. Say yes to enable
353f73f88acSzhanghongchen	 pinctrl for Loongson-2 SoC.
354f73f88acSzhanghongchen
355b124c8bdSAndy Shevchenkoconfig PINCTRL_XWAY
356b124c8bdSAndy Shevchenko	bool
357b124c8bdSAndy Shevchenko	depends on SOC_TYPE_XWAY
358b124c8bdSAndy Shevchenko	depends on PINCTRL_LANTIQ
359b124c8bdSAndy Shevchenko
3602f77ac93SJoachim Eastwoodconfig PINCTRL_LPC18XX
3612f77ac93SJoachim Eastwood	bool "NXP LPC18XX/43XX SCU pinctrl driver"
3622f77ac93SJoachim Eastwood	depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
3632f77ac93SJoachim Eastwood	default ARCH_LPC18XX
3642f77ac93SJoachim Eastwood	select PINMUX
3652f77ac93SJoachim Eastwood	select GENERIC_PINCONF
3662f77ac93SJoachim Eastwood	help
3672f77ac93SJoachim Eastwood	  Pinctrl driver for NXP LPC18xx/43xx System Control Unit (SCU).
3682f77ac93SJoachim Eastwood
369b4b993c0SMathieu Dubois-Briandconfig PINCTRL_MAX7360
370b4b993c0SMathieu Dubois-Briand	tristate "MAX7360 Pincontrol support"
371b4b993c0SMathieu Dubois-Briand	depends on MFD_MAX7360
372b4b993c0SMathieu Dubois-Briand	select PINMUX
373b4b993c0SMathieu Dubois-Briand	select GENERIC_PINCONF
374b4b993c0SMathieu Dubois-Briand	help
375b4b993c0SMathieu Dubois-Briand	  Say Y here to enable pin control support for Maxim MAX7360 keypad
376b4b993c0SMathieu Dubois-Briand	  controller.
377b4b993c0SMathieu Dubois-Briand	  This keypad controller has 8 GPIO pins that may work as GPIO, or PWM,
378b4b993c0SMathieu Dubois-Briand	  or rotary encoder alternate modes.
379b4b993c0SMathieu Dubois-Briand
380b124c8bdSAndy Shevchenkoconfig PINCTRL_MAX77620
381b124c8bdSAndy Shevchenko	tristate "MAX77620/MAX20024 Pincontrol support"
382b124c8bdSAndy Shevchenko	depends on MFD_MAX77620 && OF
38306351d13SLinus Walleij	select PINMUX
3841c5b7f3cSLinus Walleij	select GENERIC_PINCONF
385b124c8bdSAndy Shevchenko	help
386b124c8bdSAndy Shevchenko	  Say Y here to enable Pin control support for Maxim MAX77620 PMIC.
387b124c8bdSAndy Shevchenko	  This PMIC has 8 GPIO pins that work as GPIO as well as special
388b124c8bdSAndy Shevchenko	  function in alternate mode. This driver also configure push-pull,
389b124c8bdSAndy Shevchenko	  open drain, FPS slots etc.
39006351d13SLinus Walleij
3910f04a817SAndy Shevchenkoconfig PINCTRL_MCP23S08_I2C
3920f04a817SAndy Shevchenko	tristate
3930f04a817SAndy Shevchenko	select REGMAP_I2C
3940f04a817SAndy Shevchenko
3950f04a817SAndy Shevchenkoconfig PINCTRL_MCP23S08_SPI
3960f04a817SAndy Shevchenko	tristate
3970f04a817SAndy Shevchenko	select REGMAP_SPI
3980f04a817SAndy Shevchenko
39964ac43e6SSebastian Reichelconfig PINCTRL_MCP23S08
40064ac43e6SSebastian Reichel	tristate "Microchip MCP23xxx I/O expander"
40164ac43e6SSebastian Reichel	depends on SPI_MASTER || I2C
402e2a021d4SLinus Walleij	select GPIOLIB
40364ac43e6SSebastian Reichel	select GPIOLIB_IRQCHIP
40482039d24SSebastian Reichel	select GENERIC_PINCONF
4050f04a817SAndy Shevchenko	select PINCTRL_MCP23S08_I2C if I2C
4060f04a817SAndy Shevchenko	select PINCTRL_MCP23S08_SPI if SPI_MASTER
40764ac43e6SSebastian Reichel	help
4086ff45566SJan Kundrát	  SPI/I2C driver for Microchip MCP23S08 / MCP23S17 / MCP23S18 /
4096ff45566SJan Kundrát	  MCP23008 / MCP23017 / MCP23018 I/O expanders.
4106ff45566SJan Kundrát	  This provides a GPIO interface supporting inputs and outputs and a
4116ff45566SJan Kundrát	  corresponding interrupt-controller.
41264ac43e6SSebastian Reichel
413b124c8bdSAndy Shevchenkoconfig PINCTRL_MICROCHIP_SGPIO
4142f65923cSColin Foster	tristate "Pinctrl driver for Microsemi/Microchip Serial GPIO"
415b124c8bdSAndy Shevchenko	depends on OF
416b124c8bdSAndy Shevchenko	depends on HAS_IOMEM
417b124c8bdSAndy Shevchenko	select GPIOLIB
418b124c8bdSAndy Shevchenko	select GPIOLIB_IRQCHIP
419b124c8bdSAndy Shevchenko	select GENERIC_PINCONF
420b124c8bdSAndy Shevchenko	select GENERIC_PINCTRL_GROUPS
421b124c8bdSAndy Shevchenko	select GENERIC_PINMUX_FUNCTIONS
422b124c8bdSAndy Shevchenko	select OF_GPIO
423b124c8bdSAndy Shevchenko	help
424b124c8bdSAndy Shevchenko	  Support for the serial GPIO interface used on Microsemi and
425b124c8bdSAndy Shevchenko	  Microchip SoCs. By using a serial interface, the SIO
426b124c8bdSAndy Shevchenko	  controller significantly extends the number of available
427b124c8bdSAndy Shevchenko	  GPIOs with a minimum number of additional pins on the
428b124c8bdSAndy Shevchenko	  device. The primary purpose of the SIO controller is to
429b124c8bdSAndy Shevchenko	  connect control signals from SFP modules and to act as an
430b124c8bdSAndy Shevchenko	  LED controller.
431b124c8bdSAndy Shevchenko
4322f65923cSColin Foster	  If compiled as a module, the module name will be
4332f65923cSColin Foster	  pinctrl-microchip-sgpio.
4342f65923cSColin Foster
435b124c8bdSAndy Shevchenkoconfig PINCTRL_OCELOT
4364425205eSClément Léger	tristate "Pinctrl driver for the Microsemi Ocelot and Jaguar2 SoCs"
437b124c8bdSAndy Shevchenko	depends on OF
438b124c8bdSAndy Shevchenko	depends on HAS_IOMEM
439b124c8bdSAndy Shevchenko	select GPIOLIB
440b124c8bdSAndy Shevchenko	select GPIOLIB_IRQCHIP
441b124c8bdSAndy Shevchenko	select GENERIC_PINCONF
442b124c8bdSAndy Shevchenko	select GENERIC_PINCTRL_GROUPS
443b124c8bdSAndy Shevchenko	select GENERIC_PINMUX_FUNCTIONS
444b124c8bdSAndy Shevchenko	select OF_GPIO
445b124c8bdSAndy Shevchenko	select REGMAP_MMIO
4463f668365SColin Foster	help
4473f668365SColin Foster	  Support for the internal GPIO interfaces on Microsemi Ocelot and
4483f668365SColin Foster	  Jaguar2 SoCs.
4493f668365SColin Foster
4503f668365SColin Foster	  If conpiled as a module, the module name will be pinctrl-ocelot.
451b124c8bdSAndy Shevchenko
4520a8d3e24SLaxman Dewanganconfig PINCTRL_PALMAS
453767b8ce3SPaul Gortmaker	tristate "Pinctrl driver for the PALMAS Series MFD devices"
4540a8d3e24SLaxman Dewangan	depends on OF && MFD_PALMAS
45563ca8db7SAxel Lin	select PINMUX
4560a8d3e24SLaxman Dewangan	select GENERIC_PINCONF
4570a8d3e24SLaxman Dewangan	help
4580a8d3e24SLaxman Dewangan	  Palmas device supports the configuration of pins for different
4590a8d3e24SLaxman Dewangan	  functionality. This driver supports the pinmux, push-pull and
4600a8d3e24SLaxman Dewangan	  open drain configuration for the Palmas series devices like
4610a8d3e24SLaxman Dewangan	  TPS65913, TPS80036 etc.
4620a8d3e24SLaxman Dewangan
46337c646dcSHerve Codinaconfig PINCTRL_PEF2256
46437c646dcSHerve Codina	tristate "Lantiq PEF2256 (FALC56) pin controller driver"
46537c646dcSHerve Codina	depends on OF && FRAMER_PEF2256
46637c646dcSHerve Codina	select PINMUX
46737c646dcSHerve Codina	select PINCONF
46837c646dcSHerve Codina	select GENERIC_PINCONF
46937c646dcSHerve Codina	help
47037c646dcSHerve Codina	  This option enables the pin controller support for the Lantiq PEF2256
47137c646dcSHerve Codina	  framer, also known as FALC56.
47237c646dcSHerve Codina
47337c646dcSHerve Codina	  If unsure, say N.
47437c646dcSHerve Codina
47537c646dcSHerve Codina	  To compile this driver as a module, choose M here: the
47637c646dcSHerve Codina	  module will be called pinctrl-pef2256.
47737c646dcSHerve Codina
4782ba384e6SJoshua Hendersonconfig PINCTRL_PIC32
4792ba384e6SJoshua Henderson	bool "Microchip PIC32 pin controller driver"
4802ba384e6SJoshua Henderson	depends on OF
481*575f0bcdSBrian Masney	depends on MACH_PIC32 || COMPILE_TEST
4822ba384e6SJoshua Henderson	select PINMUX
4832ba384e6SJoshua Henderson	select GENERIC_PINCONF
4842ba384e6SJoshua Henderson	select GPIOLIB_IRQCHIP
4852ba384e6SJoshua Henderson	select OF_GPIO
4862ba384e6SJoshua Henderson	help
4872ba384e6SJoshua Henderson	  This is the pin controller and gpio driver for Microchip PIC32
4882ba384e6SJoshua Henderson	  microcontrollers. This option is selected automatically when specific
4892ba384e6SJoshua Henderson	  machine and arch are selected to build.
4902ba384e6SJoshua Henderson
4912ba384e6SJoshua Hendersonconfig PINCTRL_PIC32MZDA
4922ba384e6SJoshua Henderson	def_bool y if PIC32MZDA
4932ba384e6SJoshua Henderson	select PINCTRL_PIC32
4942ba384e6SJoshua Henderson
495b124c8bdSAndy Shevchenkoconfig PINCTRL_PISTACHIO
496b124c8bdSAndy Shevchenko	bool "IMG Pistachio SoC pinctrl driver"
497b124c8bdSAndy Shevchenko	depends on OF && (MIPS || COMPILE_TEST)
498b124c8bdSAndy Shevchenko	depends on GPIOLIB
499b124c8bdSAndy Shevchenko	select PINMUX
500b124c8bdSAndy Shevchenko	select GENERIC_PINCONF
501b124c8bdSAndy Shevchenko	select GPIOLIB_IRQCHIP
502b124c8bdSAndy Shevchenko	select OF_GPIO
503b124c8bdSAndy Shevchenko	help
504b124c8bdSAndy Shevchenko	  This support pinctrl and GPIO driver for IMG Pistachio SoC.
505b124c8bdSAndy Shevchenko
506b124c8bdSAndy Shevchenkoconfig PINCTRL_RK805
507b124c8bdSAndy Shevchenko	tristate "Pinctrl and GPIO driver for RK805 PMIC"
508c20e8c5bSSebastian Reichel	depends on MFD_RK8XX
509b124c8bdSAndy Shevchenko	select GPIOLIB
510b124c8bdSAndy Shevchenko	select PINMUX
511b124c8bdSAndy Shevchenko	select GENERIC_PINCONF
512b124c8bdSAndy Shevchenko	help
513b124c8bdSAndy Shevchenko	  This selects the pinctrl driver for RK805.
514b124c8bdSAndy Shevchenko
515b58f0273SJames Hoganconfig PINCTRL_ROCKCHIP
516b58f0273SJames Hogan	tristate "Rockchip gpio and pinctrl driver"
517b58f0273SJames Hogan	depends on ARCH_ROCKCHIP || COMPILE_TEST
518b58f0273SJames Hogan	depends on OF
519b58f0273SJames Hogan	select GPIOLIB
5203bece55aSLinus Walleij	select PINMUX
5213bece55aSLinus Walleij	select GENERIC_PINCONF
52298da3529SLinus Walleij	select GENERIC_IRQ_CHIP
52398da3529SLinus Walleij	select MFD_SYSCON
524dc0b1aa3SLinus Walleij	select OF_GPIO
52545f034efSLinus Walleij	default ARCH_ROCKCHIP
526ca402d37SLinus Walleij	help
527b124c8bdSAndy Shevchenko          This support pinctrl and GPIO driver for Rockchip SoCs.
528f0b9a7e5SThomas Abraham
529eb524cb6SPeng Fanconfig PINCTRL_SCMI
530eb524cb6SPeng Fan	tristate "Pinctrl driver using SCMI protocol interface"
531eb524cb6SPeng Fan	depends on ARM_SCMI_PROTOCOL || COMPILE_TEST
532eb524cb6SPeng Fan	select PINMUX
533eb524cb6SPeng Fan	select GENERIC_PINCONF
534eb524cb6SPeng Fan	help
535eb524cb6SPeng Fan	  This driver provides support for pinctrl which is controlled
536eb524cb6SPeng Fan	  by firmware that implements the SCMI interface.
537eb524cb6SPeng Fan	  It uses SCMI Message Protocol to interact with the
538eb524cb6SPeng Fan	  firmware providing all the pinctrl controls.
539eb524cb6SPeng Fan
540af99a750SHeiko Stuebnerconfig PINCTRL_SINGLE
541af99a750SHeiko Stuebner	tristate "One-register-per-pin type device tree based pinctrl driver"
542af99a750SHeiko Stuebner	depends on OF
543af99a750SHeiko Stuebner	depends on HAS_IOMEM
54461dd7261STomasz Figa	select GENERIC_PINCTRL_GROUPS
54561dd7261STomasz Figa	select GENERIC_PINMUX_FUNCTIONS
54661dd7261STomasz Figa	select GENERIC_PINCONF
54761dd7261STomasz Figa	help
54861dd7261STomasz Figa	  This selects the device tree based generic pinctrl driver.
54906763c74SThomas Petazzoni
550ca402d37SLinus Walleijconfig PINCTRL_ST
551ca402d37SLinus Walleij	bool
552ca402d37SLinus Walleij	depends on OF
55330574f0dSThomas Abraham	select PINMUX
554cbc351abSArnd Bergmann	select PINCONF
555924da314SAxel Lin	select GPIOLIB_IRQCHIP
55630574f0dSThomas Abraham
55730574f0dSThomas Abrahamconfig PINCTRL_STMFX
55830574f0dSThomas Abraham	tristate "STMicroelectronics STMFX GPIO expander pinctrl driver"
55943b169dbSThomas Abraham	depends on I2C
56043b169dbSThomas Abraham	depends on OF_GPIO
561a12946beSRandy Dunlap	depends on HAS_IOMEM
56243b169dbSThomas Abraham	select GENERIC_PINCONF
563924da314SAxel Lin	select GPIOLIB_IRQCHIP
56443b169dbSThomas Abraham	select MFD_STMFX
56543b169dbSThomas Abraham	help
5667e8d9415SSebastian Hesselbarth	  Driver for STMicroelectronics Multi-Function eXpander (STMFX)
5677e8d9415SSebastian Hesselbarth	  GPIO expander.
5687e8d9415SSebastian Hesselbarth	  This provides a GPIO interface supporting inputs and outputs,
5697e8d9415SSebastian Hesselbarth	  and configuring push-pull, open-drain, and can also be used as
5707e8d9415SSebastian Hesselbarth	  interrupt-controller.
5717e8d9415SSebastian Hesselbarth
572b124c8bdSAndy Shevchenkoconfig PINCTRL_SX150X
573fe2e8f17SFange Zhang	tristate "Semtech SX150x I2C GPIO expander pinctrl driver"
574b124c8bdSAndy Shevchenko	depends on I2C=y
575deda8287SViresh Kumar	select PINMUX
576b124c8bdSAndy Shevchenko	select PINCONF
5772744e8afSLinus Walleij	select GENERIC_PINCONF
578b124c8bdSAndy Shevchenko	select GPIOLIB
579485dba27SMasahiro Yamada	select GPIOLIB_IRQCHIP
580b124c8bdSAndy Shevchenko	select REGMAP
581b17f2f9bSRay Jui	help
582b124c8bdSAndy Shevchenko	  Say Y here to provide support for Semtech SX150x-series I2C
583b124c8bdSAndy Shevchenko	  GPIO expanders as pinctrl module.
584b124c8bdSAndy Shevchenko	  Compatible models include:
585b124c8bdSAndy Shevchenko	  - 8 bits:  sx1508q, sx1502q
586b124c8bdSAndy Shevchenko	  - 16 bits: sx1509q, sx1506q
5872744e8afSLinus Walleij
588b124c8bdSAndy Shevchenkoconfig PINCTRL_TB10X
5891982621dSKrzysztof Kozlowski	bool "Pinctrl for TB10X" if COMPILE_TEST
5901982621dSKrzysztof Kozlowski	depends on OF && ARC_PLAT_TB10X || COMPILE_TEST
591b124c8bdSAndy Shevchenko	select GPIOLIB
592b124c8bdSAndy Shevchenko
593901b277eSEsteban Blancconfig PINCTRL_TPS6594
594901b277eSEsteban Blanc	tristate "Pinctrl and GPIO driver for TI TPS6594 PMIC"
595901b277eSEsteban Blanc	depends on OF && MFD_TPS6594
596901b277eSEsteban Blanc	default MFD_TPS6594
597901b277eSEsteban Blanc	select PINMUX
598901b277eSEsteban Blanc	select GPIOLIB
599901b277eSEsteban Blanc	select REGMAP
600901b277eSEsteban Blanc	select GPIO_REGMAP
601901b277eSEsteban Blanc	select GENERIC_PINCONF
602901b277eSEsteban Blanc	help
603901b277eSEsteban Blanc	  Say Y to select the pinmuxing and GPIOs driver for the TPS6594
604901b277eSEsteban Blanc	  PMICs chip family.
605901b277eSEsteban Blanc
606901b277eSEsteban Blanc	  This driver can also be built as a module
607901b277eSEsteban Blanc	  called tps6594-pinctrl.
608901b277eSEsteban Blanc
609bed5cd6fSEmil Renner Berthingconfig PINCTRL_TH1520
610bed5cd6fSEmil Renner Berthing	tristate "Pinctrl driver for the T-Head TH1520 SoC"
611bed5cd6fSEmil Renner Berthing	depends on ARCH_THEAD || COMPILE_TEST
61260ba5da2SArnd Bergmann	depends on OF
613bed5cd6fSEmil Renner Berthing	select GENERIC_PINMUX_FUNCTIONS
614bed5cd6fSEmil Renner Berthing	select GENERIC_PINCONF
615bed5cd6fSEmil Renner Berthing	select PINMUX
616bed5cd6fSEmil Renner Berthing	help
617bed5cd6fSEmil Renner Berthing	  This is the driver for the pin controller blocks on the
618bed5cd6fSEmil Renner Berthing	  T-Head TH1520 SoC.
619bed5cd6fSEmil Renner Berthing
620bed5cd6fSEmil Renner Berthing	  This driver is needed for RISC-V development boards like
621bed5cd6fSEmil Renner Berthing	  the BeagleV Ahead and the LicheePi 4A.
622bed5cd6fSEmil Renner Berthing
623dca2f73cSThomas Richardconfig PINCTRL_UPBOARD
624dca2f73cSThomas Richard	tristate "AAeon UP board FPGA pin controller"
625dca2f73cSThomas Richard	depends on MFD_UPBOARD_FPGA
626dca2f73cSThomas Richard	select PINMUX
627dca2f73cSThomas Richard	select GENERIC_PINCTRL_GROUPS
628dca2f73cSThomas Richard	select GENERIC_PINMUX_FUNCTIONS
629dca2f73cSThomas Richard	select GPIOLIB
630dca2f73cSThomas Richard	select GPIO_AGGREGATOR
631dca2f73cSThomas Richard	help
632dca2f73cSThomas Richard	  Pin controller for the FPGA GPIO lines on UP boards. Due to the
633dca2f73cSThomas Richard	  hardware layout, the driver controls the FPGA pins in tandem with
634dca2f73cSThomas Richard	  their corresponding Intel SoC GPIOs.
635dca2f73cSThomas Richard
636dca2f73cSThomas Richard	  Currently supported:
637dca2f73cSThomas Richard	  - UP Squared
638dca2f73cSThomas Richard
639dca2f73cSThomas Richard	  To compile this driver as a module, choose M here: the module
640dca2f73cSThomas Richard	  will be called pinctrl-upboard.
641dca2f73cSThomas Richard
6422744e8afSLinus Walleijconfig PINCTRL_ZYNQ
6432744e8afSLinus Walleij	bool "Pinctrl driver for Xilinx Zynq"
6441982621dSKrzysztof Kozlowski	depends on ARCH_ZYNQ || COMPILE_TEST
645c0d03cdfSArnd Bergmann	depends on OF
6462744e8afSLinus Walleij	select PINMUX
6472744e8afSLinus Walleij	select GENERIC_PINCONF
6482744e8afSLinus Walleij	help
6492744e8afSLinus Walleij	  This selects the pinctrl driver for Xilinx Zynq.
6502744e8afSLinus Walleij
6518b242ca7SSai Krishna Potthuriconfig PINCTRL_ZYNQMP
6528b242ca7SSai Krishna Potthuri	tristate "Pinctrl driver for Xilinx ZynqMP"
6538b242ca7SSai Krishna Potthuri	depends on ZYNQMP_FIRMWARE
6548b242ca7SSai Krishna Potthuri	select PINMUX
6558b242ca7SSai Krishna Potthuri	select GENERIC_PINCONF
6568b242ca7SSai Krishna Potthuri	default ZYNQMP_FIRMWARE
6578b242ca7SSai Krishna Potthuri	help
6588b242ca7SSai Krishna Potthuri	  This selects the pinctrl driver for Xilinx ZynqMP platform.
6598b242ca7SSai Krishna Potthuri	  This driver will query the pin information from the firmware
6608b242ca7SSai Krishna Potthuri	  and allow configuring the pins.
6618b242ca7SSai Krishna Potthuri	  Configuration can include the mux function to select on those
6628b242ca7SSai Krishna Potthuri	  pin(s)/group(s), and various pin configuration parameters
6638b242ca7SSai Krishna Potthuri	  such as pull-up, slew rate, etc.
664fa99e701SSai Krishna Potthuri	  This driver can also be built as a module. If so, the module
665fa99e701SSai Krishna Potthuri	  will be called pinctrl-zynqmp.
6668b242ca7SSai Krishna Potthuri
667d11f9328SAsmaa Mnebhiconfig PINCTRL_MLXBF3
668d11f9328SAsmaa Mnebhi	tristate "NVIDIA BlueField-3 SoC Pinctrl driver"
669d11f9328SAsmaa Mnebhi	depends on (MELLANOX_PLATFORM && ARM64) || COMPILE_TEST
670d11f9328SAsmaa Mnebhi	select PINMUX
671d11f9328SAsmaa Mnebhi	select GPIOLIB
672d11f9328SAsmaa Mnebhi	select GPIOLIB_IRQCHIP
673d11f9328SAsmaa Mnebhi	help
674d11f9328SAsmaa Mnebhi	  Say Y to select the pinctrl driver for BlueField-3 SoCs.
675d11f9328SAsmaa Mnebhi	  This pin controller allows selecting the mux function for
676d11f9328SAsmaa Mnebhi	  each pin. This driver can also be built as a module called
677d11f9328SAsmaa Mnebhi	  pinctrl-mlxbf3.
678d11f9328SAsmaa Mnebhi
6794732f079SAndrea della Portaconfig PINCTRL_RP1
6804732f079SAndrea della Porta	tristate "Pinctrl driver for RP1"
6814732f079SAndrea della Porta	depends on MISC_RP1
6824732f079SAndrea della Porta	default MISC_RP1
6834732f079SAndrea della Porta	select PINMUX
6844732f079SAndrea della Porta	select PINCONF
6854732f079SAndrea della Porta	select GENERIC_PINCONF
6864732f079SAndrea della Porta	help
6874732f079SAndrea della Porta	  Enable the gpio and pinctrl/mux driver for RaspberryPi RP1
6884732f079SAndrea della Porta	  multi function device.
6894732f079SAndrea della Porta
6902242ddfbSManivannan Sadhasivamsource "drivers/pinctrl/actions/Kconfig"
6914d3d0e42SAndrew Jefferysource "drivers/pinctrl/aspeed/Kconfig"
6922744e8afSLinus Walleijsource "drivers/pinctrl/bcm/Kconfig"
6932744e8afSLinus Walleijsource "drivers/pinctrl/berlin/Kconfig"
694b124c8bdSAndy Shevchenkosource "drivers/pinctrl/cirrus/Kconfig"
695920500c5SGary Yangsource "drivers/pinctrl/cix/Kconfig"
6962744e8afSLinus Walleijsource "drivers/pinctrl/freescale/Kconfig"
6972744e8afSLinus Walleijsource "drivers/pinctrl/intel/Kconfig"
698b124c8bdSAndy Shevchenkosource "drivers/pinctrl/mediatek/Kconfig"
699b124c8bdSAndy Shevchenkosource "drivers/pinctrl/meson/Kconfig"
70095c1762aSConor Dooleysource "drivers/pinctrl/microchip/Kconfig"
7012744e8afSLinus Walleijsource "drivers/pinctrl/mvebu/Kconfig"
7023a198059SLinus Walleijsource "drivers/pinctrl/nomadik/Kconfig"
7033b588e43STomer Maimonsource "drivers/pinctrl/nuvoton/Kconfig"
704fd84aaa8SChester Linsource "drivers/pinctrl/nxp/Kconfig"
7054b15ec9dSRobert Jarzmiksource "drivers/pinctrl/pxa/Kconfig"
70669b78b8dSLinus Walleijsource "drivers/pinctrl/qcom/Kconfig"
707e99ce780STzuyi Changsource "drivers/pinctrl/realtek/Kconfig"
708077365a9SGeert Uytterhoevensource "drivers/pinctrl/renesas/Kconfig"
709ebe629a3SSachin Kamatsource "drivers/pinctrl/samsung/Kconfig"
710a29d8e93SInochi Amaotosource "drivers/pinctrl/sophgo/Kconfig"
711a83c29e1SYixun Lansource "drivers/pinctrl/spacemit/Kconfig"
7122744e8afSLinus Walleijsource "drivers/pinctrl/spear/Kconfig"
71341d32cfcSBaolin Wangsource "drivers/pinctrl/sprd/Kconfig"
714ba7fdf88SJianlong Huangsource "drivers/pinctrl/starfive/Kconfig"
715aceb16dcSMaxime Coquelinsource "drivers/pinctrl/stm32/Kconfig"
716aa74c44bSWells Lusource "drivers/pinctrl/sunplus/Kconfig"
7175f910777SMaxime Ripardsource "drivers/pinctrl/sunxi/Kconfig"
71825cbac77SMasahiro Yamadasource "drivers/pinctrl/tegra/Kconfig"
719003910ebSNishanth Menonsource "drivers/pinctrl/ti/Kconfig"
7206e908892SMasahiro Yamadasource "drivers/pinctrl/uniphier/Kconfig"
721a68a7844SNobuhiro Iwamatsusource "drivers/pinctrl/visconti/Kconfig"
722b124c8bdSAndy Shevchenkosource "drivers/pinctrl/vt8500/Kconfig"
7231948d5c5SRahul Tanwar
724d219b924SPhil Reidendif
725