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 34b124c8bdSAndy Shevchenkoconfig PINCTRL_AMD 3541ef3c1aSMario Limonciello bool "AMD GPIO pin control" 36b124c8bdSAndy Shevchenko depends on HAS_IOMEM 37b124c8bdSAndy Shevchenko depends on ACPI || COMPILE_TEST 38b124c8bdSAndy Shevchenko select GPIOLIB 39b124c8bdSAndy Shevchenko select GPIOLIB_IRQCHIP 40b124c8bdSAndy Shevchenko select PINMUX 41b124c8bdSAndy Shevchenko select PINCONF 42b124c8bdSAndy Shevchenko select GENERIC_PINCONF 43b124c8bdSAndy Shevchenko help 44b124c8bdSAndy Shevchenko The driver for memory mapped GPIO functionality on AMD platforms 45b124c8bdSAndy Shevchenko (x86 or arm). Most of the pins are usually muxed to some other 46b124c8bdSAndy Shevchenko functionality by firmware, so only a small amount is available 47b124c8bdSAndy Shevchenko for GPIO use. 48b124c8bdSAndy Shevchenko 49b124c8bdSAndy Shevchenko Requires ACPI/FDT device enumeration code to set up a platform 50b124c8bdSAndy Shevchenko device. 51b124c8bdSAndy Shevchenko 52a0f160ffSJoey Goulyconfig PINCTRL_APPLE_GPIO 53a0f160ffSJoey Gouly tristate "Apple SoC GPIO pin controller driver" 54a0f160ffSJoey Gouly depends on ARCH_APPLE 55a0f160ffSJoey Gouly select PINMUX 56a0f160ffSJoey Gouly select GPIOLIB 57a0f160ffSJoey Gouly select GPIOLIB_IRQCHIP 58a0f160ffSJoey Gouly select GENERIC_PINCTRL_GROUPS 59a0f160ffSJoey Gouly select GENERIC_PINMUX_FUNCTIONS 60a0f160ffSJoey Gouly select OF_GPIO 61a0f160ffSJoey Gouly help 62a0f160ffSJoey Gouly This is the driver for the GPIO controller found on Apple ARM SoCs, 63a0f160ffSJoey Gouly including M1. 64a0f160ffSJoey Gouly 65a0f160ffSJoey Gouly This driver can also be built as a module. If so, the module 66a0f160ffSJoey Gouly will be called pinctrl-apple-gpio. 67a0f160ffSJoey Gouly 6800df0582SJesper Nilssonconfig PINCTRL_ARTPEC6 6900df0582SJesper Nilsson bool "Axis ARTPEC-6 pin controller driver" 7000df0582SJesper Nilsson depends on MACH_ARTPEC6 7100df0582SJesper Nilsson select PINMUX 7200df0582SJesper Nilsson select GENERIC_PINCONF 7300df0582SJesper Nilsson help 7400df0582SJesper Nilsson This is the driver for the Axis ARTPEC-6 pin controller. This driver 7500df0582SJesper Nilsson supports pin function multiplexing as well as pin bias and drive 7600df0582SJesper Nilsson strength configuration. Device tree integration instructions can be 7700df0582SJesper Nilsson found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt 7800df0582SJesper Nilsson 79c8ce8782SLaxman Dewanganconfig PINCTRL_AS3722 809385f35dSPaul Gortmaker tristate "Pinctrl and GPIO driver for ams AS3722 PMIC" 81c8ce8782SLaxman Dewangan depends on MFD_AS3722 && GPIOLIB 82c8ce8782SLaxman Dewangan select PINMUX 83c8ce8782SLaxman Dewangan select GENERIC_PINCONF 84c8ce8782SLaxman Dewangan help 85c8ce8782SLaxman Dewangan AS3722 device supports the configuration of GPIO pins for different 86c8ce8782SLaxman Dewangan functionality. This driver supports the pinmux, push-pull and 87c8ce8782SLaxman Dewangan open drain configuration for the GPIO pins of AS3722 devices. It also 88c8ce8782SLaxman Dewangan supports the GPIO functionality through gpiolib. 89c8ce8782SLaxman Dewangan 906732ae5cSJean-Christophe PLAGNIOL-VILLARDconfig PINCTRL_AT91 916732ae5cSJean-Christophe PLAGNIOL-VILLARD bool "AT91 pinctrl driver" 926732ae5cSJean-Christophe PLAGNIOL-VILLARD depends on OF 936732ae5cSJean-Christophe PLAGNIOL-VILLARD depends on ARCH_AT91 946732ae5cSJean-Christophe PLAGNIOL-VILLARD select PINMUX 956732ae5cSJean-Christophe PLAGNIOL-VILLARD select PINCONF 9680cc3732SAlexander Stein select GPIOLIB 9780cc3732SAlexander Stein select OF_GPIO 9880cc3732SAlexander Stein select GPIOLIB_IRQCHIP 996732ae5cSJean-Christophe PLAGNIOL-VILLARD help 1006732ae5cSJean-Christophe PLAGNIOL-VILLARD Say Y here to enable the at91 pinctrl driver 1016732ae5cSJean-Christophe PLAGNIOL-VILLARD 10277618084SLudovic Desrochesconfig PINCTRL_AT91PIO4 10377618084SLudovic Desroches bool "AT91 PIO4 pinctrl driver" 10477618084SLudovic Desroches depends on OF 1050a03658dSTiezhu Yang depends on HAS_IOMEM 106e682fcc7STiezhu Yang depends on ARCH_AT91 || COMPILE_TEST 10777618084SLudovic Desroches select PINMUX 10877618084SLudovic Desroches select GENERIC_PINCONF 10977618084SLudovic Desroches select GPIOLIB 11077618084SLudovic Desroches select GPIOLIB_IRQCHIP 11177618084SLudovic Desroches select OF_GPIO 11277618084SLudovic Desroches help 11377618084SLudovic Desroches Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4 11477618084SLudovic Desroches controller available on sama5d2 SoC. 11577618084SLudovic Desroches 116b124c8bdSAndy Shevchenkoconfig PINCTRL_AXP209 117b124c8bdSAndy Shevchenko tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support" 118b124c8bdSAndy Shevchenko depends on MFD_AXP20X 119b124c8bdSAndy Shevchenko depends on OF 12083b31c2aSPetr Mladek select PINMUX 121dbad75ddSKen Xue select GENERIC_PINCONF 122b124c8bdSAndy Shevchenko select GPIOLIB 123dbad75ddSKen Xue help 124b124c8bdSAndy Shevchenko AXP PMICs provides multiple GPIOs that can be muxed for different 125b124c8bdSAndy Shevchenko functions. This driver bundles a pinctrl driver to select the function 126b124c8bdSAndy Shevchenko muxing and a GPIO driver to handle the GPIO when the GPIO function is 127b124c8bdSAndy Shevchenko selected. 128b124c8bdSAndy Shevchenko Say Y to enable pinctrl and GPIO support for the AXP209 PMIC. 129dbad75ddSKen Xue 130576623d7SAngeloGioacchino Del Regnoconfig PINCTRL_AW9523 131d295ad7eSLinus Walleij tristate "Awinic AW9523/AW9523B I2C GPIO expander pinctrl driver" 132576623d7SAngeloGioacchino Del Regno depends on OF && I2C 133576623d7SAngeloGioacchino Del Regno select PINMUX 134576623d7SAngeloGioacchino Del Regno select PINCONF 135576623d7SAngeloGioacchino Del Regno select GENERIC_PINCONF 136576623d7SAngeloGioacchino Del Regno select GPIOLIB 137576623d7SAngeloGioacchino Del Regno select GPIOLIB_IRQCHIP 138576623d7SAngeloGioacchino Del Regno select REGMAP 139576623d7SAngeloGioacchino Del Regno select REGMAP_I2C 140576623d7SAngeloGioacchino Del Regno help 141576623d7SAngeloGioacchino Del Regno The Awinic AW9523/AW9523B is a multi-function I2C GPIO 142576623d7SAngeloGioacchino Del Regno expander with PWM functionality. This driver bundles a 143576623d7SAngeloGioacchino Del Regno pinctrl driver to select the function muxing and a GPIO 144576623d7SAngeloGioacchino Del Regno driver to handle GPIO, when the GPIO function is selected. 145576623d7SAngeloGioacchino Del Regno 146576623d7SAngeloGioacchino Del Regno Say yes to enable pinctrl and GPIO support for the AW9523(B). 147576623d7SAngeloGioacchino Del Regno 1488f3f0246SManivannan Sadhasivamconfig PINCTRL_BM1880 1498f3f0246SManivannan Sadhasivam bool "Bitmain BM1880 Pinctrl driver" 1508293b3c6SManivannan Sadhasivam depends on OF && (ARCH_BITMAIN || COMPILE_TEST) 1518293b3c6SManivannan Sadhasivam default ARCH_BITMAIN 1528f3f0246SManivannan Sadhasivam select PINMUX 1538f3f0246SManivannan Sadhasivam help 1548f3f0246SManivannan Sadhasivam Pinctrl driver for Bitmain BM1880 SoC. 1558f3f0246SManivannan Sadhasivam 156e6cbbe42SPatrick Rudolphconfig PINCTRL_CY8C95X0 157e6cbbe42SPatrick Rudolph tristate "Cypress CY8C95X0 I2C pinctrl and GPIO driver" 1588586466eSAndy Shevchenko depends on I2C 159e6cbbe42SPatrick Rudolph select GPIOLIB 160e6cbbe42SPatrick Rudolph select GPIOLIB_IRQCHIP 161e6cbbe42SPatrick Rudolph select PINMUX 162e6cbbe42SPatrick Rudolph select PINCONF 163e6cbbe42SPatrick Rudolph select GENERIC_PINCONF 164e6cbbe42SPatrick Rudolph select REGMAP_I2C 165e6cbbe42SPatrick Rudolph help 166e6cbbe42SPatrick Rudolph Support for 20/40/60 pin Cypress Cy8C95x0 pinctrl/gpio I2C expander. 167e6cbbe42SPatrick Rudolph This driver can also be built as a module. If so, the module will be 168e6cbbe42SPatrick Rudolph called pinctrl-cy8c95x0. 169e6cbbe42SPatrick Rudolph 1701ff91f0aSDavid Lechnerconfig PINCTRL_DA850_PUPD 171b124c8bdSAndy Shevchenko tristate "TI DA850/OMAP-L138/AM18XX pull-up and pull-down groups" 1721ff91f0aSDavid Lechner depends on OF && (ARCH_DAVINCI_DA850 || COMPILE_TEST) 1731ff91f0aSDavid Lechner select PINCONF 1741ff91f0aSDavid Lechner select GENERIC_PINCONF 1751ff91f0aSDavid Lechner help 1761ff91f0aSDavid Lechner Driver for TI DA850/OMAP-L138/AM18XX pinconf. Used to control 177b124c8bdSAndy Shevchenko pull-up and pull-down pin groups. 1781ff91f0aSDavid Lechner 17956cc3af4SMarco Felschconfig PINCTRL_DA9062 18056cc3af4SMarco Felsch tristate "Dialog Semiconductor DA9062 PMIC pinctrl and GPIO Support" 18156cc3af4SMarco Felsch depends on MFD_DA9062 18256cc3af4SMarco Felsch select GPIOLIB 18356cc3af4SMarco Felsch help 18456cc3af4SMarco Felsch The Dialog DA9062 PMIC provides multiple GPIOs that can be muxed for 18556cc3af4SMarco Felsch different functions. This driver bundles a pinctrl driver to select the 18656cc3af4SMarco Felsch function muxing and a GPIO driver to handle the GPIO when the GPIO 18756cc3af4SMarco Felsch function is selected. 18856cc3af4SMarco Felsch 189b124c8bdSAndy Shevchenko Say Y to enable pinctrl and GPIO support for the DA9062 PMIC. 19056cc3af4SMarco Felsch 19138b0e507SBaruch Siachconfig PINCTRL_DIGICOLOR 19238b0e507SBaruch Siach bool 193083b0230SAndy Shevchenko depends on ARCH_DIGICOLOR || COMPILE_TEST 19438b0e507SBaruch Siach select PINMUX 19538b0e507SBaruch Siach select GENERIC_PINCONF 19638b0e507SBaruch Siach 197b124c8bdSAndy Shevchenkoconfig PINCTRL_EQUILIBRIUM 198b124c8bdSAndy Shevchenko tristate "Generic pinctrl and GPIO driver for Intel Lightning Mountain SoC" 199b124c8bdSAndy Shevchenko depends on OF && HAS_IOMEM 200b124c8bdSAndy Shevchenko depends on X86 || COMPILE_TEST 201b124c8bdSAndy Shevchenko select PINMUX 202b124c8bdSAndy Shevchenko select PINCONF 203b124c8bdSAndy Shevchenko select GPIOLIB 204b124c8bdSAndy Shevchenko select GPIO_GENERIC 205b124c8bdSAndy Shevchenko select GPIOLIB_IRQCHIP 206b124c8bdSAndy Shevchenko select GENERIC_PINCONF 207b124c8bdSAndy Shevchenko select GENERIC_PINCTRL_GROUPS 208b124c8bdSAndy Shevchenko select GENERIC_PINMUX_FUNCTIONS 209b124c8bdSAndy Shevchenko help 210b124c8bdSAndy Shevchenko Equilibrium driver is a pinctrl and GPIO driver for Intel Lightning 211b124c8bdSAndy Shevchenko Mountain network processor SoC that supports both the GPIO and pin 212b124c8bdSAndy Shevchenko control frameworks. It provides interfaces to setup pin muxing, assign 213b124c8bdSAndy Shevchenko desired pin functions, configure GPIO attributes for LGM SoC pins. 214b124c8bdSAndy Shevchenko Pin muxing and pin config settings are retrieved from device tree. 215b124c8bdSAndy Shevchenko 216b124c8bdSAndy Shevchenkoconfig PINCTRL_GEMINI 217b124c8bdSAndy Shevchenko bool 218b124c8bdSAndy Shevchenko depends on ARCH_GEMINI 219b124c8bdSAndy Shevchenko default ARCH_GEMINI 220b124c8bdSAndy Shevchenko select PINMUX 221b124c8bdSAndy Shevchenko select GENERIC_PINCONF 222b124c8bdSAndy Shevchenko select MFD_SYSCON 223b124c8bdSAndy Shevchenko 224b124c8bdSAndy Shevchenkoconfig PINCTRL_INGENIC 225b124c8bdSAndy Shevchenko bool "Pinctrl driver for the Ingenic JZ47xx SoCs" 226b124c8bdSAndy Shevchenko default MACH_INGENIC 227b124c8bdSAndy Shevchenko depends on OF 228b124c8bdSAndy Shevchenko depends on MIPS || COMPILE_TEST 229b124c8bdSAndy Shevchenko select GENERIC_PINCONF 230b124c8bdSAndy Shevchenko select GENERIC_PINCTRL_GROUPS 231b124c8bdSAndy Shevchenko select GENERIC_PINMUX_FUNCTIONS 232b124c8bdSAndy Shevchenko select GPIOLIB 233b124c8bdSAndy Shevchenko select GPIOLIB_IRQCHIP 234b124c8bdSAndy Shevchenko select REGMAP_MMIO 235b124c8bdSAndy Shevchenko 236b124c8bdSAndy Shevchenkoconfig PINCTRL_K210 237b124c8bdSAndy Shevchenko bool "Pinctrl driver for the Canaan Kendryte K210 SoC" 238b124c8bdSAndy Shevchenko depends on RISCV && SOC_CANAAN && OF 239b124c8bdSAndy Shevchenko select GENERIC_PINMUX_FUNCTIONS 240b124c8bdSAndy Shevchenko select GENERIC_PINCONF 241b124c8bdSAndy Shevchenko select GPIOLIB 242b124c8bdSAndy Shevchenko select OF_GPIO 243b124c8bdSAndy Shevchenko select REGMAP_MMIO 244b124c8bdSAndy Shevchenko default SOC_CANAAN 245b124c8bdSAndy Shevchenko help 246b124c8bdSAndy Shevchenko Add support for the Canaan Kendryte K210 RISC-V SOC Field 247b124c8bdSAndy Shevchenko Programmable IO Array (FPIOA) controller. 248b124c8bdSAndy Shevchenko 249b124c8bdSAndy Shevchenkoconfig PINCTRL_KEEMBAY 250b124c8bdSAndy Shevchenko tristate "Pinctrl driver for Intel Keem Bay SoC" 251b124c8bdSAndy Shevchenko depends on ARCH_KEEMBAY || (ARM64 && COMPILE_TEST) 252b124c8bdSAndy Shevchenko depends on HAS_IOMEM 253b124c8bdSAndy Shevchenko select PINMUX 254b124c8bdSAndy Shevchenko select PINCONF 255b124c8bdSAndy Shevchenko select GENERIC_PINCONF 256b124c8bdSAndy Shevchenko select GENERIC_PINCTRL_GROUPS 257b124c8bdSAndy Shevchenko select GENERIC_PINMUX_FUNCTIONS 258b124c8bdSAndy Shevchenko select GPIOLIB 259b124c8bdSAndy Shevchenko select GPIOLIB_IRQCHIP 260b124c8bdSAndy Shevchenko select GPIO_GENERIC 261b124c8bdSAndy Shevchenko help 262b124c8bdSAndy Shevchenko This selects pin control driver for the Intel Keem Bay SoC. 263b124c8bdSAndy Shevchenko It provides pin config functions such as pull-up, pull-down, 264b124c8bdSAndy Shevchenko interrupt, drive strength, sec lock, Schmitt trigger, slew 265b124c8bdSAndy Shevchenko rate control and direction control. This module will be 266b124c8bdSAndy Shevchenko called as pinctrl-keembay. 267b124c8bdSAndy Shevchenko 2683f8c50c9SJohn Crispinconfig PINCTRL_LANTIQ 2693f8c50c9SJohn Crispin bool 2703f8c50c9SJohn Crispin depends on LANTIQ 2713f8c50c9SJohn Crispin select PINMUX 2723f8c50c9SJohn Crispin select PINCONF 2733f8c50c9SJohn Crispin 274b124c8bdSAndy Shevchenkoconfig PINCTRL_FALCON 275b124c8bdSAndy Shevchenko bool 276b124c8bdSAndy Shevchenko depends on SOC_FALCON 277b124c8bdSAndy Shevchenko depends on PINCTRL_LANTIQ 278b124c8bdSAndy Shevchenko 279f73f88acSzhanghongchenconfig PINCTRL_LOONGSON2 280f73f88acSzhanghongchen tristate "Pinctrl driver for the Loongson-2 SoC" 281c0f358fdSRen Zhijie depends on OF && (LOONGARCH || COMPILE_TEST) 282f73f88acSzhanghongchen select PINMUX 283f73f88acSzhanghongchen select GENERIC_PINCONF 284f73f88acSzhanghongchen help 285f73f88acSzhanghongchen This selects pin control driver for the Loongson-2 SoC. It 286f73f88acSzhanghongchen provides pin config functions multiplexing. GPIO pin pull-up, 287f73f88acSzhanghongchen pull-down functions are not supported. Say yes to enable 288f73f88acSzhanghongchen pinctrl for Loongson-2 SoC. 289f73f88acSzhanghongchen 290b124c8bdSAndy Shevchenkoconfig PINCTRL_XWAY 291b124c8bdSAndy Shevchenko bool 292b124c8bdSAndy Shevchenko depends on SOC_TYPE_XWAY 293b124c8bdSAndy Shevchenko depends on PINCTRL_LANTIQ 294b124c8bdSAndy Shevchenko 2952f77ac93SJoachim Eastwoodconfig PINCTRL_LPC18XX 2962f77ac93SJoachim Eastwood bool "NXP LPC18XX/43XX SCU pinctrl driver" 2972f77ac93SJoachim Eastwood depends on OF && (ARCH_LPC18XX || COMPILE_TEST) 2982f77ac93SJoachim Eastwood default ARCH_LPC18XX 2992f77ac93SJoachim Eastwood select PINMUX 3002f77ac93SJoachim Eastwood select GENERIC_PINCONF 3012f77ac93SJoachim Eastwood help 3022f77ac93SJoachim Eastwood Pinctrl driver for NXP LPC18xx/43xx System Control Unit (SCU). 3032f77ac93SJoachim Eastwood 304b124c8bdSAndy Shevchenkoconfig PINCTRL_MAX77620 305b124c8bdSAndy Shevchenko tristate "MAX77620/MAX20024 Pincontrol support" 306b124c8bdSAndy Shevchenko depends on MFD_MAX77620 && OF 30706351d13SLinus Walleij select PINMUX 3081c5b7f3cSLinus Walleij select GENERIC_PINCONF 309b124c8bdSAndy Shevchenko help 310b124c8bdSAndy Shevchenko Say Y here to enable Pin control support for Maxim MAX77620 PMIC. 311b124c8bdSAndy Shevchenko This PMIC has 8 GPIO pins that work as GPIO as well as special 312b124c8bdSAndy Shevchenko function in alternate mode. This driver also configure push-pull, 313b124c8bdSAndy Shevchenko open drain, FPS slots etc. 31406351d13SLinus Walleij 3150f04a817SAndy Shevchenkoconfig PINCTRL_MCP23S08_I2C 3160f04a817SAndy Shevchenko tristate 3170f04a817SAndy Shevchenko select REGMAP_I2C 3180f04a817SAndy Shevchenko 3190f04a817SAndy Shevchenkoconfig PINCTRL_MCP23S08_SPI 3200f04a817SAndy Shevchenko tristate 3210f04a817SAndy Shevchenko select REGMAP_SPI 3220f04a817SAndy Shevchenko 32364ac43e6SSebastian Reichelconfig PINCTRL_MCP23S08 32464ac43e6SSebastian Reichel tristate "Microchip MCP23xxx I/O expander" 32564ac43e6SSebastian Reichel depends on SPI_MASTER || I2C 326e2a021d4SLinus Walleij select GPIOLIB 32764ac43e6SSebastian Reichel select GPIOLIB_IRQCHIP 32882039d24SSebastian Reichel select GENERIC_PINCONF 3290f04a817SAndy Shevchenko select PINCTRL_MCP23S08_I2C if I2C 3300f04a817SAndy Shevchenko select PINCTRL_MCP23S08_SPI if SPI_MASTER 33164ac43e6SSebastian Reichel help 3326ff45566SJan Kundrát SPI/I2C driver for Microchip MCP23S08 / MCP23S17 / MCP23S18 / 3336ff45566SJan Kundrát MCP23008 / MCP23017 / MCP23018 I/O expanders. 3346ff45566SJan Kundrát This provides a GPIO interface supporting inputs and outputs and a 3356ff45566SJan Kundrát corresponding interrupt-controller. 33664ac43e6SSebastian Reichel 337b124c8bdSAndy Shevchenkoconfig PINCTRL_MICROCHIP_SGPIO 3382f65923cSColin Foster tristate "Pinctrl driver for Microsemi/Microchip Serial GPIO" 339b124c8bdSAndy Shevchenko depends on OF 340b124c8bdSAndy Shevchenko depends on HAS_IOMEM 341b124c8bdSAndy Shevchenko select GPIOLIB 342b124c8bdSAndy Shevchenko select GPIOLIB_IRQCHIP 343b124c8bdSAndy Shevchenko select GENERIC_PINCONF 344b124c8bdSAndy Shevchenko select GENERIC_PINCTRL_GROUPS 345b124c8bdSAndy Shevchenko select GENERIC_PINMUX_FUNCTIONS 346b124c8bdSAndy Shevchenko select OF_GPIO 347b124c8bdSAndy Shevchenko help 348b124c8bdSAndy Shevchenko Support for the serial GPIO interface used on Microsemi and 349b124c8bdSAndy Shevchenko Microchip SoCs. By using a serial interface, the SIO 350b124c8bdSAndy Shevchenko controller significantly extends the number of available 351b124c8bdSAndy Shevchenko GPIOs with a minimum number of additional pins on the 352b124c8bdSAndy Shevchenko device. The primary purpose of the SIO controller is to 353b124c8bdSAndy Shevchenko connect control signals from SFP modules and to act as an 354b124c8bdSAndy Shevchenko LED controller. 355b124c8bdSAndy Shevchenko 3562f65923cSColin Foster If compiled as a module, the module name will be 3572f65923cSColin Foster pinctrl-microchip-sgpio. 3582f65923cSColin Foster 359b124c8bdSAndy Shevchenkoconfig PINCTRL_OCELOT 3604425205eSClément Léger tristate "Pinctrl driver for the Microsemi Ocelot and Jaguar2 SoCs" 361b124c8bdSAndy Shevchenko depends on OF 362b124c8bdSAndy Shevchenko depends on HAS_IOMEM 363b124c8bdSAndy Shevchenko select GPIOLIB 364b124c8bdSAndy Shevchenko select GPIOLIB_IRQCHIP 365b124c8bdSAndy Shevchenko select GENERIC_PINCONF 366b124c8bdSAndy Shevchenko select GENERIC_PINCTRL_GROUPS 367b124c8bdSAndy Shevchenko select GENERIC_PINMUX_FUNCTIONS 368b124c8bdSAndy Shevchenko select OF_GPIO 369b124c8bdSAndy Shevchenko select REGMAP_MMIO 3703f668365SColin Foster help 3713f668365SColin Foster Support for the internal GPIO interfaces on Microsemi Ocelot and 3723f668365SColin Foster Jaguar2 SoCs. 3733f668365SColin Foster 3743f668365SColin Foster If conpiled as a module, the module name will be pinctrl-ocelot. 375b124c8bdSAndy Shevchenko 3760a8d3e24SLaxman Dewanganconfig PINCTRL_PALMAS 377767b8ce3SPaul Gortmaker tristate "Pinctrl driver for the PALMAS Series MFD devices" 3780a8d3e24SLaxman Dewangan depends on OF && MFD_PALMAS 37963ca8db7SAxel Lin select PINMUX 3800a8d3e24SLaxman Dewangan select GENERIC_PINCONF 3810a8d3e24SLaxman Dewangan help 3820a8d3e24SLaxman Dewangan Palmas device supports the configuration of pins for different 3830a8d3e24SLaxman Dewangan functionality. This driver supports the pinmux, push-pull and 3840a8d3e24SLaxman Dewangan open drain configuration for the Palmas series devices like 3850a8d3e24SLaxman Dewangan TPS65913, TPS80036 etc. 3860a8d3e24SLaxman Dewangan 38737c646dcSHerve Codinaconfig PINCTRL_PEF2256 38837c646dcSHerve Codina tristate "Lantiq PEF2256 (FALC56) pin controller driver" 38937c646dcSHerve Codina depends on OF && FRAMER_PEF2256 39037c646dcSHerve Codina select PINMUX 39137c646dcSHerve Codina select PINCONF 39237c646dcSHerve Codina select GENERIC_PINCONF 39337c646dcSHerve Codina help 39437c646dcSHerve Codina This option enables the pin controller support for the Lantiq PEF2256 39537c646dcSHerve Codina framer, also known as FALC56. 39637c646dcSHerve Codina 39737c646dcSHerve Codina If unsure, say N. 39837c646dcSHerve Codina 39937c646dcSHerve Codina To compile this driver as a module, choose M here: the 40037c646dcSHerve Codina module will be called pinctrl-pef2256. 40137c646dcSHerve Codina 4022ba384e6SJoshua Hendersonconfig PINCTRL_PIC32 4032ba384e6SJoshua Henderson bool "Microchip PIC32 pin controller driver" 4042ba384e6SJoshua Henderson depends on OF 4052ba384e6SJoshua Henderson depends on MACH_PIC32 4062ba384e6SJoshua Henderson select PINMUX 4072ba384e6SJoshua Henderson select GENERIC_PINCONF 4082ba384e6SJoshua Henderson select GPIOLIB_IRQCHIP 4092ba384e6SJoshua Henderson select OF_GPIO 4102ba384e6SJoshua Henderson help 4112ba384e6SJoshua Henderson This is the pin controller and gpio driver for Microchip PIC32 4122ba384e6SJoshua Henderson microcontrollers. This option is selected automatically when specific 4132ba384e6SJoshua Henderson machine and arch are selected to build. 4142ba384e6SJoshua Henderson 4152ba384e6SJoshua Hendersonconfig PINCTRL_PIC32MZDA 4162ba384e6SJoshua Henderson def_bool y if PIC32MZDA 4172ba384e6SJoshua Henderson select PINCTRL_PIC32 4182ba384e6SJoshua Henderson 419b124c8bdSAndy Shevchenkoconfig PINCTRL_PISTACHIO 420b124c8bdSAndy Shevchenko bool "IMG Pistachio SoC pinctrl driver" 421b124c8bdSAndy Shevchenko depends on OF && (MIPS || COMPILE_TEST) 422b124c8bdSAndy Shevchenko depends on GPIOLIB 423b124c8bdSAndy Shevchenko select PINMUX 424b124c8bdSAndy Shevchenko select GENERIC_PINCONF 425b124c8bdSAndy Shevchenko select GPIOLIB_IRQCHIP 426b124c8bdSAndy Shevchenko select OF_GPIO 427b124c8bdSAndy Shevchenko help 428b124c8bdSAndy Shevchenko This support pinctrl and GPIO driver for IMG Pistachio SoC. 429b124c8bdSAndy Shevchenko 430b124c8bdSAndy Shevchenkoconfig PINCTRL_RK805 431b124c8bdSAndy Shevchenko tristate "Pinctrl and GPIO driver for RK805 PMIC" 432c20e8c5bSSebastian Reichel depends on MFD_RK8XX 433b124c8bdSAndy Shevchenko select GPIOLIB 434b124c8bdSAndy Shevchenko select PINMUX 435b124c8bdSAndy Shevchenko select GENERIC_PINCONF 436b124c8bdSAndy Shevchenko help 437b124c8bdSAndy Shevchenko This selects the pinctrl driver for RK805. 438b124c8bdSAndy Shevchenko 439b58f0273SJames Hoganconfig PINCTRL_ROCKCHIP 440b58f0273SJames Hogan tristate "Rockchip gpio and pinctrl driver" 441b58f0273SJames Hogan depends on ARCH_ROCKCHIP || COMPILE_TEST 442b58f0273SJames Hogan depends on OF 443b58f0273SJames Hogan select GPIOLIB 4443bece55aSLinus Walleij select PINMUX 4453bece55aSLinus Walleij select GENERIC_PINCONF 44698da3529SLinus Walleij select GENERIC_IRQ_CHIP 44798da3529SLinus Walleij select MFD_SYSCON 448dc0b1aa3SLinus Walleij select OF_GPIO 44945f034efSLinus Walleij default ARCH_ROCKCHIP 450ca402d37SLinus Walleij help 451b124c8bdSAndy Shevchenko This support pinctrl and GPIO driver for Rockchip SoCs. 452f0b9a7e5SThomas Abraham 453*eb524cb6SPeng Fanconfig PINCTRL_SCMI 454*eb524cb6SPeng Fan tristate "Pinctrl driver using SCMI protocol interface" 455*eb524cb6SPeng Fan depends on ARM_SCMI_PROTOCOL || COMPILE_TEST 456*eb524cb6SPeng Fan select PINMUX 457*eb524cb6SPeng Fan select GENERIC_PINCONF 458*eb524cb6SPeng Fan help 459*eb524cb6SPeng Fan This driver provides support for pinctrl which is controlled 460*eb524cb6SPeng Fan by firmware that implements the SCMI interface. 461*eb524cb6SPeng Fan It uses SCMI Message Protocol to interact with the 462*eb524cb6SPeng Fan firmware providing all the pinctrl controls. 463*eb524cb6SPeng Fan 464af99a750SHeiko Stuebnerconfig PINCTRL_SINGLE 465af99a750SHeiko Stuebner tristate "One-register-per-pin type device tree based pinctrl driver" 466af99a750SHeiko Stuebner depends on OF 467af99a750SHeiko Stuebner depends on HAS_IOMEM 46861dd7261STomasz Figa select GENERIC_PINCTRL_GROUPS 46961dd7261STomasz Figa select GENERIC_PINMUX_FUNCTIONS 47061dd7261STomasz Figa select GENERIC_PINCONF 47161dd7261STomasz Figa help 47261dd7261STomasz Figa This selects the device tree based generic pinctrl driver. 47306763c74SThomas Petazzoni 474ca402d37SLinus Walleijconfig PINCTRL_ST 475ca402d37SLinus Walleij bool 476ca402d37SLinus Walleij depends on OF 47730574f0dSThomas Abraham select PINMUX 478cbc351abSArnd Bergmann select PINCONF 479924da314SAxel Lin select GPIOLIB_IRQCHIP 48030574f0dSThomas Abraham 48130574f0dSThomas Abrahamconfig PINCTRL_STMFX 48230574f0dSThomas Abraham tristate "STMicroelectronics STMFX GPIO expander pinctrl driver" 48343b169dbSThomas Abraham depends on I2C 48443b169dbSThomas Abraham depends on OF_GPIO 485924da314SAxel Lin select GENERIC_PINCONF 48643b169dbSThomas Abraham select GPIOLIB_IRQCHIP 48743b169dbSThomas Abraham select MFD_STMFX 4887e8d9415SSebastian Hesselbarth help 4897e8d9415SSebastian Hesselbarth Driver for STMicroelectronics Multi-Function eXpander (STMFX) 4907e8d9415SSebastian Hesselbarth GPIO expander. 4917e8d9415SSebastian Hesselbarth This provides a GPIO interface supporting inputs and outputs, 4927e8d9415SSebastian Hesselbarth and configuring push-pull, open-drain, and can also be used as 4937e8d9415SSebastian Hesselbarth interrupt-controller. 494c9f95cedSSebastian Hesselbarth 495b124c8bdSAndy Shevchenkoconfig PINCTRL_SX150X 496b124c8bdSAndy Shevchenko bool "Semtech SX150x I2C GPIO expander pinctrl driver" 497b124c8bdSAndy Shevchenko depends on I2C=y 498deda8287SViresh Kumar select PINMUX 499b124c8bdSAndy Shevchenko select PINCONF 5002744e8afSLinus Walleij select GENERIC_PINCONF 501b124c8bdSAndy Shevchenko select GPIOLIB 502485dba27SMasahiro Yamada select GPIOLIB_IRQCHIP 503b124c8bdSAndy Shevchenko select REGMAP 504b17f2f9bSRay Jui help 505b124c8bdSAndy Shevchenko Say Y here to provide support for Semtech SX150x-series I2C 506b124c8bdSAndy Shevchenko GPIO expanders as pinctrl module. 507b124c8bdSAndy Shevchenko Compatible models include: 508b124c8bdSAndy Shevchenko - 8 bits: sx1508q, sx1502q 509b124c8bdSAndy Shevchenko - 16 bits: sx1509q, sx1506q 5102744e8afSLinus Walleij 511b124c8bdSAndy Shevchenkoconfig PINCTRL_TB10X 512b124c8bdSAndy Shevchenko bool 513b124c8bdSAndy Shevchenko depends on OF && ARC_PLAT_TB10X 514b124c8bdSAndy Shevchenko select GPIOLIB 515b124c8bdSAndy Shevchenko 516901b277eSEsteban Blancconfig PINCTRL_TPS6594 517901b277eSEsteban Blanc tristate "Pinctrl and GPIO driver for TI TPS6594 PMIC" 518901b277eSEsteban Blanc depends on OF && MFD_TPS6594 519901b277eSEsteban Blanc default MFD_TPS6594 520901b277eSEsteban Blanc select PINMUX 521901b277eSEsteban Blanc select GPIOLIB 522901b277eSEsteban Blanc select REGMAP 523901b277eSEsteban Blanc select GPIO_REGMAP 524901b277eSEsteban Blanc select GENERIC_PINCONF 525901b277eSEsteban Blanc help 526901b277eSEsteban Blanc Say Y to select the pinmuxing and GPIOs driver for the TPS6594 527901b277eSEsteban Blanc PMICs chip family. 528901b277eSEsteban Blanc 529901b277eSEsteban Blanc This driver can also be built as a module 530901b277eSEsteban Blanc called tps6594-pinctrl. 531901b277eSEsteban Blanc 5322744e8afSLinus Walleijconfig PINCTRL_ZYNQ 5332744e8afSLinus Walleij bool "Pinctrl driver for Xilinx Zynq" 5342744e8afSLinus Walleij depends on ARCH_ZYNQ 5352744e8afSLinus Walleij select PINMUX 5362744e8afSLinus Walleij select GENERIC_PINCONF 5372744e8afSLinus Walleij help 5382744e8afSLinus Walleij This selects the pinctrl driver for Xilinx Zynq. 5392744e8afSLinus Walleij 5408b242ca7SSai Krishna Potthuriconfig PINCTRL_ZYNQMP 5418b242ca7SSai Krishna Potthuri tristate "Pinctrl driver for Xilinx ZynqMP" 5428b242ca7SSai Krishna Potthuri depends on ZYNQMP_FIRMWARE 5438b242ca7SSai Krishna Potthuri select PINMUX 5448b242ca7SSai Krishna Potthuri select GENERIC_PINCONF 5458b242ca7SSai Krishna Potthuri default ZYNQMP_FIRMWARE 5468b242ca7SSai Krishna Potthuri help 5478b242ca7SSai Krishna Potthuri This selects the pinctrl driver for Xilinx ZynqMP platform. 5488b242ca7SSai Krishna Potthuri This driver will query the pin information from the firmware 5498b242ca7SSai Krishna Potthuri and allow configuring the pins. 5508b242ca7SSai Krishna Potthuri Configuration can include the mux function to select on those 5518b242ca7SSai Krishna Potthuri pin(s)/group(s), and various pin configuration parameters 5528b242ca7SSai Krishna Potthuri such as pull-up, slew rate, etc. 553fa99e701SSai Krishna Potthuri This driver can also be built as a module. If so, the module 554fa99e701SSai Krishna Potthuri will be called pinctrl-zynqmp. 5558b242ca7SSai Krishna Potthuri 556d11f9328SAsmaa Mnebhiconfig PINCTRL_MLXBF3 557d11f9328SAsmaa Mnebhi tristate "NVIDIA BlueField-3 SoC Pinctrl driver" 558d11f9328SAsmaa Mnebhi depends on (MELLANOX_PLATFORM && ARM64) || COMPILE_TEST 559d11f9328SAsmaa Mnebhi select PINMUX 560d11f9328SAsmaa Mnebhi select GPIOLIB 561d11f9328SAsmaa Mnebhi select GPIOLIB_IRQCHIP 562d11f9328SAsmaa Mnebhi help 563d11f9328SAsmaa Mnebhi Say Y to select the pinctrl driver for BlueField-3 SoCs. 564d11f9328SAsmaa Mnebhi This pin controller allows selecting the mux function for 565d11f9328SAsmaa Mnebhi each pin. This driver can also be built as a module called 566d11f9328SAsmaa Mnebhi pinctrl-mlxbf3. 567d11f9328SAsmaa Mnebhi 5682242ddfbSManivannan Sadhasivamsource "drivers/pinctrl/actions/Kconfig" 5694d3d0e42SAndrew Jefferysource "drivers/pinctrl/aspeed/Kconfig" 5702744e8afSLinus Walleijsource "drivers/pinctrl/bcm/Kconfig" 5712744e8afSLinus Walleijsource "drivers/pinctrl/berlin/Kconfig" 572b124c8bdSAndy Shevchenkosource "drivers/pinctrl/cirrus/Kconfig" 5732744e8afSLinus Walleijsource "drivers/pinctrl/freescale/Kconfig" 5742744e8afSLinus Walleijsource "drivers/pinctrl/intel/Kconfig" 575b124c8bdSAndy Shevchenkosource "drivers/pinctrl/mediatek/Kconfig" 576b124c8bdSAndy Shevchenkosource "drivers/pinctrl/meson/Kconfig" 5772744e8afSLinus Walleijsource "drivers/pinctrl/mvebu/Kconfig" 5783a198059SLinus Walleijsource "drivers/pinctrl/nomadik/Kconfig" 5793b588e43STomer Maimonsource "drivers/pinctrl/nuvoton/Kconfig" 580fd84aaa8SChester Linsource "drivers/pinctrl/nxp/Kconfig" 5814b15ec9dSRobert Jarzmiksource "drivers/pinctrl/pxa/Kconfig" 58269b78b8dSLinus Walleijsource "drivers/pinctrl/qcom/Kconfig" 583e99ce780STzuyi Changsource "drivers/pinctrl/realtek/Kconfig" 584077365a9SGeert Uytterhoevensource "drivers/pinctrl/renesas/Kconfig" 585ebe629a3SSachin Kamatsource "drivers/pinctrl/samsung/Kconfig" 5862744e8afSLinus Walleijsource "drivers/pinctrl/spear/Kconfig" 58741d32cfcSBaolin Wangsource "drivers/pinctrl/sprd/Kconfig" 588ba7fdf88SJianlong Huangsource "drivers/pinctrl/starfive/Kconfig" 589aceb16dcSMaxime Coquelinsource "drivers/pinctrl/stm32/Kconfig" 590aa74c44bSWells Lusource "drivers/pinctrl/sunplus/Kconfig" 5915f910777SMaxime Ripardsource "drivers/pinctrl/sunxi/Kconfig" 59225cbac77SMasahiro Yamadasource "drivers/pinctrl/tegra/Kconfig" 593003910ebSNishanth Menonsource "drivers/pinctrl/ti/Kconfig" 5946e908892SMasahiro Yamadasource "drivers/pinctrl/uniphier/Kconfig" 595a68a7844SNobuhiro Iwamatsusource "drivers/pinctrl/visconti/Kconfig" 596b124c8bdSAndy Shevchenkosource "drivers/pinctrl/vt8500/Kconfig" 5971948d5c5SRahul Tanwar 598d219b924SPhil Reidendif 599